View previous topic :: View next topic |
Author |
Message |
legit Apprentice
Joined: 04 Jan 2006 Posts: 216 Location: Denver, CO
|
Posted: Sat Jan 26, 2008 4:11 am Post subject: apache2 not really starting [SOLVED] |
|
|
Hello,
I've emerged apache and seemingly got it running. I put in:
/etc/init.d/apache2 start
it returns:
* Starting apache2 ...
But i can't access the server by typing in my ip, so i try to stop apache and get:
* WARNING: apache2 has not yet been started.
any ideas on whats going on?
thanks,
- legit
Last edited by legit on Sat Jan 26, 2008 3:56 pm; edited 1 time in total |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Sat Jan 26, 2008 4:21 am Post subject: |
|
|
You might want to take a look at /var/log/apache2/error_log _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
legit Apprentice
Joined: 04 Jan 2006 Posts: 216 Location: Denver, CO
|
Posted: Sat Jan 26, 2008 4:26 am Post subject: |
|
|
well it looks like it is unable to find the address for my hostname (maelstrom) I get this error:
Code: |
[Sat Jan 26 04:12:10 2008] [alert] (EAI 2)Name or service not known: mod_unique_
id: unable to find IPv4 address of "maelstrom"
Configuration Failed
|
I have no idea what to do to fix it though, any ideas? |
|
Back to top |
|
|
phajdan.jr Retired Dev
Joined: 23 Mar 2006 Posts: 1777 Location: Poland
|
Posted: Sat Jan 26, 2008 9:16 am Post subject: |
|
|
Look at your /etc/hosts file and make sure your hostname appears there correctly (see also hosts man page etc). |
|
Back to top |
|
|
legit Apprentice
Joined: 04 Jan 2006 Posts: 216 Location: Denver, CO
|
Posted: Sat Jan 26, 2008 3:55 pm Post subject: |
|
|
Yep, that did it, just hadn't added it to it yet because I have two network interfaces. added it in and it worked fine. Thanks!
- legit |
|
Back to top |
|
|
|