hwcap index 1 already defined as nosegneg
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and Plesk
  1. Amin Taheri
  2. 04.06.2012
  3.  Subscribe via email
Is this all normal and ok?
I know it says non fatal, but since it happened on almost every package I wanted to double check this isnt a problem.



Transaction Test Succeeded
Running Transaction
Updating : net-snmp-libs 1/22
Updating : net-snmp 2/22
Updating : postgresql-libs 3/22
Installing : kernel-xen 4/22
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:6: hwcap index 1 already defined as nosegneg
Non-fatal POSTIN scriptlet failure in rpm package kernel-xen-2.6.18-408.el5.lve0.8.61.1.x86_64
error: %post(kernel-xen-2.6.18-408.el5.lve0.8.61.1.x86_64) scriptlet failed, exit status 1
Updating : lve 5/22
Updating : liblve 6/22
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:6: hwcap index 1 already defined as nosegneg
Non-fatal POSTIN scriptlet failure in rpm package liblve-0.8-56.el5.cloudlinux.x86_64
error: %post(liblve-0.8-56.el5.cloudlinux.x86_64) scriptlet failed, exit status 1
Updating : net-snmp-devel 7/22
Installing : kernel-devel 8/22
Updating : tzdata 9/22
Installing : kernel-xen-devel 10/22
Updating : postgresql-libs 11/22
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:6: hwcap index 1 already defined as nosegneg
Non-fatal POSTIN scriptlet failure in rpm package postgresql-libs-8.1.23-4.el5_8.i386
error: %post(postgresql-libs-8.1.23-4.el5_8.i386) scriptlet failed, exit status 1
Cleanup : kernel-xen 12/22
Cleanup : lve 13/22
Cleanup : net-snmp 14/22
Cleanup : liblve 15/22
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:6: hwcap index 1 already defined as nosegneg
Non-fatal POSTUN scriptlet failure in rpm package l
Cleanup : net-snmp-devel 16/22
error: %postun(liblve-0.8-41.el5.cloudlinux.x86_64) scriptlet failed, exit status 1
Cleanup : tzdata 17/22
Cleanup : net-snmp-libs 18/22
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:6: hwcap index 1 already defined as nosegneg
Non-fatal POSTUN scriptlet failure in rpm package n
Cleanup : kernel-devel 19/22
error: %postun(net-snmp-libs-5.3.2.2-17.el5.x86_64) scriptlet failed, exit status 1
Cleanup : postgresql-libs 20/22
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:6: hwcap index 1 already defined as nosegneg
Non-fatal POSTUN scriptlet failure in rpm package p
Cleanup : kernel-xen-devel 21/22
error: %postun(postgresql-libs-8.1.23-1.el5_7.3.x86_64) scriptlet failed, exit status 1
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:6: hwcap index 1 already defined as nosegneg
Non-fatal POSTTRANS scriptlet failure in rpm package liblve-0.8-56.el5.cloudlinux.x86_64
error: %posttrans(liblve-0.8-56.el5.cloudlinux.x86_64) scriptlet failed, exit status 1

Removed:
kernel-devel.x86_64 0:2.6.18-374.12.1.el5.lve0.8.54 kernel-xen.x86_64 0:2.6.18-374.12.1.el5.lve0.8.54 kernel-xen-devel.x86_64 0:2.6.18-374.12.1.el5.lve0.8.54

Installed:
kernel-devel.x86_64 0:2.6.18-408.el5.lve0.8.61.1 kernel-xen.x86_64 0:2.6.18-408.el5.lve0.8.61.1 kernel-xen-devel.x86_64 0:2.6.18-408.el5.lve0.8.61.1

Updated:
liblve.x86_64 0:0.8-56.el5.cloudlinux lve.x86_64 0:0.8-56.el5.cloudlinux net-snmp.x86_64 1:5.3.2.2-17.el5_8.1 net-snmp-devel.x86_64 1:5.3.2.2-17.el5_8.1 net-snmp-libs.x86_64 1:5.3.2.2-17.el5_8.1
postgresql-libs.i386 0:8.1.23-4.el5_8 postgresql-libs.x86_64 0:8.1.23-4.el5_8 tzdata.x86_64 0:2012c-1.el5

Complete!

Rate this post:
  1. 14.06.2012 17:06:39
  2. # 1
Amin Taheri Accepted Answer
Posts: 6
Joined: 21.02.2012
0
Votes
Undo
This happens on every yum update, even ones taht have nothing to do with the kernel

Running Transaction
Updating : expat 1/8
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:6: hwcap index 1 already defined as nosegneg
Non-fatal POSTIN scriptlet failure in rpm package expat-1.95.8-11.el5_8.x86_64
error: %post(expat-1.95.8-11.el5_8.x86_64) scriptlet failed, exit status 1
Updating : expat 2/8
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:6: hwcap index 1 already defined as nosegneg
Non-fatal POSTIN scriptlet failure in rpm package expat-1.95.8-11.el5_8.i386
error: %post(expat-1.95.8-11.el5_8.i386) scriptlet failed, exit status 1
Updating : expat-devel 3/8
Updating : gawk 4/8
Cleanup : expat-devel 5/8
Cleanup : expat 6/8
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:6: hwcap index 1 already defined as nosegneg
Non-fatal POSTUN scriptlet failure in rpm package e
Cleanup : gawk 7/8
error: %postun(expat-1.95.8-8.3.el5_5.3.x86_64) scriptlet failed, exit status 1

Updated:
expat.i386 0:1.95.8-11.el5_8 expat.x86_64 0:1.95.8-11.el5_8 expat-devel.x86_64 0:1.95.8-11.el5_8 gawk.x86_64 0:3.1.5-16.el5

Complete!


please advise.
  1. 15.06.2012 10:06:17
  2. # 2
Leonid Kanter Accepted Answer
Posts: 34
Joined: 18.04.2010
0
Votes
Undo
Please provide output of

grep ^hwcap /etc/ld.so.conf.d/*
  1. 15.06.2012 12:06:14
  2. # 3
Amin Taheri Accepted Answer
Posts: 6
Joined: 21.02.2012
0
Votes
Undo
Hi Leonid,

Thanks for your reply, here is the output of the command as requested.

# grep ^hwcap /etc/ld.so.conf.d/*
/etc/ld.so.conf.d/kernelcap-2.6.18-374.18.1.el5.lve0.8.57.conf:hwcap 1 nosegneg
/etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.58.conf:hwcap 1 nosegneg
/etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.61.1.conf:hwcap 0 nosegneg

# uname -r
2.6.18-408.el5.lve0.8.58xen


We haven\'t rebooted into the newest kernel yet on all boxes.
  1. 15.06.2012 15:06:39
  2. # 4
Leonid Kanter Accepted Answer
Posts: 34
Joined: 18.04.2010
0
Votes
Undo
Please remove two old files /etc/ld.so.conf.d/kernelcap-2.6.18-374.18.1.el5.lve0.8.57.conf and /etc/ld.so.conf.d/kernelcap-2.6.18-408.el5.lve0.8.58.conf and run ldconfig. With future kernel updates it should not happen.
  1. 18.06.2012 16:06:10
  2. # 5
Amin Taheri Accepted Answer
Posts: 6
Joined: 21.02.2012
0
Votes
Undo
Thanks, that seemed to have solved it. I\'ll report back if I find otherwise but for now please consider this closed with my thanks!
  1. 24.08.2012 17:08:30
  2. # 6
Amin Taheri Accepted Answer
Posts: 6
Joined: 21.02.2012
0
Votes
Undo
Just as a follow up, this continues to happen, we install new kernels and this keeps happening.  Can you please update your kernel installation process to remove the older files and fix the ldconfig on your own?  I've never in my life had this happen so many times until we started using CL.
  1. 29.07.2013 11:07:16
  2. # 7
Amin Taheri Accepted Answer
Posts: 6
Joined: 21.02.2012
0
Votes
Undo
Just wanted to mention that this is still happening a year later.

# rpm -e apr-1.2.7-11.el5_6.5.cloudlinux.5.x86_64
/sbin/ldconfig: /etc/ld.so.conf.d/kernelcap-2.6.18-448.4.1.el5.lve0.8.69.1.conf:6: hwcap index 1 already defined as nosegneg
error: %postun(apr-1.2.7-11.el5_6.5.cloudlinux.5.x86_64) scriptlet failed, exit status 1


# grep ^hwcap /etc/ld.so.conf.d/*
/etc/ld.so.conf.d/kernelcap-2.6.18-408.8.2.el5.lve0.8.61.3.conf:hwcap 1 nosegneg
/etc/ld.so.conf.d/kernelcap-2.6.18-448.4.1.el5.lve0.8.69.1.conf:hwcap 0 nosegneg

# uname -r
2.6.18-408.8.2.el5.lve0.8.61.3xen
  1. 29.07.2013 19:07:38
  2. # 8
Igor Seletskiy Accepted Answer
Posts: 1194
Joined: 09.02.2010
0
Votes
Undo
That is because you still have a kernel from a year ago. The bug was fixed in lve 0.8.61.3 kernel. Remove old kernel, and you will not see it any more.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.