opsiclientd.conf has wrong repository server

Antworten
topse
Beiträge: 34
Registriert: 31 Mär 2012, 00:11

opsiclientd.conf has wrong repository server

Beitrag von topse »

Hi,
I had to change the IP-adress of my opsi-server. I changed the configserver-url in the settings, but I still get wrong entries in fresh Windows(7)-Installations in the opsiclientd.conf:

Code: Alles auswählen

[config_service]
url=https://172.18.1.11:4447/rpc
Expected value would be 172.18.1.3 or better the name-entry "opsiserver" (as in the configserver-url in the settings). Can you give me a hint, how this wrong IP comes into the opsiclientd.conf on fresh installations?

Thanks and Best Regards,
Tobias
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: opsiclientd.conf has wrong repository server

Beitrag von d.oertel »

Hi,

have a look at your configed / server configuration / first enty: 'clientconfig.configserver.url'

regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
topse
Beiträge: 34
Registriert: 31 Mär 2012, 00:11

Re: opsiclientd.conf has wrong repository server

Beitrag von topse »

Hi,
That's what I also thought - but that entry is OK! It contains the name of the server.

Any other idea?

Thanks and Best Regards,
Tobias
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: opsiclientd.conf has wrong repository server

Beitrag von d.oertel »

Hi,

you have to look at the log of the opsiclientd why the 'clientconfig.configserver.url' is not accepted ...

regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
mdecker
Beiträge: 85
Registriert: 26 Mär 2012, 16:20

Re: opsiclientd.conf has wrong repository server

Beitrag von mdecker »

Hi,

check (/opt/pcbin/install/)opsi-client-agent/files/opsi/cfg/config.ini for the config_service.url parameter. As I understand it this is the value set in opsiclientd.conf at install time.

Michael
topse
Beiträge: 34
Registriert: 31 Mär 2012, 00:11

Re: opsiclientd.conf has wrong repository server

Beitrag von topse »

Great man,
that was the problem... After changing the IP of the OPSI-Server (my advice: don't do it ;-)), you have to change that config-file, too!

Problem solved!

Thanks and Best Regards,
Tobias
Antworten