SSHD failing on restart



Hi

the sshd.service is enabled and is shown starting at the bottom of
"boot.log" but "secure" show it failing to bind to the PC IP address !


[^[[1;32m OK ^[[0m] Started OpenSSH server daemon.
[^[[1;32m OK ^[[0m] Started Samba SMB Daemon.
Starting CUPS Printing Service...
[^[[1;32m OK ^[[0m] Started CUPS Printing Service.
[^[[1;32m OK ^[[0m] Started Sendmail Mail Transport Agent.
Starting Sendmail Mail Transport Client...
Starting Daemon for managing, installing and generating color profiles...

/var/log/secure shows it can't bind:-

linuxmail sshd[804]: error: Bind to port 22 on 192.168.191.9 failed: Cannot assign requested address.
linuxmail sshd[804]: fatal: Cannot bind any address.

/var/log/messages shows it exiting ?:-

linuxmail systemd[1]: sshd.service: main process exited, code=exited, status=255
linuxmail systemd[1]: Unit sshd.service entered failed state.

Yet when I login I can restart sshd.service and it will bind to port 22 on 192.168.191.9 and keeps running.

No firewall is running and selinux is in permissive mode
It is not the fastest machine Atlon 1200+ 1GB RAM
Kernel 3.4.0-1.fc17.i686 #1 SMP

Its my backup server and I need sshd running if it was remote I would be scuppered !

Why is it failing to bind to the IP address on startup ?


--
Andrew Gray <andrewg@xxxxxxxxxxxxxxx>
Linnet Solutions Ltd

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Relevant Pages

  • Re: SSHD failing on restart
    ... Starting Daemon for managing, installing and generating color profiles... ... Yet when I login I can restart sshd.service and it will bind to port 22 on 192.168.191.9 and keeps running. ...
    (Fedora)
  • Re: Recap of stable/4.9 status, please?
    ... It looks as if I'll be installing 4.8-RELEASE-p10 on ... but bringing in the latest Sendmail -- and BIND ... >Ian's USB fix and some other issues. ...
    (freebsd-stable)
  • Re: trouble compiling bind 9.9.2-P2 with rate limit patch rl-9.9.2-P2.patch
    ... It looks like the patch was applied after running ./configure. ... Where does the documentation advise running `./configure` before `patch`? ... fetch BIND tarball and matching RPZ/RRL patch ... Those who are not familiar with building and installing UNIX C programs ...
    (comp.protocols.dns.bind)
  • [Full-disclosure] [ GLSA 200908-02 ] BIND: Denial of Service
    ... Dynamic Update packets can cause a Denial of Service in the BIND ... dynamic update message to the BIND daemon, ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Full-Disclosure)
  • [ GLSA 200908-02 ] BIND: Denial of Service
    ... Dynamic Update packets can cause a Denial of Service in the BIND ... dynamic update message to the BIND daemon, ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Bugtraq)