OpenVZ Forum


Home » General » Support » /usr/share/vzpkg/cache-os: line 193: 12770 Floating point exception$YUM $YUM_CMD
/usr/share/vzpkg/cache-os: line 193: 12770 Floating point exception$YUM $YUM_CMD [message #1099] Tue, 31 January 2006 15:52 Go to next message
billybofh is currently offline  billybofh
Messages: 10
Registered: January 2006
Junior Member
Hi,

When I try and run vzpkgcache I'm getting the following :

Creating cache for centos-4-i386-default OS template
/usr/share/vzpkg/cache-os: line 193: 12770 Floating point exception$YUM $YUM_CMD
ERROR: yum failed with 136 exit code
Creating cache for centos-4-i386-minimal OS template
/usr/share/vzpkg/cache-os: line 193: 12862 Floating point exception$YUM $YUM_CMD
ERROR: yum failed with 136 exit code


If I alter the cache-os to print the yum commands I can see :

Creating cache for centos-4-i386-default OS template
/usr/share/vzyum/bin/yum --installroot=/vz/root/100001 --vps=100001 -c /vz/template/centos/4/i386/config/yum.conf -y install ed basesystem coreutils openssh-clients openssh-server bind libstdc++ perl gdbm libgcc readline httpd less 
lynx wget quota traceroute stunnel slocate rsync unzip vim-minimal man man-pages vixie-cron portmap iptables rpm python crontabs authconfig bzip2 caching-nameserver cpio cups-libs curl cyrus-sasl-plain cyrus-sasl-gssapi diffutils elfutils 
fetchmail finger finger-server freetype ftp gd gnupg gzip hesiod httpd-manual jwhois libdbi libjpeg libpng libtiff libtool-libs libuser libxslt lsof m4 mailx ncompress netpbm newt ntsysv openldap passwd rootfiles samba-swat samba-client screen setuptool sgml-common sharutils sudo talk talk-server 
tar tcl tcpdump tcsh telnet time tmpwatch unixODBC utempter xml-common sendmail sendmail-cf sendmail-doc dummy-centos-4 vzdev MAKEDEV


/usr/share/vzpkg/cache-os: line 193: 12770 Floating point exception$YUM $YUM_CMD
ERROR: yum failed with 136 exit code
Creating cache for centos-4-i386-minimal OS template
/usr/share/vzyum/bin/yum --installroot=/vz/root/100001 --vps=100001 -c /vz/template/centos/4/i386/config/yum.conf -y install ed basesystem coreutils openssh-clients 
openssh-server less vim-minimal iptables rpm crontabs gzip passwd rootfiles sudo tar tmpwatch dummy-centos-4 vzdev MAKEDEV


/usr/share/vzpkg/cache-os: line 193: 12862 Floating point exception$YUM $YUM_CMD
ERROR: yum failed with 136 exit code


This is on centos4.2 and I get the same result with either the fedora or centos templates... Any ideas?

The quirks of this system are that it's an AMD64 but running a 32bit version of CentOS and it's behind a web-proxy (I've tried setting http_proxy & the proxy config in /vz/template/fedora-core/4/i386/config/yum.conf etc).



Billy.
Re: /usr/share/vzpkg/cache-os: line 193: 12770 Floating point exception$YUM $YUM_CMD [message #1100 is a reply to message #1099] Tue, 31 January 2006 16:32 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Hmm... It's a bit hard to tell what happened -- something is wrong with yum.

Can you add 'strace -o /tmp/yum.strace.out -fF' to cache-os script so yum will be straced, and send the output here? Also it makes sense to add -d 5 -e 5 arguments to yum, so it will be more verbose.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: /usr/share/vzpkg/cache-os: line 193: 12770 Floating point exception$YUM $YUM_CMD [message #1101 is a reply to message #1100] Tue, 31 January 2006 16:43 Go to previous messageGo to next message
billybofh is currently offline  billybofh
Messages: 10
Registered: January 2006
Junior Member
I've attached the strace output. the -d 5 -e 5 didn't seem to make yum do anything different, but I'll have another fiddle with it.


Billy.

[Updated on: Tue, 31 January 2006 16:45]

Report message to a moderator

Re: /usr/share/vzpkg/cache-os: line 193: 12770 Floating point exception$YUM $YUM_CMD [message #1102 is a reply to message #1101] Tue, 31 January 2006 16:50 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Looks really weird.

First, can you check your rpms consistence by running
rpm -V vzrpm43 vzrpm43-python vzpkg


Second, can you use normal yum on the host system? Are your system stable enough in general and not overclocked? Have you ever experienced some other strange problems like this one?


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: /usr/share/vzpkg/cache-os: line 193: 12770 Floating point exception$YUM $YUM_CMD [message #1106 is a reply to message #1099] Tue, 31 January 2006 18:06 Go to previous message
billybofh is currently offline  billybofh
Messages: 10
Registered: January 2006
Junior Member
Hi,
It does indeed look pretty strange. Rpm just gives me :

# rpm -V vzrpm43 vzrpm43-python vzpkg
S.5....T    /usr/share/vzpkg/cache-os


Regular yum runs perfectly and the system has been/is stable.

It's all a bit odd....


Billy.
Previous Topic: Kernel Panic 022stab061 [solved]
Next Topic: KDE Desktop in vps
Goto Forum:
  


Current Time: Mon May 13 12:32:46 GMT 2024

Total time taken to generate the page: 0.01864 seconds