[Koha] lockdir variable in koha config file

Joonas Kylmälä joonas.kylmala at helsinki.fi
Wed Apr 21 22:54:45 NZST 2021


Hi,

if you restarted plack, then I wonder if it could be in memcached, try
restarting it and tell us how it goes. After restarting memached I think
you need to restart plack one more time to flush the caches there as well.

Joonas

On 21/04/2021 13:34, Mike Lake wrote:
> Hi
> 
> I also am missing the lockdir setting. In the intranet Home/About
> Koha/System Information
> "Warnings regarding the system configuration":
> XML configuration file
> Warning:
> You are missing the <lockdir> entry in your koha-conf.xml file. Please
> add it, pointing to your Koha instance's lock dir.
> 
> I looked at koha-conf-site.xml.in and saw:
>   <zebra_lockdir>/var/lock/koha/__KOHASITE__</zebra_lockdir>
>   <lockdir>/var/lock/koha/__KOHASITE__</lockdir>
> 
> My site XML sites/libtest2/koha-conf.xml just had:
>   <zebra_lockdir>/var/lock/koha/libtest2</zebra_lockdir>
> 
> So I added on the line immediately after that:
>   <lockdir>/var/lock/koha/libtest2</lockdir>
> 
> What services do I need to restart or what to do for the system to
> pickup this change?
> The Home/About Koha/System Information still says I am missing this
> setting.
> 
> Thanks
> Mike Lake
> 
> On 2021-03-21 00:45, Mark Tompsett wrote:
>> On 2021-03-19 3:31 p.m., Tom Hanstra wrote:
>>> I am still seeing some issues with the variable "lockdir" in the
>>> koha-conf.xml file. I'm getting the message:
>>>
>>> The configured <lockdir> entry in your koha-conf.xml file points to a
>>> non-writable directory (/var/lock/koha).
>>
>> lockdir should have the instance name (e.g. library) at the end of the
>> path.
>>
>> <lockdir>/var/lock/koha/library</lockdir>
>>
>> This directory should be writeable for the koha instance user.
>>
>> GPML,
>> Mark Tompsett
>>
>> _______________________________________________
>>
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> _______________________________________________
> 
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha

-- 
Joonas Kylmälä
Tietojärjestelmäasiantuntija

Kansalliskirjasto
Kirjastoverkkopalvelut
PL 15 (Unioninkatu 36)
00014 Helsingin yliopisto


More information about the Koha mailing list