Dün kiraladıgım sunucuya bugün gd gibi gerekli modulleri kurmak amacıyla WHM->Apache Update kısmından eski sunucumda kullandıgım modulleri seçerek "Start Build" butonuna tıkladım.Tüm işlemler bittiginde en son Apache başlatılamadı hatası verdi.
SSH'dan restart komutu verdim ve httpd.conf taki hata veren satırların başına # işareti koyarak düzeltmeyi denedim olmadı

Tekrar Apache Update bölümüne girerek "Reset Apache Config to Default (last resort)" seçenegini işaretleyip start build komutunu uyguladım bu sefer aşagıda kırmızı olarak belirttiğim hata komutlarını almaya başladım.
Bu arada yaptıgım tüm işlemlerde aldıgım hata komutları :
Kod:
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 9 of /usr/local/apache/conf/php.conf:
Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: apr_table_set
/etc/init.d/httpd restart: httpd could not be started
[root@server apache]#
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 9 of /usr/local/apache/conf/php.conf:
Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: apr_table_set
/etc/init.d/httpd restart: httpd could not be started
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 1087 of /usr/local/apache/conf/httpd.conf:
Unrecognized LogFormat directive %I
/etc/init.d/httpd restart: httpd could not be started
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 1087 of /usr/local/apache/conf/httpd.conf:
Unrecognized LogFormat directive %I
/etc/init.d/httpd restart: httpd could not be started
[root@server apache]#
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 1087 of /usr/local/apache/conf/httpd.conf:
Unrecognized LogFormat directive %I
/etc/init.d/httpd restart: httpd could not be started
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 1089 of /usr/local/apache/conf/httpd.conf:
Unrecognized LogFormat directive %I
/etc/init.d/httpd restart: httpd could not be started
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 1089 of /usr/local/apache/conf/httpd.conf:
Unrecognized LogFormat directive %I
/etc/init.d/httpd restart: httpd could not be started
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 1110 of /usr/local/apache/conf/httpd.conf:
Unrecognized LogFormat directive %I
/etc/init.d/httpd restart: httpd could not be started
[root@server apache]# nano /usr/local/apache/conf/httpd.conf
[root@server apache]# nano /usr/local/apache/conf/httpd.conf
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 1111 of /usr/local/apache/conf/httpd.conf:
Invalid command '%I', perhaps mis-spelled or defined by a module not included in the server configuration
/etc/init.d/httpd restart: httpd could not be started
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 1111 of /usr/local/apache/conf/httpd.conf:
Invalid command '%I', perhaps mis-spelled or defined by a module not included in the server configuration
/etc/init.d/httpd restart: httpd could not be started
Hiç birisi olmayınca eski sunucumun httpd.conf dosyasında ip düzenlemesi yaparak tekrar yükleyip restart ettim bu sefer çalıştı.Fakat eski httpd.conf 91kb iken yeni dosyanın 127kb olmasından şüphelenerek tekrar eskisini denedim bu sefer aşagıdaki gibi bir uyarı aldım ama çalıştı.
Kod:
[root@server apache]# service httpd restart
/etc/init.d/httpd restart: configuration broken, ignoring restart
/etc/init.d/httpd restart: (run 'apachectl configtest' for details)
Konu hakkında fikirlerinizi alabilirmiyim (İlk başta hata veren config dosyası daha sonra nasıl çalışmaya başlar,ileride hata alma oranım nedir,ne yapabilirim)
