[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] xen on Debian



Le jeudi 27 octobre 2005 à 16:58 +0100, Saifa Saifa a écrit : 
> On boot xend deamon is disabled. The "ps ax |grep xen
> " is showing the following output
> 
> ps ax |grep xen
> 6 ?        S<     0:00 [xenwatch]
> 7 ?        S<     0:00 [xenbus]
> 803 ?        S      0:00 [xenblkd]
> 
> I manually started xend by /usr/sbin/xend start, the
> following error is displayed
> 
>  File
> "/usr/lib/python2.3/site-packages/xen/xend/server/SrvDaemon.py",
> line 475, in daemonize
>      os.setsid()
>      OSError: [Errno 1] Operation not permitted

You say that you update to python 2.4. Did you install xen after python
upgrade ? Is the default python path (/usr/bin/python) is a link to
python2.4 ?

Operation not permitted... Are you root ?

> 
> Now  ps ax |grep xen is showing 
>  ps ax |grep xen
> 6 ?        S<     0:00 [xenwatch]
> 7 ?        S<     0:00 [xenbus]
> 803 ?        S      0:00 [xenblkd]
> 4764 ?        Ss     0:00 xenstored
> --pid-file=/var/run/xenstore.pid
> 4765 tty3     S      0:00 xenconsoled
> 4766 tty3     S      0:00 xenconsoled
> 4767 tty3     S      0:00 xenconsoled
> 4779 ?        Ss     0:00 xenconsoled
> 4780 ?        S      0:00 xenconsoled
> 4781 ?        S      0:00 xenconsoled
> 4971 pts/1    S+     0:00 vi xenchat
> 5097 pts/2    R+     0:00 grep xen
> 
> How to handle this issue

Hum... On my computers (Debian Sarge, xen testing, python 2.4, twisted
sumo 2.0.1) :

Before xen :
:: 

  xen:~# ps auxwww | grep xen
  root  773  0.0  0.0     0    0 ?    S    Oct24   0:00 [xenblkd]

  xen:~# /etc/init.d/xend start
/usr/lib/python/xen/xend/server/SrvDir.py:3: DeprecationWarning:
twisted.protocols.http has moved to twisted.web.http. See
http://twistedmatrix.com/projects/web.
  from twisted.protocols import http

After xen :
::

  xen:~# ps auxwww | grep xen
  root 773  0.0  0.0     0    0 ?    S    Oct24   0:00 [xenblkd]
  root  26218  0.0 13.5 10280 7924 ? S 19:21  0:00 python /usr/sbin/xend
  start

  
xen 3.0 is for developpers only. Try xen with 2.0 or testing release...
-- 
Société Adelux  -  http://www.adelux.fr
Sylvain de Tilly - responsable technique
tél. 01 46 88 60 55 - fax. 01 47 90 26 32
gpg. http://adelux.fr/societe/gpg/sylvain.asc

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.