![]() |
2010-07-10
, 13:57
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#2
|
The Following User Says Thank You to Joorin For This Useful Post: | ||
![]() |
2010-07-10
, 14:02
|
|
Posts: 83 |
Thanked: 4 times |
Joined on Mar 2010
@ Birmingham England
|
#3
|
Just guessing:
The /usr/bin/7z file is a shell script that starts the binary that does the actual work. /usr/lib/p7zip/7z might also be a shell script for all I know.
Somewhere in this chain, something has changed, making it go in a loop trying to resolve the actual place where the binary is.
My suggestion would be to look at these files, follow the chain and see where it loops and break that loop.
![]() |
2010-07-10
, 14:08
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#4
|
file /usr/bin/7z
cat /usr/bin/7z
![]() |
2010-07-10
, 14:21
|
|
Posts: 83 |
Thanked: 4 times |
Joined on Mar 2010
@ Birmingham England
|
#5
|
Use the file command to find out what kind of files you're going to investigate:If it's identified as a text file or shell script, look in it withCode:file /usr/bin/7zNow you 'll see what it does. Now have a look at /usr/lib/p7zip/7z in the same way.Code:cat /usr/bin/7z
![]() |
2010-07-10
, 14:30
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#6
|
~ $ cat /usr/bin/7z
#! /bin/sh
exec /usr/lib/p7zip/7z "$@"
~ $ /usr/lib/p7zip/7z
-sh: /usr/lib/p7zip/7z: Too many levels of symbolic links
~ $
that's what I got after them, I'm sorry, but I am a complete novice.
cd /usr/lib/p7zip ls -l
lrwxrwxrwx 1 root root <some date> 7z -> 7z
The Following User Says Thank You to Joorin For This Useful Post: | ||
![]() |
2010-07-10
, 14:38
|
|
Posts: 83 |
Thanked: 4 times |
Joined on Mar 2010
@ Birmingham England
|
#7
|
![]() |
2010-07-10
, 14:47
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#8
|
The Following User Says Thank You to Joorin For This Useful Post: | ||
![]() |
2010-07-10
, 14:52
|
|
Posts: 83 |
Thanked: 4 times |
Joined on Mar 2010
@ Birmingham England
|
#9
|
![]() |
2010-07-10
, 15:19
|
Posts: 65 |
Thanked: 27 times |
Joined on Jun 2010
|
#10
|
The Following User Says Thank You to barzam For This Useful Post: | ||
here's what I get
~ $ cd /home/user/MyDocs/Downloads
~/MyDocs/Downloads $ 7z e set.7z
/usr/bin/7z: exec: line 2: /usr/lib/p7zip/7z: Too many levels of symbolic links
~/MyDocs/Downloads $
anyone got any ideas?