This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Ssh server not running - restarted

Hi All,

Hope someone can help us out, we are getting the following message sent every other day, multiple times.

Ssh server not running - restarted

-- 
System Uptime      : 2 days 6 hours 19 minutes
System Load        : 0.16
System Version     : Astaro Security Gateway Appliance 7.302

We can see no reason for this happening, we have restored our backup to the device in case of corruption with any files, still the same. The following is the logged events on the router:

2010:11:17-00:00:08 (none) selfmonng[3169]: W check Failed increment sshd_running counter 3 - 3
2010:11:17-00:00:08 (none) selfmonng[3169]: W NOTIFYEVENT Name=sshd_running Level=INFO Id=108 suppressed
2010:11:17-00:00:08 (none) selfmonng[3169]: W triggerAction: 'cmd'
2010:11:17-00:00:08 (none) selfmonng[3169]: W actionCmd(-):  '/etc/init.d/sshd restart'
2010:11:17-00:00:13 (none) selfmonng[3169]: I check Failed increment sshd_running counter 1 - 3
2010:11:17-00:00:18 (none) selfmonng[3169]: I check Failed increment sshd_running counter 2 - 3
2010:11:17-00:00:23 (none) selfmonng[3169]: W check Failed increment sshd_running counter 3 - 3
2010:11:17-00:00:23 (none) selfmonng[3169]: W NOTIFYEVENT Name=sshd_running Level=INFO Id=108 suppressed
2010:11:17-00:00:23 (none) selfmonng[3169]: W triggerAction: 'cmd'
2010:11:17-00:00:23 (none) selfmonng[3169]: W actionCmd(+):  '/etc/init.d/sshd restart'
2010:11:17-00:00:23 (none) selfmonng[3169]: W child returned status: exit='0' signal='0'
2010:11:17-00:00:28 (none) selfmonng[3169]: I check Failed increment sshd_running counter 1 - 3
2010:11:17-00:00:33 (none) selfmonng[3169]: I check Failed increment sshd_running counter 2 - 3
2010:11:17-00:00:38 (none) selfmonng[3169]: W check Failed increment sshd_running counter 3 - 3
2010:11:17-00:00:38 (none) selfmonng[3169]: W NOTIFYEVENT Name=sshd_running Level=INFO Id=108 suppressed
2010:11:17-00:00:38 (none) selfmonng[3169]: W triggerAction: 'cmd'
2010:11:17-00:00:38 (none) selfmonng[3169]: W actionCmd(-):  '/etc/init.d/sshd restart'
2010:11:17-00:00:43 (none) selfmonng[3169]: I check Failed increment sshd_running counter 1 - 3
2010:11:17-00:00:48 (none) selfmonng[3169]: I check Failed increment sshd_running counter 2 - 3
2010:11:17-00:00:53 (none) selfmonng[3169]: W check Failed increment sshd_running counter 3 - 3
2010:11:17-00:00:53 (none) selfmonng[3169]: W NOTIFYEVENT Name=sshd_running Level=INFO Id=108 suppressed
2010:11:17-00:00:53 (none) selfmonng[3169]: W triggerAction: 'cmd'
2010:11:17-00:00:53 (none) selfmonng[3169]: W actionCmd(+):  '/etc/init.d/sshd restart'
2010:11:17-00:00:53 (none) selfmonng[3169]: W child returned status: exit='0' signal='0'
2010:11:17-00:00:58 (none) selfmonng[3169]: I check Failed increment sshd_running counter 1 - 3
2010:11:17-00:01:03 (none) selfmonng[3169]: I check Failed increment sshd_running counter 2 - 3
2010:11:17-00:01:08 (none) selfmonng[3169]: W check Failed increment sshd_running counter 3 - 3
2010:11:17-00:01:08 (none) selfmonng[3169]: W NOTIFYEVENT Name=sshd_running Level=INFO Id=108 suppressed
2010:11:17-00:01:08 (none) selfmonng[3169]: W triggerAction: 'cmd'

Please help!!

Frustrated!!! [:@]


This thread was automatically locked due to age.
Parents
  • Hi Craig

    Is SSH working but occasionally failing, or never working at all? I recall a very old issue, where this could happen, and you are running on a very old version, so perhaps it might be worth checking. It is possible that the pid file, used for tracking the process id of the current running process was not properly written, and an old value is still present. to correct this, simply remove the stale pid file, and the selfmonitor service should do the rest.

    To remove the old pid file, login on the console as root, and run the following command:
    rm -f /var/run/sshd.pid

    I'd also recommend upgrading to a newer version, since there are many new features and fixes since 7.306.
Reply
  • Hi Craig

    Is SSH working but occasionally failing, or never working at all? I recall a very old issue, where this could happen, and you are running on a very old version, so perhaps it might be worth checking. It is possible that the pid file, used for tracking the process id of the current running process was not properly written, and an old value is still present. to correct this, simply remove the stale pid file, and the selfmonitor service should do the rest.

    To remove the old pid file, login on the console as root, and run the following command:
    rm -f /var/run/sshd.pid

    I'd also recommend upgrading to a newer version, since there are many new features and fixes since 7.306.
Children
No Data