OpenVZ Forum


Home » General » Support » Not able to start vps
Not able to start vps [message #15154] Fri, 20 July 2007 09:34 Go to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
vzctl start 510
Starting VE ...
Can't mount: /vz/root/510 /vz/private/510: No such file or directory

But files and directory exists /vz/root/510 /vz/private/510

Any idea?
thanks

[Updated on: Fri, 20 July 2007 10:27]

Report message to a moderator

Re: Not able to start vps [message #15157 is a reply to message #15154] Fri, 20 July 2007 10:19 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

how did it happen that it tries to mount /vz/root for VE 510 from private of VE 100?

attach your VE config plz /etc/vz/conf/100.conf


http://static.openvz.org/userbars/openvz-developer.png
Re: Not able to start vps [message #15158 is a reply to message #15154] Fri, 20 July 2007 10:28 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member

# CPU fair sheduler parameter
CPUUNITS="1000"2:131072"
VE_ROOT="/vz/root/$VEID"44"f barrier:limit)
VE_PRIVATE="/vz/private/510"
OSTEMPLATE="centos-4-i386"
IP_ADDRESS="192.168.1.1 192.168.1.2"
QUOTAUGIDLIMIT="1000"843200"
HOSTNAME="domain.com"
CPULIMIT="400"147483647"
MEMINFO="pages:262144"147483646"
NAMESERVER="ns2.zoneedit.com"2"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="25600000:25600000"8192"
DISKINODES="2560000:2560000"8192"
QUOTATIME="0""131072:2147483647"
# Auxiliary parameters
Re: Not able to start vps [message #15159 is a reply to message #15158] Fri, 20 July 2007 10:33 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
This two lines are garbaged:

VE_ROOT="/vz/root/$VEID"44"f barrier:limit)
VE_PRIVATE="/vz/private/510"


Should be

VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"


What vzctl version do you use?

Thanks.
Re: Not able to start vps [message #15161 is a reply to message #15159] Fri, 20 July 2007 10:48 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
vzctl version 3.0.14

I hashed the lines
#VE_ROOT="/vz/root/$VEID"44"f barrier:limit)
#VE_PRIVATE="/vz/private/510"

and copied pasted new one
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"

save + exit.


vzctl start 510
Starting VE ...
Can't mount: /vz/root/510 /vz/private/510: No such file or directory

Thanks
Re: Not able to start vps [message #15162 is a reply to message #15161] Fri, 20 July 2007 10:54 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
1. Please update vzctl till the most recent version. 3.0.14 has a bug: it can sometimes garbage the conf file.

2. Can you post ouput of the following commands:

# ls -l /vz/
# ls -l /vz/private
# ls -l /vz/root
# cat /etc/vz/conf/510.mount
# cat /etc/vz/conf/510.umount

3. Can you give an access to the node?

Thanks,
Vasily.
Re: Not able to start vps [message #15165 is a reply to message #15154] Fri, 20 July 2007 11:08 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
vzctl
vzctl version 3.0.18

ls -l /vz/
total 36
drwxr-xr-x 2 root root 4096 Jan 15 2007 dump
drwxr-xr-x 2 root root 4096 Jul 20 06:52 lock
drwxr-xr-x 18 root root 4096 Jul 19 22:30 private
drwxr-xr-x 17 root root 4096 Jul 19 13:49 root
drwxr-xr-x 3 root root 4096 Jan 1 2002 template
drwxr-xr-x 4 root root 4096 Jul 19 05:21 tmp

ls -l /vz/private
total 3
drwxr-xr-x 23 root root 4096 Jul 19 00:35 160
drwxr-xr-x 20 root root 4096 Jul 19 00:35 170
drwxr-xr-x 23 root root 4096 Jul 19 00:42 510

ls -l /vz/root
total 3
drwxr-xr-x 23 root root 4096 Jul 19 00:35 160
drwxr-xr-x 20 root root 4096 Jul 19 00:35 170
drwxr-xr-x 23 root root 4096 Jul 19 00:42 510

cat /etc/vz/conf/510.mount
cat: /etc/vz/conf/510.mount: No such file or directory

cat /etc/vz/conf/510.umount
cat: /etc/vz/conf/510.umount: No such file or directory

Tnx
Re: Not able to start vps [message #15168 is a reply to message #15165] Fri, 20 July 2007 11:23 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Ok, what about an access to the node?

Also, can you post the output of the following command:

# vzctl --verbose mount 510

Thanks
Re: Not able to start vps [message #15169 is a reply to message #15154] Fri, 20 July 2007 11:25 Go to previous messageGo to next message
whatever is currently offline  whatever
Messages: 142
Registered: September 2006
Senior Member
vzctl --verbose mount 510
Can't mount: /vz/root/510 /vz/private/510: No such file or directory

How do you want me to provide the access? Shall I send it via ICQ if you are online there.

Thanks
Re: Not able to start vps [message #15171 is a reply to message #15169] Fri, 20 July 2007 11:26 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
You can send me a Private Message via forum.

Thanks,
Vasily
Previous Topic: Install FUSE: Networking dead in the water
Next Topic: WH Manager / control panel
Goto Forum:
  


Current Time: Wed Feb 28 18:15:38 GMT 2024

Total time taken to generate the page: 0.02334 seconds