Gelöst: DNS Auflösung

Hilfe zu OTRS Problemen aller Art
Post Reply
licorit
Znuny newbie
Posts: 44
Joined: 16 Jul 2013, 08:56
Znuny Version: 3.2.9
Real Name: Sebastian
Company: Licor
Location: Frankfurt/Main

Gelöst: DNS Auflösung

Post by licorit »

So da wäre auch schon meine nächste Herausforderung.

Mein Ubuntu Hostname ist otrs.

Im Windows DNS hab ich die IP des Ubunturechners auch mit dem Namen otrs manuell hinzugefügt.

In Windows klappt die Auflösung in beide Richtungen über nslookup.

Nur im Browser klappt es mit dem Aufruf über otrs/otrs/index.pl nicht immer.

Ist echt seltsam da es nach ein paar Mal aktualisieren dann doch klappt.

Edit: Auch über die IP klappt es immer wieder mal nicht direkt.

Die Meldung ist dann immer: 404 Not Found
The requested URL /otrs/index.pl was not found on this server.

Jemand eine Idee was das sein könnte?

Muss ich die Ubuntu Maschine erst in die Domäne bringen?
Last edited by licorit on 23 Jul 2013, 08:27, edited 1 time in total.
OTRS 3.2.9 auf Ubuntu 12.4
Hazet
Znuny wizard
Posts: 383
Joined: 19 Feb 2009, 12:05
Znuny Version: 5.0.9
Real Name: Harald Zahn
Company: Klinikum Augsburg
Location: Augsburg

Re: DNS Auflösung

Post by Hazet »

Was sagt denn das apache log?
Evtl hängt aber auch noch eine Maschine mit der gleichen IP im Netz...
Produktiv: OTRS 5.0.9 , (ITSM 5.0.10) unter Ubuntu 14.04, mysql 5.5
Test: OTRS 5.0.8 , (ITSM 5.0.8), KIX unter Ubuntu 14.04, mysql 5.5
licorit
Znuny newbie
Posts: 44
Joined: 16 Jul 2013, 08:56
Znuny Version: 3.2.9
Real Name: Sebastian
Company: Licor
Location: Frankfurt/Main

Re: DNS Auflösung

Post by licorit »

Access log:
172.30.1.130 - - [22/Jul/2013:14:33:36 +0200] "GET /otrs/index.pl HTTP/1.1" 200 8373 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
172.30.1.130 - - [22/Jul/2013:14:33:36 +0200] "GET /otrs-web/skins/Agent/default/css-cache/CommonCSS_1cfeab8f88b80770c43104c3afa3a9f8.css HTTP/1.1" 304 212 "http://otrs/otrs/index.pl" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
172.30.1.130 - - [22/Jul/2013:14:33:36 +0200] "GET /otrs-web/js/js-cache/CommonJS_8d7b4fac43b9a47c868aa5d5deb7aaf4.js HTTP/1.1" 304 212 "http://otrs/otrs/index.pl" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
172.30.1.130 - - [22/Jul/2013:14:33:37 +0200] "GET /otrs/index.pl HTTP/1.1" 200 8372 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Firefox/22.0"
127.0.0.1 - - [22/Jul/2013:14:36:03 +0200] "GET /otrs/index.pl?OTRSAgentInterface=10ea5a5b6e9c8e4a9f75d19065e730dedd HTTP/1.1" 200 3451 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0"
127.0.0.1 - - [22/Jul/2013:14:36:03 +0200] "GET /otrs-web/skins/Agent/default/css-cache/CommonCSS_1cfeab8f88b80770c43104c3afa3a9f8.css HTTP/1.1" 304 212 "http://127.0.0.1/otrs/index.pl?OTRSAgen ... 65e730dedd" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0"
127.0.0.1 - - [22/Jul/2013:14:36:03 +0200] "GET /otrs-web/js/js-cache/CommonJS_8d7b4fac43b9a47c868aa5d5deb7aaf4.js HTTP/1.1" 304 212 "http://127.0.0.1/otrs/index.pl?OTRSAgen ... 65e730dedd" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0"
127.0.0.1 - - [22/Jul/2013:14:36:03 +0200] "GET /otrs-web/js/js-cache/ModuleJS_4e0ecf79396b80e8b1d75e48bf6f1f8b.js HTTP/1.1" 304 211 "http://127.0.0.1/otrs/index.pl?OTRSAgen ... 65e730dedd" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0"
Error Log:
[Mon Jul 22 13:07:54 2013] ZZZAAuto.pm: Subroutine Load redefined at /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm line 7.
[Mon Jul 22 13:14:58 2013] [notice] caught SIGTERM, shutting down
[Mon Jul 22 13:15:56 2013] [notice] Apache/2.2.22 (Ubuntu) mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations

Eine zweite Maschine mit der gleichen IP kann ich eigentlich ausschliessen da die IP aus dem Static Bereich ist und im DNS nichts vorhanden war.
Werde aber wenn keine Besserung eintritt natürlich auch mal eine andere IP testen.
OTRS 3.2.9 auf Ubuntu 12.4
licorit
Znuny newbie
Posts: 44
Joined: 16 Jul 2013, 08:56
Znuny Version: 3.2.9
Real Name: Sebastian
Company: Licor
Location: Frankfurt/Main

Re: DNS Auflösung

Post by licorit »

Habe die Ubuntu Maschine mal in die Domäne gepackt.
Weil sie im DNS ja auch mit .domäne.local steht.

Keine Besserung.

@Hazet

Wie hast du das den mit der Namensauflösung gemacht oder gehst du nur über die IP drauf?
OTRS 3.2.9 auf Ubuntu 12.4
Hazet
Znuny wizard
Posts: 383
Joined: 19 Feb 2009, 12:05
Znuny Version: 5.0.9
Real Name: Harald Zahn
Company: Klinikum Augsburg
Location: Augsburg

Re: DNS Auflösung

Post by Hazet »

Wir haben hier im Server-Bereich statische IPs. Aber wenn ich eine neue Maschine in Betrieb nehme und von unserer Netzwerktruppe eine IP bekomme teste ich vor dem einschalten meiner Maschine trotzdem immer noch mal vorher ob ein Rechner mit der IP bereits antwortet (hatte ich nämlich auch schon...).
Der OTRS-Host ist natürlich schon in der Domäne.
DNS läuft dann unsere AD.
Produktiv: OTRS 5.0.9 , (ITSM 5.0.10) unter Ubuntu 14.04, mysql 5.5
Test: OTRS 5.0.8 , (ITSM 5.0.8), KIX unter Ubuntu 14.04, mysql 5.5
licorit
Znuny newbie
Posts: 44
Joined: 16 Jul 2013, 08:56
Znuny Version: 3.2.9
Real Name: Sebastian
Company: Licor
Location: Frankfurt/Main

Re: DNS Auflösung

Post by licorit »

Also ich habe heute früh eine andere IP probiert und siehe da, es lag daran *schäm*

Dabei war ich mir zu 100% sicher das die vorherige frei war, hatte sie gepingt und im DNS geschaut.

Naja hauptsache es geht nun.

Danke für den Tipp Hazet.
OTRS 3.2.9 auf Ubuntu 12.4
Post Reply