WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] can't bootup xend! what's "python-pam is required for XenAPI

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] can't bootup xend! what's "python-pam is required for XenAPI support"?
From: "youhongyu" <youhongyu@xxxxxxxxxxxxxxx>
Date: Wed, 30 May 2007 22:46:19 +0800
Delivery-date: Wed, 30 May 2007 07:45:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Rmessage-id: <006201c7a2c9$48b00590$64191fac@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
hi, 

my case: 
1. i use fedora3. 
2. i download src tarball and follow the README instructions to install all. I 
havn't divided xen0/xenU. 
3. mv /lib/tls /lib/tls.disable 
4. boot to xen kernal. 
then i find "xend start" can't work, it output nothing. please see following 
output. 
-------------------------following is 
output----------------------------------------- 
[root@localhost ~]# uname -r 
2.6.18-xen 

[root@localhost modules]# ls /usr/sbin/xen* 
/usr/sbin/xenbaked     /usr/sbin/xenconsoled  /usr/sbin/xenmon.py  
/usr/sbin/xenstored  /usr/sbin/xentrace_setmask 
/usr/sbin/xen-bugtool  /usr/sbin/xend         /usr/sbin/xenperf    
/usr/sbin/xentop 

[root@localhost modules]# ls /usr/sbin/xm* 
/usr/sbin/xm 

[root@localhost modules]# whereis xend 
xend: /usr/sbin/xend 
[root@localhost modules]# which xend 
/usr/sbin/xend 

[root@localhost modules]# ll /etc/init.d/x*   
-rwxr-xr-x  1 root root   866 Jan  8 22:11 /etc/init.d/xend 
-rwxr-xr-x  1 root root 11177 Jan  8 22:11 /etc/init.d/xendomains 
-rwxr-xr-x  1 root root  3710 Oct 21  2004 /etc/init.d/xfs 
-rwxr-xr-x  1 root root  2497 Jun 19  2004 /etc/init.d/xinetd 


[root@localhost xen]# xend start 
[root@localhost xen]# ps -ef | grep xen 
root         9     7  0 21:41 ?        00:00:00 [xenwatch] 
root        10     7  0 21:41 ?        00:00:00 [xenbus] 
root      5403     1  0 22:25 ?        00:00:00 xenstored --pid-file 
/var/run/xenstore.pid 
root      5408     1  0 22:25 ?        00:00:00 python /usr/sbin/xend start 
root      5409  5408  0 22:25 ?        00:00:00 python /usr/sbin/xend start 
root      5411     1  0 22:25 ?        00:00:00 xenconsoled 
root      5412  5409  0 22:25 ?        00:00:00 python /usr/sbin/xend start 
root      5413  5412  0 22:25 ?        00:00:00 python /usr/sbin/xend start 
root      5414  5411  0 22:25 ?        00:00:00 xenconsoled 
root      5415  5414  0 22:25 ?        00:00:00 xenconsoled 
root      5420  5320  0 22:25 pts/0    00:00:00 grep xen 

[root@localhost xen]# cat xend.log 
[2007-05-30 22:25:08 xend 5399] WARNING (__init__:988) python-pam is required 
for XenAPI support. 
[2007-05-30 22:25:08 xend 5409] INFO (__init__:988) Xend Daemon started 
[2007-05-30 22:25:08 xend 5409] INFO (__init__:988) Xend changeset: 
unavailable. 
[2007-05-30 22:25:08 xend 5409] INFO (__init__:988) Xend version: Unknown. 
[2007-05-30 22:25:08 xend 5409] ERROR (__init__:988) Exception starting xend 
((13, 'Permission denied')) 
Traceback (most recent call last): 
  File 
"/local/scratch/shand/3.0.4/xen-3.0.4-testing.hg/dist/install/usr/lib/python/xen/xend/server/SrvDaemon.py",
 line 336, in run 
  File 
"/local/scratch/shand/3.0.4/xen-3.0.4-testing.hg/dist/install/usr/lib/python/xen/xend/server/SrvServer.py",
 line 226, in create 
  File 
"/local/scratch/shand/3.0.4/xen-3.0.4-testing.hg/dist/install/usr/lib/python/xen/xend/server/SrvRoot.py",
 line 40, in __init__ 
  File 
"/local/scratch/shand/3.0.4/xen-3.0.4-testing.hg/dist/install/usr/lib/python/xen/web/SrvDir.py",
 line 82, in get 
  File 
"/local/scratch/shand/3.0.4/xen-3.0.4-testing.hg/dist/install/usr/lib/python/xen/web/SrvDir.py",
 line 52, in getobj 
  File 
"/local/scratch/shand/3.0.4/xen-3.0.4-testing.hg/dist/install/usr/lib/python/xen/xend/server/SrvNode.py",
 line 30, in __init__ 
  File 
"/local/scratch/shand/3.0.4/xen-3.0.4-testing.hg/dist/install/usr/lib/python/xen/xend/XendNode.py",
 line 220, in instance 
  File 
"/local/scratch/shand/3.0.4/xen-3.0.4-testing.hg/dist/install/usr/lib/python/xen/xend/XendNode.py",
 line 37, in __init__ 
  File 
"/local/scratch/shand/3.0.4/xen-3.0.4-testing.hg/dist/install/usr/lib/python/xen/xend/XendNode.py",
 line 210, in physinfo_dict 
  File 
"/local/scratch/shand/3.0.4/xen-3.0.4-testing.hg/dist/install/usr/lib/python/xen/xend/XendNode.py",
 line 155, in physinfo 
Error: (13, 'Permission denied') 

[root@localhost xen]# cat xend-debug.log 
Xend started at Wed May 30 22:25:08 2007. 
sysctl operation failed -- need to rebuild the user-space tool set? 
Exception starting xend: (13, 'Permission denied') 

[root@localhost xen]# xm list 
Error: Unable to connect to xend: No such file or directory. Is xend running? 

-------------------------above is 
output----------------------------------------- 

what wrong with my xen?? look forward to your help and best regards. 

youhongy 
20070530 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] can't bootup xend! what's "python-pam is required for XenAPI support"?, youhongyu <=