OpenVZ Forum


Home » International » Russian » Unable to start init, probably incorrect template
Unable to start init, probably incorrect template [message #11966] Fri, 13 April 2007 09:31 Go to next message
gramm is currently offline  gramm
Messages: 12
Registered: March 2006
Junior Member
Всем привет.

Скачал темплейт debian-4.0-sparc-minimal.tar.gz создал VE , запускаю .

Unable to start init, probably incorrect template
VE start failed
Stopping VE ...
VE was stopped
VE is unmounted

init вроде есть

ls -l /vz/private/11000/sbin/*ini*
-rwxr-xr-x 1 root root 36172 Sep 10 2006 /vz/private/11000/sbin/init
lrwxrwxrwx 1 root root 4 Apr 13 12:08 /vz/private/11000/sbin/telinit -> init

кто сталкивался с проблемой ?

дальше больше
cd /vz/private/11000/sbin
./init
bash: ./init: cannot execute binary file

[Updated on: Fri, 13 April 2007 09:50]

Report message to a moderator

Re: Unable to start init, probably incorrect template [message #11968 is a reply to message #11966] Fri, 13 April 2007 09:56 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

У нас этот темплейт работает. Возможно, он у вас криво (не до конца) распаковался, или что-то другое?

Попробуйте так:
chroot /vz/private/11000 /sbin/init

или так
chroot /vz/private/11000 /bin/sh


Если ничего не помогает, попробуйте создать темплейт самостоятельно:
http://wiki.openvz.org/Debian_template_creation


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Unable to start init, probably incorrect template [message #11969 is a reply to message #11966] Fri, 13 April 2007 09:57 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

А что, кстати, показывает uname -a?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Unable to start init, probably incorrect template [message #11970 is a reply to message #11969] Fri, 13 April 2007 09:58 Go to previous messageGo to next message
gramm is currently offline  gramm
Messages: 12
Registered: March 2006
Junior Member
Linux localhost 2.6.18-ovz028test010.1-smp #1 SMP Fri Dec 29 21:17:45 MSK 2006 i686 i686 i386 GNU/Linux
Re: Unable to start init, probably incorrect template [message #11971 is a reply to message #11968] Fri, 13 April 2007 09:59 Go to previous messageGo to next message
gramm is currently offline  gramm
Messages: 12
Registered: March 2006
Junior Member
chroot: cannot run command `/bin/sh': Exec format error

init не запускается
Re: Unable to start init, probably incorrect template [message #11972 is a reply to message #11970] Fri, 13 April 2007 10:07 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Пока ещё i686 архитектура не научилась запускать бинарники от Sun Sparc. Это темплейт для SPARC, не для x86.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: 2 сетевые на главной и виртуальной машинах
Next Topic: mount --bind из HN в VE problems
Goto Forum:
  


Current Time: Sat Jul 13 08:57:58 GMT 2024

Total time taken to generate the page: 0.02307 seconds