OpenVZ Forum


Home » General » Support » localhost pcmcia: FATAL: Module pcmcia_core not found.
localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2033] Wed, 15 March 2006 23:19 Go to next message
Serotonin is currently offline  Serotonin
Messages: 8
Registered: March 2006
Location: ditchling, e. sussex, uk
Junior Member

OS: CentOS 4.2 x86_64 (Custom Install) (all packages except KDE stuff & Legacy) + updates
MB: Tyan K8WE (SCSI)
CPU: Opteron 275 2.2GHz
Ram: Corsair Server Ram 1GB
VPU: Sapphire x700 512MB
HDD's: Western Digital 40GB ST340810A (currently till 1.6TB Raid fixed or Solid State)
Router: Netgear DG834G
LAN Card: Intel Pro/100 (till onboard LAN working)
Display: ViewSonic VA1912w
SC: Sonica Theater USB
DVD Drives: BenQ DW1640
CD Drives: Plexwiter Premium-U (Better Enclosure)
Keyboard: DataDesk Trackboard (till Mac version or better)
Mouse: Logitech Compact Infrared (till better)


Reboot for ultilities install
http://openvz.org/documentation/guides/installation/quick-in stall

Two FAIL or FATAL messages at end of interactive boot report (too quick).

Only:

Mar 15 22:14:34 localhost pcmcia: FATAL: Module pcmcia_core not found.

in Boot Log


How do i fix (and find out what(if) other message was)/does it matter? Can next stage continue anyway?

Not really using any PCMCIA (possibly Dynamite Programmer).


ecstasy
founder, ceo and president
ecstasy foundation
uk registration no: 05921553

[Updated on: Thu, 16 March 2006 00:23]

Report message to a moderator

Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2036 is a reply to message #2033] Wed, 15 March 2006 23:33 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

This is probably written by an init script which tries to load some pcmcia modules. If you are not using pcmcia it's harmless. Still, if you don't like that message you can disable this script. How to do that depends on your distro; in fedora/redhat/centos you usually run /sbin/chkconfig --del pcmcia

As for the other message -- sorry I can't guess, reboot again and see what it says.

The main thing now is to check that openvz kernel modules are loaded. /sbin/lsmod should show some vz* and ve* modules loaded, uname -a should show openvz kernel (the one with the word 'stab')


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2037 is a reply to message #2033] Thu, 16 March 2006 00:09 Go to previous messageGo to next message
Serotonin is currently offline  Serotonin
Messages: 8
Registered: March 2006
Location: ditchling, e. sussex, uk
Junior Member

Thanks /sbin/chkconfig --del pcmcia resolved errors.


[root@localhost ~]# /sbin/lsmod
Module Size Used by
isofs 23944 0
parport_pc 27168 0
lp 10312 0
parport 26240 2 parport_pc,lp
i2c_dev 11008 0
i2c_core 21376 1 i2c_dev
sunrpc 147312 1
af_packet 20100 0
usbkbd 7168 0
usbmouse 5504 0
usbhid 25088 0
thermal 12952 0
processor 13176 1 thermal
fan 4240 0
button 6568 0
battery 8976 0
asus_acpi 12064 0
ac 4880 0
ohci_hcd 20480 0
ehci_hcd 28416 0
usbcore 112100 7 usbkbd,usbmouse,usbhid,ohci_hcd,ehci_hcd
forcedeth 17024 0
e100 37632 0
mii 5376 1 e100
floppy 61368 0
ide_cd 40320 0
cdrom 38952 1 ide_cd
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.8-022stab070.1-smp #1 SMP Tue Feb 21 00:08:46 MSK 2006 x86_64 x86_64 x86_64 GNU/Linux

Modules not loaded
Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2040 is a reply to message #2037] Thu, 16 March 2006 08:13 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Either you did not installed vzctl yet (it contains /etc/init.d/vz script which loads OpenVZ modules), or you didn't add vz initscript to the appropriate runlevels. Just follow the instructions and you should be fine. Any problems -- please ask.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2042 is a reply to message #2033] Thu, 16 March 2006 12:36 Go to previous messageGo to next message
Serotonin is currently offline  Serotonin
Messages: 8
Registered: March 2006
Location: ditchling, e. sussex, uk
Junior Member

[root@localhost Serotonin]# /sbin/service vz start
Starting OpenVZ: [ OK ]
Bringing up interface venet0: [ OK ]
Configuring interface venet0: net.ipv4.conf.venet0.send_redirects = 0
[ OK ]
[root@localhost Serotonin]# /sbin/lsmod
Module Size Used by
vznetdev 19072 1
vzdquota 42160 0 [permanent]
vzmon 50756 1 vznetdev
vzdev 3584 3 vznetdev,vzdquota,vzmon
af_packet 20100 0
ipt_length 2944 0
ipt_ttl 3200 0
ipt_tcpmss 3456 0
ipt_TCPMSS 5120 0
iptable_mangle 6144 0
iptable_filter 5888 0
ipt_multiport 3200 0
ipt_limit 3712 0
ipt_tos 2944 0
ipt_REJECT 7168 0
ip_tables 23312 10 ipt_length,ipt_ttl,ipt_tcpmss,ipt_TCPMSS,iptable_mangle,ipta ble_filter,ipt_multiport,ipt_limit,ipt_tos,ipt_REJECT
isofs 23944 1
vmnet 44480 14
vmmon 149900 11
parport_pc 27168 0
lp 10312 0
parport 26240 2 parport_pc,lp
i2c_dev 11008 0
i2c_core 21376 1 i2c_dev
sunrpc 147312 1
usbkbd 7168 0
usbmouse 5504 0
usbhid 25088 0
thermal 12952 0
processor 13176 1 thermal
fan 4240 0
button 6568 0
battery 8976 0
asus_acpi 12064 0
ac 4880 0
ohci_hcd 20480 0
ehci_hcd 28416 0
usbcore 112100 7 usbkbd,usbmouse,usbhid,ohci_hcd,ehci_hcd
forcedeth 17024 0
e100 37632 0
mii 5376 1 e100
floppy 61368 0
ide_cd 40320 1
cdrom 38952 1 ide_cd



utilities installed now. no ve* modules, safe to continue?

[Updated on: Thu, 16 March 2006 12:39]

Report message to a moderator

Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2044 is a reply to message #2042] Thu, 16 March 2006 13:27 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Yes, it's safe to continue.

I was wrong about ve* modules Smile there are only vz* ones Smile


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2046 is a reply to message #2033] Thu, 16 March 2006 15:40 Go to previous messageGo to next message
Serotonin is currently offline  Serotonin
Messages: 8
Registered: March 2006
Location: ditchling, e. sussex, uk
Junior Member

comented all

# Set up PYTHONPATH for our vzyum
#PYTHONPATH=`get_rpm_pythonhome $TDIR`
#export PYTHONPATH
#log4 PYTHONPATH=$PYTHONPATH
#YUM_CONF_FILE=`yum_conf $TDIR

in /usr/share/vzpkg/cach-os

and tried rpmdb of original 4.2:

rpmdb-CentOS-4.2-0.20051010

and 3.1 (GUI install):

rpmdb-redhat-3.6-0.20051018.x86_64.rpm & rpmdb-redhat-3.6-0.20051014.x86_64.rpm

Output:

[root@localhost Serotonin]# vzpkgcache
Creating cache for centos-4-i386-minimal OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code
Creating cache for centos-4-i386-default OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code
[root@localhost Serotonin]# rpm -qa | grep -i rpmdb*
rpmdb-CentOS-4.2-0.20051010
[root@localhost Serotonin]# rpm -e rpmdb-CentOS-4.2-0.20051010
[root@localhost Serotonin]# vzpkgcache
Creating cache for centos-4-i386-minimal OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code
Creating cache for centos-4-i386-default OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code
[root@localhost Serotonin]# rpm -qa | grep -i rpmdb*
rpmdb-redhat-3.6-0.20051018
[root@localhost Serotonin]# rpm -e rpmdb-redhat-3.6-0.20051018
[root@localhost Serotonin]# vzpkgcache
Creating cache for centos-4-i386-minimal OS template
error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code
Creating cache for centos-4-i386-default OS template
error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code

[Updated on: Thu, 16 March 2006 15:42]

Report message to a moderator

Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2047 is a reply to message #2046] Thu, 16 March 2006 16:36 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

You do not actually need any of rpmdb installed -- what is used is actual rpm (via the rpm-python library). RPMDB is kinda kludge used by Red Hat package tools (up2date) to speed up the process of resolving all deps. It is not used by our tools.

In your case, use vzpkgcache -f to discard any existing OS template cache and create one from the ground up. That should solve the problem you are having.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2048 is a reply to message #2033] Thu, 16 March 2006 17:12 Go to previous messageGo to next message
Serotonin is currently offline  Serotonin
Messages: 8
Registered: March 2006
Location: ditchling, e. sussex, uk
Junior Member

with rpmdb-CentOS-4.2-0.20051010.x86_64.rpm:

[root@localhost Serotonin]# vzpkgcache -f
Creating cache for centos-4-i386-minimal OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code
Creating cache for centos-4-i386-default OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code




without any rpmdb:

[root@localhost Serotonin]# vzpkgcache -f
Creating cache for centos-4-i386-minimal OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code
Creating cache for centos-4-i386-default OS template
rpmdb: Program version 4.2 doesn't match environment version
error: db4 error(22) from dbenv->open: Invalid argument
error: cannot open Packages index using db3 - Invalid argument (22)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code

[Updated on: Thu, 16 March 2006 17:17]

Report message to a moderator

Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2049 is a reply to message #2048] Thu, 16 March 2006 20:46 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

OK, back to your altering of cache-os script.

I believe you should not alter YUM_CONF_FILE setting. From the other side, looks like your get_rpm_path function returns something other than /usr/bin/rpm, OR your rpm-python RPM has a different version than rpm RPM.

Can you run the script as
bash -x /usr/share/vzpkg/cache-os centos-4-i386-minimal > out 2>&1

and attach the 'out' file here?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2052 is a reply to message #2033] Fri, 17 March 2006 02:47 Go to previous messageGo to next message
Serotonin is currently offline  Serotonin
Messages: 8
Registered: March 2006
Location: ditchling, e. sussex, uk
Junior Member

cpp-3.2.3-34.x86_64.rpm, gcc-3.2.3-34.x86_64.rpm & gcc-java-3.2.3-34.x86_64.rpm also replace originals preceding VMware workstation module compile, should they be reverted?



[root@localhost Serotonin]# bash -x /usr/share/vzpkg/cache-os centos-4-i386-minimal > out 2>&1
[root@localhost Serotonin]# -x /usr/share/vzpkg/cache-os centos-4-i386-minimal > out 2>&1


where's the 'out' file?


Fedora Core 5 Test 3 ok as host?

[Updated on: Fri, 17 March 2006 07:23]

Report message to a moderator

Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2053 is a reply to message #2052] Fri, 17 March 2006 07:48 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

The 'out' file should be in this very directory you are in.

If you are using fedora core 5 as a host, I believe you can not use this version of rpm to create centos-4 template.

So the best way to do is to use precreated templates. vzpkgcache on x86_64 will be fixed some time later.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2079 is a reply to message #2033] Sat, 18 March 2006 10:32 Go to previous messageGo to next message
Serotonin is currently offline  Serotonin
Messages: 8
Registered: March 2006
Location: ditchling, e. sussex, uk
Junior Member

Got Fcore (don't adore feds) on here now (all packages during text install + updates & rest of browsable Add/Remove Software except Languages which causes app crash)


Can't get resolution past 800x600 with 'Display' (Radeon driver) (conf file?), sh ./ati-driver-installer-8.23.7-x86_64.run

complained about x incompatibility before updates (now goes back to prompt)

unable to determine overide command

tried

X_VERSION=<x430_64a> ./ati-driver-installer-8.23.7-x86_64.run [--install]

X_VERSION=<x690_64a> ./ati-driver-installer-8.23.7-x86_64.run [--install]

and other <x..> think

X_VERSION=</usr/lib64/xorg> ./ati-driver-installer-8.23.7-x86_64.run [--install]

X_VERSION=</usr/lib64/xorg> ./ati-driver-installer-8.23.7-x86_64.run --install

X_VERSION=</usr/lib64/xorg> ./ati-driver-installer-8.23.7-x86_64.run install possibly

sh
./ati-driver-installer-8.23.7-x86_64.run

Could any of the extra attempts have caused it to stop working?



ovzkernel-smp-2.6.8-022stab070.1.x86_64.rpm installation reports

hal conflicts with kernel < 2.6.11
initscripts conflicts with kernel < 2.6.12
glibc conflicts with kernel < 2.6.9
kudzu conflicts with kernel < 2.6.13

how should this be approached?

[Updated on: Sat, 18 March 2006 10:48]

Report message to a moderator

Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2080 is a reply to message #2079] Sat, 18 March 2006 10:47 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

You can either use --nodeps flag to rpm, or try using openvz beta kernel, which is 2.6.15-based, and see what happens.

BTW why do you need ATI binary drivers on server system?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: localhost pcmcia: FATAL: Module pcmcia_core not found. [message #2081 is a reply to message #2033] Sat, 18 March 2006 11:04 Go to previous message
Serotonin is currently offline  Serotonin
Messages: 8
Registered: March 2006
Location: ditchling, e. sussex, uk
Junior Member

Upgraded to stable fecore.


Beta works

sound broken

Title

Information - artsmessage

Message

Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue, using the null output device

, anything else?


Is patch suitable for vmlinuz-2.6.15-1.1955_FC5hypervisor (good to keep Xen fallback) (Vanilla?)?


Can't afford coolthreaded at the moment.


Output before and after commenting python:

[root@localhost ~]# vzpkgcache
Creating cache for fedora-core-4-i386-default OS template
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/share/vzpkgtools/vzrpm44/lib/python2.4/site-packages/rp m/_rpmmodule.so: wrong ELF class: ELFCLASS32

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.2 (#1, Feb 12 2006, 03:45:41)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)]

If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.

ERROR: yum failed with 1 exit code
Creating cache for fedora-core-4-i386-minimal OS template
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

/usr/share/vzpkgtools/vzrpm44/lib/python2.4/site-packages/rp m/_rpmmodule.so: wrong ELF class: ELFCLASS32

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.2 (#1, Feb 12 2006, 03:45:41)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)]

If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.

ERROR: yum failed with 1 exit code
[root@localhost ~]# vzpkgcache
Creating cache for fedora-core-4-i386-default OS template
rpmdb: Program version 4.3 doesn't match environment version
error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code
Creating cache for fedora-core-4-i386-minimal OS template
rpmdb: Program version 4.3 doesn't match environment version
error: db4 error(-30974) from dbenv->open: DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db3 - (-30974)
error: cannot open Packages database in /vz/root/100001/var/lib/rpm
Traceback (most recent call last):
File "/usr/share/vzyum/bin/yum", line 28, in ?
yummain.main(sys.argv[1:])
File "/usr/share/vzyum/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/vzyum/yum-cli/cli.py", line 172, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root, vps=opts.vps)
File "/usr/share/vzyum/lib/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root, vps=vps)
File "/usr/share/vzyum/lib/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/vzyum/lib/yum/config.py", line 384, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
ERROR: yum failed with 1 exit code


Precreated

[Updated on: Sat, 25 March 2006 22:32]

Report message to a moderator

Previous Topic: OpenVZ on CentOS 4.2
Next Topic: Failed Dependencies
Goto Forum:
  


Current Time: Sat Jul 13 23:25:09 GMT 2024

Total time taken to generate the page: 0.02252 seconds