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.
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
09-01-2011, 02:21 PM
Stefan Held
Cannot start SSH at boot
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. Any hint there?
--
Stefan Held VI has only 2 Modes:
obi unixkiste org The first one is for beeping all the time,
FreeNode: foo_bar the second destroys the text.
---------------------------------------------------------------------------
perl -e'map{print pack c,($|++?1:13)+ord,select$,,$,,$,,$|}split//,ESEL.$/'
---------------------------------------------------------------------------
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
09-01-2011, 02:24 PM
Dotan Cohen
Cannot start SSH at boot
On Thu, Sep 1, 2011 at 17:21, Stefan Held <obi@unixkiste.org> 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 identified that, giving the
proper command [1] fixed the issue. Thanks.
[1] chkconfig --level 5 sshd on
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
09-01-2011, 02:35 PM
John Doe
Cannot start SSH at boot
From: Dotan Cohen <dotancohen@gmail.com>
> 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
JD
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
09-01-2011, 02:55 PM
"Mike Burger"
Cannot start SSH at boot
> On Thu, Sep 1, 2011 at 17:21, Stefan Held <obi@unixkiste.org> 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 identified that, giving the
> proper command [1] fixed the issue. Thanks.
>
> [1] chkconfig --level 5 sshd on
>
Or, to simplify things and enable it for all applicable multi-user
runlevels, just run:
chkconfig sshd on
--
Mike Burger
http://www.bubbanfriends.org
Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org
site-update-subscribe@bubbanfriends.org
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
09-01-2011, 02:57 PM
Alain Péan
Cannot start SSH at boot
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, and SL6 servers, and they are all running
on runlevel 5. I think it is the default runlevel for graphics interface
(Gnome, KDE...).
Alain
--
================================================== ========
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
================================================== ========
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
09-01-2011, 06:36 PM
Dotan Cohen
Cannot start SSH at boot
On Thu, Sep 1, 2011 at 17:55, Mike Burger <mburger@bubbanfriends.org> 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 Cohen
http://gibberish.co.il
http://what-is-what.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
09-01-2011, 06:38 PM
Dotan Cohen
Cannot start SSH at boot
On Thu, Sep 1, 2011 at 17:57, Alain Péan
<alain.pean@lpp.polytechnique.fr> 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
SSH is not running then he's logging in locally... I should have
suspected a graphical login. That's my lesson learned for today!
Thanks!
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos