Koozali.org: home of the SME Server

Panel for restarting httpd service

Offline edb

  • *
  • 548
  • +0/-0
Panel for restarting httpd service
« on: February 23, 2006, 10:14:35 PM »
Does anyone have a panel for 6.0.1 that allows for restarting of the httpd service?
I'm going on holidays and sometimes after the server reboot due to power issues the httpd service needs to be restarted but I don't want to give server command line control to anyone.
That's all I need it to do is to issue the "service httpd restart" command.

Or maybe someone has an alternative idea that would accomplish the same result of restarting the httpd service but without having to go to the server command line.

Thanks in advance
......

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Panel for restarting httpd service
« Reply #1 on: February 24, 2006, 02:23:26 AM »
Hello edb,

Have you tried the services addin with User Panel Access addin ... I can't remember where I found the services panel addon ... just do a search.

You can give certain ppl access to the services panel and maybe try stopping then restarting from there.

I haven't tryed it that way but it's worth a shot. Only thing is they will be able to stop/start all services that are on the panel.

edit/

I found the service file ...


http://mirror.contribs.org/smeserver/contribs/star/mitel/contrib/e-smith-service-control/5.5/e-smith-service-control-1.1.0-06.noarch.rpm


Regards,

Tib

Offline edb

  • *
  • 548
  • +0/-0
Panel for restarting httpd service
« Reply #2 on: February 24, 2006, 05:53:57 AM »
Thanks Tib, but this is for 5.5
Are you sure it will it also work on 6.0.1 cause I don't want any problems caused by adding this just before I leave tomorrow.

Thanks
......

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Panel for restarting httpd service
« Reply #3 on: February 24, 2006, 10:24:23 AM »
edb

Thats the Ver I use on my 6.0.1-01 and all works fine ... I just re-checked it.

I use it at work as well as home.

Regards,

Tib

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Panel for restarting httpd service
« Reply #4 on: February 24, 2006, 10:41:22 AM »
ebd

There is only one prob with what I just sugested .... if your httpd is down you won't be able to access your server-manager through the browser anyway.

and if you turn off httpd through the server-manager you'll have to turn it back on through the command line option.

will work for all other services though.

Regards,

Tib

Offline edb

  • *
  • 548
  • +0/-0
Panel for restarting httpd service
« Reply #5 on: February 24, 2006, 03:58:50 PM »
Thanks Tib

I guess I'll just have to give them command line.

Thanks again for your suggestions.

edb
......

jsk

Panel for restarting httpd service
« Reply #6 on: February 26, 2006, 11:11:43 AM »
Maybe crontab?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Panel for restarting httpd service
« Reply #7 on: February 27, 2006, 03:59:04 AM »
Quote from: "Tib"

There is only one prob with what I just sugested .... if your httpd is down you won't be able to access your server-manager through the browser anyway.


Indeed. And rather than adding a method to restart apache, wouldn't it be better to find out why it is stopping and fix it? If apache is dying, you should open a bug in the bug tracker.