installed 13.1, /usr mounted on own partition.error message "/usr/<> file not found"
Hey all,
I just installed 13.1 on my system. as with previous systems, i have /usr mounted on it's own partition. when doing the setup i did NOT tell slack to format the /usr partition, and i can tell it didn't. i am able to cd and ls all of the /usr filesystem without difficulty. however, when i try a command (like ftp for instance) this is what i get: Code:
(jmd9qs@darkstar)-(0)-(08:39 PM Fri Jun 18)-> Code:
(jmd9qs@darkstar)-(0)-(08:39 PM Fri Jun 18)-> Code:
(jmd9qs@darkstar)-(0)-(08:40 PM Fri Jun 18)-> |
Who are you logged in as and what does 'ls -l /usr/bin/ftp' say?
|
i'm logged in as my user (jmd9qs), and here's the output you requested (it belongs to root right now, it seems, i don't know if that's correct or not):
Code:
l(jmd9qs@darkstar)-(0)-(08:55 PM Fri Jun 18)-> Code:
l(jmd9qs@darkstar)-(0)-(08:55 PM Fri Jun 18)-> |
How about 'ls -ld /usr/bin'?
|
Code:
l(jmd9qs@darkstar)-(0)-(09:01 PM Fri Jun 18)-> |
I'm checking my installation (13.0) and the permissions seem right, but my ftp is located in /bin, not /usr/bin. You say you didn't format /usr when you did the install, was there something in there before you started?
|
Also, check 'ldd /usr/bin/ftp' and see if there are any libraries missing.
|
tsg,
check this out: Code:
l(jmd9qs@darkstar)-(0)-(03:05 PM Fri Jun 18)-> |
tsg,
now i think we've got something... here's the output of ldd: Code:
l(jmd9qs@darkstar)-(0)-(03:09 PM Fri Jun 18)-> |
i've been messing around with this and have found that as root i get no errors... /usr/bin /usr/sbin, etc are in my PATH, so now i'm really confused
|
Quote:
I think '/usr/bin/ftp' is not a binary file. Check it as follow please: bash$ file /usr/bin/ftp |
BTW, 'ldd' is a bash script, you can read it if you want to know how it work.
|
Code:
l(jmd9qs@darkstar)-(0)-(03:26 PM Fri Jun 18)-> |
Quote:
If you try to run /bin/ftp as your user id, does it work? |
Wow, That's very very interesting.
|
Can you show the info of 'cat /etc/mtab' ?
|
tsg,
yes, but i formatted the / partition... it's not the first time i've done so but i don't think i've ever tried to "import" my old /usr before. i'm thinking that it's got something to do with it. also, running /bin/ftp under my id works as intended |
Code:
l(jmd9qs@darkstar)-(0)-(04:51 PM Fri Jun 18)-> |
fgsdfsdf
|
/usr is on /dev/sda4 (the 8th line down). it's mounted by /etc/fstab at boot
|
I can't have any idea.
Well, I'll pay attention to it and hope someone can give the solution. |
well, thank you for trying! :)
|
ok well i've decided to just to a fresh re-install and overwrite /usr... i'll make it a downloads partition or something.
thank you all for your help! |
Quote:
I had similar very funky behavior with an xfs filesystem that had been corrupted due to memory problems. I had to repair the file system to make the funkiness go away. |
Richard,
fortunately the re-install fixed the problem. thanks for the input though! (i love how fast i can be up and running again, by the way... Slackware rocks!) |
I had a feeling the install over top of Mandriva might be the issue. Slackware doesn't even like installs over top of old Slackware installations.
|
All times are GMT -5. The time now is 11:24 AM. |