Visualizzazione dei risultati da 1 a 4 su 4

Discussione: Avvio Apache

  1. #1

    Avvio Apache

    pasqualino:/usr/local/apache2/bin# ./apachectl 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
    ieri, mi funzionava tutto correttamente, ora mi da quest'errore.
    Facendo:
    pasqualino:/usr/local/apache2/bin# netstat -lt | grep www
    tcp 0 0 *:www *:* LISTEN
    mi dice che apache è avviato...e infatti se provo ad andare a http://127.0.0.1/ funziona...solo che non mi visualizza le pagine dell'htdocs ma mi visualizza una pagina che dice:

    If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page.
    Seeing this instead of the website you expected?

    This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions. The Apache Software Foundation, which wrote the web server software this site administrator is using, has nothing to do with maintaining this site and cannot help resolve configuration issues.

    The Apache documentation has been included with this distribution.

    You are free to use the image below on an Apache-powered web server. Thanks for using Apache!
    Perchè? cosa devo fare?

  2. #2
    Hai impostato il parametro DirectoryIndex in httpd.conf?

  3. #3
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    2,894
    Riguarda httpd.conf

    # apachectl stop
    # apachectl start


  4. #4
    Utente di HTML.it L'avatar di flygigi
    Registrato dal
    Sep 2000
    Messaggi
    259
    controlla il file di configurazione di apache ....
    e già che ci sei controlla i log, magari quelli di sicurezza ...
    di solito /var/log/secure
    ma anche /var/log/messages
    e i log di apache
    tanto per capire da dove è nato il problema visto che dici che ieri funzionava tutto,

    poi facci sapere
    There's no place like /home
    ----------------------------------------
    On contrary of popular belief, Unix *IS* user friendly: it just appears to be selective who it is friend with
    ----------------------------------------
    Real hackers don't die, their TTL expires

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.