From: Cecil Y. Jr. <cj...@yo...> - 2017-04-29 14:13:44
|
How about /var/log/messages? There must be a log file indicating why it's failing. On 04/29/2017 06:39 AM, Teknoskillz wrote: > / var / log / apache2 > > access.log , error.log and other_vhosts_access.log > > all are 0 bytes in file size. > > > I found /etc/php/5.6/fpm/php.ini > and took a peek at it to see if it defines a path to the error log, but > could not find anything. > I didnt touch that file so I guess its ok. > > > == > Steve > > > > > ----- Original Message ----- > From: "Cecil Yother, Jr." <cj...@yo...> > To: "Teknoskillz" <tek...@co...>; "Webmin users list" > <web...@li...> > Sent: Friday, April 28, 2017 11:25 PM > Subject: Re: [webmin-l] Apache2 down after package update > > >> Post the last 20 lines of the apache log file. >> >> On 04/28/2017 06:12 PM, Teknoskillz wrote: >>> 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 >>> >>> >>> ------------------------------------------------------------------------------ >>> Check out the vibrant tech community on one of the world's most >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >>> - >>> Forwarded by the Webmin mailing list at >>> web...@li... >>> To remove yourself from this list, go to >>> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> -- >> > > -------------------------------------------------------------------------------- > > >> Post the last 20 lines of the apache log file. >> >> >> On 04/28/2017 06:12 PM, Teknoskillz wrote: >> >> 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 >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> - >> Forwarded by the Webmin mailing list at >> web...@li... >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> >> >> -- >> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list -- |