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 is free linux?

0 Answers  


What is a make target?

0 Answers  


How can I create a file with cmd?

0 Answers  


What is llvm used for?

0 Answers  


what is snmp and for what purpose we are using in linux

4 Answers  






What command should you use to check the number of files and disk space used and each user’s defined quotas?

0 Answers  


How do I check storage on linux?

0 Answers  


What is Syntax of any Linux command?

0 Answers   UGC Corporation,


How do I clear my run history?

0 Answers  


I have my default runlevel is init5 now i have configured to init 3,now i wanna run my system in init3 process without reboot the system .How will you do for this scenario?

6 Answers   Span Systems,


You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose

0 Answers  


What is a simple command?

0 Answers  


Categories