Configured depotId 'localhost.opsi.org' for host 'None' not
Configured depotId 'localhost.opsi.org' for host 'None' not
I'm new in OPSI administration. I just installed the server, from a client I can connect to it, but the webinterface send me the next warning:
Opsi service error: [BackendMissingDataError] Configured depotId 'localhost.opsi.org' for host 'None' not in list of known depotIds ['opsidemo.localdomain']
what do I have, to disappearing this message?
thanks, peter
Re: lame question
Check if the files
Code: Alles auswählen
/var/lib/opsi/config/global.ini
/var/lib/opsi/config/depots/*/depot.ini
Code: Alles auswählen
>/etc/opsi/passwd
rm /var/lib/opsi/config/depots/*/depot.ini
apt-get install --reinstall opsi-depotserver
/etc/init.d/opsiconfd restart
/etc/init.d/opsipxeconfd restart
Bardo Wolf
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: lame question
Hi Bardo!wolfbardo hat geschrieben:Hi Peter,
Check if the filesempty. If they are empty tryCode: Alles auswählen
/var/lib/opsi/config/global.ini /var/lib/opsi/config/depots/*/depot.ini
regardsCode: Alles auswählen
>/etc/opsi/passwd rm /var/lib/opsi/config/depots/*/depot.ini apt-get install --reinstall opsi-depotserver /etc/init.d/opsiconfd restart /etc/init.d/opsipxeconfd restart
Bardo Wolf
thanks the fast response. the files aren't empty. here are the contents:
/var/lib/opsi/config/global.ini
[generalConfig]
pcptchBitmap1 = winst1.bmp
pcptchBitmap2 = winst2.bmp
pcptchLabel1 = opsi
pcptchLabel1 = uib
secsUntilConnectionTimeOut = 180
button_stopnetworkin =
[networkConfig]
utilsDrive = P:
depotDrive = P:
configDrive = O:
depotId = @FQDN@
winDomain = @WINDOMAIN@
nextBootServerType = service
nextBootServiceURL = http://@IPADDRESS@:4447
/var/lib/opsi/config/depots/opsidemo.localdomain/depot.ini
[depotshare]
remoteurl = smb://opsidemo/opt_pcbin/install
localurl = file://opt/pcbin/install
[depotserver]
notes =
network = 127.0.1.1/255.255.225.0 (I think it's not correct. I will modify to the IP of the opsi-server)
description =
[repository]
remoteurl = webdavs://opsidemo.localdomain:4447/products
localurl = file:///var/lib/opsi/products
maxbandwidth = 0
Peter
Re: lame question
You have to change this to your network's specs, so if your opsi server has e.g. 192.168.2.1, then you should modify this to 192.168.2.0/255.255.255.0inszekt_ hat geschrieben: [depotserver]
notes =
network = 127.0.1.1/255.255.225.0
description =
Re: lame question
I changed it to the correct IP-config (192.168.0.0/255.255.255.0)You have to change this to your network's specs, so if your opsi server has e.g. 192.168.2.1, then you should modify this to 192.168.2.0/255.255.255.0
the error message didn't disappear.
Re: lame question
Code: Alles auswählen
getent hosts `hostname -f`
Bardo WOlf
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: lame question
192.168.0.1 opsidemo.localdomain opsidemo
cat /etc/hosts :
192.168.0.1 localhost
192.168.0.1 opsidemo.localdomain opsidemo
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
peter
Re: lame question
I see two problems.
The first:
The installation manual says:getent hosts `hostname -f` :
192.168.0.1 opsidemo.localdomain opsidemo
opsidemo.localdomainCheck the opsiserver entry in /etc/hosts or the output of
getent hosts `hostname -f`
The result should be similar to
192.168.1.1 server.domain.tld server
If the Result isn't like that and contains for examle 127.0.0.1 or localhost you should
correct your /etc/hosts or your DNS before you continue with the installation.
is not
server.domain.tld
We need a TopLeveDomain (tld). A Domain with only one dot doesn't work.
The second problem is
Please change it to (for example:cat /etc/hosts :
192.168.0.1 localhost
192.168.0.1 opsidemo.localdomain opsidemo
Code: Alles auswählen
192.168.0.1 opsidemo.localdomain.local opsidemo
127.0.0.1 localhost
regards
d.oertel
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
Re: lame question
it solved the problem! thanks for the help.
regards, peter
Re: Configured depotId 'localhost.opsi.org' for host 'None'
I seem to have the same problem : I installed Ubuntu 10.04 LTS, I corrected the hosts-file and for some reason I must have rebooted before installing opsi. I didn't know the machine reverted the hosts-file to it's "default" state after a reboot, meaning it added an entry with 127.0.1.1 as hostaddress. I went ahead and configured all to automatically install windows-xp. To my surprise the newly installed windows-xp tried to get it's information is 127.0.1.1. So I searched the forum, getting an answer in this thread, I think.
I found the cause of the reverted hosts-file and disabled this. So now when I reboot the opsi-server my hosts-file remains the same. Unfortunately, I can't get rid of the 127.0.1.1 address. I re-installed the opsi-depotserver with no success, I uninstalled all opsi-packages, and re-installed them, with no success.
I also checked /var/lib/opsi/config : I don't have global.ini. I only have depots/opsi.ace-electronics.be.ini that contains the right info (I think) :
[depotserver]
description =
hardwareaddress = 00:0c:29:ac:87:f3
inventorynumber =
ipaddress = 192.168.1.100
ismasterdepot = true
network = 192.168.0.0/255.255.240.0
So where exactly is that configuration stored that dictates the ip-address of 127.0.1.1 ?
I hope someone can help me. My tests with opsi (vm-image) went fine, now I want to really use it, I'm stuck on that stupid ip-address thing. Maybe I should just start from scratch.
If anyone knows how the use the opsi-vm with VMWare esxi, I would be gratefull.
Thanks,
Koenraad Lelong.