how to restart apache server with out shatdown?

Answers were Sorted based on User's Feedback



how to restart apache server with out shatdown?..

Answer / mahesh

servcie httpd restart

Is This Answer Correct ?    48 Yes 7 No

how to restart apache server with out shatdown?..

Answer / satish kumar

service httpd reload;

use this command;
because when we use restart then first server stop and then
starts the service;

Is This Answer Correct ?    23 Yes 5 No

how to restart apache server with out shatdown?..

Answer / vishal rajput

/etc/init.d/httpd restart

Is This Answer Correct ?    15 Yes 3 No

how to restart apache server with out shatdown?..

Answer / lakkimsetti86

using "gracefull" command we can do

Is This Answer Correct ?    29 Yes 18 No

how to restart apache server with out shatdown?..

Answer / arnab

service httpd reload

Is This Answer Correct ?    9 Yes 1 No

how to restart apache server with out shatdown?..

Answer / nikhil korde

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

how to restart apache server with out shatdown?..

Answer / vector

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 1 No

how to restart apache server with out shatdown?..

Answer / sg

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 3 No

Post New Answer

More Linux Commands Interview Questions

Is a command a full sentence?

0 Answers  


when zombie process fully cleared?

4 Answers   HP,


How does mkdir work in linux?

0 Answers  


How do I set permission to run in linux?

0 Answers  


What is SFC command?

0 Answers  


What is vnc?

0 Answers  


What is the command to remove Lvm ,Pv and vg

12 Answers   Tech Mahindra, TNS,


what command would you use to find the hostname of the server if yo ony have the ip address?

10 Answers  


How do you do nslookup?

0 Answers  


Explain shift command of linux?

0 Answers  


If the programmer wishes to execute an instruction at the specified time. Which command is used?

0 Answers  


Why bash is used in linux?

0 Answers  


Categories