On reboot Ubuntu deletes /var/run files and directories
We have had this problem with Koha 3 on Ubuntu. After doing a great deal of research, it seems that Ubuntu (and probably other OS systems) treat directories in /var/run and /var/lock as temp directories and each time the machine reboots, the directories disappear on us.
On reboot Ubuntu deletes /var/run files and directories causing this error when running zebra : *08:25:25-23/04 [fatal] lock file /var/lock/koha/zebradb/biblios/zebrasrv.pid [No such file or directory] * A search on Google led me to this post on koha-dev: *On 2/13/08, Chadwick, John, DCA <john.chadwick@...> wrote: * *Yes, as I just found on closer inspection of the FHS documentation [1], files in /var/run are supposed to be deleted or truncated at boot. Debian Etch clears files but leaves the subdirectories in place, but Ubuntu and other systems that either mount /var/run as a tempfs or are are aggressive about clearing /var/run get rid of the subdirectories at boot.* *Consequently, I will patch koha-zebra-ctl.sh to create the subdirectories under /var/run if needed.* *[1] http://www.pathname.com/fhs/pub/fhs-2.3.html#VARRUNRUNTIMEVARIABLEDATA* *Regards,* *Galen* I was just wondering what is the status of this fix ? Is it already included in Koha 3b2? Thanks! * *
Hi, On Tue, Apr 22, 2008 at 10:30 PM, Pseudo Admin <sayanslib@gmail.com> wrote:
I was just wondering what is the status of this fix ? Is it already included in Koha 3b2?
Yes, it is. Regards, Galen -- Galen Charlton Koha Application Developer LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709
participants (2)
-
Galen Charlton -
Pseudo Admin