You are not logged in.
Pages: 1
Hi all,
After trying to compile clamav from source and uninstalling/reinstalling it, I eventually manually deleted several directories I'd created in that process.
Now synaptic doesn't start from the main menu, starting it with gksu from the terminal results in no output and starting it with sudo gives the single line "segmentation fault."
I've uninstalled and reinstalled synaptic with apt-get and get the same behaviour.
clamav is here www.clamav.net
Actually, in trying to grab the dmesg output for the fault I've found that gedit also won't start and outputs a segmentation fault. gnome-power-man is mentioned in dmesg... and it appears that all the faults occur at the same memory address. Unfortunately I don't know what to do with this output.
These are the dmesg outputs:
[ 45.690454] gnome-power-man[3252]: segfault at 1c4f ip b74a082d sp bf8171b8 error 4 in libc-2.9.so[b7429000+15c000]
[ 106.322746] type=1503 audit(1271172066.115:11): operation="inode_permission" requested_mask="r::" denied_mask="r::" fsuid=0 name="/usr/local/lib/libz.so.1.2.4" pid=4048 profile="/usr/sbin/cupsd"
[ 106.336468] type=1503 audit(1271172066.131:12): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/usr/local/lib/libz.so.1.2.4" pid=4049 profile="/usr/sbin/cupsd"
[ 106.499271] type=1503 audit(1271172066.292:13): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/usr/local/lib/libz.so.1.2.4" pid=4052 profile="/usr/sbin/cupsd"
[ 107.384359] type=1503 audit(1271172067.176:14): operation="inode_permission" requested_mask="r::" denied_mask="r::" fsuid=0 name="/usr/local/lib/libz.so.1.2.4" pid=4053 profile="/usr/sbin/cupsd"
[ 108.711835] type=1503 audit(1271172068.503:15): operation="inode_permission" requested_mask="r::" denied_mask="r::" fsuid=0 name="/usr/local/lib/libz.so.1.2.4" pid=4054 profile="/usr/sbin/cupsd"
[ 108.731111] type=1503 audit(1271172068.523:16): operation="inode_permission" requested_mask="r::" denied_mask="r::" fsuid=0 name="/usr/local/lib/libz.so.1.2.4" pid=4061 profile="/usr/sbin/cupsd"
[ 111.002789] type=1503 audit(1271172070.795:17): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/usr/local/lib/libz.so.1.2.4" pid=4077 profile="/usr/sbin/cupsd"
[ 111.207859] type=1503 audit(1271172070.999:18): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/usr/local/lib/libz.so.1.2.4" pid=4080 profile="/usr/sbin/cupsd"
[ 112.714568] type=1503 audit(1271172072.507:19): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/usr/local/lib/libz.so.1.2.4" pid=4088 profile="/usr/sbin/cupsd"
[ 114.294828] type=1503 audit(1271172074.087:20): operation="inode_permission" requested_mask="::r" denied_mask="::r" fsuid=7 name="/usr/local/lib/libz.so.1.2.4" pid=4100 profile="/usr/sbin/cupsd"
[ 114.323615] type=1503 audit(1271172074.115:21): operation="inode_permission" requested_mask="r::" denied_mask="r::" fsuid=0 name="/usr/local/lib/libz.so.1.2.4" pid=4101 profile="/usr/sbin/cupsd"
[ 388.238644] synaptic[5443]: segfault at 1c4f ip b715782d sp bfadb748 error 4 in libc-2.9.so[b70e0000+15c000]
[ 879.076212] CE: hpet increasing min_delta_ns to 15000 nsec
[ 2187.634321] gedit[12765]: segfault at 1c4f ip b772782d sp bfde4df8 error 4 in libc-2.9.so[b76b0000+15c000]
[ 2222.768053] gedit[12874]: segfault at 1c4f ip b75f882d sp bfbb6d18 error 4 in libc-2.9.so[b7581000+15c000]
[ 2752.640207] synaptic[15124]: segfault at 1c4f ip b71ce82d sp bfc548c8 error 4 in libc-2.9.so[b7157000+15c000]I don't know what the repeated message between the segfaults is but I'm fairly certain clamav needed libz when I compiled it.
Any pointers would be appreciated here.
Thanks!
Devin
Offline
Why didnt you install it from the repositories..
nano -w /etc/apt/sources.list
now add this to the file deb http://ppa.launchpad.net/ubuntu-clamav/ppa/ubuntu jaunty main
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xf80220d0e695a455e651ac4d8ab767895adc2037
sudo apt-get update
sudo apt-get upgrade
NOw u know what to do install clamav from the commandline.... with sudo apt-get install command. And yes there are options
install the package clamav if u want to go terminal.For automated use: install the package clamav-daemon.
Sorry i dont know what the dmesg issue is... Sorry
Last edited by tinman (2010-04-14 02:28:59)
#! [exclamation] [exclamation]
Offline
You wouldn't happen to remember what you deleted, would ya?
I'd look to make sure the library files still exist. You might need to navigate around to see instead of using locate since you're in a "skiffy" (for lack of a better word) state right now and updatedb results might not be accurate.
Last edited by chillicampari (2010-04-14 03:22:21)
#! forum moderator - Please help us keep your forums manageable.
Offline
chillicampari can u tell me why updatedb wont work.....
#! [exclamation] [exclamation]
Offline
Sure! If you've manually removed something after the last update, the index doesn't really know it's gone yet. If you run it when you don't know what state the system is in, you can't really trust what you get back (and for all you know something that was needed to run it or make it accurate might be gone).
#! forum moderator - Please help us keep your forums manageable.
Offline
@tinman - embarrassingly, I didn't find it in the repositories.
As for the libraries themselves, I have libc-2.9.so in /lib and libz.so.1.2.4 is at the path indicated in the error. I did
apt-get install --reinstall libc6
to no effect. After checking around online I've found a bug report that I can't really make heads or tails of. The reported bug was due to an issue with the kernel, is it possible to reinstall (recompile? I don't know what I'm talking about.) the kernel without reinstalling the operating system? Am I way off base?
Thanks for your time!
Devin
Offline
Not sure the bug report's related (looks like it has to do with a mail server) and a lot of different things can cause errors that show up as a library error, but yeah, replacing the kernel might be a good idea. Or you can try looking for an older one to boot to if you have one (sounds like your install is recent so probably not but just in case):
uname -rwill show you the kernel in use
cd /boot
ls vmlinuz*will show what you have available. To get to an older one if you've got it, reboot, hit "esc" at the grub menu and select it.
I don't usually switch kernels (unless it just happens with an update or gets rebuilt as part of something else), and someone who does this more should weigh in, but there's at least a couple of ways to rebuild/update. These look easier.
http://www.unixmen.com/linux-tutorials/ … -linuxmint
^^ This looks pretty straightforward to update the kernel only. You can try both re-doing the current one or going up to another.
If that doesn't work, you can try the distribution upgrade way (if I'm reading this right and apt-get is still working for you).
sudo apt-get update
sudo apt-get dist-upgradeIt might pull in some extra stuff that you might not want to deal with while troubleshooting though so I'd try the way on the tutorial first. Also, if you are mixing repositories be sure to comment those out since you want a clean sources.list It might also want to remove stuff you've added, but you can add that back in later.
And with that I'm out of ideas! Hopefully someone else who's dealt with this can jump on in! 
In any case, if there's something you really need to keep, please back it up if you can now, even before you try rebooting. 
Last edited by chillicampari (2010-04-14 21:05:15)
#! forum moderator - Please help us keep your forums manageable.
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.