LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can't connect to 'root' (https://www.linuxquestions.org/questions/linux-software-2/cant-connect-to-root-4175424947/)

pRoFaKe 08-31-2012 06:30 AM

can't connect to 'root'
 
hello,
I tried to connect to my root.
when i enter the password, the server says: Access Denied.
and the password matched.
i tried to connect to the Webmin(password like root) and the webmin worked.
then i try to run some server from the webmin and the server said:
Code:

error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS64
if someone can hel me i really appreciate that.

Ser Olmy 08-31-2012 06:36 AM

What distribution are you using?

Did you just install this system, or has it been running for some time?

How are you trying to log in as root? SSH? The console?

Could you log in as root previously? Have you tried logging in as another user and then become root with su?

Which process did you try to start when you got the error message?

(The error seems to indicate that the a library file for the wrong platform has somehow been installed.)

pRoFaKe 08-31-2012 06:38 AM

the server worked in the last month
i tried to connect via SSH
and the error came when i tried to start some game server(CS, SAMP) and the teamspeaks

Ser Olmy 08-31-2012 06:46 AM

My advice would be to examine the logs (through webmin) to figure out why the SSH login fails. You should probably look in /var/log/secure, unless your distribution (which you have provided no information on) stores its logs elsewhere.

Since you also have a library-related problem, my (wild) guess is these issues are caused by a recently installed or upgraded component.

pRoFaKe 08-31-2012 06:58 AM

Found the next error:

Aug 29 13:29:11 98 sshd[14079]: User root not allowed because shell /bin/bash\r does not exist

Ser Olmy 08-31-2012 07:06 AM

There seems to be an extra carriage return (\r) at the end of the line. You should be able to fix that in webmin by specifying /bin/bash as the shell for the root account.

pRoFaKe 08-31-2012 07:09 AM

The file owned by the root user


All times are GMT -5. The time now is 05:51 AM.