[CentOS] Cannot start SSH at boot

Thu Sep 1 18:35:41 UTC 2011
Dotan Cohen <dotancohen at gmail.com>

On Thu, Sep 1, 2011 at 17:35, John Doe <jdmls at yahoo.com> wrote:
> Maybe try:
>   chkconfig --del sshd
>   chkconfig --add sshd
>
> Do you see the symlinks?
>   # ll /etc/rc?.d/*sshd
>   lrwxrwxrwx. 1 root root 14 Sep  1 15:06 /etc/rc0.d/K25sshd -> ../init.d/sshd
>   lrwxrwxrwx. 1 root root 14 Sep  1 15:06 /etc/rc1.d/K25sshd -> ../init.d/sshd
>   lrwxrwxrwx. 1 root root 14 Sep  1 15:06 /etc/rc2.d/S55sshd -> ../init.d/sshd
>   lrwxrwxrwx. 1 root root 14 Sep  1 15:06 /etc/rc3.d/S55sshd -> ../init.d/sshd
>   lrwxrwxrwx. 1 root root 14 Sep  1 15:06 /etc/rc4.d/S55sshd -> ../init.d/sshd
>   lrwxrwxrwx. 1 root root 14 Sep  1 15:06 /etc/rc5.d/S55sshd -> ../init.d/sshd
>   lrwxrwxrwx. 1 root root 14 Sep  1 15:06 /etc/rc6.d/K25sshd -> ../init.d/sshd
>

Thanks. I didn't look to see if the symlinks were created, I should
have done that.


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com