On Sat, 22 Feb 2003, Chris Cormack wrote:
On Fri, Feb 21, 2003 at 02:53:34PM -0500, Bryan Grega said:
I have Koha running on a Sparc platform on Solaris 8. But everytime I try to start the z3950-daemon-launch.sh script it fails after a few seconds with the following error.
su: Unknown id: /usr/appl/www/koha/intranet/scripts/z3950daemon/z3950-daemon-shell.sh
I've tried just about everything, can't figure out what I'm missing. Anybody have any ideas? Thanks
Hi Brian,
Are you running 1.2.3 or 1.9.0 ?
If 1.2.3, you need to set the "RunAsUser" variable in the z3950-daemon-launch.sh script to whatever user you are running Apache under. I've been thinking a more elegant solution might be to execute the z3950 daemon from within the web script (using a double fork) if a Z39.50 query is requested and the daemon is not already running. This solution would be restricted to OS'es that implement fork, of course. Steve.