LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-26-2004, 05:46 PM   #1
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Cleaning up the server's processes


I run a RH9 text-only server, and with 233Mhz and 32MB RAM, it's always a good idea to run only what you need to make the server work. When RH9 starts, I see it loading PCMCIA, mail services, and all this stuff that I could be better without. How can I stop these services from running? I ran setup and configured it from there, but it doesn't list even 1/2 of the things that's loading.

Thanks all!
 
Old 05-26-2004, 08:06 PM   #2
jspenguin
Member
 
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
Method 1:
Log in remotely using ssh, run 'redhat-config-services'.

Method 2:
Look in /etc/rc.d/rc3.d/
There should be several links to scripts that will run in runlevel 3 (console only mode).
The services that start with S## will be started and the ones that start with K## will be stopped. So, in order to stop PCMCIA from being loaded, for example, rename S24pcmcia to K24pcmcia.
 
Old 05-26-2004, 08:18 PM   #3
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Wow, method two works great, thanks!

I can't do #1 cause it's a text only server

Thanks again!
 
Old 05-26-2004, 08:58 PM   #4
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Original Poster
Rep: Reputation: 30
Hey there's some stuff like USB that's loading before runlevel 3 hits, how do I disable stuff previous to runlevel 3? I don't think this is kernel-level stuff cause it's in the Red hat [OK] bootup thing.
 
Old 05-26-2004, 09:13 PM   #5
jspenguin
Member
 
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
Most Everything before it says 'switching to runlevel 3' is in the script /etc/rc.sysinit. Just find the appropriate commands and comment them out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
server's where...... Dark_Sniper* Linux - Hardware 10 06-17-2005 11:07 PM
I think my server's been compromized karlovac Linux - Security 17 04-02-2005 10:18 AM
Learning Server's emailssent Linux - Newbie 2 09-28-2004 12:32 AM
monitoring active processes and identifying the required processes. gajaykrishnan Programming 2 08-13-2004 01:58 AM
dedicated server's - whos best? antken General 1 12-24-2002 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration