Seite 1 von 1

re-register depots

Verfasst: 18 Sep 2015, 16:33
von djm79
I am having a strange issue where I have to go through and re-register depots once every few weeks when I need to sync a package, is there a way to resolve this or even automate a cron job to re-register the depots once a week?

Re: re-register depots

Verfasst: 25 Sep 2015, 14:50
von n.wenselowski
Hello,

some more information about what errors make you re-register what be nice ;)


-Niko

Re: re-register depots

Verfasst: 30 Sep 2015, 20:43
von djm79
it has error:[Errno 111} connection refused from the same set of depots almost every week.

Re: re-register depots

Verfasst: 01 Okt 2015, 10:21
von n.wenselowski
djm79 hat geschrieben:it has error:[Errno 111} connection refused from the same set of depots almost every week.
Where?

Re: re-register depots

Verfasst: 01 Okt 2015, 13:45
von djm79
This is the error message I get on the main OPSI server when trying to upload a package to all the depots:

Code: Alles auswählen

Errors occured:
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'bedford.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'southrockwood.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'southmonroe.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'lambertville.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'plymouth.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'westmonroe.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'northmonroe.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'ida.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'erie.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'milan.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'tecumseh.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'southdixie.mbtmaster.com':
      [Errno 111] Connection refused
   Failure while processing Install of package(s) /home/opsiproducts/LinkLive_Communicator/linklive_communicator_1.0-3.opsi on depot 'flatrock.mbtmaster.com':
      [Errno 111] Connection refused
If I go there each of these depots and re-register them with the main server they are fine and work as expected.

Re: re-register depots

Verfasst: 01 Okt 2015, 15:23
von ueluekmen
Are the deamons are running on the depotservers? I don't think that you need to re-register them, but it could be fix your problem, because after the depot-registration process, the script will restart the opsi-Services on the depot. Connection Refused will be thrown, if the service is not responding, in most cases because the service is not running.

Re: re-register depots

Verfasst: 01 Okt 2015, 17:01
von djm79
I'm not sure but I will check this next week and let you know what I find