Koozali.org: home of the SME Server

Disabling some services

Ivan

Disabling some services
« on: June 21, 2002, 04:50:32 PM »
I've downloaded package for service control - Isn't working. Can't stop or start any services - Page cannot be found or action canceled errors.
How can I do it manually. I'd like to disable Samba and any printing services.
Only thing that I'm using it for is private web serving (php & mysql) & webmail.
Squid is desabled - I found the instructions on one of the posts here.
Any links to the docs would be great.

thanks in advance,
Ivan.

John Crisp

Re: Disabling some services
« Reply #1 on: June 21, 2002, 05:44:35 PM »
/sbin/e-smith/config setprop $key status disable

where $key is the service - atalk, smb, lpd, or whatever.

/sbin/e-smith/signal-event console-save (I think - this saves and updates the configuration I believe)

Have a search in the forums - you'll see loads of references to this.

I am not sure what versions that the services rpm works with all versions.

Ivan

Re: Disabling some services
« Reply #2 on: June 21, 2002, 10:03:24 PM »
Thanks. I'll try it once I get home.

regards,
Ivan

Ivan

Re: Disabling some services
« Reply #3 on: June 21, 2002, 10:07:27 PM »
As for services.rpm from contribution area, it's intalled without any problems or errors. Once installed here is a link in server manager. It will also list current services running. But once I uncheck services and click update, I get error "page cannot be found" ?!
I did try to uninstall it and install again with no effect,

Regards,
Ivan

Dan G.

Re: Disabling some services
« Reply #4 on: June 21, 2002, 11:43:15 PM »
Try using http://yourserver:980/server-manager to access the control panel.

Ivan

Re: Disabling some services
« Reply #5 on: June 22, 2002, 01:45:13 AM »
Thanks Dan! Using port number (980) to connect to server manager worked the way it suppose to.
If you don't mind me asking why does it work through port 980 only?

thanks in advance,
Ivan