Home > Uncategorized > The Apache2.2 service terminated with service-specific error 1 (0x1).

The Apache2.2 service terminated with service-specific error 1 (0x1).

I was trying to install Apache on a machine that already has a running version of IIS.

It fails to start with "The Apache2.2 service terminated with service-specific error 1 (0x1)." in the event log.

To get around this, edit ApacheConfHttpd.conf

Change Listen 80 to Listen 8080
Then comment out the line #LoadModule ssl_module modules/mod_ssl.so with a hash at the start,

then it starts!

Advertisements
Categories: Uncategorized
  1. Peter Kosenko
    November 2, 2010 at 1:39 am

    Wish it were so simple. I did both things and the service still did not start.

    • December 8, 2011 at 8:55 pm

      Note.. I got this when my log dir specified didn’t exist. I use different folders for logs in different virtual hosts defined. If you’re doing this, check to be sure you made your log dirs!

  2. April 4, 2011 at 10:32 pm

    Same with me.. done the changes, still the service won’t start

  3. Matt
    April 18, 2011 at 10:14 am

    Yep, Thanks, Worked for me, Using xampp 1.7.4

  4. June 22, 2011 at 8:06 am

    WOW! Worked at first attempt! Thank you very much…

  5. vavachat
    August 28, 2011 at 7:45 pm

    After changing port value, it worked successfully for me.

  6. January 2, 2012 at 7:38 pm

    Thanks!
    The moment I commented out LoadModule ssl_module modules/mod_ssl.so (by adding a # at the start), Apache started.

  7. January 2, 2012 at 7:41 pm

    Thanks!
    The moment I commented LoadModule ssl_module modules/mod_ssl.so (by adding a # at the start), I could start Apache2.

  8. February 3, 2012 at 6:47 am

    Thanks! worked for me. (XAMPP 1.7.3)

  9. Mark
    February 11, 2012 at 12:32 am

    It worked for me. I had changed the port, but missed the SSL. Thanks! (XAMPP 1.7.3).

  10. April 13, 2012 at 8:56 pm

    Oh boy! Why commenting the SSL Module could permit the Apache to start? The Amazing Misteries of Computers strikes back.
    I am already running Apache on port 9000, while IIS 6 is at 80, and adding the hash allowed me to restart Apache 2.2 (XAMPP 1.7.7) on Windows Server.

  11. November 2, 2012 at 2:36 pm

    Great!! Thanks 🙂

  12. girish
    January 28, 2013 at 9:32 am

    Great !! That worked for me!! Thanks.

    • Nilesh
      February 13, 2013 at 5:22 am

      My wapserver problem has been solved. i was getting below error in System event viewer.
      “The wampapache service terminated with service-specific error 1 (0x1)”

      Solution–

      Right click on wamp try icon.
      Goto “Apache” menu and then select httpd.conf to edit.
      Replace port 80 with any other port to you require.
      e.g. Change code line “Listen 80” to “Listen 82”
      e.g. Change code line “ServerName localhost:80” to “ServerName localhost:82”

  13. AnandKH
    January 15, 2014 at 9:22 am

    start the apache from command prompt. It will exactly tell you the line number which is causing problem.

    for me it was a module that was commented out.
    after including that file , it started working for me.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: