You are not logged in.
I'm kinda new I freshly installed arch linux updated with -Syu and -Syy put nothing else on and installed -Sy apache php mysql without it mention problems I went through the very simple steps included in the lamp guide and my HTTP Daemon still fails when I try to start it. Any help will be appreciated if you need anything else to help me just let me know i'm not sure what information you need.
Offline
Offline
unfortunately it simply says Starting HTTP Daemon [Failed]
Offline
Well, maybe post your Apache conf. I can't look at my old apache conf, but the default server path(?), where the comment says where it looks for the conf, and places logs etc, the default path says /var/http, Arch's default is /srv/http, so you should change it to match that. Thats what was causing my Apache install to fail without writing anything to the log file.
Zack
Offline
This is the command being run in the background when you start the daemon
/usr/sbin/apachectl start
Try running that and looking at the output.
Offline
could a bricked router be the problem?
Last edited by captncript (2008-12-23 20:53:52)
Offline
This started happening to me too today. I'm not yet sure what it is. This is the output from /usr/sbin/apachectl start
httpd: ../sysdeps/posix/getaddrinfo.c:1465: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed.
/usr/sbin/apachectl: line 78: 2933 Aborted $HTTPD -k $ARGV
My router is not bricked as I am posting this message through its Internet connection.
Last edited by chris256 (2008-12-24 01:00:54)
Offline
i recieved the message /usr/sbin/httpd: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory
Offline
That's weird captncript. Maybe you could try reinstalling the db package?
Offline
this seems odd my computers seem to have a problem with libdb 4.7.so they can't find them i'm not sure if there is a place to get this file but it would greatly aid me thanks for your help
Last edited by captncript (2009-01-16 03:14:34)
Offline
I know this is two months late, but... I had the same problem after an AMP install and it dawned on me that I was trying to start apache as an unprivileged user, after I looked at the error message from running >/usr/sbin/apachectl start. The message started with "(13) Permission denied...". So I tried it as >sudo /user/sbin/apachectl start and bingo. It worked. Try running it as root or sudo it.
zewsk
ps. first post, using Arch for a month now and loving it! Thought I would try to give back something, however small.
Offline