Errore Apache

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
fireslack
Linux 0.x
Linux 0.x
Messaggi: 38
Iscritto il: sab 11 mar 2006, 15:02
Località: Taranto
Contatta:

Errore Apache

Messaggio da fireslack »

Quando avvio apache

Codice: Seleziona tutto

/usr/local/apache2/bin/apachectl
Ecco che errore mi appare

Codice: Seleziona tutto

httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
httpd not running, trying to start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Come risolvo questo problema?
Grazie
Ciao

Avatar utente
Bakkio2
Linux 2.x
Linux 2.x
Messaggi: 286
Iscritto il: gio 24 mar 2005, 0:00
Nome Cognome: Carlo B.
Slackware: 13.37 64
Kernel: 2.6.33.4-smp
Desktop: kde-4.4.3
Località: Villesse (GO)
Contatta:

Messaggio da Bakkio2 »

come hai configurato http.conf ?

hai messo l'ip della tua macchina nella voce listen? es:

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
#Listen 3000
#Listen 12.34.56.78:80
Listen 192.168.0.1:80


e alla voce ServerName cosa hai messo? es:
#
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
#ServerName http://www.example.com
ServerName http://www.slacky.it

fireslack
Linux 0.x
Linux 0.x
Messaggi: 38
Iscritto il: sab 11 mar 2006, 15:02
Località: Taranto
Contatta:

Messaggio da fireslack »

Problema risolto

Come si fà ha cambiare la homepage
per esempio, invece di index.html nettere index.php ?


Grazie
Ciao

Avatar utente
aschenaz
Staff
Staff
Messaggi: 4623
Iscritto il: mer 28 lug 2004, 0:00
Nome Cognome: Nino
Slackware: current
Kernel: 5.4.x
Desktop: KDE
Località: Reggio Calabria
Contatta:

Messaggio da aschenaz »

fireslack ha scritto:Problema risolto

Come si fà ha cambiare la homepage
per esempio, invece di index.html nettere index.php ?


Grazie
Ciao
Vedi la mia risposta nell'altro thread.
Ciao,
nino

Rispondi