Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


force apache reload config file without restart

Posted on 2009-02-11
Medium Priority
Last Modified: 2012-05-06
Is there anyway to force apache reload config file eg.  virtual host file, without restaring the service.
Thank you
Question by:danafire
LVL 29

Accepted Solution

fosiul01 earned 800 total points
ID: 23612376
if you make any change of apache conf you wil have to restart

either service httpd restart  which is full apache restart

another one is just apache daemon  restart by apactl command

LVL 27

Assisted Solution

caterham_www earned 600 total points
ID: 23612381

Assisted Solution

ht-docs earned 600 total points
ID: 23612396
Maybe graceful restart could help?
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

LVL 29

Expert Comment

ID: 23612424
suppose if you ssl certificate installed which needs password to put

so if you restart service httpd restart [ redhat]
you will have to provide the password for ssl certificate

but if you do this

apachectl restart

you dont have to provide the password for ssl, it will just restart the apache  


Author Comment

ID: 23613427
i do a graceful restart and have a error :(

(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted.  : make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs

Expert Comment

ID: 23614153
Use netstat to find out which program uses port 80

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month10 days, left to enroll

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question