HI All,
Since a day or 2 i have this message everytime i try to image a system.
Anyone any idea?
With regards,
Kees....
((some kind of (SOLVED))LocalbootProduc (error on server)
((some kind of (SOLVED))LocalbootProduc (error on server)
Zuletzt geändert von loggenk am 30 Sep 2015, 10:49, insgesamt 1-mal geändert.
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: LocalbootProduc (error on server)
Hi Kees,
where does the message occur and what is the complete error?
With only this part it could be nearly anything
Also: what versions are you running?
Bye
Niko
where does the message occur and what is the complete error?
With only this part it could be nearly anything

Also: what versions are you running?
Bye
Niko
Code: Alles auswählen
import OPSI
Re: LocalbootProduc (error on server)
Hi Niko,
This happens after deleting partition table on /dev/dsa.
In the bootimage log the last lines are:
(6726) [6] [Sep 28 14:49:52] Writing master boot record on '/dev/sda' (system: vista) (Posix.py|1858)
(6727) [6] [Sep 28 14:49:52] Executing: /usr/local/bin/ms-sys --mbrnt60 /dev/sda (Posix.py|736)
(6728) [6] [Sep 28 14:49:52] Using encoding 'ANSI_X3.4-1968' (Posix.py|769)
(6729) [7] [Sep 28 14:49:52] >>> Windows Vista master boot record successfully written to /dev/sda (Posix.py|813)
(6730) [7] [Sep 28 14:49:52] Exit code: 0 (Posix.py|820)
(6731) [7] [Sep 28 14:49:52] Executing jsonrpc method 'backend_setOptions' on host 192.168.13.60 (JSONRPC.py|110)
(6732) [7] [Sep 28 14:49:52] Starting new HTTPS connection (0) to 192.168.13.60:4447 (HTTP.py|589)
(6733) [7] [Sep 28 14:49:52] Connection established to: 192.168.13.60 (HTTP.py|602)
(6734) [7] [Sep 28 14:49:52] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|171)
(6735) [7] [Sep 28 14:49:52] Closing connection: <httplib.HTTPSConnection instance at 0x919faac> (HTTP.py|516)
(6736) [7] [Sep 28 14:49:52] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|685)
(6737) [7] [Sep 28 14:49:52] Expecting compressed data from server (JSONRPC.py|689)
(6738) [7] [Sep 28 14:49:52] Executing jsonrpc method 'productOnClient_getObjects' on host 192.168.13.60 (JSONRPC.py|110)
(6739) [7] [Sep 28 14:49:52] Starting new HTTPS connection (0) to 192.168.13.60:4447 (HTTP.py|589)
(6740) [7] [Sep 28 14:49:52] Connection established to: 192.168.13.60 (HTTP.py|602)
(6741) [7] [Sep 28 14:49:52] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|171)
(6742) [7] [Sep 28 14:49:56] Closing connection: <httplib.HTTPSConnection instance at 0x919fa4c> (HTTP.py|516)
(6743) [7] [Sep 28 14:49:56] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|685)
(6744) [7] [Sep 28 14:49:56] Expecting compressed data from server (JSONRPC.py|689)
(6745) [2] [Sep 28 14:49:56] Traceback: (Logger.py|767)
(6746) [2] [Sep 28 14:49:56] line 100 in 'processResult' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|767)
(6747) [2] [Sep 28 14:49:56] ==>>> 'LocalbootProduc' (error on server) (JSONRPC.py|104)
(6748) [2] [Sep 28 14:49:57] Traceback: (Logger.py|767)
(6749) [2] [Sep 28 14:49:57] line 1464 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|767)
(6750) [2] [Sep 28 14:49:57] line 557 in '<module>' in file '/tmp/setup.py' (Logger.py|767)
(6751) [2] [Sep 28 14:49:57] line 1 in 'productOnClient_getObjects' in file '<string>' (Logger.py|767)
(6752) [2] [Sep 28 14:49:57] line 637 in '_jsonRPC' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|767)
(6753) [2] [Sep 28 14:49:57] line 132 in 'execute' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|767)
(6754) [2] [Sep 28 14:49:57] line 119 in 'waitForResult' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/Backend.py' (Logger.py|767)
(6755) [2] [Sep 28 14:49:57] ==>>> 'LocalbootProduc' (error on server) (master.py|1512)
(6756) [7] [Sep 28 14:49:57] Backend: <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x8b6556c> (master.py|1515)
(6757) [7] [Sep 28 14:49:57] ProductId: win7-x64 (master.py|1516)
(6758) [7] [Sep 28 14:49:57] ClientId: nb2410.xxx.xxx.nl (master.py|1517)
(6759) [7] [Sep 28 14:49:57] ProductOnClient: <ProductOnClient clientId 'nb2410.xxx.xxx.nl', productId 'win7-x64', installationStatus 'unknown', actionRequest 'none'> (master.py|1518)
(6760) [6] [Sep 28 14:49:57] Updating productOnClient: {'actionProgress': u'', 'actionResult': u'failed', 'clientId': u'nb2410.xxx.xxx.nl', 'modificationTime': None, 'actionRequest': u'none', 'targetConfiguration': None, 'productVersion': None, 'productType': u'NetbootProduct', 'type': u'ProductOnClient', 'lastAction': None, 'packageVersion': None, 'actionSequence': None, 'installationStatus': u'unknown', 'productId': u'win7-x64'} (master.py|1529)
(6761) [7] [Sep 28 14:49:57] Executing jsonrpc method 'productOnClient_updateObjects' on host 192.168.13.60 (JSONRPC.py|110)
(6762) [7] [Sep 28 14:49:57] Starting new HTTPS connection (0) to 192.168.13.60:4447 (HTTP.py|589)
(6763) [7] [Sep 28 14:49:57] Connection established to: 192.168.13.60 (HTTP.py|602)
(6764) [7] [Sep 28 14:49:57] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|171)
(6765) [7] [Sep 28 14:50:01] Closing connection: <httplib.HTTPSConnection instance at 0x8defd4c> (HTTP.py|516)
(6766) [7] [Sep 28 14:50:01] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|685)
(6767) [7] [Sep 28 14:50:01] Expecting compressed data from server (JSONRPC.py|689)
(6768) [5] [Sep 28 14:55:56] Writing log to service (master.py|1543)
This allways worked untill a power failure 2 days ago.
Windows 7-x64 4.0.5.7, but with Windows 10 i have same issue
With regards,
Kees......
This happens after deleting partition table on /dev/dsa.
In the bootimage log the last lines are:
(6726) [6] [Sep 28 14:49:52] Writing master boot record on '/dev/sda' (system: vista) (Posix.py|1858)
(6727) [6] [Sep 28 14:49:52] Executing: /usr/local/bin/ms-sys --mbrnt60 /dev/sda (Posix.py|736)
(6728) [6] [Sep 28 14:49:52] Using encoding 'ANSI_X3.4-1968' (Posix.py|769)
(6729) [7] [Sep 28 14:49:52] >>> Windows Vista master boot record successfully written to /dev/sda (Posix.py|813)
(6730) [7] [Sep 28 14:49:52] Exit code: 0 (Posix.py|820)
(6731) [7] [Sep 28 14:49:52] Executing jsonrpc method 'backend_setOptions' on host 192.168.13.60 (JSONRPC.py|110)
(6732) [7] [Sep 28 14:49:52] Starting new HTTPS connection (0) to 192.168.13.60:4447 (HTTP.py|589)
(6733) [7] [Sep 28 14:49:52] Connection established to: 192.168.13.60 (HTTP.py|602)
(6734) [7] [Sep 28 14:49:52] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|171)
(6735) [7] [Sep 28 14:49:52] Closing connection: <httplib.HTTPSConnection instance at 0x919faac> (HTTP.py|516)
(6736) [7] [Sep 28 14:49:52] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|685)
(6737) [7] [Sep 28 14:49:52] Expecting compressed data from server (JSONRPC.py|689)
(6738) [7] [Sep 28 14:49:52] Executing jsonrpc method 'productOnClient_getObjects' on host 192.168.13.60 (JSONRPC.py|110)
(6739) [7] [Sep 28 14:49:52] Starting new HTTPS connection (0) to 192.168.13.60:4447 (HTTP.py|589)
(6740) [7] [Sep 28 14:49:52] Connection established to: 192.168.13.60 (HTTP.py|602)
(6741) [7] [Sep 28 14:49:52] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|171)
(6742) [7] [Sep 28 14:49:56] Closing connection: <httplib.HTTPSConnection instance at 0x919fa4c> (HTTP.py|516)
(6743) [7] [Sep 28 14:49:56] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|685)
(6744) [7] [Sep 28 14:49:56] Expecting compressed data from server (JSONRPC.py|689)
(6745) [2] [Sep 28 14:49:56] Traceback: (Logger.py|767)
(6746) [2] [Sep 28 14:49:56] line 100 in 'processResult' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|767)
(6747) [2] [Sep 28 14:49:56] ==>>> 'LocalbootProduc' (error on server) (JSONRPC.py|104)
(6748) [2] [Sep 28 14:49:57] Traceback: (Logger.py|767)
(6749) [2] [Sep 28 14:49:57] line 1464 in '<module>' in file '/usr/local/bin/master.py' (Logger.py|767)
(6750) [2] [Sep 28 14:49:57] line 557 in '<module>' in file '/tmp/setup.py' (Logger.py|767)
(6751) [2] [Sep 28 14:49:57] line 1 in 'productOnClient_getObjects' in file '<string>' (Logger.py|767)
(6752) [2] [Sep 28 14:49:57] line 637 in '_jsonRPC' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|767)
(6753) [2] [Sep 28 14:49:57] line 132 in 'execute' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/JSONRPC.py' (Logger.py|767)
(6754) [2] [Sep 28 14:49:57] line 119 in 'waitForResult' in file '/usr/lib/pymodules/python2.7/OPSI/Backend/Backend.py' (Logger.py|767)
(6755) [2] [Sep 28 14:49:57] ==>>> 'LocalbootProduc' (error on server) (master.py|1512)
(6756) [7] [Sep 28 14:49:57] Backend: <OPSI.Backend.JSONRPC.JSONRPCBackend instance at 0x8b6556c> (master.py|1515)
(6757) [7] [Sep 28 14:49:57] ProductId: win7-x64 (master.py|1516)
(6758) [7] [Sep 28 14:49:57] ClientId: nb2410.xxx.xxx.nl (master.py|1517)
(6759) [7] [Sep 28 14:49:57] ProductOnClient: <ProductOnClient clientId 'nb2410.xxx.xxx.nl', productId 'win7-x64', installationStatus 'unknown', actionRequest 'none'> (master.py|1518)
(6760) [6] [Sep 28 14:49:57] Updating productOnClient: {'actionProgress': u'', 'actionResult': u'failed', 'clientId': u'nb2410.xxx.xxx.nl', 'modificationTime': None, 'actionRequest': u'none', 'targetConfiguration': None, 'productVersion': None, 'productType': u'NetbootProduct', 'type': u'ProductOnClient', 'lastAction': None, 'packageVersion': None, 'actionSequence': None, 'installationStatus': u'unknown', 'productId': u'win7-x64'} (master.py|1529)
(6761) [7] [Sep 28 14:49:57] Executing jsonrpc method 'productOnClient_updateObjects' on host 192.168.13.60 (JSONRPC.py|110)
(6762) [7] [Sep 28 14:49:57] Starting new HTTPS connection (0) to 192.168.13.60:4447 (HTTP.py|589)
(6763) [7] [Sep 28 14:49:57] Connection established to: 192.168.13.60 (HTTP.py|602)
(6764) [7] [Sep 28 14:49:57] Failed to get peer cert: 'NoneType' object has no attribute 'getpeercert' (HTTP.py|171)
(6765) [7] [Sep 28 14:50:01] Closing connection: <httplib.HTTPSConnection instance at 0x8defd4c> (HTTP.py|516)
(6766) [7] [Sep 28 14:50:01] Content-Type: gzip-application/json;charset=utf-8, Content-Encoding: gzip (JSONRPC.py|685)
(6767) [7] [Sep 28 14:50:01] Expecting compressed data from server (JSONRPC.py|689)
(6768) [5] [Sep 28 14:55:56] Writing log to service (master.py|1543)
This allways worked untill a power failure 2 days ago.
Windows 7-x64 4.0.5.7, but with Windows 10 i have same issue
With regards,
Kees......
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: LocalbootProduc (error on server)
Hi Kees,
I'd suggest turning the log level to 7, start this again and then look on the server for the client log in /var/log/opsi/opsiconfd/.
From the error I'd think this is a typo somewhere in the backend but from this message I can not nail it down.
If you use the file backend there may be corrupt files in the backend - if they power out also affected the server.
With kind regards
Niko
I'd suggest turning the log level to 7, start this again and then look on the server for the client log in /var/log/opsi/opsiconfd/.
From the error I'd think this is a typo somewhere in the backend but from this message I can not nail it down.
If you use the file backend there may be corrupt files in the backend - if they power out also affected the server.
With kind regards
Niko
Code: Alles auswählen
import OPSI
Re: LocalbootProduc (error on server)
Hi Niko,
Good morning.
If i do a opsi-setup --set-rights, and a opsi-setup --cleanup-backend i recieve the following error :
root@opsi-nl-dev:~# opsi-setup --cleanup-backend
[5] [Sep 30 07:24:22] Parsing dispatch.conf (CleanupBackend.py|62)
[5] [Sep 30 07:24:22] Cleaning up groups (CleanupBackend.py|92)
[5] [Sep 30 07:24:22] Cleaning up products (CleanupBackend.py|95)
[5] [Sep 30 07:24:24] Cleaning up product on depots (CleanupBackend.py|109)
[5] [Sep 30 07:24:24] Cleaning up product on clients (CleanupBackend.py|112)
[2] [Sep 30 07:24:28] Traceback: (Logger.py|767)
[2] [Sep 30 07:24:28] line 3054 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|767)
[2] [Sep 30 07:24:28] line 3032 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|767)
[2] [Sep 30 07:24:28] line 113 in 'cleanupBackend' in file '/usr/lib/python2.6/dist-packages/OPSI/Util/Task/CleanupBackend.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 362 in 'cleanUpProductOnClients' in file '/usr/lib/python2.6/dist-packages/OPSI/Util/Task/CleanupBackend.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1 in 'productOnClient_getObjects' in file '<string>' (Logger.py|767)
[2] [Sep 30 07:24:28] line 445 in '_executeMethod' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/Backend.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1 in 'productOnClient_getObjects' in file '<string>' (Logger.py|767)
[2] [Sep 30 07:24:28] line 445 in '_executeMethod' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/Backend.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 2986 in 'productOnClient_getObjects' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/Backend.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1 in 'productOnClient_getObjects' in file '<string>' (Logger.py|767)
[2] [Sep 30 07:24:28] line 411 in '_dispatchMethod' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/BackendManager.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1498 in 'productOnClient_getObjects' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/File.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 891 in '_read' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/File.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1707 in 'fromHash' in file '/usr/lib/python2.6/dist-packages/OPSI/Object.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 307 in 'fromHash' in file '/usr/lib/python2.6/dist-packages/OPSI/Object.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1593 in '__init__' in file '/usr/lib/python2.6/dist-packages/OPSI/Object.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1635 in 'setProductType' in file '/usr/lib/python2.6/dist-packages/OPSI/Object.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 369 in 'forceProductType' in file '/usr/lib/python2.6/dist-packages/OPSI/Types.py' (Logger.py|767)
[2] [Sep 30 07:24:28] ==>>> Unknown product type: 'LocalbootProduc' (opsi-setup|3058)
ERROR: Unknown product type: 'LocalbootProduc'
Same is happening if i try to remove a client with configed, or set a product to "setup"
If i do a "opsi-setup --update-mysql" i receive an error "1286,"unknown table engine InnoDB"
With regards,
Kees....
Good morning.
If i do a opsi-setup --set-rights, and a opsi-setup --cleanup-backend i recieve the following error :
root@opsi-nl-dev:~# opsi-setup --cleanup-backend
[5] [Sep 30 07:24:22] Parsing dispatch.conf (CleanupBackend.py|62)
[5] [Sep 30 07:24:22] Cleaning up groups (CleanupBackend.py|92)
[5] [Sep 30 07:24:22] Cleaning up products (CleanupBackend.py|95)
[5] [Sep 30 07:24:24] Cleaning up product on depots (CleanupBackend.py|109)
[5] [Sep 30 07:24:24] Cleaning up product on clients (CleanupBackend.py|112)
[2] [Sep 30 07:24:28] Traceback: (Logger.py|767)
[2] [Sep 30 07:24:28] line 3054 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|767)
[2] [Sep 30 07:24:28] line 3032 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|767)
[2] [Sep 30 07:24:28] line 113 in 'cleanupBackend' in file '/usr/lib/python2.6/dist-packages/OPSI/Util/Task/CleanupBackend.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 362 in 'cleanUpProductOnClients' in file '/usr/lib/python2.6/dist-packages/OPSI/Util/Task/CleanupBackend.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1 in 'productOnClient_getObjects' in file '<string>' (Logger.py|767)
[2] [Sep 30 07:24:28] line 445 in '_executeMethod' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/Backend.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1 in 'productOnClient_getObjects' in file '<string>' (Logger.py|767)
[2] [Sep 30 07:24:28] line 445 in '_executeMethod' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/Backend.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 2986 in 'productOnClient_getObjects' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/Backend.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1 in 'productOnClient_getObjects' in file '<string>' (Logger.py|767)
[2] [Sep 30 07:24:28] line 411 in '_dispatchMethod' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/BackendManager.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1498 in 'productOnClient_getObjects' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/File.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 891 in '_read' in file '/usr/lib/python2.6/dist-packages/OPSI/Backend/File.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1707 in 'fromHash' in file '/usr/lib/python2.6/dist-packages/OPSI/Object.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 307 in 'fromHash' in file '/usr/lib/python2.6/dist-packages/OPSI/Object.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1593 in '__init__' in file '/usr/lib/python2.6/dist-packages/OPSI/Object.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 1635 in 'setProductType' in file '/usr/lib/python2.6/dist-packages/OPSI/Object.py' (Logger.py|767)
[2] [Sep 30 07:24:28] line 369 in 'forceProductType' in file '/usr/lib/python2.6/dist-packages/OPSI/Types.py' (Logger.py|767)
[2] [Sep 30 07:24:28] ==>>> Unknown product type: 'LocalbootProduc' (opsi-setup|3058)
ERROR: Unknown product type: 'LocalbootProduc'
Same is happening if i try to remove a client with configed, or set a product to "setup"
If i do a "opsi-setup --update-mysql" i receive an error "1286,"unknown table engine InnoDB"
With regards,
Kees....
- n.wenselowski
- Ex-uib-Team
- Beiträge: 3194
- Registriert: 04 Apr 2013, 12:15
Re: LocalbootProduc (error on server)
Hi Kees,
are you running on the file backend?
Then you could grep for the faulty file.
Otherwise I'd suggest running the command for the cleanup with loglevel 7 to maybe see where the problem is.
Niko
are you running on the file backend?
Then you could grep for the faulty file.
Otherwise I'd suggest running the command for the cleanup with loglevel 7 to maybe see where the problem is.
Niko
Code: Alles auswählen
import OPSI
Re: LocalbootProduc (error on server)
Hi Niko,
Thanks for your support.
I (kind of), solved my problem.
Just restored a backup. Now its working fine
With regards,
Kees...
Thanks for your support.
I (kind of), solved my problem.
Just restored a backup. Now its working fine

With regards,
Kees...