Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Oct 2016 15:28:07 +0200
From:      Benjamin Walkenhorst <walkenhorst.benjamin@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   sshd does not start after upgrade to 11
Message-ID:  <7DC514C7-4597-4D72-8DE3-EFDD78A7C96D@gmail.com>

index | next in thread | raw e-mail

Hello everyone,


I just upgraded my VPS from 10.3 to 11, and the upgrade *mostly* worked as I had hoped, except that now sshd is not started automatically. Which is kind of annoying for a remote system. ;-)

When I login through the console and say (as root) „service sshd start“, I get the following output:
14:59|root@straylight:/var/log]# service sshd restart
Performing sanity check on sshd configuration.
Stopping sshd.
Performing sanity check on sshd configuration.
Starting sshd.
login class '/usr/sbin/sshd' non-existent, using default
Resource limits for class default:
  cputime              infinity secs
  filesize             infinity kB
  datasize             infinity kB
  stacksize            infinity kB
  coredumpsize         infinity kB
  memoryuse            infinity kB
  memorylocked               64 kB
  maxprocesses         infinity
  openfiles            infinity
  sbsize               infinity bytes
  vmemoryuse           infinity kB
  pseudo-terminals     infinity
  swapuse              infinity kB
  kqueues              infinity
  umtxp                infinity

Afterwards, „pgrep ssh“ does not show any processes. 
There are no error messages in syslog, either.

When I run (again, as root) /usr/sbin/sshd manually, it works.

Did I mess something up during the upgrade inadvertently? Since I can still start sshd manually, I suspect the problem is not with sshd itself, but the way it is started by the init system.

If anyone could give me a hint on how to proceed, I would be very grateful. 
Kind regards,
Benjamin

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DC514C7-4597-4D72-8DE3-EFDD78A7C96D>