json error (could not decode) (SOLVED)
Verfasst: 13 Mär 2015, 10:44
Hi,
Till just a couple of minutes ago Opsi worked well.
After some network problems and a reboot of Opsi i can't "execute now". Received error "no json object could be decoded".
When i run opsi-setup --init-current-config i receive at the end an error :
[3] [Mar 13 10:39:35] 'utf8' codec can't decode byte 0xe3 in position 0: invalid continuation byte (__init__.py|618)
Complete output :
[5] [Mar 13 10:39:33] Creating base path: '/var/lib/opsi/config' (File.py|233)
[5] [Mar 13 10:39:33] Try to find a Configserver. (opsi-setup|2665)
[5] [Mar 13 10:39:33] Getting current system config (opsi-setup|123)
[5] [Mar 13 10:39:33] System information: (opsi-setup|176)
[5] [Mar 13 10:39:33] distributor : Debian (opsi-setup|177)
[5] [Mar 13 10:39:33] distribution : Debian GNU/Linux 6.0.10 (squeeze) (opsi- setup|178)
[5] [Mar 13 10:39:33] ip address : 192.168.13.60 (opsi-setup|179)
[5] [Mar 13 10:39:33] netmask : 255.255.255.0 (opsi-setup|180)
[5] [Mar 13 10:39:33] subnet : 192.168.13.0 (opsi-setup|181)
[5] [Mar 13 10:39:33] broadcast : 192.168.13.255 (opsi-setup|182)
[5] [Mar 13 10:39:33] fqdn : opsi-nl-dev.dev.ict.nl (opsi-setup|183)
[5] [Mar 13 10:39:33] hostname : opsi-nl-dev (opsi-setup|184)
[5] [Mar 13 10:39:33] domain : dev.ict.nl (opsi-setup|185)
[5] [Mar 13 10:39:33] win domain : ICT (opsi-setup|186)
[5] [Mar 13 10:39:33] Configuring client user pcpatch (opsi-setup|484)
[5] [Mar 13 10:39:33] Creating RSA private key for user pcpatch in '/var/lib/ opsi/.ssh/id_rsa' (opsi-setup|498)
[5] [Mar 13 10:39:34] Setting rights (opsi-setup|548)
[5] [Mar 13 10:39:34] Setting rights on directory '/var/lib/opsi/.ssh' (opsi-set up|635)
[3] [Mar 13 10:39:35] 'utf8' codec can't decode byte 0xe3 in position 0: invalid continuation byte (__init__.py|618)
When i run opsi-setup --configure-mysql i see this error :
[2] [Mar 13 10:55:47] Traceback: (Logger.py|767)
[2] [Mar 13 10:55:47] line 3054 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|767)
[2] [Mar 13 10:55:47] line 3006 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|767)
[2] [Mar 13 10:55:47] line 2266 in 'configureMySQLBackend' in file '/usr/bin/opsi-setup' (Logger.py|767)
[2] [Mar 13 10:55:47] line 165 in 'configureMySQLBackend' in file '/usr/lib/python2.6/dist-packages/OPSI/Util/Task/ConfigureBackend/MySQL.py' (Logger.py|76 7)
[2] [Mar 13 10:55:47] line 397 in 'backend_createBase' in file '/usr/lib/py thon2.6/dist-packages/OPSI/Backend/SQL.py' (Logger.py|767)
[2] [Mar 13 10:55:47] line 435 in 'getTables' in file '/usr/lib/python2.6/d ist-packages/OPSI/Backend/MySQL.py' (Logger.py|767)
[2] [Mar 13 10:55:47] line 221 in 'getSet' in file '/usr/lib/python2.6/dist -packages/OPSI/Backend/MySQL.py' (Logger.py|767)
[2] [Mar 13 10:55:47] line 419 in 'execute' in file '/usr/lib/python2.6/dis t-packages/OPSI/Backend/MySQL.py' (Logger.py|767)
[2] [Mar 13 10:55:47] line 166 in 'execute' in file '/usr/lib/pymodules/pyt hon2.6/MySQLdb/cursors.py' (Logger.py|767)
[2] [Mar 13 10:55:47] line 35 in 'defaulterrorhandler' in file '/usr/lib/py modules/python2.6/MySQLdb/connections.py' (Logger.py|767)
[2] [Mar 13 10:55:47] ==>>> (1, "Can't create/write to file '/tmp/#sql_851_ 0.MYI' (Errcode: 13)") (opsi-setup|3058)
ERROR: (1, "Can't create/write to file '/tmp/#sql_851_0.MYI' (Errcode: 13)")
Any ideas what went wrong?
Thanks in advance,
Kees....
Till just a couple of minutes ago Opsi worked well.
After some network problems and a reboot of Opsi i can't "execute now". Received error "no json object could be decoded".
When i run opsi-setup --init-current-config i receive at the end an error :
[3] [Mar 13 10:39:35] 'utf8' codec can't decode byte 0xe3 in position 0: invalid continuation byte (__init__.py|618)
Complete output :
[5] [Mar 13 10:39:33] Creating base path: '/var/lib/opsi/config' (File.py|233)
[5] [Mar 13 10:39:33] Try to find a Configserver. (opsi-setup|2665)
[5] [Mar 13 10:39:33] Getting current system config (opsi-setup|123)
[5] [Mar 13 10:39:33] System information: (opsi-setup|176)
[5] [Mar 13 10:39:33] distributor : Debian (opsi-setup|177)
[5] [Mar 13 10:39:33] distribution : Debian GNU/Linux 6.0.10 (squeeze) (opsi- setup|178)
[5] [Mar 13 10:39:33] ip address : 192.168.13.60 (opsi-setup|179)
[5] [Mar 13 10:39:33] netmask : 255.255.255.0 (opsi-setup|180)
[5] [Mar 13 10:39:33] subnet : 192.168.13.0 (opsi-setup|181)
[5] [Mar 13 10:39:33] broadcast : 192.168.13.255 (opsi-setup|182)
[5] [Mar 13 10:39:33] fqdn : opsi-nl-dev.dev.ict.nl (opsi-setup|183)
[5] [Mar 13 10:39:33] hostname : opsi-nl-dev (opsi-setup|184)
[5] [Mar 13 10:39:33] domain : dev.ict.nl (opsi-setup|185)
[5] [Mar 13 10:39:33] win domain : ICT (opsi-setup|186)
[5] [Mar 13 10:39:33] Configuring client user pcpatch (opsi-setup|484)
[5] [Mar 13 10:39:33] Creating RSA private key for user pcpatch in '/var/lib/ opsi/.ssh/id_rsa' (opsi-setup|498)
[5] [Mar 13 10:39:34] Setting rights (opsi-setup|548)
[5] [Mar 13 10:39:34] Setting rights on directory '/var/lib/opsi/.ssh' (opsi-set up|635)
[3] [Mar 13 10:39:35] 'utf8' codec can't decode byte 0xe3 in position 0: invalid continuation byte (__init__.py|618)
When i run opsi-setup --configure-mysql i see this error :
[2] [Mar 13 10:55:47] Traceback: (Logger.py|767)
[2] [Mar 13 10:55:47] line 3054 in '<module>' in file '/usr/bin/opsi-setup' (Logger.py|767)
[2] [Mar 13 10:55:47] line 3006 in 'main' in file '/usr/bin/opsi-setup' (Logger.py|767)
[2] [Mar 13 10:55:47] line 2266 in 'configureMySQLBackend' in file '/usr/bin/opsi-setup' (Logger.py|767)
[2] [Mar 13 10:55:47] line 165 in 'configureMySQLBackend' in file '/usr/lib/python2.6/dist-packages/OPSI/Util/Task/ConfigureBackend/MySQL.py' (Logger.py|76 7)
[2] [Mar 13 10:55:47] line 397 in 'backend_createBase' in file '/usr/lib/py thon2.6/dist-packages/OPSI/Backend/SQL.py' (Logger.py|767)
[2] [Mar 13 10:55:47] line 435 in 'getTables' in file '/usr/lib/python2.6/d ist-packages/OPSI/Backend/MySQL.py' (Logger.py|767)
[2] [Mar 13 10:55:47] line 221 in 'getSet' in file '/usr/lib/python2.6/dist -packages/OPSI/Backend/MySQL.py' (Logger.py|767)
[2] [Mar 13 10:55:47] line 419 in 'execute' in file '/usr/lib/python2.6/dis t-packages/OPSI/Backend/MySQL.py' (Logger.py|767)
[2] [Mar 13 10:55:47] line 166 in 'execute' in file '/usr/lib/pymodules/pyt hon2.6/MySQLdb/cursors.py' (Logger.py|767)
[2] [Mar 13 10:55:47] line 35 in 'defaulterrorhandler' in file '/usr/lib/py modules/python2.6/MySQLdb/connections.py' (Logger.py|767)
[2] [Mar 13 10:55:47] ==>>> (1, "Can't create/write to file '/tmp/#sql_851_ 0.MYI' (Errcode: 13)") (opsi-setup|3058)
ERROR: (1, "Can't create/write to file '/tmp/#sql_851_0.MYI' (Errcode: 13)")
Any ideas what went wrong?
Thanks in advance,
Kees....