OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: Mookid77 on September 17, 2004, 02:01:37 pm
-
:Background:.
I have managed to install Apache on my C-860 running OZ 3.3.5. Yeah!
I setup my http.conf.
I changed the apachectl file with these settings
PIDFILE=/home/www/logs/httpd.pid
HTTPD='/home/www/bin/httpd'
.:Problem:.
When I try to start apachectl I get the following message
./apachectl start : httpd could not be started.
I did a search to see if I had the correct path for the files httpd.pid and httpd. I when I did a find for httpd.pid file it couldnt find it! Does it sound like it'not being created?
Mookid
-
Probably best to look in the apachectl script and either: see if you can find where the message is generated, see if the problem is obvious; or step through the script step by step (copy & paste into another terminal for example) and see where it fails and more importantly what the actual error message is.
Actually it may just be easier to edit the script directly (make a copy first though ;-) to remove the &>null or whatever it uses to get rid of the output from the commands.
Si
-
Hi Mookid,
1) the .pid file gets created when httpd starts, as a lock file, so the program is not started twice. So, no problem i f find could not find it; just make sure the path is correct and writeable
2) I think that the problem is that the httpd file is not executable; please verify execution flags for httpd:
# ls -l /.../httpd
=> verify it contains an 'x' for the user starting the script, which normally is root
HTH