apeear error during login to server and most command not found

Posted on

Dear all
Hi

i have redhat enterprise 6.4 today i restart autofs service and after that most of command such as setup , .. not work abd show comman not found also when login to server show this error

-bash: tty: command not found
-bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such file or directory
-bash: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such file or directory
-bash: /usr/share/Modules/init/sh: No such file or directory
-bash: figlet: command not found
-bash: figlet: command not found

what is problem how can solve that
please see attach pic

BR

Son Le's picture

Was this helpful?

We appreciate your feedback. Leave a comment if you would like to provide more detail.
It looks like we have some work to do. Leave a comment to let us know how we could improve.
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.