You are not logged in.

#1 2008-08-29 20:08:52

Doc Angelo
Member
From: Germany
Registered: 2007-11-28
Posts: 52

Weird user/group in /usr/lib/*, pacman cannot "mmap"

Hello,

i'm getting some errors i really dont understand. I was trying out flash 10 (beta), which worked ok. The next day i tried to log in, but kde 3 didn't started, as stated in ~/.xinitrc. Besides that, loggin into console as my standard user and doing a "startx" worked. Next i tried to update arch, which gave me the following errors:

(1/1) checking for file conflicts                   [################################] 100%
(1/1) upgrading pacman                              [################################] 100%
/sbin/ldconfig: Cannot mmap file /usr/lib/libtheora.so.0.3.1.
/sbin/ldconfig: Cannot mmap file /usr/lib/libncursesw.so.
/sbin/ldconfig: Cannot mmap file /usr/lib/libcroco-0.6.so.3.
/sbin/ldconfig: Cannot mmap file /usr/lib/libmad.so.0.
/sbin/ldconfig: Cannot mmap file /usr/lib/libXaw.so.7.
/sbin/ldconfig: Cannot mmap file /usr/lib/libdatrie.so.
/sbin/ldconfig: Cannot mmap file /usr/lib/libXfontcache.so.1.0.0.
/sbin/ldconfig: Cannot mmap file /usr/lib/libusb.so.

I looked up these files and found some weird permissions, users and groups for some files in /usr/lib. (I dont think "libtiff.so.3" should be ~2GB wink )

-rw-r--r--     1 root       root                     349202 Oct  5  2007 libtheora.a
lrwxrwxrwx     1 root       root                         18 Oct  5  2007 libtheora.so -> libtheora.so.0.3.1
lrwxrwxrwx     1 root       root                         18 Oct  5  2007 libtheora.so.0 -> libtheora.so.0.3.1
?rws--S--- 11231 4016113015 3164199117            320946896 Jul 18  1953 libtheora.so.0.3.1
lrwxrwxrwx     1 root       root                         27 Jun 11 15:23 libthread_db.so -> ../../lib/libthread_db.so.1
lrwxrwxrwx     1 root       root                         21 Oct 26  2007 libtidy-0.99.so.0 -> libtidy-0.99.so.0.0.0
-rwxr-xr-x     1 root       root                     348272 Oct 26  2007 libtidy-0.99.so.0.0.0
-rw-r--r--     1 root       root                     363578 Oct 26  2007 libtidy.a
lrwxrwxrwx     1 root       root                         21 Oct 26  2007 libtidy.so -> libtidy-0.99.so.0.0.0
?r-x-w--w- 45328 4213116216  334827512             93200708 Jun  4  1973 libtiff.a
lrwxrwxrwx     1 root       root                         16 Dec  9  2007 libtiff.so -> libtiff.so.3.8.2
?--x--x-wt 61310 1845559621 1040362765           2089586813 Dec 23  2037 libtiff.so.3
?rwS--x--x 23976  563704161 3267170473              8822849 Sep 13  1976 libtiff.so.3.8.2
-rw-r--r--     1 root       root                       5938 Aug 16  2006 libtiffxx.a
lrwxrwxrwx     1 root       root                         18 Dec  9  2007 libtiffxx.so -> libtiffxx.so.3.8.2
lrwxrwxrwx     1 root       root                         18 Dec  9  2007 libtiffxx.so.3 -> libtiffxx.so.3.8.2
-rwxr-xr-x     1 root       root                      10372 Aug 16  2006 libtiffxx.so.3.8.2

So far this happend only to files in /usr/lib. Well, it could be, that the beta plugin from adobe messed these things up. But... how to clean this up? Would it be the best to remove all packages that belong to these files, then manually remove these files, and reinstall everything? Or is this some known problem?

Besides that: I am using ext3 and i had a 4,3 GB file on my system that day, i tried out the flash beta, if that means anything.

Offline

#2 2008-08-31 16:28:21

robertp
Member
From: Warszawa, Poland
Registered: 2007-09-11
Posts: 123

Re: Weird user/group in /usr/lib/*, pacman cannot "mmap"

It is very strange. Run fsck on this filesystem and then execute

find / -nouser -exec chown root {} \;
find / -nogroup -exec chgrp root {} \;

I think this should fix your problem.

Offline

#3 2008-09-04 15:49:17

Doc Angelo
Member
From: Germany
Registered: 2007-11-28
Posts: 52

Re: Weird user/group in /usr/lib/*, pacman cannot "mmap"

Thanks for your suggestion, robertp. I'll have to try this out from a live distribution, because now my arch wont boot anymore. Theres somethin wrong with my ext3 partition.

Offline

Board footer

Powered by FluxBB