Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: CKConsulting on November 09, 2006, 02:53:27 PM

Title: SME7admin restart ??
Post by: CKConsulting on November 09, 2006, 02:53:27 PM
Every Once in a while my SME7admin will stop graphing.  How do I restart it with out rebooting the box?

Thanks,
Rick
Title: Re: SME7admin restart ??
Post by: psoren on November 09, 2006, 03:22:39 PM
Quote from: "CKConsulting"
Every Once in a while my SME7admin will stop graphing.  How do I restart it with out rebooting the box?

Thanks,
Rick


By clicking the start button in the server manager panel. Follow the instructions it gives you if i doesn't start.

Per
Title: SME7admin restart ??
Post by: Tib on November 09, 2006, 10:31:13 PM
psoren

I have found that sometimes it doesn't re-start for me either so I have to do this ...

rm -f /var/run/sme7admin.pid

service sme7admind restart

and then all is fine.

Regards,

Tib
Title: SME7admin restart ??
Post by: psoren on November 09, 2006, 10:33:14 PM
Quote from: "Tib"
psoren

I have found that sometimes it doesn't re-start for me either so I have to do this ...

rm -f /var/run/sme7admin.pid

service sme7admind restart

and then all is fine.

Regards,

Tib


Yes, same for me but a bit anoying...

Per
Title: SME7admin restart ??
Post by: Teviot on December 08, 2006, 04:41:57 AM
Code: [Select]
Tib wrote:
psoren

I have found that sometimes it doesn't re-start for me either so I have to do this ...

rm -f /var/run/sme7admin.pid

service sme7admind restart

and then all is fine.

Regards,

Tib


Yes, same for me but a bit anoying...

Per


Has there bee a fix created for this?
Title: SME7admin restart ??
Post by: Tib on December 08, 2006, 11:00:42 AM
teviot

Not as far as I know.


Regards,

Tib
Title: SME7admin restart ??
Post by: william_syd on December 08, 2006, 01:25:49 PM

--- Begin Crazy Suggestion ---


Alter /usr/bin/sme7admind not to run as a daemon and then use a run script to control it with supervise.

This way, if it crashes it will be restarted.

I don't know perl but the run script can be made by modifying an existing one in /var/service/{servicename}. An example could be..
Code: [Select]
#!/bin/sh
exec 2>&1
exec /usr/bin/sme7admind


Just food for thought.

--- End Crazy Suggestion ---