You are not logged in.

#1 2005-08-05 05:38:59

sysboy
Member
Registered: 2005-08-04
Posts: 40
Website

httpd no log

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

#2 2005-08-05 06:45:48

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: httpd no log

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

#3 2005-08-05 07:16:31

sysboy
Member
Registered: 2005-08-04
Posts: 40
Website

Re: httpd no log

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

#4 2005-08-05 07:46:42

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: httpd no log

Does /usr/lib/libdb-4.3.so exist?
If not, upgrade/reinstall db (pacman -Sy db).

Offline

#5 2005-08-05 17:14:17

sysboy
Member
Registered: 2005-08-04
Posts: 40
Website

Re: httpd no log

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

Board footer

Powered by FluxBB