Unable to find suitable address

Antworten
Adminazubi
Beiträge: 18
Registriert: 26 Sep 2013, 15:26

Unable to find suitable address

Beitrag von Adminazubi »

Guten Tag zusammen,

ich bin gerade dabei die automatische Installation von Windows 7 x64 einzurichten und komme nicht weiter. Leider hat meine Recherche auch nichts gebracht, daher hoffe ich auf Hilfe von euch.

Nachdem der Client über PXE sich verbunden hat, erscheint das OPSI-Logo und kurz darauf ein violettes Fenster wo folgendes zu sehen ist:

opsi linux bootimage
Warte bis alle Netzwerkgeräte gestartet sind ...
Alle Netzwerkgeräte sind gestartet
Hostname testpc, Domain: bla.blabla.de, Client-ID: testpc.bla.blabla.de
Netzwerkgerät: eth0 blabla
IP: xxx, Netzmaske: xxx, GW: xxx, NS: xxx
Opsi config server: xxx


[ Produkt: Windows 7 -x64 ]
[ Öffne Depotserver-Verzeichnis 'smb://bs-*** confidential ***/*** confidential ***_depot' ]


Darunter ein Fenster mit: "Ein Fehler ist aufgetreten" mit folgender Fehlermeldung:
Failed to mount '//bs-*** confidential ***/*** confidential ***_depot': Command '/bin/mount -t cifs -o "iocharset=utf8,domain=bs-*** confidential ***,credentials=/tmp/.cifs-credentials.bs-*** confidential ***" //bs-*** confidential ***/*** confidential ***_depot /mnt/*** confidential ***' failed (2):
Unable to find suitable address.


Hier kann ich dann nur "OK" wählen, danach überträgt der Client die Log-Datei an den Server. Daraufhin wir alles schwarz und oben links am Bildschirmrand steht:

Opsi linux bootimage testpc tty6
testpc login:


An dieser Stelle weiss ich auch nicht, welche Logindaten gefragt sind.

Hier ein Abschnitt der Log:

Code: Alles auswählen

Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|171)
[7] [Mär 18 12:13:54] Closing connection: <httplib.HTTPSConnection instance at 0x8debcac> (HTTP.py|516)
[7] [Mär 18 12:13:54] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|685)
[7] [Mär 18 12:13:54] Expecting compressed data from server (JSONRPC.py|689)
[6] [Mär 18 12:13:54] Mountpoint: /mnt/*** confidential ***  (Repository.py|1168)
[6] [Mär 18 12:13:54] Mounting 'smb://bs-*** confidential ***/*** confidential ***_depot' to '/mnt/*** confidential ***' (Repository.py|1169)
[7] [Mär 18 12:13:54] Command 'mount' found at: '/bin/mount' (Posix.py|691)
[6] [Mär 18 12:13:54] Executing: /bin/mount -t cifs -o "iocharset=utf8,domain=bs-*** confidential ***,credentials=/tmp/.cifs-credentials.bs-*** confidential ***" //bs-*** confidential ***/*** confidential ***_depot /mnt/*** confidential *** (Posix.py|736)
[6] [Mär 18 12:13:54] Using encoding 'UTF-8' (Posix.py|769)
[7] [Mär 18 12:14:00] >>> Unable to find suitable address. (Posix.py|813)
[7] [Mär 18 12:14:00] Exit code: 2 (Posix.py|820)
[3] [Mär 18 12:14:00] Failed to mount '//bs-*** confidential ***/*** confidential ***_depot': Command '/bin/mount -t cifs -o "iocharset=utf8,domain=bs-*** confidential ***,credentials=/tmp/.cifs-credentials.bs-*** confidential ***" //bs-*** confidential ***/*** confidential ***_depot /mnt/*** confidential ***' failed (2):
Unable to find suitable address. (Posix.py|1050)
[2] [Mär 18 12:14:01] Traceback: (Logger.py|767)
[2] [Mär 18 12:14:01]      line 1367 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|767)
[2] [Mär 18 12:14:01]      line 69 in 'getRepository' in file '/usr/lib/pymodules/python2.7/OPSI/Util/Repository.py' (Logger.py|767)
[2] [Mär 18 12:14:01]      line 1155 in '__init__' in file '/usr/lib/pymodules/python2.7/OPSI/Util/Repository.py' (Logger.py|767)
[2] [Mär 18 12:14:01]      line 1185 in '_mount' in file '/usr/lib/pymodules/python2.7/OPSI/Util/Repository.py' (Logger.py|767)
[2] [Mär 18 12:14:01]      ==>>> Failed to mount '//bs-*** confidential ***/*** confidential ***_depot': Command '/bin/mount -t cifs -o "iocharset=utf8,domain=bs-*** confidential ***,credentials=/tmp/.cifs-credentials.bs-*** confidential ***" //bs-*** confidential ***/*** confidential ***_depot /mnt/*** confidential ***' failed (2):
Unable to find suitable address. (master.py|1512)
[7] [Mär 18 12:14:01] Backend: <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x8b6446c> (master.py|1515)
[7] [Mär 18 12:14:01] ProductId: win7-x64 (master.py|1516)
Benutzeravatar
SisterOfMercy
Beiträge: 1556
Registriert: 22 Jun 2012, 19:18

Re: Unable to find suitable address

Beitrag von SisterOfMercy »

Adminazubi hat geschrieben:Opsi linux bootimage testpc tty6
testpc login:
An dieser Stelle weiss ich auch nicht, welche Logindaten gefragt sind.
root
linux123 ?

But you should not need that, because it should have worked before asking this. Somehow the OPSI program does not work, and exits. then it asks you for this login stuff. I don't think I can help you much more than this :-(
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Adminazubi
Beiträge: 18
Registriert: 26 Sep 2013, 15:26

Re: Unable to find suitable address

Beitrag von Adminazubi »

thx anyway. I still have this problem and can not solve it. It seems to be really hopeless.

I think something is wrong with samba. Samba cannot mount opsi_depot. But I'm able to mount that share when im logged into windows.

Or could also the DNS be a source of errors? I would like to isolate the trouble.
I've noticed that i can not ping from the server to a host by its hostname. I can only ping to their addresses.
It is only working when i ping to hostname.domain.de.
Just pinging the hostname isn't working. It says that he cannot resolve the hostname (but i think it should).
Could this be the cause of errors?
holgerv
Beiträge: 288
Registriert: 20 Aug 2012, 09:35

Re: Unable to find suitable address

Beitrag von holgerv »

Adminazubi hat geschrieben:[...][7] [Mär 18 12:14:00] >>> Unable to find suitable address. (Posix.py|813)
[...]
[3] [Mär 18 12:14:00] Failed to mount '//bs-*** confidential ***/*** confidential ***_depot': Command '/bin/mount -t cifs -o "iocharset=utf8,domain=bs-*** confidential ***,credentials=/tmp/.cifs-credentials.bs-*** confidential ***" //bs-*** confidential ***/*** confidential ***_depot /mnt/*** confidential ***' failed (2):
Unable to find suitable address. (Posix.py|1050)
[...]
[2] [Mär 18 12:14:01] ==>>> Failed to mount '//bs-*** confidential ***/*** confidential ***_depot': Command '/bin/mount -t cifs -o "iocharset=utf8,domain=bs-*** confidential ***,credentials=/tmp/.cifs-credentials.bs-*** confidential ***" //bs-*** confidential ***/*** confidential ***_depot /mnt/*** confidential ***' failed (2):
Unable to find suitable address. (master.py|1512)[/code]
Hast Du Dir schon das Suchergebnis von https://www.google.com/search?q="Unable ... ress"+opsi angesehen? Da hat der Fragensteller offenbar eine Lösung gefunden: viewtopic.php?t=7297&start=10#p31344

Viel Erfolg!


Holger
Adminazubi
Beiträge: 18
Registriert: 26 Sep 2013, 15:26

Re: Unable to find suitable address

Beitrag von Adminazubi »

Ja hatte ich gesehen und gemacht wie er. Hat bei mir aber leider nichts gebracht. Allerdings bin ich nicht 100% sicher, ob ich es richtig eingetragen hatte.
Vielleicht ist jemand so nett und posted mir seine smb.conf?
So könnte ich eine weitere mögliche Fehlerquelle ausschliessen.
Adminazubi
Beiträge: 18
Registriert: 26 Sep 2013, 15:26

Re: Unable to find suitable address

Beitrag von Adminazubi »

Ich habe das Problem endlich Lösen können.

Im opsi configed in den Depoteigenschaften habe ich die depotRemoteURL angepasst indem ich den Hostnamen durch die IP vom opsiserver ersetzt habe.

viewtopic.php?t=7207
panisch
Beiträge: 47
Registriert: 02 Okt 2014, 15:22

Re: Unable to find suitable address

Beitrag von panisch »

Adminazubi hat geschrieben:Ich habe das Problem endlich Lösen können.

Im opsi configed in den Depoteigenschaften habe ich die depotRemoteURL angepasst indem ich den Hostnamen durch die IP vom opsiserver ersetzt habe.

viewtopic.php?t=7207
Da solltest du dann aber auch mal unbedingt überprüfen, ob denn mit dem DNS alles so klappt wie es soll,
du hast hier unter Umständen später noch mehr Probleme damit, da wenn ich mich nicht täusche der OPSI auch noch öfter mit dem vergebenen Namen arbeitet. (bei der Softwareverteilung, Kontaktaufnahme, etc...)
Adminazubi
Beiträge: 18
Registriert: 26 Sep 2013, 15:26

Re: Unable to find suitable address

Beitrag von Adminazubi »

Ja, es war tatsächlich auch ein DNS Problem. Haben wir aber schnell behoben.
Antworten