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 |