[Koha] Problems with Z39.50 - unix file permissions?

C David Rigby cr8s at virginia.edu
Sat Nov 2 11:10:39 NZDT 2002


Dear (more knowledgeable than me) Ladies and Gentlemen,
	We have recently begun implementation of Koha 1.2.2 on a PC running 
RedHat 7.2 for the International Center at the University of Virginia. 
The server is iclibrary.lib.virginia.edu with the intranet interface 
being at iclibrary.lib.virginia.edu:8080.  I have been unable to get the 
Z39.50 module to function.  Any insight that you could offer on this 
would be greatly appreciated!

Here is a description of the problem:

I have downloaded and installed the latest Yaz rpm for the i386 
architecture.  When I attempt to run

/usr/local/koha-1.2.2/scripts/z3950daemon/z3950-daemon-launch.sh

as root, I get the message:

  -sh: /usr/local/koha-1.2.2/scripts/z3950daemon/z3950-daemon-shell.sh:
Permission denied

I have, through commenting out various lines, determine that it is this line
in z3950-deamon-launch.sh, near the end, where the problem occurs:

su -s /bin/sh -c $KohaZ3950Shell - $RunAsUser &

Why, I cannot determine.  RunAsUser=apache is set earlier in the script, 
and using the line

echo $KohaZ3950Shell $RunAsUser

in place of the above su command returns

/usr/local/koha-1.2.2/scripts/z3950daemon/z3950-daemon-shell.sh apache

as one might expect.  The user apache is defined in /etc/passwd.

Thanks
C David Rigby
cr8s at virginia.edu





More information about the Koha mailing list