[Koha] UBUNTU UPGRADE DISABLED APACHE2 AND KOHA

Luis Moises Rojas lmoisesrojas at gmail.com
Thu May 18 01:44:22 NZST 2017


We had that error, and our only soluction was to reinstall ubuntu, cos
nothing helped.

On Tue, May 16, 2017 at 6:46 PM, Chris Cormack <chrisc at catalyst.net.nz>
wrote:

>
>
> On 17/05/17 10:42, Boulier, Jack wrote:
> > Chris,
> > I have done everything that you have suggested and still am unable to
> start apache2. I am getting the same error about
> > 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.
> >
> > I am not ready to give up yet.
>
>
> (Please remember to reply to the list)
>
> So you have definitely enabled mpm-itk and apache is running that?
> AssignUserID is a command from mpm-itk .. it won't work unless you have
> that enabled.
>
> Chris
> >
> > Thanks,
> > Jack
> >
> > Jack Boulier
> > Learning Resource Center Director
> > MTI College
> > 5221 Madison Ave.
> > Sacramento, CA 95841
> > (916)339-4370
> > (916)339-0305 FAX
> >
> > -----Original Message-----
> > From: Chris Cormack [mailto:chrisc at catalyst.net.nz]
> > Sent: Tuesday, May 16, 2017 3:32 PM
> > To: Boulier, Jack <jboulier at mticollege.edu>
> > Subject: Re: [Koha] UBUNTU UPGRADE DISABLED APACHE2 AND KOHA
> >
> > * Boulier, Jack (jboulier at mticollege.edu) wrote:
> >> I receive the message that it is already available and waiting for a
> manual install. Not use what this means.
> >>
> > Right, have you tried enabling it?
> >
> > sudo a2enmod mpm-itk
> >
> > (or something similar)
> >
> > Chris
> >
> >
> >> Thanks.
> >>
> >> Jack Boulier
> >> Learning Resource Center Director
> >> MTI College
> >> 5221 Madison Ave.
> >> Sacramento, CA 95841
> >> (916)339-4370
> >> (916)339-0305 FAX
> >>
> >> -----Original Message-----
> >> From: Chris Cormack [mailto:chrisc at catalyst.net.nz]
> >> Sent: Tuesday, May 16, 2017 3:26 PM
> >> To: Boulier, Jack <jboulier at mticollege.edu>
> >> Cc: koha at lists.katipo.co.nz
> >> Subject: Re: [Koha] UBUNTU UPGRADE DISABLED APACHE2 AND KOHA
> >>
> >> * Boulier, Jack (jboulier at mticollege.edu) wrote:
> >>> Thank you for a speedy response.
> >>>
> >>> I used the apt-get install koha-common to install the koha package.
> >>>
> >>> Attempting to do sudo apt-get install apache2-mpm-itk give me the
> response E: Package 'apache2-mpm-itk' has no installation candidate.
> >>
> >> Ahh my bad, you want
> >>
> >> libapache2-mpm-itk
> >>
> >> Chris
> >>
> >>
> >>>
> >>> Thanks,
> >>> Jack
> >>>
> >>> Jack Boulier
> >>> Learning Resource Center Director
> >>> MTI College
> >>> 5221 Madison Ave.
> >>> Sacramento, CA 95841
> >>> (916)339-4370
> >>> (916)339-0305 FAX
> >>>
> >>> -----Original Message-----
> >>> From: Chris Cormack [mailto:chrisc at catalyst.net.nz]
> >>> Sent: Tuesday, May 16, 2017 3:17 PM
> >>> To: Boulier, Jack <jboulier at mticollege.edu>
> >>> Cc: koha at lists.katipo.co.nz
> >>> Subject: Re: [Koha] UBUNTU UPGRADE DISABLED APACHE2 AND KOHA
> >>>
> >>> * 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
> >>
> >> --
> >> Chris Cormack
> >> Catalyst IT Ltd.
> >> +64 4 803 2238
> >> PO Box 11-053, Manners St, Wellington 6142, New Zealand
> >
> > --
> > Chris Cormack
> > Catalyst IT Ltd.
> > +64 4 803 2238
> > PO Box 11-053, Manners St, Wellington 6142, New Zealand
> >
>
>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
>
>


-- 
*Luis Moisés Rojas P.*


More information about the Koha mailing list