LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-29-2015, 06:25 AM   #1
vonedaddy
Member
 
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185

Rep: Reputation: 17
Odd question about restarting services on RHEL6


This is an odd question, but it is bothering me.

I have a RHEL 6 server I just installed, and configured DHCP. When I start the dhcpd service I get the following:

[root@nswcpddhcp dhcp]# service dhcpd restart
Shutting down dhcpd: dhcpd
Starting dhcpd: dhcpd


But I expect to see:

[root@nswcpddhcp dhcp]# service dhcpd restart
Shutting down dhcpd: dhcpd [OK]
Starting dhcpd: dhcpd [OK]

It is impossible to know when it fails to restart since it never shows the [FAILED] or [OK] status.

Does anyone have any idea why this is not showing? Just in case it matters, I am logged into the system via ssh.

To be clear, the service is starting and functioning fine. I am just wondering why [OK] is not showing when restarting the service.
 
Old 01-29-2015, 06:39 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,475

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by vonedaddy View Post
I am just wondering why [OK] is not showing when restarting the service.
Most likely explanation is that whoever wrote the init.d script didn't bother echoing "[OK]" when it starts.
 
Old 01-30-2015, 07:03 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Definitely worth reading the script indicated - should be just bash, so you can modify if reqd.
Of course your changes may be wiped on the next update, so keep a backup
 
Old 01-31-2015, 11:48 AM   #4
savona
Member
 
Registered: Mar 2011
Location: Bellmawr, NJ
Distribution: Red Hat / Fedora
Posts: 215

Rep: Reputation: 66
Change the BOOTUP variable in /etc/sysconfig/init from verbose to color.

# color => new RH6.0 bootup
# verbose => old-style bootup
# anything else => new style bootup without ANSI colors or positioning
BOOTUP=color
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
restarting services? g_srinivas Linux - General 1 10-31-2006 02:40 PM
Restarting remote services possible? Swakoo Linux - Networking 2 09-22-2006 04:42 AM
Restarting network services Bull Terrier Slackware 2 12-15-2003 09:19 AM
Restarting services... Norrin Linux - Newbie 2 09-03-2003 09:04 PM
restarting services juanb Linux - General 1 01-02-2003 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:03 AM.

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