From: Teknoskillz <tek...@co...> - 2017-04-29 01:12:40
|
Did the usual package updates today from Webmin, all went ok except when upgrading Apache2. There was a timeout, and the service never restarted during the upgrade process. I did a purge and remove via bash, and a reinstall , but still no go. ========================================================= Fri Apr 28 22:33:30 UTC 2017 ~# sudo apt-get --purge remove apache2 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apache2-data apache2-utils Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: apache2* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 514 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 70372 files and directories currently installed.) Removing apache2 (2.4.25-3+deb.sury.org~xenial+1) ... Purging configuration files for apache2 (2.4.25-3+deb.sury.org~xenial+1) ... dpkg: warning: while removing apache2, directory '/var/www/html' not empty so no t removed dpkg: warning: while removing apache2, directory '/etc/apache2/sites-enabled' no t empty so not removed dpkg: warning: while removing apache2, directory '/etc/apache2/conf-enabled' not empty so not removed Processing triggers for man-db (2.7.5-1) ... ~# sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done Job for apache2.service failed because the control process exited with error cod e. See "systemctl status apache2.service" and "journalctl -xe" for details. invoke-rc.d: initscript apache2, action "start" failed. ? apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Fri 2017-04-28 22 :36:45 UTC; 6ms ago Docs: man:systemd-sysv-generator(8) Process: 22561 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAIL URE) Apr 28 22:36:45 systemd[1]: apache2.service: Control pr... Apr 28 22:36:45 systemd[1]: Failed to start LSB: Apache... Apr 28 22:36:45 systemd[1]: apache2.service: Unit enter... Apr 28 22:36:45 systemd[1]: apache2.service: Failed wit... Hint: Some lines were ellipsized, use -l to show in full. insserv: warning: current start runlevel(s) (empty) of script `apache-htcachecle an' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `apache-htc acheclean' overrides LSB defaults (0 1 6). Processing triggers for systemd (229-4ubuntu17) ... Processing triggers for ureadahead (0.100.0-19) ... ====================================================================== Im not sure if its because I enabled mod_rewrite and there is a new path or something, but thats the only change thata major I did with Apache after trying to get the sites more SEO friendly recetly. There may have been 1 other module enabled, but I cant remember what it was. I went in and turned on rewrite and we are still failing. Any help or ideas out there? === Steve |