1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

websrvmng: Service httpd failed to gracefully restart

Discussion in 'Plesk for Linux - 8.x and Older' started by franklaval, May 10, 2005.

  1. franklaval

    franklaval Guest

    0
     
    websrvmng: Service httpd failed to gracefully restart


    Cant restart Httpd ??

    PLesk 7.5.2 ES3
    PLease help
     
  2. jshanley

    jshanley Guest

    0
     
    and what does:

    /usr/local/psa/apache/bin/apachectl start

    .. say? (or wherever it is on ES3)
     
  3. franklaval

    franklaval Guest

    0
     
    no such files or directory
     
  4. franklaval

    franklaval Guest

    0
     
    /etc/init.d/httpd restart
    Stopping httpd: [FAILED]
    Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
    no listening sockets available, shutting down
    Unable to open logs!
     
  5. jshanley

    jshanley Guest

    0
     
    Apache is half-running..

    Do this a few times:

    /usr/local/psa/apache/bin/apachectl stop

    ... then start it back up:

    /usr/local/psa/apache/bin/apachectl start
     
  6. franklaval

    franklaval Guest

    0
     
    There is no apache directory in my psa folder do you no where it is ??
     
  7. jshanley

    jshanley Guest

    0
     
    # find / -name "apachectl"

    -J
     
  8. franklaval

    franklaval Guest

    0
     
    (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
    no listening sockets available, shutting down
    Unable to open logs!


    when a try to start it??
     
  9. franklaval

    franklaval Guest

    0
     
    and when i do

    /usr/sbin/apachectl stop
    httpd (no pid file) not running



    but i tryed 5 times and still nothing
     
  10. editor

    editor Guest

    0
     
    No, wrong folder, it's in

    /usr/sbin/

    so,

    # /usr/sbin/apachectl stop
    # /usr/sbin/apachectl start
     
  11. jshanley

    jshanley Guest

    0
     
    I run FreeBSD, so I didn't know where it was for Plesk on Linux. heh. Well, good to know.
     
  12. franklaval

    franklaval Guest

    0
     
    Yes i no now but i ave this error



    /usr/sbin/apachectl start


    (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
    no listening sockets available, shutting down
    Unable to open logs!
     
  13. jshanley

    jshanley Guest

    0
     
    Just reboot your machine. I would say just manually kill any leftover apache processes, but given you are not familiar with the commandline, I suggest rebooting the box instead. It should fix the issue.
     
  14. franklaval

    franklaval Guest

    0
     
    OK thanks


    but worked to


    login su in server

    #fuser 443/tcp
    443/tcp: xxxx yyyy zzzz <- proceses using 443

    #kill -9 xxxx yyyy xxxx
    #service httpd start
     
  15. timtrott

    timtrott Guest

    0
     
    It worked like a charm for me also. Thanks for the great info!

    I'm not sure what caused it but that solved it.
     
  16. jackercrack

    jackercrack Guest

    0
     
    Hi.
    I recently had the same issue and a reboot fixed it.

    Could someone please shed some light on what the message means? What may be causing it...and what can be done to prevent it in the future?

    Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
    no listening sockets available, shutting down
    Unable to open logs!

    Thanks in advance.
     
  17. jshanley

    jshanley Guest

    0
     
    One of two things:

    1) You're trying to start plesk as a non-root user.

    2) Plesk (or maybe just Apache) is already running, and you're trying to start it again.
     
  18. jackercrack

    jackercrack Guest

    0
     
    After a reboot I get the same error message when I do 'apachectl --restart' or 'apachectl --stop' as root.

    This started happening with no changes to anything on the server.

    I understand what you are saying...but it seems in this case it doesn't apply. Could there be anything else causing this?
     
  19. mrbister

    mrbister Guest

    0
     
    Did a find, but nothing showed up, could you tell me what may be wrong with plesk/apache since it's not there?
    httpd component also shows as not installed.

    Br,
    MrBister
     
  20. acidbox

    acidbox Guest

    0
     
    I get this error every once in awhile myself.

    Code:
    up2date httpd-devel
    service httpd restart
    
    That should work.

    The issue stems from the fact that apache hangs in a 'running' state, so a graceful start/restart won't work because apache is already bound to the socket. Doing a forceful stop/start (restart) will unbind apache from the port and re-bind it.

    Seems to work for me anyhow.
     
Loading...