Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Scott on August 19, 2001, 02:56:38 PM

Title: Turning off services
Post by: Scott on August 19, 2001, 02:56:38 PM
Firstly I would liek to say that this product is GREAT.  I was beating my head against the wall with redhat 7.1 and mandrake 8 for about a month before a unix guru I know mentioned e-smith...I have never looked back.

I currently run 4.1.2 and have a dyndns.org domain configured.  I like the ftp and www services but have no need, and for security/bandwidth reasons I would like to disable the SMTP/proxy.

I would like to see in the next version of e-smith a services area in the menu to stop and start services.

Does anyone have a solution?

How can you shell out of the menu and get to a root command prompt?

Thanks in advance.
Scott.
Title: Re: Turning off services
Post by: Jochen Hoegerl on August 20, 2001, 10:36:13 AM
Hi Scott,

to shell out of the menu.....ALT+F2 the root pwd is the same
as the admin pwd.
Title: Re: Turning off services
Post by: Allen Rapini on August 21, 2001, 10:33:02 PM
check the contribs for service, there is an rpm for just this function. It allows control over which functions, etc are running.

More at :
ftp://ftp.e-smith.org/pub/e-smith/contrib/JayMiller/RPMS/noarch/e-smith-service-control-1.1.0-01.noarch.rpm
Title: Re: Turning off services
Post by: Lasse Johansson on August 22, 2001, 11:37:01 AM
I've found a slight problem with that RPM though.

If you run your box in "server only mode" you probably don't want Squid to be running as a background process, so you can "disable" Squid by using e-smith-service-control-1.1.0-01.noarch.rpm allright, but when shutting down the box in such a mode it usually hangs on "shutting down Squid" (which of course is NOT running!), I haven't reported this to Jay Miller before, but maybe ha have some ideas on how to do in such situation?
Title: Re: Turning off services
Post by: Gman on September 06, 2001, 03:03:28 AM
OK...  That RPM is killer...  Just what I was looking for...   Just run it like this:

Set the value of the FTP site:  (Type)

# FTP=ftp.e-smith.com/pub/e-smith/contrib/JayMiller/RPMS/noarch/

Then type:

# rpm -Uvh$FTP/e-smith-service-control-1.1.0-01.noarch.rpm

This will add a services control link from within the web admin of "e-smith-manager".  Great little interface to "TURN OFF" what you don't need !!!!!

Love it...

Thanks !

Gman
Title: Re: Turning off services
Post by: Jay rentmeester on October 02, 2001, 05:04:49 AM
How do I install this in Version 5.0?
Title: Re: Turning off services
Post by: Patrick Basile on October 05, 2001, 02:58:00 AM
Hey everyone,

I just installed SME5 and am adding the add on rpm's.  I installed the service control rpm, and it appeared to install properly.  I can see it in the web manager, but when I uncheck a service and then click 'Change' I get the following error in the right hand pane of web manager:

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

And the service (in this case AppleTalk) does not get turned off.

Anyone else having trouble with this in SME5?  I know it works great on my 4.1.2 server.

Thanks,
Patrick
Title: Re: Turning off services
Post by: Timothée on October 05, 2001, 03:13:01 AM
Hi Patrick,

I had the same problem a week ago, Darrell May gave me the solution for disabling for example atalk and squid.

Use this commands:

[root@sme5 /root]# /sbin/e-smith/config setprop atalk status disabled
[root@sme5 /root]# /sbin/e-smith/config setprop squid status disabled
[root@sme5 /root]# reboot

Timothée
Title: Re: Turning off services
Post by: Patrick Basile on October 05, 2001, 04:57:58 AM
Timothee,

Thanks for your help - that solution is simple enough.

Does anyone know why this isn't working?  I assume it is something that has changed from 4.1.2 to v5 which breaks the functionality?

Regards,
Patrick