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

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



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

-- 
View this message in context: 
http://www.nabble.com/can%27t-bootup-xend%21-what%27s-%22python-pam-is-required-for-XenAPI-support%22--tf3840827.html#a10875210
Sent from the Xen - User mailing list archive at Nabble.com.


_______________________________________________
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®.