Koozali.org: home of the SME Server

Starting/Stopping services

Philippe Palmarini

Starting/Stopping services
« on: July 03, 2003, 08:08:22 PM »
Hi guys ,

New with this e-smith stuff. But installed without problem, (beside Isa Nic Card)

How can i stop or restart a service not needed like qmail, lpr, http
beside the KILL command.

Thrue the server-manager (No option seen)
Thrue the console (No option seen)
Thrue the Doc (Nothing seen)

Thanks

Phil

Greg Zartman

Re: Starting/Stopping services
« Reply #1 on: July 03, 2003, 08:25:40 PM »
> How can i stop or restart a service not needed like qmail,
> lpr, http
> beside the KILL command.

It all depends on the service.  Some services are started/stoped with run level scripts while others with a utility called deamon tools.  In general, you can start/stop/restart services by excuting one of the various shell scripts located in /etc/rc.d/init.d/ .  For example, to stop httpd  you would execute the following from the console (while logged in as root):

[root@server root]# /etc/rc.d/init.d/httpd stop
Stopping httpd:                                            [   OK   ]
[root@server root]#


> Thrue the server-manager (No option seen)
> Thrue the console (No option seen)
> Thrue the Doc (Nothing seen)

One thing to remember about SME is that it's designed so that you don't need to fiddle around under the hood (as you are wanting to do here).  As such, the docs don't address such topics.  In fact, Mitel recommends against such "fiddleing."  Further, starting and stopping services in SME is no different from any other flavor of redhat.  Therefore, you can read about it in a redhat doc.  :)

Regards,

Greg Zartman



>
> Thanks
>
> Phil

Greg Zartman

Re: Starting/Stopping services
« Reply #2 on: July 03, 2003, 08:28:41 PM »
Was going to include this, but hit sent before including.  Have a look at this contrib.  It gives you a server manager panel to disable/enable services:

http://wiki.contribs.org/mod.php?mod=showinmain&page=http://wiki.contribs.org/contribs

Philippe Palmarini

Re: Starting/Stopping services
« Reply #3 on: July 04, 2003, 01:33:20 AM »
That exactly the answer i was hoping for

Thank's Greg

Phil

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
Starting/Stopping services
« Reply #4 on: February 24, 2005, 12:19:01 PM »
Hi there,

Anyone got a working link to this contrib?

I have it installed on my own server, but can’t find it on www.contribs.org – have searched all morning, with NO results.

Please help.
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Mumm-Ra

Starting/Stopping services
« Reply #5 on: February 24, 2005, 08:33:23 PM »
not too sure if this is the contrib mentioned but the service manager contrib can be found here 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

Offline arnoldob

  • *
  • 183
  • +0/-0
Starting/Stopping services
« Reply #6 on: February 26, 2005, 06:50:39 PM »
The Sme6admin contrib also has a simple way of stopping unwanted services. Plus it has some interesting monitoring features with graphing.

It can be found here:
http://firewall-services.com/sme6admin-howto-en.html
Tampa, FL USA