Hi,
Greetings everyone. This is my first post so please ignore my newbieness.
Problem Description:
I have an HP test server on which I installed centos 5. I used to do ssh, ping etc from my workstation which is on the same LAN.
Yesterday, I changed the SElinux on the computer to 'enforcing' and rebooted it for relabel. After this, I cannot ssh, ping or traceroute. It felt like the Selinux has blocked everything, so I disabled it and rebooted again, but i am still having the same problem. I changed the selinux to permissive and disabled but still it is having the same problem. The ssh and ping return the error" Connection time out". Traceroute returns only **. As default in Centos the Root login is permitted but after this, the root login is also not possible locally. I can login locally with other user and than change to root but root login gives error "Root login is not allowed". IPtables is empty, System-config-security-tui is also configured for ssh incoming on ethernets. sshd has "Rootloginpermit = yes".
So mainly two problems:
1- no ssh possible
2- root login locally not possible
Thanks for your support.
Regards
Abubakr
Centos 5, HP server, no ping no ssh, no traceroute, same LAN
Re: Centos 5, HP server, no ping no ssh, no traceroute, same
Check that your console tty is listed in /etc/securetty - that's the most likely cause of the inability to login as root locally.
You'll need to check that you have an ip address on your ethernet interface. It sounds like you have no network connection at present.
You'll need to check that you have an ip address on your ethernet interface. It sounds like you have no network connection at present.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Centos 5, HP server, no ping no ssh, no traceroute, same
Hi,
Thank you so much, I deactivated the eth1 and activated it again and it started working. I can now ssh and ping etc. The root login is also working remotely but I still cannot login locally with root. Can you help me with that.
Thank you so much, I deactivated the eth1 and activated it again and it started working. I can now ssh and ping etc. The root login is also working remotely but I still cannot login locally with root. Can you help me with that.
Re: Centos 5, HP server, no ping no ssh, no traceroute, same
Check that your console tty is listed in /etc/securetty
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Centos 5, HP server, no ping no ssh, no traceroute, same
Hi,
I have following listings in the etc/securetty
console
vc/1
vc/2
.
.
.
vc/11
tty1
tty2
tty3
..
.
tty11
I have following listings in the etc/securetty
console
vc/1
vc/2
.
.
.
vc/11
tty1
tty2
tty3
..
.
tty11
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Centos 5, HP server, no ping no ssh, no traceroute, same
Change it to permissive.
Boot
login as root
restorecon -r /
Then try enabled.
Boot
login as root
restorecon -r /
Then try enabled.