View previous topic :: View next topic |
Author |
Message |
kestral n00b
Joined: 05 Mar 2004 Posts: 41
|
Posted: Fri Mar 26, 2004 12:02 am Post subject: Avvio Apache2 [Risolto] |
|
|
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 |
|
|
OKreZ Guru
Joined: 27 Apr 2003 Posts: 372 Location: Padova (IT)
|
Posted: Fri Mar 26, 2004 7:46 am Post subject: |
|
|
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 |
|
|
b10m Apprentice
Joined: 04 Aug 2003 Posts: 204 Location: Monza
|
Posted: Fri Mar 26, 2004 8:01 am Post subject: |
|
|
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 |
|
|
kestral n00b
Joined: 05 Mar 2004 Posts: 41
|
Posted: Fri Mar 26, 2004 10:26 am Post subject: |
|
|
Nel frattempo ho risolto il problema da solo, ho fatto:
e tutto si è risolto |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30967 Location: here
|
Posted: Fri Mar 26, 2004 10:38 am Post subject: |
|
|
Metti allora il tag [risolto] al titolo del post. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|