After install of update snv_101b the xend daemon dosn''t start any more. This is what I saw in the xend.log file [2008-11-22 10:58:59 572] INFO (SrvDaemon:334) Xend Daemon started [2008-11-22 10:58:59 572] INFO (SrvDaemon:338) Xend changeset: Mon Oct 13 22:14:51 2008 -0700 15904:94bd0a643efe. [2008-11-22 10:58:59 572] INFO (SrvDaemon:345) Xend version: Unknown. [2008-11-22 10:58:59 572] ERROR (SrvDaemon:356) Exception starting xend (need more than 3 values to unpack) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 348, in run File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line 244, in create File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvNode.py", line 30, in __init__ File "/usr/lib/python2.4/site-packages/xen/xend/XendNode.py", line 635, in instance File "/usr/lib/python2.4/site-packages/xen/xend/XendNode.py", line 92, in __init__ File "/usr/lib/python2.4/vendor-packages/xen/xend/osdep.py", line 140, in _solaris_get_cpuinfo (module, cpunum, combo, namevalue) = kstatline.split (":") ValueError: need more than 3 values to unpack [2008-11-22 10:59:00 579] INFO (SrvDaemon:334) Xend Daemon started [2008-11-22 10:59:00 579] INFO (SrvDaemon:338) Xend changeset: Mon Oct 13 22:14:51 2008 -0700 15904:94bd0a643efe. [2008-11-22 10:59:00 579] INFO (SrvDaemon:345) Xend version: Unknown. [2008-11-22 10:59:30 579] ERROR (SrvDaemon:356) Exception starting xend ((125, ''Address already in use'')) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 347, in run File "/usr/lib/python2.4/site-packages/xen/xend/server/relocate.py", line 137, in listenRelocation File "/usr/lib/python2.4/site-packages/xen/web/tcp.py", line 36, in __init__ File "/usr/lib/python2.4/site-packages/xen/web/connection.py", line 83, in __init__ File "/usr/lib/python2.4/site-packages/xen/web/tcp.py", line 49, in createSocket File "<string>", line 1, in bind error: (125, ''Address already in use'') [2008-11-22 10:59:30 722] INFO (SrvDaemon:334) Xend Daemon started [2008-11-22 10:59:30 722] INFO (SrvDaemon:338) Xend changeset: Mon Oct 13 22:14:51 2008 -0700 15904:94bd0a643efe. [2008-11-22 10:59:30 722] INFO (SrvDaemon:345) Xend version: Unknown. [2008-11-22 11:00:00 722] ERROR (SrvDaemon:356) Exception starting xend ((125, ''Address already in use'')) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 347, in run File "/usr/lib/python2.4/site-packages/xen/xend/server/relocate.py", line 137, in listenRelocation File "/usr/lib/python2.4/site-packages/xen/web/tcp.py", line 36, in __init__ File "/usr/lib/python2.4/site-packages/xen/web/connection.py", line 83, in __init__ File "/usr/lib/python2.4/site-packages/xen/web/tcp.py", line 49, in createSocket File "<string>", line 1, in bind error: (125, ''Address already in use'') The same error occured on build snv_101a. Build snv_100 works correct. The python scripts of SUNWxvm didn''t change in these releases. Any idea what is wrong ? thanks Dieter -- This message posted from opensolaris.org
On Sat, Nov 22, 2008 at 02:35:10AM -0800, Dieter Niesel wrote:> After install of update snv_101b the xend daemon dosn''t start any more. > This is what I saw in the xend.log file > > File "/usr/lib/python2.4/site-packages/xen/xend/XendNode.py", line 92, in __init__ > File "/usr/lib/python2.4/vendor-packages/xen/xend/osdep.py", line 140, in _solaris_get_cpuinfo > (module, cpunum, combo, namevalue) = kstatline.split (":") > ValueError: need more than 3 values to unpackI don''t see this with 101b (admittedly, opensolaris). I notice that this file says ''vendor-packages''. That means someone has been editing this file, and python has re-compiled it for some reason. I would try removing the packages and re-installing. regards john
after reinstall same error [2008-11-22 18:18:12 1507] INFO (SrvDaemon:334) Xend Daemon started [2008-11-22 18:18:12 1507] INFO (SrvDaemon:338) Xend changeset: Mon Oct 13 22:14:51 2008 -0700 15904:94bd0a643efe. [2008-11-22 18:18:12 1507] INFO (SrvDaemon:345) Xend version: Unknown. [2008-11-22 18:18:12 1507] ERROR (SrvDaemon:356) Exception starting xend (need more than 3 values to unpack) Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py", line 348, in run File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvServer.py", line 244, in create File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 82, in get File "/usr/lib/python2.4/site-packages/xen/web/SrvDir.py", line 52, in getobj File "/usr/lib/python2.4/site-packages/xen/xend/server/SrvNode.py", line 30, in __init__ File "/usr/lib/python2.4/site-packages/xen/xend/XendNode.py", line 635, in instance File "/usr/lib/python2.4/site-packages/xen/xend/XendNode.py", line 92, in __init__ File "/usr/lib/python2.4/site-packages/xen/xend/osdep.py", line 140, in _solaris_get_cpuinfo ValueError: need more than 3 values to unpack -- This message posted from opensolaris.org
Ah now I''ve seen these symptoms before, for me it was a locale error that caused some perl warnings the python script runs this command then parses the output:- /usr/bin/kstat -p -c misc -m cpu_info And kstat is a perl script... bash-3.2# file /usr/bin/kstat /usr/bin/kstat: executable /usr/perl5/bin/perl script Run "/usr/bin/kstat -p -c misc -m cpu_info" and see if you get any perl warnings about any locale settings. Cheers, Alan -- This message posted from opensolaris.org
After some test I saw that it is not the kstat it is in the python scripts I am running the OS with LANG=de_DE.UTF-8, when I change this to LANG=C it works. There is an additional error : The Phenom x4 I am using has some lines in the kstat output with following contents cpu_info:0:cpu_info0:supported_frequencies_Hz 1300000000:2600000000 the last ":" generates an error, to fix this change line 140 in osdep.py to (module, cpunum, combo, namevalue) = kstatline.split (":",3) this should work any idea how to put this back to the package repository thanks Dieter -- This message posted from opensolaris.org
On Mon, Nov 24, 2008 at 03:12:10PM -0800, Dieter Niesel wrote:> After some test I saw that it is not the kstat it is in the python scripts > > I am running the OS with LANG=de_DE.UTF-8, when I change this to LANG=C it works.What was the error exactly?> There is an additional error : > The Phenom x4 I am using has some lines in the kstat output with following contents > > cpu_info:0:cpu_info0:supported_frequencies_Hz 1300000000:2600000000 > the last ":" generates an error, to fix this change line 140 in osdep.py to > > (module, cpunum, combo, namevalue) = kstatline.split (":",3) > this should workPlease file a bug on this.> any idea how to put this back to the package repositoryIf you include a patch for your fix in the bug report, I can work with you on getting it integrated. You''ll need to follow this: http://opensolaris.org/os/communities/participation/ thanks john