+ Post New Thread
Results 1 to 4 of 4
Windows Server 2008 R2 Thread, Apache Service keeps stopping in Technical; Hi Guys, Our Apache service keeeps stopping and we have to manually restart it. Is there a utility that we ...
  1. #1

    Join Date
    Sep 2011
    Posts
    13
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Apache Service keeps stopping

    Hi Guys,

    Our Apache service keeeps stopping and we have to manually restart it. Is there a utility that we can use to force it restart instead of the stardard windows based restart feature which does not work.

    Thank you in advance,

    K

  2. #2

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,204
    Thank Post
    876
    Thanked 2,729 Times in 2,308 Posts
    Blog Entries
    11
    Rep Power
    782
    I'm guessing that it is hanging rather than crashing and terminating as the Windows feature does work and you can set the three actions to restart with the reset at one minute. You could try scheduling a task to kill the process and restart it every so often or make a VBS script that keept checking to see if it could get the site, if not triggering a kill and restart of the process.

    Have you tried updating the version of Apache or using something different like IIS with PHP installed, the web platform installer makes that easier now.
    Last edited by SYNACK; 11th October 2012 at 12:29 PM.

  3. #3

    Join Date
    Sep 2011
    Posts
    13
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by SYNACK View Post
    I'm guessing that it is hanging rather than crashing and terminating as the Windows feature does work and you can set the three actions to restart with the reset at one minute. You could try scheduling a task to kill the process and restart it every so often or make a VBS script that keept checking to see if it could get the site, if not triggering a kill and restart of the process.

    Have you tried updating the version of Apache or using something different like lighttpd fly light
    Where can I find this VBscript? will it check, similar to pinging a host to check if its alive?, if not then it will automatically restart it?

  4. #4

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,204
    Thank Post
    876
    Thanked 2,729 Times in 2,308 Posts
    Blog Entries
    11
    Rep Power
    782
    You'd need to write it but this:
    xmldom - VBScript and loadXML: Invalid at the top level of the document. How to fix it? - Stack Overflow

    plus this

    windows - How to terminate process using VBScript - Stack Overflow

    plus

    Question: How do I stop / start service in VBScript? | ITNinja

    those three bits stuck together should do what you want

    If you're lucky someone on here may have time to glue it all together.

SHARE:
+ Post New Thread

Similar Threads

  1. Win7 print spooler service keeps stopping
    By Allieso in forum Windows 7
    Replies: 5
    Last Post: 24th March 2011, 10:18 AM
  2. Database server service on Smoothwall Network Guardian keeps stopping
    By Fonz_Valo in forum Internet Related/Filtering/Firewall
    Replies: 5
    Last Post: 9th December 2009, 01:14 PM
  3. computer browser service keeps stopping
    By Leonafj in forum Windows Server 2000/2003
    Replies: 5
    Last Post: 20th March 2009, 10:02 AM
  4. PXE service keeps on dropping!!!
    By Athlona in forum O/S Deployment
    Replies: 3
    Last Post: 2nd December 2008, 06:40 PM
  5. The Tomcat Apache Service
    By indiegirl in forum ICT KS3 SATS Tests
    Replies: 8
    Last Post: 21st June 2006, 11:19 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •