ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
   
 
Categories  >>  Software  >>  Operating Systems  >>  Linux  >>  Linux Commands
 
 


 

 
 Linux Commands interview questions  Linux Commands Interview Questions
 Linux Threads interview questions  Linux Threads Interview Questions
 Linux IPC interview questions  Linux IPC Interview Questions
 Linux Socket Programming interview questions  Linux Socket Programming Interview Questions
 Linux System Calls interview questions  Linux System Calls Interview Questions
 Linux General interview questions  Linux General Interview Questions
 Linux AllOther interview questions  Linux AllOther Interview Questions
Question
how to restart apache server with out shatdown?
 Question Submitted By :: Lakkimsetti86
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to restart apache server with out shatdown?
Answer
# 1
using "gracefull" command we can do 
Is This Answer Correct ?    28 Yes 18 No
Lakkimsetti86
 
  Re: how to restart apache server with out shatdown?
Answer
# 2
servcie httpd restart 
Is This Answer Correct ?    40 Yes 7 No
Mahesh
 
 
 
  Re: how to restart apache server with out shatdown?
Answer
# 3
service httpd reload;

use this command;
because when we use restart then first server stop and then
starts the service;
 
Is This Answer Correct ?    20 Yes 4 No
Satish Kumar
 
  Re: how to restart apache server with out shatdown?
Answer
# 4
/etc/init.d/httpd restart 
Is This Answer Correct ?    12 Yes 3 No
Vishal Rajput
 
  Re: how to restart apache server with out shatdown?
Answer
# 5
service httpd reload 
Is This Answer Correct ?    8 Yes 1 No
Arnab
 
  Re: how to restart apache server with out shatdown?
Answer
# 6
First check out the PID (process ID) of the httpd process.
Then issue a kill -HUP on the process ID. For ex: if the
process ID is 587, then the command would be

kill -HUP 587
 
Is This Answer Correct ?    2 Yes 1 No
Sg
 
  Re: how to restart apache server with out shatdown?
Answer
# 7
whenever you want restart Apache web server without shutdown
Apache web server that time you use the commands service
httpd reload ,if you type the commands service httpd restart
that time frist shut down the service then startup the
service but if you type commands service httpd reload, only
read the configuration file and startup the service
 
Is This Answer Correct ?    7 Yes 0 No
Nikhil Korde
 
  Re: how to restart apache server with out shatdown?
Answer
# 8
to restart apache. open the terminal and type the command
# sudo /etc/ini.d/apache2 start (to start apache)
# sudo /etc/init.d/apache2 restart (to restart apache)
# sudo /etc/init.d/apache2 stop (to stop apache)
 
Is This Answer Correct ?    1 Yes 0 No
Vector
 

 
 
 
Other Linux Commands Interview Questions
 
  Question Asked @ Answers
 
What is the command to see the installed rpm's in the linux system.  4
When is it better to use the more command rather than cat command?  3
what is work of dns HCL3
how to create SAMBA server in fedora 9 linux ? Wipro6
what is "ls* " is run options are 1) x 2).x 3) hidden 4) no disply tell exact answer. Google6
What is the command to see all the processes are working in the last 30 days?  8
Difference between swap partition and swap file? Wipro4
what is the last file executed during the boot process?  2
what is the command to check network interfaces in our system? how to set etho to 10 full duplex speed?  1
1). What are the situation in process is duplicate is linux box.? 2) Give me 5 situation to kill a process? Perot-Systems1
How you will uncompress the file? Linux7
What is chainloading?  4
 
For more Linux Commands Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2012  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com