Fedora 13 doesn't like OpenVZ [message #39713] |
Tue, 25 May 2010 23:32 |
mperkel
Messages: 253 Registered: December 2006
|
Senior Member |
|
|
I upgraded a Fedora 12 vps to Fedora 13and now it doesn't run.
When I try to enter it I get this:
enter into CT 901 failed
Unable to open pty: No such file or directory
Did the usual trick and not working. I also notice when I run vzlist I get one 1 process running.
901 1 running 65.49.42.26 template64.ctyme.com
I'd be happy to troubleshoot this. Anyone know what might be happening?
Thanks in advance.
Junk Email Filter
http://www.junkemailfilter.com
|
|
|
|
Re: Fedora 13 doesn't like OpenVZ [message #39719 is a reply to message #39713] |
Wed, 26 May 2010 12:16 |
mperkel
Messages: 253 Registered: December 2006
|
Senior Member |
|
|
Can't run anything from inside the container so I did this:
vzctl exec 901 rpm -qa | grep swsoft
rpmdb: Program version 4.8 doesn't match environment version 4.7
error: db3 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db3 - (-30971)
error: cannot open Packages database in /var/lib/rpm
rpmdb: Program version 4.8 doesn't match environment version 4.7
error: db3 error(-30971) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages database in /var/lib/rpm
Junk Email Filter
http://www.junkemailfilter.com
|
|
|
|
Re: Fedora 13 doesn't like OpenVZ [message #39722 is a reply to message #39719] |
Wed, 26 May 2010 12:50 |
|
Apparently Fedora updated RPM one more time... and for the first time made it forward-incompatible (i.e. newer version of RPM (4.8) can't read its DB which is in 4.7 format). Previously it was working that way.
So you are completely out of luck with this, sorry.
Well you might try doing 'vzctl exec 910 rpm --rebuilddb' to fix things, but I am not sure if it will work for you or not.
Kir Kolyshkin
[Updated on: Wed, 26 May 2010 12:52] Report message to a moderator
|
|
|
|
|
Re: Fedora 13 doesn't like OpenVZ [message #39726 is a reply to message #39713] |
Wed, 26 May 2010 13:10 |
mperkel
Messages: 253 Registered: December 2006
|
Senior Member |
|
|
This is perhaps interesting. Tried to rum yum and got:
vzctl exec 901 yum -y update
Traceback (most recent call last):
File "/usr/bin/yum", line 4, in <module>
import yum
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 42, in <module>
import rpmsack
File "/usr/lib/python2.6/site-packages/yum/rpmsack.py", line 24, in <module>
from rpmUtils import arch
File "/usr/lib/python2.6/site-packages/rpmUtils/arch.py", line 329, in <module>
canonArch = getCanonArch()
File "/usr/lib/python2.6/site-packages/rpmUtils/arch.py", line 325, in getCanonArch
return getCanonX86_64Arch(arch)
File "/usr/lib/python2.6/site-packages/rpmUtils/arch.py", line 288, in getCanonX86_64Arch
f = open("/proc/cpuinfo", "r")
IOError: [Errno 2] No such file or directory: '/proc/cpuinfo'
Not sure what this means. Tried running
vzctl exec 901 ls -l /
and got a listing that was not the root directory. Still investigating ...
Junk Email Filter
http://www.junkemailfilter.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|