Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache won't start at boot, but started using script -solved
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
wildleaf
n00b
n00b


Joined: 12 Oct 2004
Posts: 71

PostPosted: Thu Oct 28, 2004 3:48 pm    Post subject: Apache won't start at boot, but started using script -solved Reply with quote

After I upgrade my portage to 2.0.51, the apache server won't start any longer at startup. But if I use /etc/init.d/apache restart, it works!
Anybody knows why?? :cry:

I also noticed the domainname is changed to "unknown_doamin" when I startup. But when I check /etc/dnsdomainname, it is correct!


Last edited by wildleaf on Thu Oct 28, 2004 4:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
m.b.j.
Guru
Guru


Joined: 12 Sep 2003
Posts: 407
Location: Germany (Essen)

PostPosted: Thu Oct 28, 2004 3:53 pm    Post subject: Reply with quote

Maybe you apache depends on other init scripts, please show the error msg!
_________________
root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard
Back to top
View user's profile Send private message
wildleaf
n00b
n00b


Joined: 12 Oct 2004
Posts: 71

PostPosted: Thu Oct 28, 2004 4:00 pm    Post subject: Reply with quote

* Starting apache2.... [!!]
This is all I get from the screen...

and I got this from the error_log

Quote:

[Thu Oct 28 10:59:00 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "tasker"
Configuration Failed


Also, the machine cannot find the domainname, isn't it set in /etc/dnsdomainname??


m.b.j. wrote:
Maybe you apache depends on other init scripts, please show the error msg!
Back to top
View user's profile Send private message
wildleaf
n00b
n00b


Joined: 12 Oct 2004
Posts: 71

PostPosted: Thu Oct 28, 2004 4:16 pm    Post subject: Solved Reply with quote

OK. I solved the problem. :D

cat 192.168.0.20 $(hostname) >>/etc/hosts

I wonder why i worked before? :?
Back to top
View user's profile Send private message
m.b.j.
Guru
Guru


Joined: 12 Sep 2003
Posts: 407
Location: Germany (Essen)

PostPosted: Thu Oct 28, 2004 10:34 pm    Post subject: Reply with quote

had the same problem two weeks ago, but after etc-update (i was confused and had replaced my /etc/hosts).
_________________
root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum