debian wheezy to jessie apache start\cloudflare issue -
i apt-get dist-upgraded debian wheezy jessie , kept config files lamp stack , i'm getting following error when attempting start apache: (i'm totally stumped here. why apache\the cloudflare module not load?)
root@county:~# /etc/init.d/apache2 restart [....] restarting apache2 (via systemctl): apache2.servicejob apache2.service failed. see 'systemctl status apache2.service' , 'journalctl -xn' details. failed!
root@county:~# systemctl status apache2.service -l ● apache2.service - lsb: apache2 web server loaded: loaded (/etc/init.d/apache2) active: failed (result: exit-code) since thu 2015-07-16 20:58:34 edt; 21s ago process: 2166 execstart=/etc/init.d/apache2 start (code=exited, status=1/failure) jul 16 20:58:34 county systemd[1]: starting lsb: apache2 web server... jul 16 20:58:34 county apache2[2166]: starting web server: apache2 failed! jul 16 20:58:34 county apache2[2166]: apache2 configtest failed. ... (warning). jul 16 20:58:34 county apache2[2166]: output of config test was: jul 16 20:58:34 county apache2[2166]: apache2: syntax error on line 244 of /etc/apache2/apache2.conf: syntax error on line 1 of /etc/apache2/mods-enabled/cloudflare.load: cannot load /usr/lib/apache2/modules/mod_cloudflare.so server: /usr/lib/apache2/modules/mod_cloudflare.so: undefined symbol: ap_log_rerror jul 16 20:58:34 county apache2[2166]: action 'configtest' failed. jul 16 20:58:34 county apache2[2166]: apache error log may have more information. jul 16 20:58:34 county systemd[1]: apache2.service: control process exited, code=exited status=1 jul 16 20:58:34 county systemd[1]: failed start lsb: apache2 web server. jul 16 20:58:34 county systemd[1]: unit apache2.service entered failed state.
root@county:~# journalctl -xn -- logs begin @ thu 2015-07-16 20:51:26 edt, end @ thu 2015-07-16 20:59:02 edt. -- jul 16 20:59:01 county cron[2208]: pam_unix(cron:session): session closed user root jul 16 20:59:01 county cron[2206]: pam_unix(cron:session): session closed user root jul 16 20:59:01 county cron[2209]: pam_unix(cron:session): session closed user root jul 16 20:59:01 county cron[2211]: pam_unix(cron:session): session closed user root jul 16 20:59:01 county cron[2203]: pam_unix(cron:session): session closed user root jul 16 20:59:01 county cron[2201]: pam_unix(cron:session): session closed user root jul 16 20:59:01 county cron[2207]: pam_unix(cron:session): session closed user root jul 16 20:59:02 county cron[2202]: pam_unix(cron:session): session closed user root jul 16 20:59:02 county cron[2200]: pam_unix(cron:session): session closed user root jul 16 20:59:02 county cron[2204]: pam_unix(cron:session): session closed user root
cloudflare.load contains following:
loadmodule cloudflare_module /usr/lib/apache2/modules/mod_cloudflare.so
mod_cloudflare.so https://github.com/cloudflare/mod_cloudflare
update: issue far more cloudflare.
jul 16 22:27:41 county apache2[1674]: apache2: syntax error on line 265 of /etc/apache2/apache2.conf: not open configuration...irectory jul 16 22:27:41 county apache2[1674]: action 'configtest' failed. jul 16 22:27:41 county apache2[1674]: apache2: syntax error on line 265 of /etc/apache2/apache2.conf: not open configuration file /etc/apache2/conf.d/: no such file or directory jul 16 22:29:18 county apache2[1963]: ah00526: syntax error on line 89 of /etc/apache2/apache2.conf: jul 16 22:29:18 county apache2[1963]: invalid command 'lockfile', perhaps misspelled or defined module not included in server configuration
my apache2.conf (i can't version number [its latest version] after upgrading wheezy jessie because error message regarding config):
do modify /etc/apt/sources.list.d/cloudflare-main.list replacing wheezy word jessie? if not change file, have package build old stable , not current stable debian version. so, put jessie instead of wheezy on /etc/apt/sources.list.d/cloudflare-main.list, run
apt-get update
and then
apt-get upgrade
Comments
Post a Comment