Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache2 not really starting [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
legit
Apprentice
Apprentice


Joined: 04 Jan 2006
Posts: 216
Location: Denver, CO

PostPosted: Sat Jan 26, 2008 4:11 am    Post subject: apache2 not really starting [SOLVED] Reply with quote

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
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Sat Jan 26, 2008 4:21 am    Post subject: Reply with quote

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
View user's profile Send private message
legit
Apprentice
Apprentice


Joined: 04 Jan 2006
Posts: 216
Location: Denver, CO

PostPosted: Sat Jan 26, 2008 4:26 am    Post subject: Reply with quote

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
View user's profile Send private message
phajdan.jr
Retired Dev
Retired Dev


Joined: 23 Mar 2006
Posts: 1777
Location: Poland

PostPosted: Sat Jan 26, 2008 9:16 am    Post subject: Reply with quote

Look at your /etc/hosts file and make sure your hostname appears there correctly (see also hosts man page etc).
Back to top
View user's profile Send private message
legit
Apprentice
Apprentice


Joined: 04 Jan 2006
Posts: 216
Location: Denver, CO

PostPosted: Sat Jan 26, 2008 3:55 pm    Post subject: Reply with quote

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
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