[Koha] UBUNTU UPGRADE DISABLED APACHE2 AND KOHA

Boulier, Jack jboulier at mticollege.edu
Wed May 17 10:12:16 NZST 2017


I made the mistake of upgrading to Ubuntu Xenial and somehow the software for Koha no longer are available from a web browser. I have concluded that the problem seems to be in the Apache2 application. I am receiving the following error messages:

● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─apache2-systemd.conf
   Active: failed (Result: exit-code) since Tue 2017-05-16 14:46:56 PDT; 17min ago
     Docs: man:systemd-sysv-generator(8)

May 16 14:46:56 ubuntu apache2[19130]:  * The apache2 configtest failed.
May 16 14:46:56 ubuntu apache2[19130]: Output of config test was:
May 16 14:46:56 ubuntu apache2[19130]: AH00526: Syntax error on line 17 of /etc/apache2/sites-enabled/library.conf:
May 16 14:46:56 ubuntu apache2[19130]: Invalid command 'AssignUserID', perhaps misspelled or defined by a module not included in the server configuration
May 16 14:46:56 ubuntu apache2[19130]: Action 'configtest' failed.
May 16 14:46:56 ubuntu apache2[19130]: The Apache error log may have more information.
May 16 14:46:56 ubuntu systemd[1]: apache2.service: Control process exited, code=exited status=1
May 16 14:46:56 ubuntu systemd[1]: Failed to start LSB: Apache2 web server.
May 16 14:46:56 ubuntu systemd[1]: apache2.service: Unit entered failed state.
May 16 14:46:56 ubuntu systemd[1]: apache2.service: Failed with result 'exit-code'.

This is the Apache2 error log from /var/logs/Apache2

[Tue May 16 09:08:08.068107 2017] [mpm_prefork:notice] [pid 2050] AH00169: caught SIGTERM, shutting down
[Tue May 16 09:08:09.153089 2017] [mpm_prefork:notice] [pid 7775] AH00163: Apache/2.4.7 (Ubuntu) mpm-itk/2.4.6-01 configured -- resuming normal operations
[Tue May 16 09:08:09.153138 2017] [core:notice] [pid 7775] AH00094: Command line: '/usr/sbin/apache2'
[Tue May 16 09:21:21.469598 2017] [mpm_prefork:notice] [pid 7775] AH00169: caught SIGTERM, shutting down
[Tue May 16 09:22:34.710083 2017] [mpm_prefork:notice] [pid 1988] AH00163: Apache/2.4.7 (Ubuntu) mpm-itk/2.4.6-01 configured -- resuming normal operations
[Tue May 16 09:22:34.745043 2017] [core:notice] [pid 1988] AH00094: Command line: '/usr/sbin/apache2'
[Tue May 16 10:19:44.178220 2017] [mpm_prefork:notice] [pid 1988] AH00169: caught SIGTERM, shutting down
[Tue May 16 10:19:45.482968 2017] [mpm_prefork:notice] [pid 1403] AH00163: Apache/2.4.7 (Ubuntu) mpm-itk/2.4.6-01 configured -- resuming normal operations
[Tue May 16 10:19:45.483030 2017] [core:notice] [pid 1403] AH00094: Command line: '/usr/sbin/apache2'
[Tue May 16 11:08:21.203855 2017] [mpm_prefork:notice] [pid 1403] AH00169: caught SIGTERM, shutting down
[Tue May 16 11:08:22.381333 2017] [mpm_prefork:notice] [pid 9661] AH00163: Apache/2.4.18 (Ubuntu) mpm-itk/2.4.7-04 configured -- resuming normal operations
[Tue May 16 11:08:22.381383 2017] [core:notice] [pid 9661] AH00094: Command line: '/usr/sbin/apache2'
[Tue May 16 11:10:16.373517 2017] [mpm_prefork:notice] [pid 9661] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Tue May 16 11:10:16.408276 2017] [mpm_prefork:notice] [pid 9661] AH00163: Apache/2.4.18 (Ubuntu) mpm-itk/2.4.7-04 configured -- resuming normal operations
[Tue May 16 11:10:16.408298 2017] [core:notice] [pid 9661] AH00094: Command line: '/usr/sbin/apache2'
[Tue May 16 11:26:37.664860 2017] [mpm_prefork:notice] [pid 9661] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Tue May 16 11:26:37.771460 2017] [mpm_prefork:notice] [pid 9661] AH00163: Apache/2.4.18 (Ubuntu) mpm-itk/2.4.7-04 configured -- resuming normal operations
[Tue May 16 11:26:37.771485 2017] [core:notice] [pid 9661] AH00094: Command line: '/usr/sbin/apache2'

I am at a total loss as to the means of correcting this problem. My system is down until this is resolved or I reinstall trusty and rebuild my library.

Any help would be greatly appreciated. I hope I am the only one to have run into this problem, but I think not.

Jack

Jack Boulier
Learning Resource Center Director
MTI College
5221 Madison Ave.
Sacramento, CA 95841
(916)339-4370
(916)339-0305 FAX



More information about the Koha mailing list