Koozali.org: home of the SME Server

SME7admin restart ??

CKConsulting

SME7admin restart ??
« 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

Offline psoren

  • *
  • 371
  • +0/-0
Re: SME7admin restart ??
« Reply #1 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

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
SME7admin restart ??
« Reply #2 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

Offline psoren

  • *
  • 371
  • +0/-0
SME7admin restart ??
« Reply #3 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

Offline Teviot

  • *
  • 610
  • +0/-0
SME7admin restart ??
« Reply #4 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?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
SME7admin restart ??
« Reply #5 on: December 08, 2006, 11:00:42 AM »
teviot

Not as far as I know.


Regards,

Tib

Offline william_syd

  • ****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
SME7admin restart ??
« Reply #6 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 ---
Regards,
William

IF I give advise.. It's only if it was me....