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

What language is clang written in?

0 Answers  


What is iptables command in linux?

0 Answers  


How do I clear terminal command history?

0 Answers  


In my linux machine, i lost /etc/passwd file and /etc/shadow file, then how can i recover it?

5 Answers   Google,


What is nbtstat command?

0 Answers  






How do find hard disk revolutions speed?

1 Answers   ACL, HP,


The head command writes the how many lines of a file to screen?

0 Answers  


What are system commands?

0 Answers  


Send me some of the commands being used in linux

5 Answers   Aurobindo, Dr Reddys, IBM, Reddy Labs,


How many types of commands are there in linux?

0 Answers  


Why is linux cpu usage so high?

0 Answers  


What is ps command in linux?

0 Answers  


Categories