Hi all. I have Koha working on FreeBSD, mostly. Thanks for all your work. One thing that I don't have working is the ability to import MARC records using the web front end. I want to be able to: grab a book in our library (we have a few thousand). Enter the ISBN and have the record populated from the library of congress, or some other wais server. Finally entering any notes by hand. All of my test entries are still in queue. My only thoughts: I have ipfw as a statefull firewall. If there is an oddball port being used this might be a problem. But there is no evidence that I see in the logs. (my logging is pretty light so some things fail quietly) The whole admin directory has taken extra steps to install, and still is mostly broken. so this may be part of it. Thanks Micheas
micheas: There is a separate daemon process for processing the Z3950 queue. Try running z3950-daemon-launch.sh after setting "RunAsUser" and "KohaDir" variables in the script. RunAsUser should be set to the user that your apache runs as. We haven't figured out how to get this process running from an init script in some generic fashion. Steve. On 22 Jun 2002, micheas wrote:
Hi all.
I have Koha working on FreeBSD, mostly. Thanks for all your work.
One thing that I don't have working is the ability to import MARC records using the web front end.
I want to be able to: grab a book in our library (we have a few thousand). Enter the ISBN and have the record populated from the library of congress, or some other wais server. Finally entering any notes by hand.
All of my test entries are still in queue.
My only thoughts:
I have ipfw as a statefull firewall. If there is an oddball port being used this might be a problem. But there is no evidence that I see in the logs. (my logging is pretty light so some things fail quietly)
The whole admin directory has taken extra steps to install, and still is mostly broken. so this may be part of it.
Thanks
Micheas
On Sat, 2002-06-22 at 19:52, Tonnesen Steve wrote:
micheas:
There is a separate daemon process for processing the Z3950 queue. Try running z3950-daemon-launch.sh after setting "RunAsUser" and "KohaDir" variables in the script. RunAsUser should be set to the user that your apache runs as.
We haven't figured out how to get this process running from an init script in some generic fashion.
Steve.
Thanks for your reply. It's pointed me in the right direction. Some problems: FreeBSD does NOT use initV style start stop scripts but BSD rc.conf scripts. FreeBSD does not have an equivalent of linux's 'su -c' FreeBSD's /bin/sh is not very compatible with linux's /bin/sh Questions: Are any of the environment names set by the shell script passed to the perl script that runs the daemon by name (ie do I have to keep your variable names?) Is there any reason to not have apache call the script? (ie does anything have to be done as root?) Does it make sense to try changing the perl script instead of rewriting the shell scripts for each os? Any known gotcha's that I'm going to run into would also be useful. Micheas
On 22 Jun 2002, micheas wrote:
FreeBSD does NOT use initV style start stop scripts but BSD rc.conf scripts.
FreeBSD does not have an equivalent of linux's 'su -c'
FreeBSD's /bin/sh is not very compatible with linux's /bin/sh
Questions:
Are any of the environment names set by the shell script passed to the perl script that runs the daemon by name (ie do I have to keep your variable names?)
Is there any reason to not have apache call the script? (ie does anything have to be done as root?)
Does it make sense to try changing the perl script instead of rewriting the shell scripts for each os?
The perl script doesn't take any arguments. The point of the shell script, I believe, was just to make sure that the processz3950queue script didn't run as root for security reasons. As long as the user running processz3950queue has the C4 directory in the perl path, and can read /etc/koha.conf, it should work fine. Steve.
participants (2)
-
micheas -
Tonnesen Steve