Hi all I compiled successfully xen3.0 and installed on Debian. Installation was smooth. But when I start xend with /etc/init.d/xend start I get the following error. /usr/lib/python2.3/site-packages/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 This message is repeats several times. After that I could not find any PID with xend. It is happening with 2.0.7 too. I have upgraded twisted and also installed python-2.4. Any solution to this issue. Thanks in advance saifamsc __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Le jeudi 27 octobre 2005 à 02:57 +0100, Saifa Saifa a écrit :> I get the following error. > > /usr/lib/python2.3/site-packages/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 httpDon''t worry about that warning. This is due to Twisted code which is moving a lot. Sure this does not cause any problem to your xen installation.> This message is repeats several times. After that I > could not find any PID with xend. It is happening with > 2.0.7 too.No but you must find a python''s pid. (Try testing before and after lauching xend).> I have upgraded twisted and also installed python-2.4.That''s why you''ve got the warning (Due to Twisted, not python). Hope this help, -- Sylvain de Tilly gpg. http://www.adelux.fr/gpg/sylvain.asc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi On Thu, Oct 27, 2005 at 10:21:18AM +0200, Sylvain de Tilly wrote:> Hi, > > > Le jeudi 27 octobre 2005 à 02:57 +0100, Saifa Saifaa écrit :> > I get the following error. > > > >/usr/lib/python2.3/site-packages/xen/xend/server/SrvDir.py:3:> > DeprecationWarning: twisted.protocols.http hasmoved> > to twisted.web.http. See > > http://twistedmatrix.com/projects/web. > > from twisted.protocols import http > > Don''t worry about that warning. This is due toTwisted code which is> moving a lot. Sure this does not cause any problemto your xen> installation.Ok, now I understood its not from xen but from twisted. But the issue is different 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 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 Thanks Saifamsc> > > This message is repeats several times. After thatI> > could not find any PID with xend. It is happeningwith> > 2.0.7 too. > > No but you must find a python''s pid. (Try testingbefore and after> lauching xend). > > > I have upgraded twisted and also installedpython-2.4.> > That''s why you''ve got the warning (Due to Twisted,not python).> > Hope this help, > > -- > Sylvain de Tilly > gpg. http://www.adelux.fr/gpg/sylvain.asc> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users__________________________________________________________ Enjoy this Diwali with Y! India Click here http://in.promos.yahoo.com/fabmall/index.html _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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 permittedYou 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 issueHum... 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users