Woah, Nellie.NET!

From my simple mind to… mine…

Apache2 Windows service wouldn’t start!

leave a comment »

The Apache Windows service wouldn’t start on Windows startup. It would start at any other time. Looking in the event viewer, I found the error that Apache could not bind to the IP specified in the config file.

After some toil, the solution occurred to me in a “duh” moment.

My guess: My server’s on a wireless connection (it’s in another room from the wireless router and I didn’t want to run wires). The server picks up a dynamic IP from the DHCP server on the router. I think this happens after the wireless kicks. So when Apache attempts to start, it doesn’t have an IP and port to bind to…

Anyways, I made the IP on the server static, as it should be. The NIC retains this IP at all times, providing the proper IP for Apache to bind to.

Apache works great now.

Advertisements

Written by Nelson

March 23, 2007 at 2:24 am

Posted in Server Software

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

%d bloggers like this: