Koozali.org: home of the SME Server

Disabling unneeded daemons

Alex Schaft

Disabling unneeded daemons
« on: May 15, 2001, 05:52:10 PM »
Hi,

What would be the "right way" of disabling unwanted daemons like squid, atalk, etc. Should I just delete the links out of /etc/rc7.d?

Alex

Charlie Brady

Re: Disabling unneeded daemons
« Reply #1 on: May 15, 2001, 10:09:14 PM »
Alex Schaft wrote:

> What would be the "right way" of disabling unwanted daemons
> like squid, atalk, etc. Should I just delete the links out of
> /etc/rc7.d?

The right way would be to do:

/sbin/e-smith/db configuration setprop squid status disabled
/sbin/e-smith/db configuration setprop atalk status disabled
...
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

Charlie

Alex Schaft

Re: Disabling unneeded daemons
« Reply #2 on: May 16, 2001, 10:42:54 AM »
Hi,

Thanks for the info. Do you know where the scripts, etc. in /sbin/e-smith are documented?

Alex

Bas

Re: Disabling unneeded daemons
« Reply #3 on: May 16, 2001, 11:55:24 AM »
I've picked up a rpm called e-smith-service-control-1.1.0-01.noarch.rpm in the contrib section of ftp.e-smoth.org wich creates a services-page in the web-gui and lets you turn them on/off

Ashley Bowyer

Re: Disabling unneeded daemons
« Reply #4 on: May 18, 2001, 08:09:18 AM »
Can you please point me in the right direction?  There are alot of directories and I can see to find this RPM at present.  Thanks

Ashley

Des Dougan


Magnus Karlsson

Re: Disabling unneeded daemons
« Reply #6 on: May 21, 2001, 11:39:19 PM »
I applied this module and stopped a number aof services:

Status of services updated
Please be patient. This operation may take some time to complete as it is updating the system configuration.
Disabled Macintosh file & print sharing service.
Disabled LDAP directory server service.
Disabled Printing service.
Disabled Mail retrieval service.
Disabled Mail transport service.
Disabled Web proxy service.

But when I use top at the server I still see squid and ldp for example:

  8:37pm  up 1 day, 23:37,  1 user,  load average: 0.01, 0.32, 0.24
55 processes: 54 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  1.1% user,  1.3% system,  0.0% nice, 97.4% idle
Mem:    30556K av,   23820K used,    6736K free,   49432K shrd,     964K buff
Swap:  265032K av,    7508K used,  257524K free                    9628K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 6091 root      13   0  1044 1044   828 R     2.5  3.4   0:06 top
    1 root       0   0   356  352   300 S     0.0  1.1   0:05 init
    2 root       0   0     0    0     0 SW    0.0  0.0   0:00 kflushd
    3 root       0   0     0    0     0 SW    0.0  0.0   0:00 kupdate
    4 root       0   0     0    0     0 SW    0.0  0.0   0:00 kpiod
    5 root       0   0     0    0     0 SW    0.0  0.0   0:00 kswapd
    6 root     -20 -20     0    0     0 SW<   0.0  0.0   0:00 mdrecoveryd
  241 root       0   0   276  232   164 S     0.0  0.7   0:02 syslogd
  251 root       0   0   480  176   148 S     0.0  0.5   0:00 klogd
  355 root       0   0   164  160   132 S     0.0  0.5   0:01 dhcpcd
  536 root       0   0   436  428   360 S     0.0  1.4   0:00 crond
  644 root       0   0   692  656   544 S     0.0  2.1   0:00 xinetd
  704 lp         0   0   132    0     0 SW    0.0  0.0   0:00 lpd
  806 root       0   0   832    0     0 SW    0.0  0.0   0:00 slapd
  827 root       0   0    56    0     0 SW    0.0  0.0   0:00 supervise
  828 qmaill     0   0    60    0     0 SW    0.0  0.0   0:00 cyclog
  829 qmails     0   0   244  232   168 S     0.0  0.7   0:00 qmail-send
  839 qmaill     0   0    60    0     0 SW    0.0  0.0   0:00 accustamp
  840 root       0   0    64    0     0 SW    0.0  0.0   0:00 qmail-lspawn
  841 qmailr     0   0    68    0     0 SW    0.0  0.0   0:00 qmail-rspawn
  842 qmailq     0   0    64    0     0 SW    0.0  0.0   0:00 qmail-clean
 1155 root       0   0  1408 1396  1316 S     0.0  4.5   0:00 httpd-admin
 1174 root       0   0   164    0     0 SW    0.0  0.0   0:00 safe_mysqld
 1217 mysql      0   0   448   24    16 S     0.0  0.0   0:00 mysqld
 1230 root       0   0   164    0     0 SW    0.0  0.0   0:00 squid
 1232 squid      0   0  3592 2304   308 S     0.0  7.5   0:05 squid
 1233 mysql      0   0   448   24    16 S     0.0  0.0   0:00 mysqld
 1234 mysql      0   0   448   24    16 S     0.0  0.0   0:00 mysqld
 1235 squid      0   0    56    0     0 SW    0.0  0.0   0:00 unlinkd
 1270 root       0   0   748  256   176 S     0.0  0.8   0:00 smbd
 1280 root       0   0   856  420   308 S     0.0  1.3   0:00 nmbd
 1283 root       0   0   492    0     0 SW    0.0  0.0   0:00 nmbd

How come?


// Magnus

Charlie Brady

Re: Disabling unneeded daemons
« Reply #7 on: May 21, 2001, 11:51:51 PM »
Magnus Karlsson wrote:

> But when I use top at the server I still see squid and ldp
> for example:

Try rebooting. The e-smith-services module is unsupported beta software. It may very well have some minor bugs. Or it might not work at all :-)

Regards

Charlie

alex

Re: Disabling unneeded daemons
« Reply #8 on: November 01, 2001, 06:05:13 PM »
hi,

i also installed the rpm file- e-smith-service-control-1.1.0-01.src.rpm)
>made a reboot,
but can“t see a new point in the server-manager!???

does it work with the new SME server???

alex

Re: Disabling unneeded daemons
« Reply #9 on: November 01, 2001, 06:18:05 PM »
sorry- was my mistake...
works GREAT!