force apache reload config file without restart

Posted on 2009-02-11
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

    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

    LVL 3

    Assisted Solution

    Maybe graceful restart could help?
    LVL 29

    Expert Comment

    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

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

    Expert Comment

    Use netstat to find out which program uses port 80

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
    It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now