Re: [CentOS] Cannot start SSH at boot

2011-09-01 Thread Dotan Cohen
On Thu, Sep 1, 2011 at 17:57, Alain Péan wrote: > I verified on CentOS 4 and 5, and SL6 servers, and they are all running > on runlevel 5. I think it is the default runlevel for graphics interface > (Gnome, KDE...). > > Alain > How silly of me! This server is in the guy's house, and obviously if

Re: [CentOS] Cannot start SSH at boot

2011-09-01 Thread Dotan Cohen
On Thu, Sep 1, 2011 at 17:55, Mike Burger wrote: > Or, to simplify things and enable it for all applicable multi-user > runlevels, just run: > > chkconfig sshd on > I usually don't like leaving daemons running when they don't need to be. However, in this instance it would have helped! -- Dotan

Re: [CentOS] Cannot start SSH at boot

2011-09-01 Thread Dotan Cohen
On Thu, Sep 1, 2011 at 17:35, John Doe 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.

Re: [CentOS] Cannot start SSH at boot

2011-09-01 Thread Alain Péan
Le 01/09/2011 16:24, Dotan Cohen a écrit : > Turns out that this install boots to runlevel 5. I didn't install it, > so I don't know why. But now that I've identified that, giving the > proper command [1] fixed the issue. Thanks. [1] chkconfig --level 5 > sshd on I verified on CentOS 4 and 5,

Re: [CentOS] Cannot start SSH at boot

2011-09-01 Thread Mike Burger
> On Thu, Sep 1, 2011 at 17:21, Stefan Held wrote: >> Maybe a specific ip in /etc/ssh/sshd_config ? And the Network is not up? >> >> Have a look at /var/log/messages. Any hint there? >> > > Turns out that this install boots to runlevel 5. I didn't install it, > so I don't know why. But now that I

Re: [CentOS] Cannot start SSH at boot

2011-09-01 Thread John Doe
From: Dotan Cohen > On a particular CentOS 6 install, I must start SSH manually: > # /etc/init.d/sshd start > I have tried to configure it to start automatically: > # chkconfig --level 3 sshd on Maybe try:   chkconfig --del sshd   chkconfig --add sshd Do you see the symlinks?   # ll /etc/rc?.d/

Re: [CentOS] Cannot start SSH at boot

2011-09-01 Thread Dotan Cohen
On Thu, Sep 1, 2011 at 17:21, Stefan Held wrote: > Maybe a specific ip in /etc/ssh/sshd_config ? And the Network is not up? > > Have a look at /var/log/messages. Any hint there? > Turns out that this install boots to runlevel 5. I didn't install it, so I don't know why. But now that I've identifi

Re: [CentOS] Cannot start SSH at boot

2011-09-01 Thread Stefan Held
Am Donnerstag, den 01.09.2011, 17:09 +0300 schrieb Dotan Cohen: > However, it still must be manually started. I am not getting any > errors. What might be preventing it from starting? > Maybe a specific ip in /etc/ssh/sshd_config ? And the Network is not up? Have a look at /var/log/messages. An

[CentOS] Cannot start SSH at boot

2011-09-01 Thread Dotan Cohen
On a particular CentOS 6 install, I must start SSH manually: # /etc/init.d/sshd start I have tried to configure it to start automatically: # chkconfig --level 3 sshd on However, it still must be manually started. I am not getting any errors. What might be preventing it from starting? Thanks. --