Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why Can't I start apache server?

Status
Not open for further replies.

ryan99

MIS
Sep 3, 2002
11
0
0
US
After I make install the apache, I run ./apachectl start,
error raised:
Syntax error on line 383 of /export/develop/apache/conf/httpd.conf:
Expected </Directory> but saw </Directory>
./apachectl start: httpd could not be started

But the httpd.conf is the default, and I can't see any diffrent between Expected </Directory> and saw </Directory>
.
What's the meaning of the message?How to solve it?

Thanks
 
Only way to fix that is to start at line 383 of the httpd.conf file, then if everything is correct there, check the rest of httpd for problems.You can fire up pico and in pico type ctrl + w, then ctrl + t to enter the line number.

It is probably just a typo in the httpd.conf file.


Hope this helps!!!


Rninja
 
But the httpd.conf is Auto_created when installing.and I find that now the apachectl can not explain the word </Directory>.
In fact I have installed the apache successfully on Sloaris2.6, Now I wanna install it on IBM AIX and the error raised.
What's the real reason?

Thanks


 
Perhaps you don't have the apropriate module installed into the apache server.
How did you install the apache server and what version?



Rninja
 
Thanks
I have solved the problem.
The Error is due to the C compiler in the AIX4 .I download the patch package and fixed the C compiler. Now It's Ok.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top