You are not logged in.
Pages: 1
ok iv set up httpd ... and when i try to start it I get [fail]
now I know that the problem will be stated in an error log but there is no error log .. the config file points to /var/log/httpd/error_log -- but there isnt anything in there ... I tried creatin a file called error_log with VI but httpd didnt write to it ,. does anyone have a solution ??/
Offline
instead of running /etc/rc.d/httpd, try running /usr/sbin/httpd in a console so you can see any error messages that it would print out normally. the rc.d scripts don't relay any output, so as to keep things neat on the boot screen.
Offline
the output I got when entering /usr/sbin/httpd was
error while loading shared libraries: libdb-4.3.so: cannot open
shared object file:No such file or directory
Offline
Does /usr/lib/libdb-4.3.so exist?
If not, upgrade/reinstall db (pacman -Sy db).
Offline
ok so I got the lib -- and apache starts up fine -- I can access my server from the internet but .. the server wants to think the html docs are in /usr/htdocs ---
when you go to the adress for the internet you get
404 not found
The requested URL / was not found on this server
but the error log says
File does not exist : /usr/htdocs
yet where I set up virtualhost I set the document root to /home/httpd/html
Offline
Pages: 1