[Koha] UBUNTU UPGRADE DISABLED APACHE2 AND KOHA

Chris Cormack chrisc at catalyst.net.nz
Wed May 17 10:17:12 NZST 2017


* Boulier, Jack (jboulier at mticollege.edu) wrote:
>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'.


Hi Jack

What version of Koha are you using? And how did you install it
(hopefully via packages?)

To fix this you need to install the apache2-mpm-itk package

sudo apt-get install apache2-mpm-itk

Should fix this up

Chris


>
>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
>
>_______________________________________________
>Koha mailing list  http://koha-community.org
>Koha at lists.katipo.co.nz
>https://lists.katipo.co.nz/mailman/listinfo/koha

-- 
Chris Cormack
Catalyst IT Ltd.
+64 4 803 2238
PO Box 11-053, Manners St, Wellington 6142, New Zealand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.katipo.co.nz/pipermail/koha/attachments/20170517/d5462410/attachment.sig>


More information about the Koha mailing list