OpenVZ Forum


Home » General » Support » openvz problem
openvz problem [message #29807] Fri, 25 April 2008 07:56 Go to next message
olriss is currently offline  olriss
Messages: 5
Registered: March 2008
Junior Member
Hi

When I try to start vps this message appears;

Starting VPS ...
vzquota : (warning) Quota is running for id 960 already
VPS is mounted
Adding IP address(es): 77.245.149.251
bash: line 327: 28162 Illegal instruction grep -e "\\<${ip}\\>" ${CFGFILE}.bak >/dev/null 2>&1
bash: line 302: 28166 Done echo "${IFNUMLIST}"
28167 Illegal instruction | grep -q -E "^${IFNUM}$" 2>/dev/null
bash: line 314: 28168 Segmentation fault mv -f ${CFGFILE}.bak ${CFGFILE}
Setting CPU units: 1000
Set hostname: anitur.trdns.com
bash: line 236: 28171 Segmentation fault grep -q -E "[[:space:]]${val}" ${cfgfile} 2>/dev/null
bash: line 236: 28172 Done echo "${val}"
28173 Segmentation fault | grep "\." >/dev/null 2>&1
bash: line 88: 28174 Segmentation fault grep -E "^\<$name\>" $file >/dev/null 2>&1
ERROR: Can't change file /etc/resolv.conf
bash: line 235: 28179 Segmentation fault mv -f ${cfgfile}.$$ ${cfgfile}
File resolv.conf was modified
VPS start in progress...


How can i solve this problem,beacuse I can't enter to ve.
Re: openvz problem [message #29819 is a reply to message #29807] Fri, 25 April 2008 10:53 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

Please tell us the exact kernel you use, version of vzctl, what ostemplate do you use and where have you got it?

1. uname -a
2. vzctl --version
3. What OS template, where have you got it?

P.S. And also please try to drop VE's quota
- vzctl stop 960 (vzctl umount 960)
- vzquota off 960
- vzquota drop 960

Thank You!
Re: openvz problem [message #29821 is a reply to message #29819] Fri, 25 April 2008 11:00 Go to previous messageGo to next message
olriss is currently offline  olriss
Messages: 5
Registered: March 2008
Junior Member
this kernel currently running
2.6.18-openvz-12-1etch1-686 (debian etch)

vzctl version is 3.0.11

I tried to drop quota for 960 veid and vzctl start is failed.Same error.

bash: line 327: 17453 Segmentation fault grep -e "\\<${ip}\\>" ${CFGFILE}.bak >/dev/null 2>&1
bash: line 302: 17457 Done echo "${IFNUMLIST}"
17458 Segmentation fault | grep -q -E "^${IFNUM}$" 2>/dev/null
bash: line 314: 17459 Segmentation fault mv -f ${CFGFILE}.bak ${CFGFILE}
Setting CPU units: 1000
Set hostname: anitur.trdns.com
bash: line 236: 17462 Segmentation fault grep -q -E "[[:space:]]${val}" ${cfgfile} 2>/dev/null
bash: line 236: 17463 Done echo "${val}"
17464 Segmentation fault | grep "\." >/dev/null 2>&1
bash: line 88: 17465 Segmentation fault grep -E "^\<$name\>" $file >/dev/null 2>&1
ERROR: Can't change file /etc/resolv.conf
bash: line 235: 17470 Segmentation fault mv -f ${cfgfile}.$$ ${cfgfile}
File resolv.conf was modified
VPS start in progress...
Re: openvz problem [message #29824 is a reply to message #29821] Fri, 25 April 2008 11:09 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

But you didn't answer the following question
-What OS template do you use (the exact version); where have you got it?

As far as I understand your HN has arch. i686.
vzctl 3.0.11 is too old. If it is possible update vzctl please.
Re: openvz problem [message #29825 is a reply to message #29824] Fri, 25 April 2008 11:18 Go to previous messageGo to next message
olriss is currently offline  olriss
Messages: 5
Registered: March 2008
Junior Member
sorry Smile

debian-4.0-i386-minimal.tar.gz

it's downloaded from http://download.openvz.org/contrib/template/precreated/

but isnt there now (??)

what is your suggestion?

+ addionly there is a config named vps.basic in /etc/vz/960.conf
Re: openvz problem [message #29830 is a reply to message #29825] Fri, 25 April 2008 12:41 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

could possibly create another VE from scratch based on debian-4.0-i386-minimal.tar.gz add an ip to it and try to start it?

(vzctl create VE_ID --ostemplate debian-4.0-i386-minimal; vzctl set VE_ID --ipadd x.x.x.x --save; vzctl set VE_ID --nameserver x.x.x.x --save; vzctl start VE_ID).
Re: openvz problem [message #29831 is a reply to message #29830] Fri, 25 April 2008 12:54 Go to previous messageGo to next message
olriss is currently offline  olriss
Messages: 5
Registered: March 2008
Junior Member
Thank you for reply.I tried many things like migrate another new vps server,cretate new ve,dump etc.But it crashes everytime
Re: openvz problem [message #29832 is a reply to message #29831] Fri, 25 April 2008 13:09 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
1. There is debian-4.0-i386-minimal.tar.gz OS template here http://download.openvz.org/template/precreated/. Please try it.

2. Please show /proc/user_beancounters output.

3. Please check the packages md5's that contains "grep","mv" binaries. ("rpm" has -V option "dpkg" should has something similar ).

4. Please provide us with the output of the following commands:

-vzctl create VE_ID --ostemplate debian-4.0-i386-minimal
-vzctl set VE_ID --ipadd x.x.x.x --save
-vzctl set VE_ID --nameserver x.x.x.x --save
-vzctl start VE_ID
- vzctl enter VE_ID
Previous Topic: insmod problem
Next Topic: Debian: no network after upgrade
Goto Forum:
  


Current Time: Sat Jul 13 22:41:48 GMT 2024

Total time taken to generate the page: 0.02260 seconds