Author Topic: what needs to be running for server ftp web mysql  (Read 874 times)

fuckoffmicrosoft

  • Member
  • **
  • Posts: 73
  • Kudos: 0
    • http://jeujeu.ath.cx
what needs to be running for server ftp web mysql
« Reply #15 on: 2 October 2002, 01:38 »
o man that saved me 15 meg of ram. anything else  :D    :D    :eek:    :D

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
what needs to be running for server ftp web mysql
« Reply #16 on: 2 October 2002, 02:54 »
quote:
Originally posted by The Master of Reality / Bob:
well.... i got a hell of a lot of things running that wasnt posted up there.
Can anyone tell me what they are??:
(i left out the things like httpd, mysql, proftp, and the necassary ones)
  PID TTY          TIME CMD
    2 ?        00:00:00 keventd
    3 ?        00:00:00 kapmd
    4 ?        00:00:00 ksoftirqd_CPU0
    5 ?        00:00:01 kswapd
    6 ?        00:00:00 bdflush
    7 ?        00:00:00 kupdated
    8 ?        00:00:00 mdrecoveryd
   12 ?        00:00:01 kjournald
   91 ?        00:00:00 khubd
  477 ?        00:00:00 dhcpcd
  631 ?        00:00:00 klogd
  983 ?        00:00:00 unlinkd



He did not list his process list (output from the 'ps' command). That was just his list of services that were set to start at system bootup. He surely has more processes running. Your listing is a process list. All of them look like kernel or log daemons that should be running except for "dhcpd". If you do not intend to use your machine as a dhcp server then you would want to kill it and prevent it from starting at boot time. "unlinkd" is associated with Squid. I'm not familiar with "khubd" so I can't help you with that one. The rest are should in fact be running.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
what needs to be running for server ftp web mysql
« Reply #17 on: 2 October 2002, 02:57 »
those are some of my processes. dhcpcd it seems must be there although i am not running a dhcp server. Does this have to be running if my server is a client for a dhcp server? I get my ip address from dhcp server... (my IP never changes because i never turn off my cable modem though    )
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
what needs to be running for server ftp web mysql
« Reply #18 on: 2 October 2002, 03:04 »
quote:
Originally posted by fuckoffmicrosoft:
o man that saved me 15 meg of ram. anything else     :D          :D          :eek:          :D    


Just some other notes about the "chkconfig" and the "service" commands in RedHat. If a service such as httpd is configured to start in the default runlevel and thus currently running and you issue the command

# chkconfig httpd off

this will "not" stop the service. It just configures your system so it will not start when you boot up. To actually stop a running service you would type:

# service httpd stop

Most services have more parameters than just "start" and "stop".  For instance if you type:

# service httpd

alone it will list what other parameters are available like "restart", "reload", etc.  For example if you make a change to your Apache configuration (modify the "/etc/httpd/conf/httpd.conf" file) Apache will not recognize the changes until it is restarted or "reloaded". It is best to just issue this command:

# service httpd reload

Which signals apache to reread it's configuration file without actually having to stop and start the service. This is much quicker and your web server will not have a short period of inaccessibility (which would be no more than a couple of seconds).

See "man chkconfig" and "man service" for more information on the commands. And if you want a deeper understanding of what services are, they are nothing more than scripts which reside in the /etc/init.d directory. If you are interested take a look inside each of the scripts and you will see how they work. You will find symbolic links to those scripts in the "/etc/rc0.d", "/etc/rc1.d", ..., "/etc/rc6.d", one directory for each run level. Run level 5 is the default run level if your system boots up to a graphical logon. Run level 3 is the run level you would likely want to use if you want to use the machine as a server and boot to a text based logon prompt. You would change the default run level by modifying the "id:5:initdefault" line in the "/etc/inittab" file to "id:3:initdefault".

[ October 01, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
what needs to be running for server ftp web mysql
« Reply #19 on: 2 October 2002, 03:06 »
quote:
Originally posted by The Master of Reality / Bob:
those are some of my processes. dhcpcd it seems must be there although i am not running a dhcp server. Does this have to be running if my server is a client for a dhcp server? I get my ip address from dhcp server... (my IP never changes because i never turn off my cable modem though     )


Ooops sorry, I misread your message. It's showing "dhcpcd" and not "dhcpd". You are correct "dhcpcd" is the client daemon.
Someone please remove this account. Thanks...