From: Roger B.A. K. <ro...@qu...> - 2017-04-25 02:50:47
|
Can clamav be removed from a Virtualmin-running CentOS system that doesn't receive mail? |
From: Jamie C. <jca...@we...> - 2017-04-26 00:03:34
|
On 24/Apr/2017 19:31 Roger B.A. Klorese <ro...@qu...> wrote .. > Can clamav be removed from a Virtualmin-running CentOS system that > doesn't receive mail? Yes, it can - or to be simpler, you could just turn off the clamav server but keep it installed. |
From: Roger B.A. K. <ro...@qu...> - 2017-04-26 02:16:33
|
It's an issue of dueling dependencies vs other mail-related packages. Sent from my iPhone > On Apr 25, 2017, at 4:53 PM, Jamie Cameron <jca...@we...> wrote: > > On 24/Apr/2017 19:31 Roger B.A. Klorese <ro...@qu...> wrote .. >> Can clamav be removed from a Virtualmin-running CentOS system that >> doesn't receive mail? > > Yes, it can - or to be simpler, you could just turn off the clamav server > but keep it installed. > > ------------------------------------------------------------------------------ > 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 |
From: Roger B.A. K. <ro...@qu...> - 2017-04-26 20:08:56
|
See below. On 4/25/17 7:16 PM, Roger B.A. Klorese wrote: > It's an issue of dueling dependencies vs other mail-related packages. > > Sent from my iPhone > >> On Apr 25, 2017, at 4:53 PM, Jamie Cameron <jca...@we...> wrote: >> >> On 24/Apr/2017 19:31 Roger B.A. Klorese <ro...@qu...> wrote .. >>> Can clamav be removed from a Virtualmin-running CentOS system that >>> doesn't receive mail? >> Yes, it can - or to be simpler, you could just turn off the clamav server >> but keep it installed. >> More specifically: on CentOS using the repo, virtualmin-base depends on clamav. |
From: Jamie C. <jca...@we...> - 2017-04-26 22:24:06
|
Oh, right. In that case, rather than removing the package it's simpler just to disable the clamd server. On 26/Apr/2017 13:08 Roger B.A. Klorese <ro...@qu...> wrote .. > See below. > > On 4/25/17 7:16 PM, Roger B.A. Klorese wrote: > > It's an issue of dueling dependencies vs other mail-related packages. > > > > Sent from my iPhone > > > >> On Apr 25, 2017, at 4:53 PM, Jamie Cameron <jca...@we...> wrote: > >> > >> On 24/Apr/2017 19:31 Roger B.A. Klorese <ro...@qu...> wrote .. > >>> Can clamav be removed from a Virtualmin-running CentOS system that > >>> doesn't receive mail? > >> Yes, it can - or to be simpler, you could just turn off the clamav server > >> but keep it installed. > >> > > More specifically: on CentOS using the repo, virtualmin-base depends on > clamav. |
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 |
From: Cecil Y. Jr. <cj...@yo...> - 2017-04-29 03:44:05
|
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 -- |
From: Teknoskillz <tek...@co...> - 2017-04-29 13:41:51
|
/ 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 > > > -- > |
From: Teknoskillz <tek...@co...> - 2017-04-29 14:12:56
|
Did another purge and remove and reinstall and then I ran the journalctrl command and it says: ======================================================================== -- -- Unit apache2.service has failed. -- -- The result is failed. Apr 29 14:07:13 systemd[1]: apache2.service: Unit entered failed state. Apr 29 14:07:13 systemd[1]: apache2.service: Failed with result 'exit-code'. Apr 29 14:07:13 systemd[1]: apache2.service: Service hold-off time over, scheduling restart. Apr 29 14:07:13 systemd[1]: Stopped LSB: Apache2 web server. -- Subject: Unit apache2.service has finished shutting down -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit apache2.service has finished shutting down. Apr 29 14:07:13 systemd[1]: apache2.service: Start request repeated too quickly. Apr 29 14:07:13 systemd[1]: Failed to start LSB: Apache2 web server. -- Subject: Unit apache2.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit apache2.service has failed. ======================================================================== Not too sure what the "start request repeated too quickly" means. ==== Steve |
From: Teknoskillz <tek...@co...> - 2017-04-30 17:59:09
|
Thought I would try a rollback by doing: apt-get install apache2=2.4.18-2ubuntu3.1 Turns out there are dependencies missing, so someone on another list sugguested: > The missing dependencies are probably apache2-data apache2-utils . Try > "apt-get install apache2 apache2-data apache2-utils" Tried that, seems like those go in and still it tries to put in apache 2.4.25 even after its purged? Like we arent allowed to use previous Apache versions anymore? Or is maybe the auto updater locking something so the new version is always referenced? ===================================================================================== 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 The following packages will be REMOVED: apache2-data apache2-utils 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 1,203 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 70164 files and directories currently installed.) Removing apache2-data (2.4.25-3+deb.sury.org~xenial+1) ... Removing apache2-utils (2.4.25-3+deb.sury.org~xenial+1) ... Processing triggers for man-db (2.7.5-1) ... ~# apt-get install apache2 apache2-data apache2-utils Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: www-browser apache2-doc The following NEW packages will be installed: apache2 apache2-data apache2-utils 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/462 kB of archives. After this operation, 1,717 kB of additional disk space will be used. Selecting previously unselected package apache2-utils. (Reading database ... 69850 files and directories currently installed.) Preparing to unpack .../apache2-utils_2.4.25-3+deb.sury.org~xenial+1_amd64.deb . .. Unpacking apache2-utils (2.4.25-3+deb.sury.org~xenial+1) ... Selecting previously unselected package apache2-data. Preparing to unpack .../apache2-data_2.4.25-3+deb.sury.org~xenial+1_all.deb ... Unpacking apache2-data (2.4.25-3+deb.sury.org~xenial+1) ... Selecting previously unselected package apache2. Preparing to unpack .../apache2_2.4.25-3+deb.sury.org~xenial+1_amd64.deb ... Unpacking apache2 (2.4.25-3+deb.sury.org~xenial+1) ... Processing triggers for man-db (2.7.5-1) ... Processing triggers for systemd (229-4ubuntu17) ... Processing triggers for ureadahead (0.100.0-19) ... Setting up apache2-utils (2.4.25-3+deb.sury.org~xenial+1) ... Setting up apache2-data (2.4.25-3+deb.sury.org~xenial+1) ... Setting up apache2 (2.4.25-3+deb.sury.org~xenial+1) ... Enabling module mpm_event. Enabling module authz_core. Enabling module authz_host. Enabling module authn_core. Enabling module auth_basic. Enabling module access_compat. Enabling module authn_file. Enabling module authz_user. Enabling module alias. Enabling module dir. Enabling module autoindex. Enabling module env. Enabling module mime. Enabling module negotiation. Enabling module setenvif. Enabling module filter. Enabling module deflate. Enabling module status. Enabling module reqtimeout. Enabling conf charset. Enabling conf localized-error-pages. Enabling conf other-vhosts-access-log. Enabling conf security. Enabling conf serve-cgi-bin. Enabling site 000-default. 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 Sun 2017-04-30 17 :39:08 UTC; 5ms ago Docs: man:systemd-sysv-generator(8) Process: 8747 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILU RE) Apr 30 17:39:08 systemd[1]: Failed to start LSB: Apache... Apr 30 17:39:08 systemd[1]: apache2.service: Unit enter... Apr 30 17:39:08 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) ... :~# apt-get install apache2=2.4.18-2ubuntu3.1 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: apache2 : Depends: apache2-bin (= 2.4.18-2ubuntu3.1) but 2.4.25-3+deb.sury.org~ xenial+1 is to be installed ====================================================================================== |
From: Teknoskillz <tek...@co...> - 2017-05-01 18:31:20
|
What a mess this is turning out to be. It looks like apache insists on php7.x now and I cant use it, stuck with php5.6 because the sites php is using older code and developers say its not worth the time to update it to 7 compatability. I have posted to the apache lounge saying it would be neat if there was a "rollback" option so last known good configuration could be reverted to. The way things are going now, what do you have to do ? Throw away otherwise fine working websites because some php developers cant justify the time or inclination for you keeping the older stuff around? We should be able to set things up as we see fit for our own use, and not have to necessarily jump on the newer stuff, just because its "new". |
From: Andrey R. <anr...@ya...> - 2017-05-02 01:35:15
|
Greetings, Teknoskillz! > What a mess this is turning out to be. It looks like apache insists on > php7.x now Apache HTTPD don't care about PHP version. > and I cant use it, stuck with php5.6 because the sites php is using older code > and developers say > its not worth the time to update it to 7 compatability. Then these developers are idiots. > I have posted to the apache lounge saying it would be neat if there was a > "rollback" option > so last known good configuration could be reverted to. This makes very, very little sense. > The way things are going now, what do you have to do ? Throw away otherwise > fine working websites because some php developers cant justify the time or > inclination for you keeping the older stuff around? I'm using co-installable PHP versions provided by Ondřej Surý. With PHP-FPM SAPI, of course. And I'm no longer using Apache for my projects. nginx offers way better configuration options. > We should be able to set things up as we see fit for our own use, and not > have to necessarily jump on the newer > stuff, just because its "new". You can do that. You just made this worse for yourself with a lot of senseless activity that I fail to track though your messages. But I know for a fact that you can run Apache 2.4 with Apache 1.x PHP SAPI. -- With best regards, Andrey Repin Tuesday, May 2, 2017 04:19:38 Sorry for my terrible english... |
From: Andrey R. <anr...@ya...> - 2017-05-06 18:05:10
|
Greetings, Teknoskillz! Please keep list mails within the list. > I talked to a youngster I know from the gaming community and he recommended > I go with Debian and use Nginx. > I was curious if everything is configured via bash command line with that > setup or is there a gui for Nginx? I don't know how complete nginx support in Webmin, sorry. Last I recall was that Webmin/Virtualmin lacking PHP-FPM support which impedes deployment of webservers using it as a preferred way of communicating with CGI daemon. > I use the Webmin portal interface alot, as you know being I am on its > support list with you, and Webmin likes to push > Virtualmin for its web management stuff, so was wondering is it easier to > just install Debian, then install Webmin and > merely look for Nginx in the packages options or is Nginx only offered as a > free trial? nginx is open-source and free web server. There's a nginx+ commercial offer, but you would hardly need it unless you have specific needs, like streaming video and such. -- With best regards, Andrey Repin Saturday, May 6, 2017 20:58:17 Sorry for my terrible english... |
From: Andrey R. <anr...@ya...> - 2017-05-06 18:05:11
|
Greetings, Teknoskillz! > I talked to a youngster I know from the gaming community and he recommended > I go with Debian and use Nginx. On another note, I would suggest to roll out a new system with Apache and PHP and re-test your setup in a clear environment. It should work out of the box. -- With best regards, Andrey Repin Saturday, May 6, 2017 21:01:51 Sorry for my terrible english... |
From: Teknoskillz <tek...@co...> - 2017-05-21 17:01:31
|
Gave up in solving this problem, and as per other recommendations, I will be trying Nigix out soon. I notices that Webmin's built-in webserver , which is what we log into for the interface was not effected while Apache was down, which was a great feature. Since there is a movement away from apache to a degree, and I guess there is a Virtualmin module now for Nigix, would it be possible to use Webmin's built-in webserver as a backup of some sorts in the event Apache goes down? Perhaps a monitor of some sorts could be devised? Probably alot of work, but also would be nice if there was a redundancy where someone could select their primary as Apache or Nigix, and if possible use Webmins server as the last resort. I suppose Webmins http server cant do everything that Apache2 does, and some sites may not work 100%, but it sould at least help keep some sites up that are only using plain http these days. I know they are few (myself included) but when this Apache2 problem hit, I was taken out of the search engines and all http connections were refused. Just some feedback and some thoughts for development to Jamie. ----- Original Message ----- From: "Teknoskillz" <tek...@co...> To: "Webmin users list" <web...@li...> Sent: Sunday, April 30, 2017 1:58 AM Subject: Re: [webmin-l] Apache2 down after package update > > Thought I would try a rollback by doing: > > apt-get install apache2=2.4.18-2ubuntu3.1 > > Turns out there are dependencies missing, so someone on another list > sugguested: > >> The missing dependencies are probably apache2-data apache2-utils . Try >> "apt-get install apache2 apache2-data apache2-utils" > > > Tried that, seems like those go in and still it tries to put in apache > 2.4.25 even after its purged? Like we arent allowed to use previous Apache > versions anymore? Or is maybe the auto updater locking something > so the new version is always referenced? > > ===================================================================================== > 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 > The following packages will be REMOVED: > apache2-data apache2-utils > 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. > After this operation, 1,203 kB disk space will be freed. > Do you want to continue? [Y/n] y > (Reading database ... 70164 files and directories currently installed.) > Removing apache2-data (2.4.25-3+deb.sury.org~xenial+1) ... > Removing apache2-utils (2.4.25-3+deb.sury.org~xenial+1) ... > Processing triggers for man-db (2.7.5-1) ... > ~# apt-get install apache2 apache2-data apache2-utils > Reading package lists... Done > Building dependency tree > Reading state information... Done > Suggested packages: > www-browser apache2-doc > The following NEW packages will be installed: > apache2 apache2-data apache2-utils > 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. > Need to get 0 B/462 kB of archives. > After this operation, 1,717 kB of additional disk space will be used. > Selecting previously unselected package apache2-utils. > (Reading database ... 69850 files and directories currently installed.) > Preparing to unpack > .../apache2-utils_2.4.25-3+deb.sury.org~xenial+1_amd64.deb . > .. > Unpacking apache2-utils (2.4.25-3+deb.sury.org~xenial+1) ... > Selecting previously unselected package apache2-data. > Preparing to unpack > .../apache2-data_2.4.25-3+deb.sury.org~xenial+1_all.deb > ... > Unpacking apache2-data (2.4.25-3+deb.sury.org~xenial+1) ... > Selecting previously unselected package apache2. > Preparing to unpack .../apache2_2.4.25-3+deb.sury.org~xenial+1_amd64.deb > ... > Unpacking apache2 (2.4.25-3+deb.sury.org~xenial+1) ... > Processing triggers for man-db (2.7.5-1) ... > Processing triggers for systemd (229-4ubuntu17) ... > Processing triggers for ureadahead (0.100.0-19) ... > Setting up apache2-utils (2.4.25-3+deb.sury.org~xenial+1) ... > Setting up apache2-data (2.4.25-3+deb.sury.org~xenial+1) ... > Setting up apache2 (2.4.25-3+deb.sury.org~xenial+1) ... > Enabling module mpm_event. > Enabling module authz_core. > Enabling module authz_host. > Enabling module authn_core. > Enabling module auth_basic. > Enabling module access_compat. > Enabling module authn_file. > Enabling module authz_user. > Enabling module alias. > Enabling module dir. > Enabling module autoindex. > Enabling module env. > Enabling module mime. > Enabling module negotiation. > Enabling module setenvif. > Enabling module filter. > Enabling module deflate. > Enabling module status. > Enabling module reqtimeout. > Enabling conf charset. > Enabling conf localized-error-pages. > Enabling conf other-vhosts-access-log. > Enabling conf security. > Enabling conf serve-cgi-bin. > Enabling site 000-default. > 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 Sun > 2017-04-30 17 > :39:08 UTC; 5ms ago > Docs: man:systemd-sysv-generator(8) > Process: 8747 ExecStart=/etc/init.d/apache2 start (code=exited, > status=1/FAILU > RE) > > Apr 30 17:39:08 systemd[1]: Failed to start LSB: Apache... > Apr 30 17:39:08 systemd[1]: apache2.service: Unit enter... > Apr 30 17:39:08 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) ... > :~# apt-get install apache2=2.4.18-2ubuntu3.1 > Reading package lists... Done > Building dependency tree > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > apache2 : Depends: apache2-bin (= 2.4.18-2ubuntu3.1) but > 2.4.25-3+deb.sury.org~ > xenial+1 is to be installed > ====================================================================================== > > > ------------------------------------------------------------------------------ > 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 |
From: Jamie C. <jca...@we...> - 2017-05-21 17:40:05
|
Using Webmin's own webserver as a backup isn't really possible - it is very simple and specialized (it exists only to run the Webmin UI), and so lacks most of the features of Apache. For example, it can't even run PHP scripts! On 21/May/2017 09:59 Teknoskillz <tek...@co...> wrote .. > Gave up in solving this problem, and as per other recommendations, I will be > trying Nigix out soon. > > I notices that Webmin's built-in webserver , which is what we log into for > the interface was not effected while Apache was down, > which was a great feature. > > Since there is a movement away from apache to a degree, and I guess there is > a Virtualmin module now for Nigix, would it be possible to use > Webmin's built-in webserver as a backup of some sorts in the event Apache > goes down? Perhaps a monitor of some sorts could be devised? > > Probably alot of work, but also would be nice if there was a redundancy > where someone could select their primary as Apache or Nigix, and > if possible use Webmins server as the last resort. > > I suppose Webmins http server cant do everything that Apache2 does, and some > sites may not work 100%, but it sould at least help keep some sites > up that are only using plain http these days. I know they are few (myself > included) but when this Apache2 problem hit, I was taken out of the search > engines > and all http connections were refused. > > Just some feedback and some thoughts for development to Jamie. > > > ----- Original Message ----- > From: "Teknoskillz" <tek...@co...> > To: "Webmin users list" <web...@li...> > Sent: Sunday, April 30, 2017 1:58 AM > Subject: Re: [webmin-l] Apache2 down after package update > > > > > > Thought I would try a rollback by doing: > > > > apt-get install apache2=2.4.18-2ubuntu3.1 > > > > Turns out there are dependencies missing, so someone on another list > > sugguested: > > > >> The missing dependencies are probably apache2-data apache2-utils . Try > >> "apt-get install apache2 apache2-data apache2-utils" > > > > > > Tried that, seems like those go in and still it tries to put in apache > > 2.4.25 even after its purged? Like we arent allowed to use previous Apache > > versions anymore? Or is maybe the auto updater locking something > > so the new version is always referenced? > > > > ===================================================================================== > > 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 > > The following packages will be REMOVED: > > apache2-data apache2-utils > > 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. > > After this operation, 1,203 kB disk space will be freed. > > Do you want to continue? [Y/n] y > > (Reading database ... 70164 files and directories currently installed.) > > Removing apache2-data (2.4.25-3+deb.sury.org~xenial+1) ... > > Removing apache2-utils (2.4.25-3+deb.sury.org~xenial+1) ... > > Processing triggers for man-db (2.7.5-1) ... > > ~# apt-get install apache2 apache2-data apache2-utils > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > Suggested packages: > > www-browser apache2-doc > > The following NEW packages will be installed: > > apache2 apache2-data apache2-utils > > 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. > > Need to get 0 B/462 kB of archives. > > After this operation, 1,717 kB of additional disk space will be used. > > Selecting previously unselected package apache2-utils. > > (Reading database ... 69850 files and directories currently installed.) > > Preparing to unpack > > .../apache2-utils_2.4.25-3+deb.sury.org~xenial+1_amd64.deb . > > .. > > Unpacking apache2-utils (2.4.25-3+deb.sury.org~xenial+1) ... > > Selecting previously unselected package apache2-data. > > Preparing to unpack > > .../apache2-data_2.4.25-3+deb.sury.org~xenial+1_all.deb > > ... > > Unpacking apache2-data (2.4.25-3+deb.sury.org~xenial+1) ... > > Selecting previously unselected package apache2. > > Preparing to unpack .../apache2_2.4.25-3+deb.sury.org~xenial+1_amd64.deb > > ... > > Unpacking apache2 (2.4.25-3+deb.sury.org~xenial+1) ... > > Processing triggers for man-db (2.7.5-1) ... > > Processing triggers for systemd (229-4ubuntu17) ... > > Processing triggers for ureadahead (0.100.0-19) ... > > Setting up apache2-utils (2.4.25-3+deb.sury.org~xenial+1) ... > > Setting up apache2-data (2.4.25-3+deb.sury.org~xenial+1) ... > > Setting up apache2 (2.4.25-3+deb.sury.org~xenial+1) ... > > Enabling module mpm_event. > > Enabling module authz_core. > > Enabling module authz_host. > > Enabling module authn_core. > > Enabling module auth_basic. > > Enabling module access_compat. > > Enabling module authn_file. > > Enabling module authz_user. > > Enabling module alias. > > Enabling module dir. > > Enabling module autoindex. > > Enabling module env. > > Enabling module mime. > > Enabling module negotiation. > > Enabling module setenvif. > > Enabling module filter. > > Enabling module deflate. > > Enabling module status. > > Enabling module reqtimeout. > > Enabling conf charset. > > Enabling conf localized-error-pages. > > Enabling conf other-vhosts-access-log. > > Enabling conf security. > > Enabling conf serve-cgi-bin. > > Enabling site 000-default. > > 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 Sun > > 2017-04-30 17 > > :39:08 UTC; 5ms ago > > Docs: man:systemd-sysv-generator(8) > > Process: 8747 ExecStart=/etc/init.d/apache2 start (code=exited, > > status=1/FAILU > > RE) > > > > Apr 30 17:39:08 systemd[1]: Failed to start LSB: Apache... > > Apr 30 17:39:08 systemd[1]: apache2.service: Unit enter... > > Apr 30 17:39:08 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) ... > > :~# apt-get install apache2=2.4.18-2ubuntu3.1 > > Reading package lists... Done > > Building dependency tree > > Reading state information... Done > > Some packages could not be installed. This may mean that you have > > requested an impossible situation or if you are using the unstable > > distribution that some required packages have not yet been created > > or been moved out of Incoming. > > The following information may help to resolve the situation: > > > > The following packages have unmet dependencies: > > apache2 : Depends: apache2-bin (= 2.4.18-2ubuntu3.1) but > > 2.4.25-3+deb.sury.org~ > > xenial+1 is to be installed > > ====================================================================================== > > > > > > ------------------------------------------------------------------------------ > > 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 |
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 -- |
From: Dave O. <da...@sy...> - 2017-04-29 17:44:05
|
My suggestion is to try this: systemctl start apache2.service Then after it fails, this: journalctl -xe That should provide the hints you need to make it happy again. journalctl should dump what normally would be in the /var/log/message but isn't any more Dave > -----Original Message----- > From: Teknoskillz [mailto:tek...@co...] > Sent: Saturday, April 29, 2017 7:13 AM > To: Webmin users list > Subject: Re: [webmin-l] Apache2 down after package update > > Did another purge and remove and reinstall and then I ran the > journalctrl command and it says: > > ======================================================================= > = > -- > -- Unit apache2.service has failed. > -- > -- The result is failed. > Apr 29 14:07:13 systemd[1]: apache2.service: Unit entered failed state. > Apr 29 14:07:13 systemd[1]: apache2.service: Failed with result 'exit- > code'. > Apr 29 14:07:13 systemd[1]: apache2.service: Service hold-off time > over, scheduling restart. > Apr 29 14:07:13 systemd[1]: Stopped LSB: Apache2 web server. > -- Subject: Unit apache2.service has finished shutting down > -- Defined-By: systemd > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- > -- Unit apache2.service has finished shutting down. > Apr 29 14:07:13 systemd[1]: apache2.service: Start request repeated too > quickly. > Apr 29 14:07:13 systemd[1]: Failed to start LSB: Apache2 web server. > -- Subject: Unit apache2.service has failed > -- Defined-By: systemd > -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel > -- > -- Unit apache2.service has failed. > ======================================================================= > = > > > Not too sure what the "start request repeated too quickly" means. > > > ==== > 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 webadmin- > li...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |
From: Maxwell S. <cj...@yo...> - 2017-04-29 17:48:22
|
Ah, thanks for the tip. I thought it was because it was a different OS than I'm using. On 04/29/2017 10:43 AM, Dave Overton wrote: > My suggestion is to try this: > > systemctl start apache2.service > > Then after it fails, this: > > journalctl -xe > > That should provide the hints you need to make it happy again. journalctl > should dump what normally would be in the /var/log/message but isn't any > more > > Dave > > > > >> -----Original Message----- >> From: Teknoskillz [mailto:tek...@co...] >> Sent: Saturday, April 29, 2017 7:13 AM >> To: Webmin users list >> Subject: Re: [webmin-l] Apache2 down after package update >> >> Did another purge and remove and reinstall and then I ran the >> journalctrl command and it says: >> >> ======================================================================= >> = >> -- >> -- Unit apache2.service has failed. >> -- >> -- The result is failed. >> Apr 29 14:07:13 systemd[1]: apache2.service: Unit entered failed state. >> Apr 29 14:07:13 systemd[1]: apache2.service: Failed with result 'exit- >> code'. >> Apr 29 14:07:13 systemd[1]: apache2.service: Service hold-off time >> over, scheduling restart. >> Apr 29 14:07:13 systemd[1]: Stopped LSB: Apache2 web server. >> -- Subject: Unit apache2.service has finished shutting down >> -- Defined-By: systemd >> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel >> -- >> -- Unit apache2.service has finished shutting down. >> Apr 29 14:07:13 systemd[1]: apache2.service: Start request repeated too >> quickly. >> Apr 29 14:07:13 systemd[1]: Failed to start LSB: Apache2 web server. >> -- Subject: Unit apache2.service has failed >> -- Defined-By: systemd >> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel >> -- >> -- Unit apache2.service has failed. >> ======================================================================= >> = >> >> >> Not too sure what the "start request repeated too quickly" means. >> >> >> ==== >> 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 webadmin- >> li...@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 -- |