[gelöst] Problem mit opsi-product-updater -i -vv

Antworten
Benutzeravatar
Jassybaby
Beiträge: 7
Registriert: 03 Aug 2014, 22:28

[gelöst] Problem mit opsi-product-updater -i -vv

Beitrag von Jassybaby »

Jetzt muss ich doch noch einmal stören, mir passiert beim Ausführen von "opsi-product-updater -i -vv" mit "su" folgender Fehler:

Code: Alles auswählen

Traceback:
     line 1093 in '<module>' in file '/usr/bin/opsi-product-updater'
     line 1086 in 'main' in file '/usr/bin/opsi-product-updater'
     line 168 in '__init__' in file '/usr/bin/opsi-product-updater'
     line 365 in 'readConfigFile' in file '/usr/bin/opsi-product-updater'
     ==>>> Failed to read config file '/etc/opsi/opsi-product-updater.conf': Bad int value '': invalid literal for int() with base 10: ''
ERROR: Failed to read config file '/etc/opsi/opsi-product-updater.conf': Bad int value '': invalid literal for int() with base 10: ''
Leider bringt mich Google nicht weiter, und die Datei "/etc/opsi/opsi-product-updater.conf" scheint auch Fehlerfrei zu sein.

Hat jemand noch einmal Hilfe für mich?
Zuletzt geändert von Jassybaby am 05 Aug 2014, 16:23, insgesamt 2-mal geändert.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Problem mit opsi-product-updater -i -vv

Beitrag von n.wenselowski »

Hallo,

wurde die Datei geändert?
Wenn ja, wie sieht sie aus?


Gruß

Niko

Code: Alles auswählen

import OPSI
Benutzeravatar
Jassybaby
Beiträge: 7
Registriert: 03 Aug 2014, 22:28

Re: Problem mit opsi-product-updater -i -vv

Beitrag von Jassybaby »

Ja wurde verändert, die Änderungen wurden jedoch wieder rückgängig gemacht!

Code: Alles auswählen

[general]
; Where to store package files
packageDir = /var/lib/opsi/repository
; Location of log file
logFile = /var/log/opsi/opsi-product-updater.log
; Log level 0...9
logLevel = 5
; set defaulttimeout
timeout = 60
; path to temp directory for package installation
tempdir = /tmp

[notification]
; Activate/deactivate eMail notification
active = false
; SMTP server address
smtphost = smtp
; SMTP server port
smtpport = 25
; Sender eMail address
sender = opsi-product-updater@localhost
; Comma separated list of receivers
receivers = root@localhost

[installation]
; If window start AND end are set, installation of the newly downloaded packages
; will only be done if the time when all downloads are completed is inside the time window
; Times have to be speciefied in the form HH:MM, i.e. 06:30
windowStart =
windowEnd =
; Comma separated list of product ids which will be installed even outside the time window
exceptProductIds =

[wol]
; If active is set to true, wake on lan will be sent to clients which need to perform actions
active = false
; Comma separated list of product ids which will not trigger wake on lan
excludeProductIds =
; Shutdown clients after installation?
; Before you set this to true please asure that the product shutdownwanted is installed on the depot
shutdownWanted = true
; Gap in seconds between wake ups
startGap =
[repository_uib]
; Activate/deactivate the repository
active = true
; If the repository is an opsi depot, opsiDepotId should be set
; In that case it is not required (but allowed) to set baseUrl, dirs, username and password
opsiDepotId =
; The base url of a product package repository
baseUrl = http://download.uib.de
; Comma separated directories to include in search for product packages
; Use / if search should be done in baseUrl
dirs = opsi4.0/products/localboot, opsi4.0/products/netboot
; Comma separated list of productIds that will be updated
; If not a product package file matches one of these regular expressions it will not be downloaded
includeProductIds =
; Comma separated list of regular expressions
; If a product package file matches one of these regular expressions it will not be downloaded

excludes = ^win.*
; Username for connection to repository
username =
; Password for connection to repository
password =
; AutoInstall will be checked if a product package is found on the repository
; and the product is not yet installed on the local depot
autoInstall = false
; AutoUpdate will be checked if a product is already installed on the local depot
; and a more recent product version is found in the repository
autoUpdate = true
; If autoSetup is set to true, the action request "setup" will be set for every updated product
; on all clients of the local depot where the installation status of the product is "installed"
autoSetup = false
; Set True if you want only Download packages without installation
onlyDownload = false
; Set Proxy handler like: http://10.10.10.1:8080
proxy =

[repository_master]
active = false
opsiDepotId =
autoInstall = true
autoUpdate = true
autoSetup = true
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Problem mit opsi-product-updater -i -vv

Beitrag von n.wenselowski »

Hi,

mal bitte probieren bei startGap etwas einzutragen (bspw. startGap = 10).
Ansonsten am besten die originale Config wieder einspielen.


Gruß

Niko

Code: Alles auswählen

import OPSI
Benutzeravatar
Jassybaby
Beiträge: 7
Registriert: 03 Aug 2014, 22:28

Re: Problem mit opsi-product-updater -i -vv

Beitrag von Jassybaby »

Hab die Originale-Datei wieder eingespielt, funktioniert nun wieder alles, danke :)
Antworten