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

Re: [Xen-users] I can't Start xend on gentoo linux.


  • To: xen-users@xxxxxxxxxxxxx
  • From: Mihai DonÈu <mihai.dontu@xxxxxxxxx>
  • Date: Thu, 28 Mar 2013 20:19:16 +0200
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
  • Delivery-date: Thu, 28 Mar 2013 18:20:03 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gmail.com; b=gWFAYj75R4oY9gRDWxEDbl3WxAZ7rVQttF1y/FMPV5mx4AChRv0vo8ZqmN020iLuqfk3vOaj0NABbcEO8/GHWlJmTEpXKUplKXPwfDI/WaJv9RXWTmQ2YYN1WSd2Pq8jeL2eqkZ0YABMXyBUvq25ENTWHenX2FgeZnIm+8vA+y8= ;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

On Fri, 29 Mar 2013 02:45:11 +0900 ììì wrote:
> I am using gentoo linux.
> 
> When I input, /etc/init.d/xend start, system replies
> /etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> /etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> ./etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> ./etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> ./etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> ./etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> ./etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> ./etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> ./etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> ./etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> ./etc/init.d/xend: /usr/sbin/xend: /usr/lib/portage/pym: bad
> interpreter: Permission denied
> I am searching internet by google, but I can't find a method.
> Someone have any ideas How can I fix this problem?
> 

'xend' is a python script. The first line should be something like:

  #!<shell>

which is called a shebang[1]. Example:

  #!/usr/bin/python

It would seem the ebuild has replaced it with something invalid. Can
you give us the output of:

  $ head -n 5 /usr/sbin/xend


[1] https://en.wikipedia.org/wiki/Shebang_(Unix)

-- 
Mihai DonÈu

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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