The last couple of days I have been unable to start xend on a couple of i386
boxes with SLES 9: (Note: A box with FC4 worked just fine.)
x235:~ # xend start
x235:~ # xm list
Error: Error connecting to xend: Connection refused.  Is xend running?
x235:~ #
changeset:   11134:ec03b24a2d83
tag:         tip
user:        shand@kneesaa.uk.xensource.com
date:        Tue Aug 15 13:53:55 2006 +0100
summary:     Fix VT after hvm changes.
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=742
# tail /var/log/xend.log
[2006-08-17 08:19:37 xend 10333] ERROR (XendCheckpoint:234) Save exit rc=0
[2006-08-17 08:19:37 xend.XendDomainInfo 10331] DEBUG 
(XendDomainInfo:1409) XendDomainInfo.destroyDomain(138)
[2006-08-17 08:19:38 xend.XendDomainInfo 10387] DEBUG 
(XendDomainInfo:186) XendDomainInfo.create([''vm'',
[''name'',
''03_save_bogusfile_neg-1155820778''],
[''memory'', 64], [''vcpus'', 1],
[''image'', [''linux'',
[''kernel'', ''/boot/vmlinuz-2.6.16.13-xen''],
[''ramdisk'', 
''/usr/local/autobench/var/tmp/xen/xen-unstable.hg/tools/xm-test/ramdisk/initrd.img''],
[''root'', ''/dev/ram0'']]]])
[2006-08-17 08:19:38 xend.XendDomainInfo 10387] DEBUG 
(XendDomainInfo:292) parseConfig: config is [''vm'',
[''name'',
''03_save_bogusfile_neg-1155820778''],
[''memory'', 64], [''vcpus'', 1],
[''image'', [''linux'',
[''kernel'', ''/boot/vmlinuz-2.6.16.13-xen''],
[''ramdisk'', 
''/usr/local/autobench/var/tmp/xen/xen-unstable.hg/tools/xm-test/ramdisk/initrd.img''],
[''root'', ''/dev/ram0'']]]]
[2006-08-17 08:19:38 xend.XendDomainInfo 10387] DEBUG 
(XendDomainInfo:391) parseConfig: result is {''uuid'': None,
''on_crash'':
None, ''on_reboot'': None, ''localtime'': None,
''image'': [''linux'',
[''kernel'', ''/boot/vmlinuz-2.6.16.13-xen''],
[''ramdisk'',
''/usr/local/autobench/var/tmp/xen/xen-unstable.hg/tools/xm-test/ramdisk/initrd.img''],
[''root'', ''/dev/ram0'']],
''on_poweroff'': None, ''bootloader_args'':
None,
''cpus'': None, ''name'':
''03_save_bogusfile_neg-1155820778'',
''backend'': [],
''vcpus'': 1, ''cpu_weight'': None,
''features'': None, ''vcpu_avail'': None,
''memory'': 64, ''device'': [],
''bootloader'': None, ''cpu'': None,
''maxmem'': None}
[2006-08-17 08:19:38 xend.XendDomainInfo 10387] DEBUG 
(XendDomainInfo:1219) XendDomainInfo.construct: None
[2006-08-17 08:19:38 xend.XendDomainInfo 10387] DEBUG 
(XendDomainInfo:1251) XendDomainInfo.initDomain: 139 1.0
[2006-08-17 08:19:38 xend 10387] DEBUG (balloon:127) Balloon: 144140 KiB 
free; need 65536; done.
[2006-08-17 08:19:38 xend 10387] INFO (image:134) buildDomain os=linux 
dom=139 vcpus=1
[2006-08-17 08:19:38 xend 10387] DEBUG (image:177) dom            = 139
# tail /var/log/xend-debug.log
    self.callHandlers(record)
  File "/usr/lib/python2.3/logging/__init__.py", line 1037, in
callHandlers
    hdlr.handle(record)
  File "/usr/lib/python2.3/logging/__init__.py", line 592, in handle
    self.emit(record)
  File "/usr/lib/python2.3/logging/handlers.py", line 105, in emit
    self.doRollover()
  File "/usr/lib/python/xen/xend/XendLogging.py", line 60, in
doRollover
    logging.handlers.RotatingFileHandler.doRollover()
TypeError: unbound method doRollover() must be called with 
RotatingFileHandler instance as first argument (got nothing instead)
-- 
Regards,
David F Barrera
Linux Technology Center
Systems and Technology Group, IBM
"The wisest men follow their own direction. "
	
                          Euripides
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
On Thu, Aug 17, 2006 at 12:40:21PM -0500, David F Barrera wrote:> The last couple of days I have been unable to start xend on a couple of i386 > boxes with SLES 9: (Note: A box with FC4 worked just fine.) > > [Snip] > > # tail /var/log/xend-debug.log > self.callHandlers(record) > File "/usr/lib/python2.3/logging/__init__.py", line 1037, in callHandlers > hdlr.handle(record) > File "/usr/lib/python2.3/logging/__init__.py", line 592, in handle > self.emit(record) > File "/usr/lib/python2.3/logging/handlers.py", line 105, in emit > self.doRollover() > File "/usr/lib/python/xen/xend/XendLogging.py", line 60, in doRollover > logging.handlers.RotatingFileHandler.doRollover() > TypeError: unbound method doRollover() must be called with > RotatingFileHandler instance as first argument (got nothing instead)You need this patch: --- a/tools/python/xen/xend/XendLogging.py Wed Aug 16 16:01:00 2006 +0100 +++ b/tools/python/xen/xend/XendLogging.py Wed Aug 16 16:06:32 2006 +0100 @@ -57,7 +57,7 @@ class XendRotatingFileHandler(logging.ha self.setCloseOnExec() def doRollover(self): - logging.handlers.RotatingFileHandler.doRollover() + logging.handlers.RotatingFileHandler.doRollover(self) self.setCloseOnExec() # NB yes accessing ''self.stream'' violates OO encapsulation somewhat, This is in our queue, but it''s not been pushed because something else is broken. You could apply this one manually for now, or you might find that removing old xend.log files is sufficient (this code runs when it rotates the log file, which happens when that reaches 1MB in size). Cheers, Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
David F Barrera
2006-Aug-18  12:20 UTC
Re: [Xen-devel] Unable to start xend on sles 9 boxes
Ewan Mellor wrote:> > removing old xend.log files is sufficient (this code runs when it rotates the > log file, which happens when that reaches 1MB in size). > >Ewan, Thanks. Actually, I did exactly that yesterday to get around.> Cheers, > > Ewan. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >-- Regards, David F Barrera Linux Technology Center Systems and Technology Group, IBM "The wisest men follow their own direction. " Euripides _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel