httpd Error fix (file doesn't exist then invalid syntex)
I came across where httpd would not work saying invalid file. I spent two days trying to fix this. I finally have it fully working so for those that gave up on linux or just had to find another fix, here is the steps I took.
I am running PCLinuxOS on a 3.2 Ghz single core running 2 Gigs of ram.
Palace Server Version 4.5.1
Linux is still being used today for Palace despite the lack of support. I just did a crash course in learning linux and one reason is because you can run so much more on it using the same if not fewer resources than windows.
httpd seems to be broken as stated in usr/local/palace/bin/httpd
I downloaded and installed httpd-2.2.11.tar.gz from the apache site.
h t t p://httpd.apache.org/download.cgi
After installing it gave me a folder usr/local/apache2/bin
In that folder was httpd
I copied that to usr/local/palace/bin After renaming the origional httpd to httpd.or
then I had to go to usr/local/palace/conf/httpd-conf and remove the very first line of server type.
The second line, Port has to be changed to Listen
As of apache 2.0 it only supports privateserver so they removed that syntax from apache. So anything designed to run on an earlier apache install will have that error. They also changed Port to Listen so with those two changes, you will no longer get an invalid syntax 'ServerType' error.
|