Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Corrupt files in OOo build?
Date: Sun, 28 Oct 2007 22:36:21
Message-Id: 200710282228.35954.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Corrupt files in OOo build? by Florian Philipp
1 On Sunday 28 October 2007, Florian Philipp wrote:
2 > Mick schrieb:
3 > > On Sunday 28 October 2007, Florian Philipp wrote:
4 > >> Dan Farrell schrieb:
5 > >>> On Sun, 28 Oct 2007 09:56:50 +0000
6 > >>>
7 > >>> Mick <michaelkintzios@×××××.com> wrote:
8 > >>>> Hi All,
9 > >>>>
10 > >>>> After a mammoth session on an old machine, which crashed, I ended up
11 > >>>> with these files that refuse to be deleted:
12 > >>>> ===============================================================
13 > >>>> #
14 > >>>> ls
15 > >>>> -la
16 > >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
17 > >>>>li ngucomponent/unxlngi6.pro/misc/ ls: cannot
18 > >>>> access
19 > >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
20 > >>>>li ngucomponent/unxlngi6.pro/misc/hyphen.libhyphen680li_1.cmd:
21 > >>>> Permission denied ls: cannot
22 > >>>> access
23 > >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
24 > >>>>li ngucomponent/unxlngi6.pro/misc/hyphen_dflt_version.c: Permission
25 > >>>> denied ls: cannot
26 > >>>> access
27 > >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
28 > >>>>li ngucomponent/unxlngi6.pro/misc/guesslang_dflt_version.c: Permission
29 > >>>> denied
30 > >>>> ls: cannot
31 > >>>> access
32 > >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
33 > >>>>li ngucomponent/unxlngi6.pro/misc/hyphen680li.def: Permission denied
34 > >>>> ls: cannot
35 > >>>> access
36 > >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
37 > >>>>li ngucomponent/unxlngi6.pro/misc/libmythes.cmd: Permission denied ls:
38 > >>>> cannot
39 > >>>> access
40 > >>>> /var/tmp/portage/app-office/openoffice-2.3.0/work/ooo/build/OOG680_m5/
41 > >>>>li ngucomponent/unxlngi6.pro/misc/hyphen_hyphen680li.map: Permission
42 > >>>> denied total 0
43 > >>>> drwxr-xr-- 2 portage portage 280 Oct 28 09:38 .
44 > >>>> drwxr-xr-- 4 portage portage 96 Oct 28 09:38 ..
45 > >>>> ?????????? ? ? ? ? ? guesslang_dflt_version.c
46 > >>>> ?????????? ? ? ? ? ?
47 > >>>> hyphen.libhyphen680li_1.cmd ?????????? ? ? ? ?
48 > >>>> ? hyphen680li.def ?????????? ? ? ? ? ?
49 > >>>> hyphen_dflt_version.c ?????????? ? ? ? ? ?
50 > >>>> hyphen_hyphen680li.map ?????????? ? ? ? ? ?
51 > >>>> libmythes.cmd
52 > >>>> ===============================================================
53 > >>>>
54 > >>>> (the "?" symbols are shown like this on my terminal too).
55 > >>>>
56 > >>>> I am about to start a new emerge of OOo, but would think that I
57 > >>>> should first remove this mess just to be sure. How do I do that?
58 > >>>> Tried chmod and chown. The files are owned by portage:portage, but
59 > >>>> chmod-ing them fails.
60 > >>>
61 > >>> I wonder if you could clear out all of /var/tmp? I'm not sure if
62 > >>> that's unsafe or not...
63 > >>
64 > >> ccache uses /var/tmp/ccache
65 > >
66 > > I think my problem is that I cannot delete these files, either
67 > > individually or by deleting the parent directory. Is there a way I could
68 > > force-delete them?
69 >
70 > That sounds like file system corruption.
71 > Try to boot from a live cd and run fsck. Don't forget that the partition
72 > needs to be unmounted and you might need to apply -f to your fsck command.
73
74 Thanks, I'll have a go with an old LiveCD, but I am bit concerned that this
75 the third time in as many months that this old box is suffering fs corruption
76 (I think it has been different partition each time). It's either excessive
77 fragmentation, or I should install smartmontools to check if one of the
78 drives is on its way out.
79 --
80 Regards,
81 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature