re-register depots

Antworten
djm79
Beiträge: 65
Registriert: 04 Feb 2013, 14:03

re-register depots

Beitrag 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?
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: re-register depots

Beitrag von n.wenselowski »

Hello,

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


-Niko

Code: Alles auswählen

import OPSI
djm79
Beiträge: 65
Registriert: 04 Feb 2013, 14:03

Re: re-register depots

Beitrag von djm79 »

it has error:[Errno 111} connection refused from the same set of depots almost every week.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: re-register depots

Beitrag von n.wenselowski »

djm79 hat geschrieben:it has error:[Errno 111} connection refused from the same set of depots almost every week.
Where?

Code: Alles auswählen

import OPSI
djm79
Beiträge: 65
Registriert: 04 Feb 2013, 14:03

Re: re-register depots

Beitrag 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.
Benutzeravatar
ueluekmen
uib-Team
Beiträge: 1940
Registriert: 28 Mai 2008, 10:53

Re: re-register depots

Beitrag 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.


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


djm79
Beiträge: 65
Registriert: 04 Feb 2013, 14:03

Re: re-register depots

Beitrag von djm79 »

I'm not sure but I will check this next week and let you know what I find
Antworten