Salve lista, ho appena installato la F18, ammetto che dall'inizio si vede l'ottimo lavoro svolto. Però come al solito, ecco che mi ritrovo i primi problemi del caso....
Ho appena installato apache e non riesco ad avviare il servizio. I comandi che ho lanciato sono:
# yum install httpd
L'installazione va tutto ok ma quando avvio il servizo mi da il seguente errore
#service httpd start Redirecting to /bin/systemctl start httpd.service Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -n' for details.
Come consigliato dal messaggio ho fatto system status ed ecco l'output:
[root@Destiny daniele]# systemctl status httpd.service httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled) Active: failed (Result: exit-code) since Wed, 2013-01-16 01:39:17 CET; 45s ago Process: 2323 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=0/SUCCESS) Process: 2314 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/httpd.service
Jan 16 01:38:47 Destiny httpd[2314]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:38:47 Destiny httpd[2314]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name...message Jan 16 01:39:07 Destiny systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Jan 16 01:39:17 Destiny httpd[2323]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:39:17 Destiny httpd[2323]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name...message Jan 16 01:39:17 Destiny httpd[2323]: httpd (no pid file) not running Jan 16 01:39:17 Destiny systemd[1]: Failed to start The Apache HTTP Server. Jan 16 01:39:17 Destiny systemd[1]: Unit httpd.service entered failed state
Mentre l'output di journalctl:
[root@Destiny daniele]# journalctl -n -- Logs begin at Wed, 2013-01-16 01:30:29 CET, end at Wed, 2013-01-16 01:39:17 CET. -- Jan 16 01:38:26 Destiny dbus[591]: [system] Successfully activated service 'org.freedesktop.PackageKit' Jan 16 01:38:37 Destiny systemd[1]: Starting The Apache HTTP Server... Jan 16 01:38:47 Destiny httpd[2314]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:38:47 Destiny httpd[2314]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 12 Jan 16 01:39:07 Destiny systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Jan 16 01:39:17 Destiny httpd[2323]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:39:17 Destiny httpd[2323]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 12 Jan 16 01:39:17 Destiny httpd[2323]: httpd (no pid file) not running Jan 16 01:39:17 Destiny systemd[1]: Failed to start The Apache HTTP Server. Jan 16 01:39:17 Destiny systemd[1]: Unit httpd.service entered failed state [root@Destiny daniele]#
Purtroppo devo ammettere che questi log nn li comprendo molto bene, perciò nn riesco a capire qual'è il problema. Perciò eccomi a chiedervi....che devo fare??? :D
Grazie in anticipo
buondi Daniele,
dovresti commentare il file http.conf in maniera tale da mettere il demone httpd in ascolto su una porta (sia 80, sia specificsta da te) e un nome di dominio (che puo' essere anche localhost)
se non erro, anche se ora non ho un laptop davanti, deci cercare la dicitura ServerName
fatto cio', restarti il servizio fammi sapere, grazie in anticipo On Jan 16, 2013 1:51 AM, "Daniele Nasuti" daniele.nasuti@gmail.com wrote:
Salve lista, ho appena installato la F18, ammetto che dall'inizio si vede l'ottimo lavoro svolto. Però come al solito, ecco che mi ritrovo i primi problemi del caso....
Ho appena installato apache e non riesco ad avviare il servizio. I comandi che ho lanciato sono:
# yum install httpd
L'installazione va tutto ok ma quando avvio il servizo mi da il seguente errore
#service httpd start Redirecting to /bin/systemctl start httpd.service Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -n' for details.
Come consigliato dal messaggio ho fatto system status ed ecco l'output:
[root@Destiny daniele]# systemctl status httpd.service httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled) Active: failed (Result: exit-code) since Wed, 2013-01-16 01:39:17 CET; 45s ago Process: 2323 ExecStop=/usr/sbin/httpd $OPTIONS -k graceful-stop (code=exited, status=0/SUCCESS) Process: 2314 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/httpd.service
Jan 16 01:38:47 Destiny httpd[2314]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:38:47 Destiny httpd[2314]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name...message Jan 16 01:39:07 Destiny systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Jan 16 01:39:17 Destiny httpd[2323]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:39:17 Destiny httpd[2323]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name...message Jan 16 01:39:17 Destiny httpd[2323]: httpd (no pid file) not running Jan 16 01:39:17 Destiny systemd[1]: Failed to start The Apache HTTP Server. Jan 16 01:39:17 Destiny systemd[1]: Unit httpd.service entered failed state
Mentre l'output di journalctl:
[root@Destiny daniele]# journalctl -n -- Logs begin at Wed, 2013-01-16 01:30:29 CET, end at Wed, 2013-01-16 01:39:17 CET. -- Jan 16 01:38:26 Destiny dbus[591]: [system] Successfully activated service 'org.freedesktop.PackageKit' Jan 16 01:38:37 Destiny systemd[1]: Starting The Apache HTTP Server... Jan 16 01:38:47 Destiny httpd[2314]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:38:47 Destiny httpd[2314]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 12 Jan 16 01:39:07 Destiny systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Jan 16 01:39:17 Destiny httpd[2323]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:39:17 Destiny httpd[2323]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 12 Jan 16 01:39:17 Destiny httpd[2323]: httpd (no pid file) not running Jan 16 01:39:17 Destiny systemd[1]: Failed to start The Apache HTTP Server. Jan 16 01:39:17 Destiny systemd[1]: Unit httpd.service entered failed state [root@Destiny daniele]#
Purtroppo devo ammettere che questi log nn li comprendo molto bene, perciò nn riesco a capire qual'è il problema. Perciò eccomi a chiedervi....che devo fare??? :D
Grazie in anticipo
it-users mailing list it-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/it-users
Buongiorno Paolo, ho cercato il campo ServerName, era commentato, e ora ho scritto 'localhost:80', inoltre il campo listen è settato sulla 80... purtroppo il servizio ancora nn decide ad avviarsi.
Saluti Daniele
On Wednesday, January 16, 2013 12:25:14 PM Daniele Nasuti wrote:
Buongiorno Paolo, ho cercato il campo ServerName, era commentato, e ora ho scritto 'localhost:80', inoltre il campo listen è settato sulla 80... purtroppo il servizio ancora nn decide ad avviarsi.
mi nopasti il tuo http.conf attuale che vorrei vederlo?
Saluti Daniele _______________________________________________ it-users mailing list it-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/it-users
Localhost secco non è un fqdn. Prova a specificare per la tua macchina un fqdn tipo mioserver.miodominio inventa tu... Il giorno 16/gen/2013 12:25, "Daniele Nasuti" daniele.nasuti@gmail.com ha scritto:
Buongiorno Paolo, ho cercato il campo ServerName, era commentato, e ora ho scritto 'localhost:80', inoltre il campo listen è settato sulla 80... purtroppo il servizio ancora nn decide ad avviarsi.
Saluti Daniele ______________________________**_________________ it-users mailing list it-users@lists.fedoraproject.**org it-users@lists.fedoraproject.org https://admin.fedoraproject.**org/mailman/listinfo/it-usershttps://admin.fedoraproject.org/mailman/listinfo/it-users
Il giorno mer, 16/01/2013 alle 17.19 +0100, Daniele Nasuti ha scritto:
Il 16/01/2013 13:56, Francesco Tombolini ha scritto:
Localhost secco non è un fqdn. Prova a specificare per la tua macchina un fqdn tipo mioserver.miodominio inventa tu...
fqdn?! .... scusatemi nn so che significa
acronimo di Fully Qualified Domain Name
http://it.wikipedia.org/wiki/FQDN
it-users mailing list it-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/it-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 01/16/2013 01:50 AM, Daniele Nasuti wrote:
Salve lista, ho appena installato la F18, ammetto che dall'inizio si vede l'ottimo lavoro svolto. Però come al solito, ecco che mi ritrovo i primi problemi del caso....
Ho appena installato apache e non riesco ad avviare il servizio. I comandi che ho lanciato sono:
# yum install httpd
L'installazione va tutto ok ma quando avvio il servizo mi da il seguente errore
#service httpd start Redirecting to /bin/systemctl start httpd.service Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -n' for details.
In Fedora 18, il solo a gestire i servizi è il comando 'systemctl'; anche l'estensione .service non più utile.
Leggi: https://fedoraproject.org/wiki/Systemd/it
- -- Antonio Trande "Fedora Ambassador" "Fedora italian translation group" "Blogger"
mail: mailto:sagitter@fedoraproject.org Homepage: http://www.fedora-os.org Sip Address : sip:sagitter AT ekiga.net Jabber :sagitter AT jabber.org GPG Key: D400D6C4
On Wed, Jan 16, 2013 at 1:50 AM, Daniele Nasuti daniele.nasuti@gmail.com wrote:
Jan 16 01:38:37 Destiny systemd[1]: Starting The Apache HTTP Server... Jan 16 01:38:47 Destiny httpd[2314]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:38:47 Destiny httpd[2314]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 12
Che il server non abbia un nome è normale quando si usa un hostname che non è un nome completo di dominio, ma questo 'using 12' è sospetto.
Per caso hai qualcosa di strano in /etc/hosts, tipo una linea
Destiny 12
???
Il 16/01/2013 15:47, Gianluca Sforna ha scritto:
On Wed, Jan 16, 2013 at 1:50 AM, Daniele Nasuti daniele.nasuti@gmail.com wrote:
Jan 16 01:38:37 Destiny systemd[1]: Starting The Apache HTTP Server... Jan 16 01:38:47 Destiny httpd[2314]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:38:47 Destiny httpd[2314]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 12
Che il server non abbia un nome è normale quando si usa un hostname che non è un nome completo di dominio, ma questo 'using 12' è sospetto.
Per caso hai qualcosa di strano in /etc/hosts, tipo una linea
Destiny 12
???
Il mio file /etc/hosts è:
[daniele@Destiny etc]$ cat hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 [daniele@Destiny etc]$
ciao Daniele,
ho preso visione del tuo file host indicato nella mail e del file httpd.conf
On Wednesday, January 16, 2013 05:21:58 PM Daniele Nasuti wrote:
Il 16/01/2013 15:47, Gianluca Sforna ha scritto:
On Wed, Jan 16, 2013 at 1:50 AM, Daniele Nasuti daniele.nasuti@gmail.com wrote: Jan 16 01:38:37 Destiny systemd[1]: Starting The Apache HTTP Server... Jan 16 01:38:47 Destiny httpd[2314]: AH00557: httpd: apr_sockaddr_info_get() failed for Destiny Jan 16 01:38:47 Destiny httpd[2314]: AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 12 Che il server non abbia un nome è normale quando si usa un hostname che non è un nome completo di dominio, ma questo 'using 12' è sospetto.
Per caso hai qualcosa di strano in /etc/hosts, tipo una linea
Destiny 12
??? Il mio file /etc/hosts è:
[daniele@Destiny etc]$ cat hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 [daniele@Destiny etc]$
facciamo così:
se la macchina ha un indirizzo IP statico sul file /etc/hosts scrivi:
IP hostname 192.168.1.100 brontolo
se la macchina non ha un indirizzo IP statico non commentare il file sopra indicato
per quanto riguarda il file httpd.conf, prova così:
Listen 80 modificalo con
Listen 0.0.0.0:80 (o porta che vorresti)
su ServerName inserisci:
- indirizzo IPstatico:porta (qualora utilizzassi un IP statico) se segui l'esempio 192.168.1.100:80
- 0.0.0.0:80 (qualora fossi in dhcp)
salva le modifiche e restarta il demone, fammi sapere come va
Ciao Paolo, ho fatto le modifiche che mi hai consigliato
facciamo così:
se la macchina ha un indirizzo IP statico sul file /etc/hosts scrivi:
IP hostname
192.168.1.100 brontolo
se la macchina non ha un indirizzo IP statico non commentare il file sopra indicato
per quanto riguarda il file httpd.conf, prova così:
Listen 80 modificalo con
Listen 0.0.0.0:80 (o porta che vorresti)
su ServerName inserisci:
-indirizzo IPstatico:porta (qualora utilizzassi un IP statico)
se segui l'esempio 192.168.1.100:80
- 0.0.0.0:80 (qualora fossi in dhcp)
salva le modifiche e restarta il demone,
fammi sapere come va
Ho settato la listen e il ServerName con 0.0.0.0:80 Purtroppo da ancora il medesimo errore.
Ti dico pure che nel timore che poteva esser qualche programma che dava conflitto, stamattina ho riformattato tutto e ora su questa macchina c'è solo thunderbird e apache ....Possibile che nessun'altro ha riscontrato il mio stesso problema?! :| Fantozzi me fa un baffo!!! ahaha (meglio riderci su :) )
2013/1/18 Daniele Nasuti daniele.nasuti@gmail.com:
Ti dico pure che nel timore che poteva esser qualche programma che dava conflitto, stamattina ho riformattato tutto e ora su questa macchina c'è solo thunderbird e apache ....Possibile che nessun'altro ha riscontrato il mio stesso problema?! :|
In effetti io no. Ho appena installato httpd su una macchina F18, e 'sudo systemctl start httpd' viene eseguito senza problemi
ciao Gianluca,
On Friday, January 18, 2013 10:03:06 AM Gianluca Sforna wrote:
2013/1/18 Daniele Nasuti daniele.nasuti@gmail.com:
Ti dico pure che nel timore che poteva esser qualche programma che dava conflitto, stamattina ho riformattato tutto e ora su questa macchina c'è solo thunderbird e apache ....Possibile che nessun'altro ha riscontrato il mio stesso problema?! :|
In effetti io no. Ho appena installato httpd su una macchina F18, e 'sudo systemctl start httpd' viene eseguito senza problemi
hai per caso modificato qualche file di conf oppure si è avviato al primo colpo?
Il giorno 19 gennaio 2013 09:31, Paolo De Michele paolo@paolodemichele.itha scritto:
ciao Gianluca,
On Friday, January 18, 2013 10:03:06 AM Gianluca Sforna wrote:
2013/1/18 Daniele Nasuti daniele.nasuti@gmail.com:
Ti dico pure che nel timore che poteva esser qualche programma che dava conflitto, stamattina ho riformattato tutto e ora su questa macchina
c'è
solo thunderbird e apache ....Possibile che nessun'altro ha
riscontrato
il mio stesso problema?! :|
In effetti io no. Ho appena installato httpd su una macchina F18, e 'sudo systemctl start httpd' viene eseguito senza problemi
hai per caso modificato qualche file di conf oppure si è avviato al primo colpo?
A me funziona normalmente su 3 macchine diverse, senza alcuna modifica. Ricordo che Fedora 18 ha Apache 2.4, per cui i file di configurazione salvati dalla versione 2.2 non funzioneranno.
2013/1/19 Daniele Nasuti daniele.nasuti@gmail.com:
L'errore mi compare appena installato,con il file conf originale.
Prova
httpd -t ti dovrebbe restituire 'Syntax OK' se i files di configurazione sono a posto
l'altra cosa da controllare è se c'è qualche messaggio di errore in /var/log/httpd/error_log
it-users@lists.fedoraproject.org