View previous topic :: View next topic |
Author |
Message |
wildleaf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Oct 2004 Posts: 71
|
Posted: Thu Oct 28, 2004 3:48 pm Post subject: Apache won't start at boot, but started using script -solved |
|
|
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??
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 |
|
![](templates/gentoo/images/spacer.gif) |
m.b.j. Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 12 Sep 2003 Posts: 407 Location: Germany (Essen)
|
Posted: Thu Oct 28, 2004 3:53 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
wildleaf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Oct 2004 Posts: 71
|
Posted: Thu Oct 28, 2004 4:00 pm Post subject: |
|
|
* 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 |
|
![](templates/gentoo/images/spacer.gif) |
wildleaf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Oct 2004 Posts: 71
|
Posted: Thu Oct 28, 2004 4:16 pm Post subject: Solved |
|
|
OK. I solved the problem.
cat 192.168.0.20 $(hostname) >>/etc/hosts
I wonder why i worked before? ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
m.b.j. Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 12 Sep 2003 Posts: 407 Location: Germany (Essen)
|
Posted: Thu Oct 28, 2004 10:34 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|