Ramarathnam Sriram
2005-Jun-22 18:25 UTC
[Xen-users] Re: Xen-users Digest, Vol 4, Issue 67
Hi, I am using Twisted-2.0.1 and ZopeInterface-3.0.1 Now when i do xend start after booting into my Xen-linux kernel, i get the follwing error. Traceback (most recent call last): File "/usr/sbin/xend", line 27, in ? from xen.xend.server import SrvDaemon File "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen- 2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvDaemon.py", line 35, in ? File "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen- 2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvServer.py", line 28, in ? ImportError: No module named web Please suggest what to do. Thanks Sriram On Wed, 22 Jun 2005 06:51:20 -0400 (EDT), xen-users-request wrote> Send Xen-users mailing list submissions to > xen-users@lists.xensource.com > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users > or, via email, send a message with subject or body ''help'' to > xen-users-request@lists.xensource.com > > You can reach the person managing the list at > xen-users-owner@lists.xensource.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Xen-users digest..." > > Today''s Topics: > > 1. XEN installation error messages seem ambiguous (Cuong Le) > 2. RE: exit xm console (JHJE (Jan Holst Jensen)) > 3. Re: XEN installation error messages seem ambiguous (aq) > 4. Re: Could not get the network to run (Friedmund Lassmann) > 5. Error creating domain: (12, ''Cannot allocate memory'') (Wyatt) > 6. xend start gives an error (Asaf Maruf Ali) > 7. Re:Error creating domain: (12, ''Cannot allocate memory'') > (Jean-Michel Caricand) > 8. Xen asymmetric bandwidth (Ralf L?bben) > 9. Re: Xen install (James Bulpin) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 21 Jun 2005 22:44:13 -0400 > From: Cuong Le <lecuong@cs.ubc.ca> > Subject: [Xen-users] XEN installation error messages seem ambiguous > To: xen-users@lists.xensource.com > Message-ID: <42B8D07D.8050805@cs.ubc.ca> > Content-Type: text/plain; charset=us-ascii; format=flowed > > Hi, I installed XEN on RedHat 9 and experienced the following > problem when running "xend". I tried to reinstall twisted, python, > ...everything seem just fine, but could not understand why these > errors occured: > > /******************************************************************** > ERROR: Could not obtain handle on privileged command interface (2 = > No such file or directory) Traceback (most recent call last): File > "/usr/sbin/xend", line 27, in ? from xen.xend.server import SrvDaemon > File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 41, in ? > import channel > File "/usr/lib/python/xen/xend/server/channel.py", line 3, in ? > import xen.lowlevel.xc; xc = xen.lowlevel.xc.new() > xen.lowlevel.xc.error: (2, ''No such file or directory'') > **********************************************************************/ > > The error message "ERROR: Could not obtain handle on privileged > command interface (2 = No such file or directory)" appears to be > very ambiguous to me. > > Would very much appreciate your help. > Lee > > ------------------------------ > > Message: 2 > Date: Wed, 22 Jun 2005 09:29:10 +0200 > From: "JHJE (Jan Holst Jensen)" <jhje@novonordisk.com> > Subject: RE: [Xen-users] exit xm console > To: "JHJE (Jan Holst Jensen)" <jhje@novonordisk.com>, "gerardi" > <gerardi@spirito.de>, <xen-users@lists.xensource.com> > Message-ID: > <40726A9415C7FA4E985717142CA980644A3980@EXDKBA022.corp.novocorp.net> > Content-Type: text/plain; charset="us-ascii" > > > > Thank you for your information, but the problem is the CRTL > > > key. I kann > > > exit a console wenn I am doing it local it works, > > > but remote I cann not send the CRTL key. > > > > Ooops. Does the CTRL key work when you are doing normal stuff > > on the Xen > > host ? That is: logged into dom0 through putty ? > > > > I recall having trouble sending e.g. Ctrl-C when I was in a > > Xen console. > > Don''t know if that still applies to my setup. Will check tomorrow. > > Hmmm... works fine for me now, running Xen 2.0.6. I had trouble using > Ctrl-C in Xen consoles 2.0.5, but that seems to be gone now. > > -- Jan > > ------------------------------ > > Message: 3 > Date: Wed, 22 Jun 2005 17:34:45 +0900 > From: aq <aquynh@gmail.com> > Subject: Re: [Xen-users] XEN installation error messages seem > ambiguous > To: Cuong Le <lecuong@cs.ubc.ca> > Cc: xen-users@lists.xensource.com > Message-ID: <9cde8bff05062201342b1102c9@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > On 6/22/05, Cuong Le <lecuong@cs.ubc.ca> wrote: > > Hi, I installed XEN on RedHat 9 and experienced the following problem > > when running "xend". I tried to reinstall twisted, python,...everything > > seem just fine, but could not understand why these errors occured: > > > > /******************************************************************** > > ERROR: Could not obtain handle on privileged command interface (2 = No > > such file or directory) > > Traceback (most recent call last): > > File "/usr/sbin/xend", line 27, in ? > > from xen.xend.server import SrvDaemon > > File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 41, in ? > > import channel > > File "/usr/lib/python/xen/xend/server/channel.py", line 3, in ? > > import xen.lowlevel.xc; xc = xen.lowlevel.xc.new() > > xen.lowlevel.xc.error: (2, ''No such file or directory'') > > **********************************************************************/ > > > > The error message "ERROR: Could not obtain handle on privileged command > > interface (2 = No such file or directory)" appears to be very ambiguous > > to me. > > looks like you are not booting in xen? xend would refuse to run under > non-xen kernel. > > what is the result of "uname -a" ? > > regards, > aq > > ------------------------------ > > Message: 4 > Date: Wed, 22 Jun 2005 08:43:50 +0000 (UTC) > From: Friedmund Lassmann <lassmann@freenet.de> > Subject: [Xen-users] Re: Could not get the network to run > To: xen-users@lists.xensource.com > Message-ID: <loom.20050622T103157-234@post.gmane.org> > Content-Type: text/plain; charset=us-ascii > > Hi Nils, > > Thanks for your help. > Still it did not work with xen-unstable-src.tgz but I''m fine > with it since I''ve now got it running with xen-2.0-testing-src.tgz > > Yes I''ve compiled my tg3 network module otherwise I would not even > be able to ping my own IP. > > Configuring xen-br0 did not help anything. Actually the problem was > already before I started xend so even without the bridging stuff. > With my plain eth0 and lo in the ifconfig output I already miss the > ''RUNNING'' flag for eth0. > > I''ve tried to add my gateways MAC into /etc/ethers then a ping on it > looked like this: > > # ping 15.136.127.254 > PING 15.136.127.254 (15.136.127.254) 56(84) bytes of data. > ping: sendmsg: No buffer space available > ping: sendmsg: No buffer space available > > Don''t know what is wrong with my network, but I can live with > it as long as xen-2.0 works now. I''ll try xen-unstable again > some day in future.. > > Regards, > Friedl > > ------------------------------ > > Message: 5 > Date: Tue, 21 Jun 2005 15:55:44 -0600 > From: Wyatt <wyatt@amenaza.com> > Subject: [Xen-users] Error creating domain: (12, ''Cannot allocate > memory'') > To: xen-users@lists.xensource.com > Message-ID: <c2a4c1d5199646cfd92569916d5c1fdc@amenaza.com> > Content-Type: text/plain; charset="us-ascii" > > I have Centos 4.1 running on Xen (Dom0), and it works fine. However, > when I try to start a new domain via xm create, I get the following > error: > > Error: Error creating domain: (12, ''Cannot allocate memory'') > > I have 512 MB on the machine. > > Here are some copies of output: > > [root@persephone rc3.d]# xm list > Name Id Mem(MB) CPU State Time(s) Console > Domain-0 0 57 0 r---- 88.2 > > [root@persephone rc3.d]# xm info > system : Linux > host : persephone > release : 2.6.11.10-xen0 > version : #1 Sun May 22 11:38:50 BST 2005 > machine : i686 > cores : 1 > hyperthreads_per_core : 1 > cpu_mhz : 400 > memory : 511 > free_memory : 435 > > [root@persephone rc3.d]# cat /etc/xen/xen.conf > kernel = "/boot/vmlinuz-2.6-xenU" > memory = 128 > name = "Test" > disk = [''phy:hda5,hda5,w''] > root = "/dev/hda5 ro" > > After running the command, I have some seemingly zombie domains: > > [root@persephone rc3.d]# xm create /etc/xen/xen.conf -c > Using config file "/etc/xen/xen.conf". > Error: Error creating domain: (12, ''Cannot allocate memory'') > > [root@persephone rc3.d]# xm list > Name Id Mem(MB) CPU State Time(s) Console > Domain-0 0 57 0 r---- 90.4 > Domain-6 6 128 0 --p-- 0.0 > > I have to kill them using xm destroy Domain-X. Note that I do not > specify the name of Domain-X; instead, it is supposed to be called > Test. > > I have tried using balloon to adjust memory on Dom-0, and while that > works (xm list shows the new amount being used), it does not allow > me to create any new domains. > > Thanks in advance for the help! > -- > Wyatt > > Accident, n.: > A condition in which presence of mind is good, but absence of > body is better. > -- Foolish Dictionary > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: PGP.sig > Type: application/pgp-signature > Size: 186 bytes > Desc: This is a digitally signed message part > Url : http://lists.xensource.com/archives/html/xen-users/attachments/20050621/ef37567d/PGP.pgp> > ------------------------------ > > Message: 6 > Date: Wed, 22 Jun 2005 12:25:37 +0600 > From: Asaf Maruf Ali <asaf@ping.com.pk> > Subject: [Xen-users] xend start gives an error > To: xen-users@lists.xensource.com > Message-ID: <200506221225.37661.asaf@ping.com.pk> > Content-Type: text/plain; charset="us-ascii" > > Hello > > I am able to boot up with the xen kernel 2.0.6. I have satisfied all > the requirements like brctl, iproute2, twisted etc prior to > installing. However, when i run xend start from a terminal, it gives > an error like the following: > > SrvDaemon.py version mismatch for module xen.lowlevel.xu > > and ends with Import:Error No module named web > > this is not the complete error output. > > During bootup it gives me an error regarding QM_MODULES not found > and an error about modules.dep file not found. The result is that > the ethernet interface is not activated as well. > > Help appreciated? > -- > Asaf Maruf Ali > PING Systems > Network Security-Linux-Consulting > 605, 6th Floor, > Clifton Centre, Block 5, > Clifton, Karachi-75600 > Pakistan > Tel # 5872438, 5868275 > Fax # 5868927 > http://www.ping.com.pk > "PING is a Micro$oft free environment" > > ------------------------------ > > Message: 7 > Date: Wed, 22 Jun 2005 11:38:21 +0200 > From: "Jean-Michel Caricand" <jean-michel.caricand@laposte.net> > Subject: Re:[Xen-users] Error creating domain: (12, ''Cannot allocate > memory'') > To: "wyatt" <wyatt@amenaza.com> > Cc: xen-users <xen-users@lists.xensource.com> > Message-ID: <IIHC3X$9B9AC82CDB0F9B2619E2AB21BFE2AEB9@laposte.net> > Content-Type: text/plain; charset=iso-8859-1 > > Try with > > system : Linux > host : persephone > release : 2.6.11.10-xen0 > version : #1 Sun May 22 11:38:50 BST 2005 > machine : i686 > cores : 1 > hyperthreads_per_core : 1 > cpu_mhz : 400 > memory : 256 > free_memory : 435 > > for your host. 128Mo + 256Mo is < 512 > > > I have Centos 4.1 running on Xen (Dom0), and it works fine. > However, > > when I try to start a new domain via xm create, I get the > following > > error: > > > > Error: Error creating domain: (12, ''Cannot allocate memory'') > > > > I have 512 MB on the machine. > > > > Here are some copies of output: > > > > [root@persephone rc3.d]# xm list > > Name Id Mem(MB) CPU State Time(s) Console > > Domain-0 0 57 0 r---- 88.2 > > > > [root@persephone rc3.d]# xm info > > system : Linux > > host : persephone > > release : 2.6.11.10-xen0 > > version : #1 Sun May 22 11:38:50 BST 2005 > > machine : i686 > > cores : 1 > > hyperthreads_per_core : 1 > > cpu_mhz : 400 > > memory : 511 > > free_memory : 435 > > > > [root@persephone rc3.d]# cat /etc/xen/xen.conf > > kernel = "/boot/vmlinuz-2.6-xenU" > > memory = 128 > > name = "Test" > > disk = [''phy:hda5,hda5,w''] > > root = "/dev/hda5 ro" > > > > After running the command, I have some seemingly zombie domains: > > > > [root@persephone rc3.d]# xm create /etc/xen/xen.conf -c > > Using config file "/etc/xen/xen.conf". > > Error: Error creating domain: (12, ''Cannot allocate memory'') > > > > [root@persephone rc3.d]# xm list > > Name Id Mem(MB) CPU State Time(s) Console > > Domain-0 0 57 0 r---- 90.4 > > Domain-6 6 128 0 --p-- 0.0 > > > > I have to kill them using xm destroy Domain-X. Note that I > do not > > specify the name of Domain-X; instead, it is supposed to be > called > > Test. > > > > I have tried using balloon to adjust memory on Dom-0, and > while that > > works (xm list shows the new amount being used), it does not > allow me > > to create any new domains. > > > > Thanks in advance for the help! > > -- > > Wyatt > > > > Accident, n.: > > A condition in which presence of mind is good, but absence of > > body is better. > > -- Foolish Dictionary > > > > > > Jean-Michel Caricand > > Adresse professionnelle > GRETA de Besançon > 35 avenue de Montrapon > 25000 BESANCON > jean-michel.caricand@greta-besancon.com > http://www.greta-besancon.com > > Accédez au courrier électronique de La Poste : www.laposte.net ; > 3615 LAPOSTENET (0,34/mn) ; tél : 08 92 68 13 50 (0,34/mn) > > ------------------------------ > > Message: 8 > Date: Wed, 22 Jun 2005 11:47:38 +0200 > From: Ralf L?bben <ralfluebben@gmx.de> > Subject: [Xen-users] Xen asymmetric bandwidth > To: xen-users@lists.xensource.com > Message-ID: <d9bbua$c04$1@sea.gmane.org> > Content-Type: text/plain; charset=utf-8 > > Hello, > > I did some network benchmarking on Xen. > The setup were two pentium 4 2.66 machines with xen kernel 2.6.10 and > gigabit ethernet cards. > I did the benchmark with iperf. > > On a normal system I get a maximum bandwidth of 620MBit/s and with > Xen about 500MBit/s. With Iperf you have the possibility to send and > receive simultaneous. On the normal system distribution is > symmetric. Pro channel about 310MBit/s so the sum is 620MBit/s > again. On Xen the distribution is asymmetric. The domain can receive > about 320MBit/s but it can only send 180MBit/s. The sum is also 500MBit/s. > > Has anybody an idea why the distribution is asymmetric? > > Thanks. > > Greetings > Ralf Lübben > > ------------------------------ > > Message: 9 > Date: Wed, 22 Jun 2005 11:50:41 +0100 > From: James Bulpin <james@xensource.com> > Subject: Re: [Xen-users] Xen install > To: Xen User List <xen-users@lists.xensource.com> > Message-ID: <42B94281.5050607@xensource.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > It looks like the new version 2.x of Twisted has separated the > twisted.web part of the library out into a separate package "Twisted > Web". Which version of Twisted are you using? I''d suggest sticking > with > 1.3 for now. > > Has anyone tried using Twisted 2.x + Twisted Web with xend? > > James > > Ramarathnam Sriram wrote: > > *Hi,* > > > > *Now when i do xend start after booting into my Xen-linux kernel, i get > > the follwing error.* > > > > *Traceback (most recent call last): > > File "/usr/sbin/xend", line 27, in ? > > from xen.xend.server import SrvDaemon > > File > > "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen-2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvDaemon.py",> > line 35, in ? > > File > > "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen-2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvServer.py",> > line 28, in ? > > ImportError: No module named web > > [root@tfrc1 ~]# > > * > > > > *please suggest what to do.* > > > > *Thanks* > > > > *Sriram* > > > > ** > > > > *On Tue, 21 Jun 2005 11:06:44 -0400 (EDT), Daniel Paquet wrote* > > > You need the python module twisted, to install it you can get the Xen > > sources uncompress them and type make install-twisted. > > > > > > > Hi, > > > > When i boot into my xen-linux2.6.11.10 kernel and give the command > > > > xend start i get the following message > > > >> > > > >> [root@tfrc1 ~]# xend start > > > >> Traceback (most recent call last): > > > >> File "/usr/sbin/xend", line 27, in ? > > > >> from xen.xend.server import SrvDaemon > > > >> File "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen- > > > >> 2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvDaemon.py", > > line > > > >> 20, > > > >> in ? > > > >> ImportError: No module named twisted.internet > > > >> [root@tfrc1 ~]# > > > >> > > > >> Please suggest what to do. > > > >> > > > >> Thanks > > > >> Sriram > > ------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > End of Xen-users Digest, Vol 4, Issue 67 > ****************************************Sriram Ramarathnam, Graduate Student,Computer Science Clemson University _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ramarathnam Sriram wrote:> Hi, > I am using Twisted-2.0.1 and ZopeInterface-3.0.1 > > Now when i do xend start after booting into my Xen-linux kernel, i get > the follwing error. > Traceback (most recent call last): > File "/usr/sbin/xend", line 27, in ? > from xen.xend.server import SrvDaemon > File > "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen- > 2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvDaemon.py", > line 35, in ? > File > "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen- > 2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvServer.py", > line 28, in ? > ImportError: No module named web > > Please suggest what to do.As previously suggested, use Twisted 1.3. Alternatively keep Twisted 2.0 and install Twisted Web. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ramarathnam Sriram
2005-Jun-26 21:03 UTC
Re: [Xen-users] Re: Xen-users Digest, Vol 4, Issue 67
Hi, I installed install Twisted Web now and it gives the folowing error when i type xend start [root@tfrc1 ~]# xend start /usr/lib/python/xen/xend/server/SrvDir.py:3: DeprecationWarning: twisted.protoco ls.http has moved to twisted.web.http. See http://twistedmatrix.com/projects/web . from twisted.protocols import http Please suggest what to do. Thanks Sriram On Sun, 26 Jun 2005 13:33:12 +0100, James Bulpin wrote> Ramarathnam Sriram wrote: > > Hi, > > I am using Twisted-2.0.1 and ZopeInterface-3.0.1 > > > > Now when i do xend start after booting into my Xen-linux kernel, i get > > the follwing error. > > Traceback (most recent call last): > > File "/usr/sbin/xend", line 27, in ? > > from xen.xend.server import SrvDaemon > > File > > "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen- > > 2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvDaemon.py", > > line 35, in ? > > File > > "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen- > > 2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvServer.py", > > line 28, in ? > > ImportError: No module named web > > > > Please suggest what to do. > > As previously suggested, use Twisted 1.3. > > Alternatively keep Twisted 2.0 and install Twisted Web. > > James_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
OK - back to option 1, install Twisted 1.3. Thanks for the info, will add to FAQ. James Ramarathnam Sriram wrote:> Hi, > I installed install Twisted Web now and it gives the folowing error when i > type xend start > > [root@tfrc1 ~]# xend start > /usr/lib/python/xen/xend/server/SrvDir.py:3: DeprecationWarning: > twisted.protoco ls.http has moved to twisted.web.http. See > http://twistedmatrix.com/projects/web . > from twisted.protocols import http > > Please suggest what to do. > > Thanks > Sriram > > > On Sun, 26 Jun 2005 13:33:12 +0100, James Bulpin wrote > >>Ramarathnam Sriram wrote: >> >>>Hi, >>> I am using Twisted-2.0.1 and ZopeInterface-3.0.1 >>> >>>Now when i do xend start after booting into my Xen-linux kernel, i get >>>the follwing error. >>>Traceback (most recent call last): >>>File "/usr/sbin/xend", line 27, in ? >>>from xen.xend.server import SrvDaemon >>> File >>> "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen- >>>2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvDaemon.py", >>> line 35, in ? >>> File >>> "/auto/groups/xeno-xenod/users/xenod/cron-build/R24768.dir/xen- >>>2.0.bk/dist/install/usr/lib/python/xen/xend/server/SrvServer.py", >>> line 28, in ? >>> ImportError: No module named web >>> >>>Please suggest what to do. >> >>As previously suggested, use Twisted 1.3. >> >>Alternatively keep Twisted 2.0 and install Twisted Web. >> >>James > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users