View previous topic :: View next topic |
Author |
Message |
walidjaouadi n00b

Joined: 22 Feb 2008 Posts: 18
|
Posted: Mon Jul 07, 2008 5:54 pm Post subject: Inaccessible Apache2 |
|
|
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 |
|
 |
poly_poly-man Advocate


Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Mon Jul 07, 2008 8:25 pm Post subject: |
|
|
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 |
|
 |
walidjaouadi n00b

Joined: 22 Feb 2008 Posts: 18
|
Posted: Tue Jul 08, 2008 7:11 am Post subject: re |
|
|
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 |
|
 |
hostile_ n00b


Joined: 03 Jan 2007 Posts: 12
|
Posted: Tue Jul 08, 2008 12:39 pm Post subject: |
|
|
What does /var/log/messages or /var/log/apache2/error_log tell you?
Best regards,
M. Gutierrez _________________ no overclocking, no problems  |
|
Back to top |
|
 |
walidjaouadi n00b

Joined: 22 Feb 2008 Posts: 18
|
Posted: Tue Jul 08, 2008 12:45 pm Post subject: re |
|
|
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 |
|
 |
poly_poly-man Advocate


Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Tue Jul 08, 2008 12:50 pm Post subject: |
|
|
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 |
|
 |
|