Aşağıdaki hatayı alıyorsanız ki bir bug bu cPanel/WHM sunucularda meydana gelmekte sadece .
Alıntı:
Apache start hatası Syntax error on line 215 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/mod_bwlimited.so into server: Sep 30 07:06:14 web httpd: Syntax error on line 233 of /usr/local/apache/conf/httpd.conf:
Sep 30 07:06:15 web httpd: Cannot load /usr/local/apache/libexec/mod_bwlimited.so into server: /usr/local/apache/libexec/mod_bwlimited.so: cannot open shared object file: No such file or directory
Sep 30 07:06:15 web rc: Starting httpd: failed
Sep 30 07:47:48 web httpd: Syntax error on line 234 of /usr/local/apache/conf/httpd.conf:
Sep 30 07:47:48 web httpd: Cannot load /usr/local/apache/libexec/mod_log_bytes.so into server: /usr/local/apache/libexec/mod_log_bytes.so: cannot open shared object file: No such file or directory
Sep 30 07:47:48 web rc: Starting httpd: failed
Invalid command ‘BytesLog’, perhaps mis-spelled or defined by a module not included in the server configuration |
hemen şu komutları uyguluyoruz
cd /usr/local/cpanel/apache
/usr/local/apache/bin/apxs -iac mod_log_bytes.c
/usr/local/apache/bin/apxs -iac mod_bwlimited.c
/usr/local/apache/bin/apxs -iac mod_bandwidth.c
Bu işlemler tamamlanınca apache ye bir restart atalım
service httpd restart
tabiki gene hata verecek daha işimiz bitmedi
Alıntı:
Aug 13 12:28:54 srv3 httpd: Syntax error on line 213 of /usr/local/apache/conf/httpd.conf:
Aug 13 12:28:54 srv3 httpd: /etc/rc3.d/S85httpd start: httpd could not be started
Aug 13 12:28:54 srv3 httpd: Cannot load /usr/local/apache/libexec/mod_auth_passthrough.so into server: /usr/local/apache/libexec/mod_auth_passthrough.so: cannot open shared object file: No such file or directory
Aug 13 12:28:54 srv3 rc: Starting httpd: failed
|
bu hatanın çözümü ise söyle
komutu yazalım
pico /usr/local/apache/conf/httpd.conf
ctrl +w komutu ile passthrough kelimesini aratalım
bulacağımız satır şudur
LoadModule auth_passthrough_module libexec/mod_auth_passthrough.so
başına # bundan koyuyoruz
sonra
ctrl +w komutu ile passthrough kelimesini tekrar aratıyoruz.
bulacağımız satır şudur
AddModule mod_auth_passthrough.c
başına bunun da hemen # koyuyoruz ve
ctrl + x sonra
y ve
enter tuşuna basıp kaydediyoruz.
service httpd restart komutu ile apache ye bir restart atıyoruz ve gülümsüyoruz
