httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: general/6552: Can't start Apache service.
Date Sat, 23 Sep 2000 02:58:57 GMT

In a message dated 00-09-23 01:14:10 EDT, Rajesh writes...

>  Dear Sir,
>  I haven't yet received the solution from you. Request you to mail me
>  immediately.
>  Thanks
>  Rajesh.N

You must have an old copy of ApacheCore.dll somewhere in your 

I just now downloaded a fresh copy of Win32 Apache 1.3.12
binary from Apache web site itself to a Windows NT 4.0 SP3
machine that had no prior version of Apache installed.

It installed AOK and everything is fine either running
standalone or as a Service.

If you are getting 'not found' errors for routines
in ApacheCore.dll then you must have an older version
of ApacheCore.dll hanging around and your LIBPATH
is still forcing Apache.exe to load the OLD DLL.


Go to this page...

Download this file...
apache_1_3_12_win32.exe 06-Apr-2000 14:06 3.0M 1.3.12 Win32 binary

Once it downloads... just run it.
Click through all the install screens and accept all defaults.

Change to the default Apache Win32 install dir where the
httpd.conf configuration file is located...
"c:\Program Files\Apache Group\Apache\conf\"

Edit httpd.conf and activate 'ServerName' with a valid DNS name.
( Just use 'ServerName=localhost' for a quick test of the Server ).

You can now run Apache.


Don't even try it as a Service yet.
Just execute this file with no parms...

"c:\Program Files\Apache Group\Apache\Apache.exe"

Win32 Console window appears saying...

Apache/1.3.12 (Win32) running...

Switch to any browser and execute this request...

Default Apache page appears that starts with this...

"If you can see this, it means that the installation of the 
Apache web server software on this system was successful. 
You may now add content to this directory and replace 
this page..."

This means Apache is installed OK, found all of its DLLs
and the routines it needs, and is ready for action.

If Apache didn't start or you didn't get the default page something 
is already HOSED.

Switch back to Win32 console window running Apache.
Press CTRL-C and STOP Apache.


At the command prompt in the DIR where Apache.exe is 
just type this...

Apache -i

You will see this message...

C:\Program Files\Apache Group\Apache\Apache -i
Installing the Apache service to use 
c:/program files/apache group/apache/conf/httpd.conf
The Apache service has been installed successfully.

You can now run Apache as a background service.

Click Start|Settings|Control Panel

Control Panel dialog appears.
Double-click 'Services' icon in the dialog.

'Apache' should be listed right near the top on the
left hand side in the Listbox that appears.
The 'Status' column should be blank.
The 'Startup' column should say 'Automatic'.
Highlight 'Apache' with one mouse click and then
pick the Start button.

A small CLOCK appears and it will say
'Attempting to start the Apache Service on COMPUTER_NAME'...

The hands of the clock will spin for a moment and then
the clock should disappear and now the 'Status' column
should say 'Started'.

Repeat the same test done above with your browser and 
ask for
The same 'If you can see this...' default page should
appear immediately proving that Apache is now running
as a Service.

That's all there is to it.

If you cannot duplicate the process exactly as it is
described here then something is already quite wrong.

If you are getting 'Can't find xxxxxx' messages regarding
ApacheCore.dll then you have PATH problems. Apache is
finding an older copy of ApacheCore.dll instead of the
new one and that's why it says it can't 'find' something.

Uninstall all previous copies of Apache, install 1.3.12
'clean', and you should have no problems.

Kevin Kiley
CTO, Remote Communications, Inc. - Free IETF encoding Server

View raw message