Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Avvio Apache2 [Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
kestral
n00b
n00b


Joined: 05 Mar 2004
Posts: 41

PostPosted: Fri Mar 26, 2004 12:02 am    Post subject: Avvio Apache2 [Risolto] Reply with quote

Ho installato apache 2 però quando provo ad avviarlo ottengo il messaggio:

Code:

apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName


Provando a visitare gli indirizzi http://127.0.0.1 o http://localhost è come se il server non sia attivo e viene quindi visualizzato il relativo messaggio di errore.
Back to top
View user's profile Send private message
OKreZ
Guru
Guru


Joined: 27 Apr 2003
Posts: 372
Location: Padova (IT)

PostPosted: Fri Mar 26, 2004 7:46 am    Post subject: Reply with quote

Il server e' attivo, ma ti fa notare che non gli hai dato un nome. Edita /etc/apache2/conf/apache2.conf (non ho gentoo sotto mano, mi pare sia questo il percorso giusto) e specifica un nome scommentando ServerName (puoi anche chiamarlo "localhost" se lo utilizzi localmente).
_________________
(HCS)OKreZ
Back to top
View user's profile Send private message
b10m
Apprentice
Apprentice


Joined: 04 Aug 2003
Posts: 204
Location: Monza

PostPosted: Fri Mar 26, 2004 8:01 am    Post subject: Reply with quote

Devi:
1) decommentare la riga ServaerName in /etc/apache2/conf/apache2.conf e dare un nome alla macchina
2) nel file /etc/hosts aggiungere un ip (anche 127.0.0.1) con il nome che hai dato in apache2.conf

PS: se ti da quell'errore il servizio non si avvia anche se con lo start ti dice che e' tutto ok
Back to top
View user's profile Send private message
kestral
n00b
n00b


Joined: 05 Mar 2004
Posts: 41

PostPosted: Fri Mar 26, 2004 10:26 am    Post subject: Reply with quote

Nel frattempo ho risolto il problema da solo, ho fatto:

Code:

hostname localhost


e tutto si è risolto 8O
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30967
Location: here

PostPosted: Fri Mar 26, 2004 10:38 am    Post subject: Reply with quote

Metti allora il tag [risolto] al titolo del post.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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