LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-19-2011, 05:19 AM   #1
togitoon
Member
 
Registered: Jul 2011
Location: Istanbul
Distribution: CentOS 6
Posts: 30

Rep: Reputation: Disabled
Question about service configurations |?|


Hi everyone,

i am using centos 5.6 and i am configuring dns mail web ...etc services on it. My question is ;

I heard about a command that allows apply new configuration without restarting the service.

What is the command and is it a good idea to apply new setup without restart or do i suppose to restart service when i make change.

Thanks for the help.
 
Old 07-19-2011, 05:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
the service? What service?? If you mean Apache, you can use "apachectl graceful", in general you can HUP a daemon which *should* make it reread config files "kill -HUP 12345" where 12345 is the pid.
 
1 members found this post helpful.
Old 07-19-2011, 06:18 AM   #3
togitoon
Member
 
Registered: Jul 2011
Location: Istanbul
Distribution: CentOS 6
Posts: 30

Original Poster
Rep: Reputation: Disabled
I asked for general but especially opennms because it takes long time to restart it.
 
Old 07-19-2011, 06:24 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
well there is often no "general". OpenNMS is a fat ugly java app, you need to restart it really.
 
1 members found this post helpful.
Old 07-19-2011, 06:47 AM   #5
togitoon
Member
 
Registered: Jul 2011
Location: Istanbul
Distribution: CentOS 6
Posts: 30

Original Poster
Rep: Reputation: Disabled
OK. i got the idea thanks for the help.
 
  


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
Question about service GentooNewb Linux - Newbie 1 11-15-2007 08:15 PM
Telnet service question.. brown myeong Linux - Software 1 03-23-2007 12:39 PM
Question about 64-bit CPUs/motherboards and memory configurations Nylex General 9 04-18-2006 01:19 AM
Question about /etc/service bladehaze Linux - Newbie 7 09-15-2005 09:11 PM
small question, service hanxuerui Linux - Newbie 5 04-04-2003 05:24 PM

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

All times are GMT -5. The time now is 01:31 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