[solved] sshd can't start on system boot

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

[solved] sshd can't start on system boot

Postby schnappy » Mon Feb 25, 2013 4:29 am

Hi,
To run sshd on boot,
systemctl enable sshd

My settings are largely defaults, except listening on port 443. On boot, it appears that sshd starts, stops, starts, stops, starts, stops, gives up and fails. I can then log in and systemctl start sshd fine as root, without any errors. I do not believe I have any other services listening on 443, certainly none I installed.

journalctl output:
http://pastebin.com/RC0ABhnr
Time/date is a bit haywire because I don't have an RTC and presumerably ntpd kicked in after the errors happened.

Help would be appreciated,
Thanks
Last edited by schnappy on Mon Feb 25, 2013 1:18 pm, edited 1 time in total.
schnappy
 
Posts: 2
Joined: Mon Feb 25, 2013 4:25 am

Re: sshd can't start on system boot

Postby pepedog » Mon Feb 25, 2013 9:56 am

sshd is enabled by default. I know the rpi has a video console, but many arm devices don't.
systemctl shows whats running/not/failed
Want to re-image and try again?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: sshd can't start on system boot

Postby schnappy » Mon Feb 25, 2013 12:58 pm

Hey,
Hmm not a fan of wanting to redo all my settings, so I tried removing sshd entirely and putting it back and reenabling with systemd. I don't know why I didn't think of doing that earlier, but that seems to have ironed out the issue.

Thanks :)
schnappy
 
Posts: 2
Joined: Mon Feb 25, 2013 4:25 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests