• 09-09-2006, 04:03:36
    #1
    Whm den Software Apache update den apache yi güncelliyordum bir satırda hata verdi ve apache düştü , daha sonra geri gelmedi.
    /etc/rc.d/init.d/httpd start
    yaptığımda
    Syntax error on line 2 of /usr/local/apache/conf/httpd.conf:
    Invalid command 'Alias', perhaps mis-spelled or defined by a module not included in the server configuration
    /etc/rc.d/init.d/httpd start: httpd could not be started

    hatasını alıyorum. WHM den restartladığımda
    httpd has failed, please contact the sysadmin.

    hatasını veriyor , yani bütün hesaplar kapalı durumda. Güncellemeye başlamadan önce conf un yedeğini de almamıştım Formatsız kurtarma şansımız var mı?
  • 09-09-2006, 08:45:02
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    ilk 10 satırını kopyalarmısını buraya httpd.conf'un
  • 09-09-2006, 09:19:15
    #3
    Misafir
    formatsız kurtarma şansın var, osmanın dediği gibi ilk 10 satırı yazki neyi alias etmiş sistemde bulamıyor görelim
  • 09-09-2006, 11:24:05
    #4
    nano /usr/local/apache/conf/httpd.conf komutundan sonra:
    ##
    Alias /bandwidth/ /usr/local/bandmin/htdocs/
    ## httpd.conf -- Apache HTTP server configuration file
    ##

    #
    # Based upon the NCSA server configuration files originally by Rob McCool.
    #
    # This is the main Apache server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/> for detailed information about
    # the directives.
  • 09-09-2006, 11:30:39
    #5
    Misafir
    Alias /bandwidth/ /usr/local/bandmin/htdocs/


    bu satırın en başına # koyup denermisin

    #Alias /bandwidth/ /usr/local/bandmin/htdocs/
  • 09-09-2006, 12:53:02
    #6
    Teşekkür ederim , sorun halloldu fakat şimdi de php tabanlı siteleri açmak istediğimde anasayfayı www.siteadi.com şeklinde yazdığımda index.php dosyasının açılması gerekirken ya
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@siteadi.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.

    Apache/1.3.37 Server at www.siteadi.net Port 80

    şeklinde bir uyarı alıyorum ya da index.php sayfasını birlikte aç ve sabit diske kaydet seçenekleri geliyor. Türü: application/x-httpd-php ve Nereden kısmında web sayfasının adresi var. Bunu nasıl halledebilirim ?
  • 09-09-2006, 12:58:52
    #7
    Misafir
    şimdi, apacheyi cpanelden tekrar derlermisin (kurarmısın), çünkü epeyce karışmış senin işler php desteği filan gitmiş hayret . Tabiki öncelikle httpd.conf una yedek al. En sağlamı yeniden kurmaktır bu apache meretini.
  • 09-09-2006, 14:01:42
    #8
    Apache yi tekrar kurduğumdahttpd could not be started hatası alıyorum , Alias satırının başına # yi ekleyince o hata kalkıyor , php uzantılı dosyaları tanıyıp açmıyor
  • 09-09-2006, 14:58:44
    #9
    Üyeliği durduruldu
    apache conf ile işin yok. bandmin'deki sorunu araştır yanlış yoldasın