Skip to contentSkip to conversation

Permission denied !? - will i ever update my system again ?

DISCUSSION Moritz Angermann 7 participants 7 messages Jul 17, 2002 – Jul 18, 2002

lore
Share & tools
lore
#0 lore raw

well
hi all,
now after using reiserFS for a very long term without any problems i'm facing a totaly new one and i'm helpless.
the problem is, while apt-get dist-upgrade, you all know this command,[or not]
i get :
can't access ./usr/include/arpa/telnet.h (...): permission denied

so i did ls -lah /usr/include/arpa/
the result : ( as root )
---
#>ls -lah /usr/include/arpa/
ls: /usr/include/arpa/telnet.h: Permission denied
ls: /usr/include/arpa/tftp.h: Permission denied
insgesamt 51K

drwxr-xr-x    2 root     root          181 2002-07-17 23:21 .
drwxr-xr-x   92 root     root         6.2K 2002-07-17 23:21 ..
-rw-r--r--    1 root     root         3.4K 2002-06-24 18:57 ftp.h
-rw-r--r--    1 root     root         4.3K 2002-06-24 18:57 inet.h
-rw-r--r--    1 root     root         5.9K 2002-06-24 18:57

nameser_compat.h
-rw-r--r-- 1 root root 20K 2002-06-24 18:57 nameser.h
(root@prototype/Wed Jul 17//home/cone/4)
#>
---

doesn't look any good, does it !? ...
so i tryed my HD-vendors tool.
WesternDigital...
but it told me my disk was 100% ok.
( it did also tell me a while ago, my dist had errors, so it corrected em, awesome tool :p )
---
but now, what can i do about it ? reiserfsck ? well it keeps telling me about unsable and i shall not use it ...

so any ideas ?

thanks.

-moritz

#1 lore raw

To me, it looks like you have fs corruption... You can try a reboot as see
if it fixes the problem (bet it will not). You have three options. First is to
live with the problem. Second is to update reiserfsck to the latest and run reiserfsck - I have used this option many times and its has worked well. The third option is to backup, recreate the fs, and restore.

If I were you I would backup anything critical, update reiserfsck run it.

Ed Tomlinson

Quoted 42 lines · Moritz Angermann

well
hi all,
now after using reiserFS for a very long term without any problems i'm facing a totaly new one and i'm helpless.
the problem is, while apt-get dist-upgrade, you all know this command,[or not]
i get :
can't access ./usr/include/arpa/telnet.h (...): permission denied

so i did ls -lah /usr/include/arpa/
the result : ( as root )
---
#>ls -lah /usr/include/arpa/
ls: /usr/include/arpa/telnet.h: Permission denied
ls: /usr/include/arpa/tftp.h: Permission denied
insgesamt 51K
drwxr-xr-x 2 root root 181 2002-07-17 23:21 .
drwxr-xr-x 92 root root 6.2K 2002-07-17 23:21 ..

(quoted diff) +0 -3
-rw-r--r--    1 root     root         3.4K 2002-06-24 18:57 ftp.h
-rw-r--r--    1 root     root         4.3K 2002-06-24 18:57 inet.h
-rw-r--r--    1 root     root         5.9K 2002-06-24 18:57

nameser_compat.h
-rw-r--r-- 1 root root 20K 2002-06-24 18:57 nameser.h
(root@prototype/Wed Jul 17//home/cone/4)
#>
---

doesn't look any good, does it !? ...
so i tryed my HD-vendors tool.
WesternDigital...
but it told me my disk was 100% ok.
( it did also tell me a while ago, my dist had errors, so it corrected em, awesome tool :p )
---
but now, what can i do about it ? reiserfsck ? well it keeps telling me about unsable and i shall not use it ...

so any ideas ?

thanks.

-moritz

#2 lore raw
Quoted 51 lines · Ed Tomlinson

To me, it looks like you have fs corruption... You can try a reboot as see
if it fixes the problem (bet it will not). You have three options. First is to
live with the problem. Second is to update reiserfsck to the latest and run reiserfsck - I have used this option many times and its has worked well. The third option is to backup, recreate the fs, and restore.

If I were you I would backup anything critical, update reiserfsck run it.

Ed Tomlinson

Quoted 37 lines · Moritz Angermann

well
hi all,
now after using reiserFS for a very long term without any problems i'm facing a totaly new one and i'm helpless.
the problem is, while apt-get dist-upgrade, you all know this command,[or not]
i get :
can't access ./usr/include/arpa/telnet.h (...): permission denied

so i did ls -lah /usr/include/arpa/
the result : ( as root )
---
#>ls -lah /usr/include/arpa/
ls: /usr/include/arpa/telnet.h: Permission denied
ls: /usr/include/arpa/tftp.h: Permission denied
insgesamt 51K
drwxr-xr-x 2 root root 181 2002-07-17 23:21 .
drwxr-xr-x 92 root root 6.2K 2002-07-17 23:21 ..

(quoted diff) +0 -3
-rw-r--r--    1 root     root         3.4K 2002-06-24 18:57 ftp.h
-rw-r--r--    1 root     root         4.3K 2002-06-24 18:57 inet.h
-rw-r--r--    1 root     root         5.9K 2002-06-24 18:57

nameser_compat.h
-rw-r--r-- 1 root root 20K 2002-06-24 18:57 nameser.h
(root@prototype/Wed Jul 17//home/cone/4)
#>
---

doesn't look any good, does it !? ...
so i tryed my HD-vendors tool.
WesternDigital...
but it told me my disk was 100% ok.
( it did also tell me a while ago, my dist had errors, so it corrected em, awesome tool :p )
---
but now, what can i do about it ? reiserfsck ? well it keeps telling me about unsable and i shall not use it ...

Quoted 12 lines
Quoted 7 lines

so any ideas ?

thanks.

-moritz

You don't mention what kernel you are running, but if you are running something older than 2.4.18 you should get 2.4.18.

Hans

Signature · 1 line
Hans
#3 lore raw
In reply to Moritz Angermann

Hello!

Quoted 4 lines · Moritz Angermann

now after using reiserFS for a very long term without any problems i'm facing a totaly new one and i'm helpless.
the problem is, while apt-get dist-upgrade, you all know this command,[or not]

Quoted 8 lines

i get :
can't access ./usr/include/arpa/telnet.h (...): permission denied so i did ls -lah /usr/include/arpa/
the result : ( as root )
---
#>ls -lah /usr/include/arpa/
ls: /usr/include/arpa/telnet.h: Permission denied
ls: /usr/include/arpa/tftp.h: Permission denied

Hm. So you have duplicate oid issue most probably, reiserfsck --rebuild-tree will cure that. Be sure to update to latest reiserfsprogs first. You might want to backup any critical data just in case prior to that procedure.

Bye,
Oleg

#4 lore raw
Quoted 16 lines · Oleg Drokin

Hello!

Quoted 4 lines · Moritz Angermann

now after using reiserFS for a very long term without any problems i'm facing a totaly new one and i'm helpless.
the problem is, while apt-get dist-upgrade, you all know this command,[or not]

Quoted 8 lines

i get :
can't access ./usr/include/arpa/telnet.h (...): permission denied so i did ls -lah /usr/include/arpa/
the result : ( as root )
---
#>ls -lah /usr/include/arpa/
ls: /usr/include/arpa/telnet.h: Permission denied
ls: /usr/include/arpa/tftp.h: Permission denied

Quoted 2 lines

Hm. So you have duplicate oid issue most probably, reiserfsck --rebuild-tree will cure that. Be sure to update to latest reiserfsprogs

--fix-fixable will cure about that also.

Quoted 3 lines

first.
You might want to backup any critical data just in case prior to that procedure.

Signature · 2 lines
Thanks,
Vitaly Fertman
#5 lore raw

Re: Permission denied !? - will i ever update my system again ? [Slightly OT]

On Thu, 18 Jul 2002 13:06:26 +0400
Vitaly Fertman <[email protected]> wrote:

  |  >
  |  > Hm. So you have duplicate oid issue most probably, reiserfsck
  |  > --rebuild-tree will cure that. Be sure to update to latest reiserfsprogs
  |  
  |  --fix-fixable will cure about that also.
  |  

BTW, would there be a noticeable difference in term of time it takes between --fix-fixable and --rebuild-tree ?

(partition is ~600Go full at 65%, _lots_ of dir and files, very nested)

Thanks,

Philippe.

#6 lore raw

Re: Permission denied !? - will i ever update my system again ? [Slightly OT]

Quoted 11 lines · Philippe Gramoullé

On Thu, 18 Jul 2002 13:06:26 +0400

Vitaly Fertman <[email protected]> wrote:

  |  > Hm. So you have duplicate oid issue most probably, reiserfsck
  |  > --rebuild-tree will cure that. Be sure to update to latest
  |  > reiserfsprogs
  |
  |  --fix-fixable will cure about that also.

BTW, would there be a noticeable difference in term of time it takes between --fix-fixable and --rebuild-tree ?

Definitely so. --fix-fixable is much faster, rebuilding tree on 600gigs of storage can take from two hours up to a day, AFAIK, depending on your system speed.

Cheers, Kuba Ober