?
Solved

yum update xxx  & firefox  fail with segmentation fault on Linux RHES 4.x

Posted on 2011-02-15
2
Medium Priority
?
819 Views
Last Modified: 2012-05-11

My RHES 4.2 box could reach the clam site (ie firewall permitted correctly) :
# telnet www.clamav.net 80
Trying 194.109.142.194...
Connected to www.clamav.net (194.109.142.194).
Escape character is '^]'.

Whenever I tried  "yum update clam" run from root, it wud give  
"segmentation fault" - I've tried restarting clamd (/etc/init.d/clamd restart)
& repeat the update but still getting the same error:

# yum list clamav
Setting up repositories
Segmentation fault
[root@clamav]# yum update clamav
Setting up Update Process
Setting up repositories
Segmentation fault
[root@clamav]# rpm -qa | grep clam
clamav-milter-0.96.1-1.el4.rf
clamav-db-0.96.1-1.el4.rf
clamav-0.96.1-1.el4.rf
clamd-0.96.1-1.el4.rf
#

# /etc/init.d/clamd restart
Stopping Clam AntiVirus Daemon:                            [  OK  ]
Starting Clam AntiVirus Daemon:                            [  OK  ]


From /var/log/messages, I got the following :

Feb  9 16:25:02 hostname dbus: Can't send to audit system: USER_AVC pid=2948 uid=81 loginuid=-1 message=avc:  denied  { send_msg } for  scontext=user_u:system_r:unconfined_t tcontext=user_u:system_r:initrc_t tclass=dbus
[root@hostname log]# vi messages
Feb  6 04:45:01 hostname crond(pam_unix)[30869]: session opened for user root by (uid=0)
Feb  6 04:45:01 hostname freshclam[30874]: ClamAV update process started at Sun Feb  6 04:45:01 2011
Feb  6 04:45:01 hostname freshclam[30874]: Reading CVD header (main.cvd):
Feb  6 04:45:01 hostname crond(pam_unix)[30868]: session closed for user root
Feb  6 04:45:01 hostname freshclam[30874]: Can't get information about db.sg.clamav.net: Name or service not known
Feb  6 04:45:01 hostname freshclam[30874]: Can't read main.cvd header from db.sg.clamav.net (IP: )
Feb  6 04:45:01 hostname freshclam[30874]: Trying again in 5 secs...
Feb  6 04:45:06 hostname dbus: Can't send to audit system: USER_AVC pid=2948 uid=81 loginuid=-1 message=avc:  denied  { send_msg } for  scontext=user_u:system_r:unconfined_t tcontext=user_u:system_r:initrc_t tclass=dbus
Feb  6 04:45:06 hostname freshclam[30874]: ClamAV update process started at Sun Feb  6 04:45:06 2011
Feb  6 04:45:06 hostname freshclam[30874]: Reading CVD header (main.cvd):
Feb  6 04:45:06 hostname freshclam[30874]: Can't get information about db.sg.clamav.net: Name or service not known
Feb  6 04:45:06 hostname freshclam[30874]: Can't read main.cvd header from db.sg.clamav.net (IP: )
Feb  6 04:45:06 hostname freshclam[30874]: Trying again in 5 secs...
Feb  6 04:45:11 hostname dbus: Can't send to audit system: USER_AVC pid=2948 uid=81 loginuid=-1 message=avc:  denied  { send_msg } for  scontext=user_u:system_r:unconfined_t tcontext=user_u:system_r:initrc_t tclass=dbus


I've used "rpm -e yum... " to uninstall, download a fresh copy of yum rpm package
& reinstall  (ie "rpm -i ./yumXXX.rpm ) : the reinstallation completed without error.

However, when "yum update clamav" is run again, it still gave "segmentation fault".

i've also tried to launch firefox browser & it can't launch too (giving segmentation fault
too) : previously firefox could launch.  However Konqueror browser could launch fine.

What's the segmentation fault about ?  Why is it I could launch firefox browser
previously but not this time?

"free -m" showed there's sufficient memory.


Let me know any further information needed
0
Comment
Question by:sunhux
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
namol earned 2000 total points
ID: 34897713
Have you tried deleting the rpm db files, /var/lib/rpm/__db.001 __db.002 etc, then running a rpm --rebuilddb and then trying the yum update?
0
 

Author Closing Comment

by:sunhux
ID: 35027441
OK
0

Featured Post

URL rewriting in AWS CloudFront

A quick how-to guide to implement with a Lambda function!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question