Koozali.org: home of the SME Server

Obsolete Releases => SME 8.x Contribs => Topic started by: stephdl on January 22, 2014, 06:37:47 PM

Title: Need testers : smeserver-servicecontrol
Post by: stephdl on January 22, 2014, 06:37:47 PM
Ola, working a bit on a contrib from  MasterSleepy (Michel Van hees) http://wiki.contribs.org/Service_Control

The contrib had some problem of UTF8 when installing, this is repaired and now the contribs is available and workable for sme8

i need your review, please test on a VM first

noarch
http://mirror.de-labrusse.fr/smeserver-testing/5/noarch/smeserver-service_control-2.0-2.noarch.rpm

src.rpm do not use this one to install, only to see source if you need
http://mirror.de-labrusse.fr/smeserver-testing/5/SRPMS/smeserver-service_control-2.0-2.src.rpm
Title: Re: Need testers : smeserver-servicecontrol
Post by: johnp on January 23, 2014, 12:50:13 AM
Thanks Stephane for all your hard work  :)
Title: Re: Need testers : smeserver-servicecontrol
Post by: guest22 on January 23, 2014, 10:58:03 PM
Stephane,

installed it on SME8.0. So far all seems to work fine.

@other readers, can you give it a spin please, and provide feedback. This is a valuable contrib.

guest
Title: Re: Need testers : smeserver-servicecontrol
Post by: idp_qbn on January 26, 2014, 11:04:33 AM
Stephane,
I have also installed it on SME 8 and it seems to be working well.
I have the following system:
HP Proliant Microserver N40L
4Gb RAM
2 x 2Tb HDD in RAID1
Server-only mode

The following contribs are installed:
   AFFA and
   Hardware Information.

I have had it on since 23/1/ and have done limited testing - not sure what I can safely turn On or OFF.
Mostly I have just been letting it sit there and see if it causes any problems just by existing.
I shall try a bit more next week.

Cheers
Ian
Title: Re: Need testers : smeserver-servicecontrol
Post by: stephdl on January 26, 2014, 04:12:24 PM
be aware that you should test it on a virtual environment first since some services are vital for the server , for example if you turn off httpd* services you could have some noises when you will want to establish it again.
Indeed you have to do it trough the server-manager.

at least all i have tested
-what you turn off, stay off after the next reboot
-you can change port of some services
-you can change service access (public/private)

i worked on this contrib because i know that some of us have virtualized or hosted SME Server in the cloud and they do not need some services (samba, printer...)

But a big thank to Xavier who gave me the idea to work on this contrib.
Title: Re: Need testers : smeserver-servicecontrol
Post by: CharlieBrady on January 26, 2014, 05:04:43 PM
be aware that you should test it on a virtual environment first since some services are vital for the server , for example if you turn off httpd* services you could have some noises when you will want to establish it again.
Indeed you have to do it trough the server-manager.

I think you mean "through the command line". If you disable the httpd* services, there will be no server-manager.
Title: Re: Need testers : smeserver-servicecontrol
Post by: stephdl on January 26, 2014, 08:57:40 PM
indeed...without server-manager it could not be easy to establish again all services.
Title: Re: Need testers : smeserver-servicecontrol
Post by: CharlieBrady on January 29, 2014, 06:42:48 PM
I think you mean "through the command line". If you disable the httpd* services, there will be no server-manager.

I think you should modify the contrib so that the http* services cannot be disabled. Let people kill those services (and the server-manager) via the command line if they really insist on doing that. Don't make it easy for people to kill their servers.
Title: Re: Need testers : smeserver-servicecontrol
Post by: janet on January 30, 2014, 04:04:26 AM
stephdl

Quote
http://wiki.contribs.org/Service_Control
The contrib had some problem of UTF8 when installing, this is repaired and now the contribs is available and workable for sme8

Previously a few years back, unwise use of that contrib by unknowing users did cause a number of people to "come to grief" when they unwittingly disabled http* services, which, as Charlie says, then prevented access to server manager.
Command line intervention was then required to get their server manager functional again.

So it would be a good idea to remove the ability to disable http* services.
Perhaps alternatively display a "HUGE" warning that server manager would become inaccessible if the user continued with the disabling of http* services, when performing that function.
Title: Re: Need testers : smeserver-servicecontrol
Post by: stephdl on January 30, 2014, 11:52:42 AM
So it would be a good idea to remove the ability to disable http* services.
Perhaps alternatively display a "HUGE" warning that server manager would become inaccessible if the user continued with the disabling of http* services, when performing that function.
I have sent a mail to the original author to understand why he made these features and if needed and asked i could do something like that.
Title: Re: Need testers : smeserver-servicecontrol
Post by: stephdl on February 02, 2014, 11:32:44 AM
I have sent a mail to the original author to understand why he made these features and if needed and asked i could do something like that.
I have the response of the original author, mastersleepy, and in brief if he did this choice is

-it was more easy to get all services
-it is the freedom of an administrator to break his system.

so i have planned either to display a big warning or rewrite the code to remove the ability to cut http* services.

Need time to do so.
Title: Re: Need testers : smeserver-servicecontrol
Post by: guest22 on February 02, 2014, 02:58:05 PM
so i have planned either to display a big warning or rewrite the code to remove the ability to cut http* services.

Stephane, maybe a pop-up when selecting to deactivate httpd* , so the interface stays clean?