I recently installed Parsix (Debian) on my system, and I've been struggling to figure out how to autostart my services. Of the list of services that don't run and should run are:
- ssh
- apache
- mysql
They run easily enough with the generic: service ssh start, and when I run
> update-rc.d ssh defaults
System startup links for /etc/init.d/ssh already exist.
As an added note:
> service ssh status
[FAIL] sshd is not running ... failed!
Edit:
ls /etc/rc*.d/*ssh* produces
/etc/rc0.d/K50ssh /etc/rc2.d/K50ssh /etc/rc4.d/K50ssh /etc/rc6.d/K50ssh
/etc/rc1.d/K50ssh /etc/rc3.d/K50ssh /etc/rc5.d/S50ssh
(does K mean "Kill"??)
Also, the current run-level is set to 5.
ls /etc/rc*.d/*ssh*? – Karlson Jan 2 at 22:18openssh-serveror similar installed? – Karlson Jan 3 at 1:52who -r– Karlson Jan 3 at 2:17