Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Inaccessible Apache2
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
walidjaouadi
n00b
n00b


Joined: 22 Feb 2008
Posts: 18

PostPosted: Mon Jul 07, 2008 5:54 pm    Post subject: Inaccessible Apache2 Reply with quote

Hi,
I've installed apache 2 on my gentoo and when i try to access to server page http://localhost ican't. I've made an nmap to look for open ports but i didn't find the http port opened. what can i do
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Mon Jul 07, 2008 8:25 pm    Post subject: Reply with quote

what's the output of /etc/init.d/apache status

(might not be apache - might be apache2 or httpd...)

poly-p man
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
Back to top
View user's profile Send private message
walidjaouadi
n00b
n00b


Joined: 22 Feb 2008
Posts: 18

PostPosted: Tue Jul 08, 2008 7:11 am    Post subject: re Reply with quote

in the /etc/init.d/ i have apache 2 when i make status i have the following result
# /etc/init.d/apache2 status
* Caching service dependencies ...
/etc/conf.d/apache2: line 75: LoadModule: command not found [ ok ]
/etc/conf.d/apache2: line 75: LoadModule: command not found
* status: started
Back to top
View user's profile Send private message
hostile_
n00b
n00b


Joined: 03 Jan 2007
Posts: 12

PostPosted: Tue Jul 08, 2008 12:39 pm    Post subject: Reply with quote

What does /var/log/messages or /var/log/apache2/error_log tell you?

Best regards,
M. Gutierrez
_________________
no overclocking, no problems ;)
Back to top
View user's profile Send private message
walidjaouadi
n00b
n00b


Joined: 22 Feb 2008
Posts: 18

PostPosted: Tue Jul 08, 2008 12:45 pm    Post subject: re Reply with quote

this what i get from /var/log/apache2/error_log
[Mon Jul 07 17:50:15 2008] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "SRV-name"
Configuration Failed
Back to top
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Tue Jul 08, 2008 12:50 pm    Post subject: Reply with quote

looks like you messed up your config files... have you followed the gentoo guides (there are great guides on the wiki)?

poly-p man
_________________
iVBORw0KGgoAAAANSUhEUgAAA

avatar: new version of logo - see topic 838248. Potentially still a WiP.
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