You are not logged in.

#1 2008-12-20 00:49:47

captncript
Member
Registered: 2008-11-26
Posts: 13

HTTP Daemon is failing

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

#2 2008-12-20 01:23:46

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,357
Website

Re: HTTP Daemon is failing

Any output that could help us along here?

Offline

#3 2008-12-20 02:42:02

captncript
Member
Registered: 2008-11-26
Posts: 13

Re: HTTP Daemon is failing

unfortunately it simply says Starting HTTP Daemon                 [Failed]

Offline

#4 2008-12-20 06:27:23

Sjoden
Member
From: WA
Registered: 2007-08-16
Posts: 380
Website

Re: HTTP Daemon is failing

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

#5 2008-12-20 06:36:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,357
Website

Re: HTTP Daemon is failing

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

#6 2008-12-23 20:42:31

captncript
Member
Registered: 2008-11-26
Posts: 13

Re: HTTP Daemon is failing

could a bricked router be the problem?

Last edited by captncript (2008-12-23 20:53:52)

Offline

#7 2008-12-24 00:59:32

chris256
Member
From: US - Birmingham, AL
Registered: 2008-07-01
Posts: 13

Re: HTTP Daemon is failing

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

#8 2008-12-24 03:37:08

captncript
Member
Registered: 2008-11-26
Posts: 13

Re: HTTP Daemon is failing

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

#9 2008-12-25 00:10:00

chris256
Member
From: US - Birmingham, AL
Registered: 2008-07-01
Posts: 13

Re: HTTP Daemon is failing

That's weird captncript.  Maybe you could try reinstalling the db package?

Offline

#10 2008-12-25 23:54:15

captncript
Member
Registered: 2008-11-26
Posts: 13

Re: HTTP Daemon is failing

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

#11 2009-02-01 19:14:28

zewsk
Member
Registered: 2009-02-01
Posts: 3

Re: HTTP Daemon is failing

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

Board footer

Powered by FluxBB