LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-15-2012, 11:46 AM   #1
gajanant
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Rep: Reputation: Disabled
minimise boot time in RHEL5


Hi all,
I work in a lab environment. We have installed RHEL5
on 20 systems. They are HP dx2480 systems. core2duo
2.9ghz cpu, 1gb ram, intel g31 mbd. All systems are networked so as to ping each other. No shares are created, neither are they registered with RHN. They take fairly long (abt 4 mts or more)time to boot to the desktop. When enabled "show details" while booting,I see that it takes quite long time at "starting e-mail services". We do not need the mail service.I need to stop it the boot process itself.
what is the file to be edited in order to do so?
Can I do it for other unrequired services as well.

Thanks....
 
Old 03-15-2012, 11:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
you can disable sendmail or postfix with "chkconfig sendmail (or postfix) off" etc.

This sounds exactly like a sendmail issue where there is no entry in /etc/hosts for the machine name (afair), that's a 4 minute hang usually, but I've not seen it for a long time and thought rhel5 used postfix by default, which wouldn't be applicable.

Ideally though, you shouldn't disable the smtp service, as it can be used for internal notifcations, but then unless you're already aware of those uses, they probably don't matter to you.
 
Old 03-15-2012, 12:26 PM   #3
gajanant
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks.
As I have done it already. I had edited the /etc/hosts file as...
192.168.1.25 pc25. since we have static IP addressing.
Also will give a try for what you suggested disabling sendmail.
 
Old 03-15-2012, 05:19 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,239

Rep: Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527Reputation: 2527
Quote:
neither are they registered with RHN.
that WILL be a big problem
RHEL needs to be registered

if not then do not use it
have the system admins install CentOS or ScientificLinux

without the required license you do NOT have access to some of the red hat documentation

so transpose this old Fedora 14 page to work on rhel 5
http://www.mjmwired.net/resources/mjm-services-f14.html
http://www.mjmwired.net/resources/mj...-services.html

most of the services will be the same but not all
the fedora 6 is close to rhel5.0
http://www.mjmwired.net/resources/mjm-services-fc6.html

Last edited by John VV; 03-15-2012 at 05:35 PM.
 
Old 03-16-2012, 02:22 AM   #5
gajanant
LQ Newbie
 
Registered: Mar 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks Chris, it worked. After disabling sendmail in boot startup, the boot time
reduced to 1.5 mts apprx from the regular 5/6 mts.

Thanks John, your links were useful too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS errors for fstab entries during boot time RHEL5 sandricky Linux - Server 3 08-05-2009 06:40 PM
maximise and minimise Patrick-Warwick Linux - Desktop 6 01-03-2009 01:18 PM
rhel5 dual boot installation- no grub at boot time. xxx_anuj_xxx Red Hat 5 12-30-2007 03:53 AM
RHEL5 Update 1 time table (not beta!) GoodOmens Linux - Enterprise 4 10-26-2007 03:25 PM
10.1 - minimise windows gone High-gain Linux - Newbie 4 06-10-2005 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration