Well - we now have all our users in Koha! We are now beginning to input the books. All seems well, except for one thing. Each time the librarian shuts the machine down and up, I must redo the z3950-daemon-launch.sh. I know that the solution is to run the script from rc.local. I have made a link from the koha directory to usr/bin, and the script works fine from the command line as root. It just doesn't work from rc.local. I have tried placing the command at the beginning of rc.local and at the end. No luck. I have tried placing a ./ before it, and a sh before it. No change. Still it works great from the command line as root. Any clues as to where I am going wrong? Thanks! Robert Maynord
On Fri, 27 Sep 2002, Robert Maynord wrote:
Well - we now have all our users in Koha! We are now beginning to input the books. All seems well, except for one thing. Each time the librarian shuts the machine down and up, I must redo the z3950-daemon-launch.sh. I know that the solution is to run the script from rc.local. I have made a link from the koha directory to usr/bin, and the script works fine from the command line as root. It just doesn't work from rc.local. I have tried placing the command at the beginning of rc.local and at the end. No luck. I have tried placing a ./ before it, and a sh before it. No change. Still it works great from the command line as root.
It sounds like it's an environment issue. Take a look at what environmental variables root has when run interactively, and see what you need to add to the rc script to kick things off. -pate
Any clues as to where I am going wrong?
Thanks!
Robert Maynord
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hallo,
All seems well, except for one thing. Each time the librarian shuts the machine down and up, I must redo the z3950-daemon-launch.sh. I know that the solution is to run the script from rc.local. I have made a link from the koha directory to usr/bin, and the script works fine from the command line as root. It just doesn't work from rc.local.
Any clues as to where I am going wrong? Did you check the permissions and owners for all these Scripts? You might start the script with su ... in the necessesary Userkontext, as I remember the apacheuser or koha ...
ervin -- Ervin Peters 99423 Weimar Germany
participants (3)
-
Ervin Peters -
Pat Eyler -
Robert Maynord