Errors at login, always worked fine
Have a server that I've logged into for months.
Today when I login, it logs in but I see the following: Last login: Mon Aug 16 10:15:43 2010 from 192.168.1.147 -bash: id: command not found -bash: [: =: unary operator expected -bash: id: command not found -bash: dircolors: command not found -bash: /usr/bin/id: Permission denied -bash: [: =: unary operator expected -bash: /usr/bin/id: Permission denied -bash: [: =: unary operator expected -bash: id: command not found -bash: id: command not found I can still SU so I have control, but not sure what is happening here. Would LOVE some help |
Quote:
|
Tried stat /usr/bin/id and got this: -bash: stat: command not found
Did $PATH and got this: -bash: /usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/chrootssh/bin:/usr/X11R6/bin:/home/tim/bin: Permission denied Does that help? |
Looks like I can't use many commands, like scp, ssh, etc.
I am part of WHEEL still, so I can su just fine. Sudo says command not found. No changes to the environment at all. |
Quote:
Quote:
In any case it can't be a $PATH issue since executing a non-existing command (say 'perlddebug') should return "No such file or directory". The "command not found" could be a literal reference to /usr not being mounted (check with '/bin/mount' or '/bin/grep usr /proc/mounts') but then I can't place the "Permission denied"... Quote:
|
Looked at /var/log messages and secure, nothing out of the ordinary. Suddenly started at 03am this morning.
I noticed it because a monitoring script started failing at 03:06:14 am -bash: /usr/bin/stat: Permission denied -bash: /usr/bin/id: Permission denied echo $PATH /usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/chrootssh/bin:/usr/X11R6/bin:/home/timmy/bin RedHat Enterprise Linux 5.1 Not sure what to do next??? |
@macking,
What kind of system are you running, does it have anything to do with the recent firmware updates, ver. 6.117 i think? not sure,. I had one of the original mac books, and I ended up replacing it because one day it stopped being able to locate my root directory when I logged in to the company site, so maybe its just a hardware flaw? good luck. -D |
Quote:
|
All times are GMT -5. The time now is 09:54 PM. |