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 Bryan A. Grega Sr. Consultant, Systems Administrator RSIS, NASA, Glenn Research Center 21000 Brookpark Road MailStop 142-4 Cleveland, OH 44135 Office: 216-433-2724 Pager: 216-549-9894 Pager EMail: 2165499894@airtouchpaging.com
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 ? Chris -- Chris Cormack Programmer 025 500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
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.
I'm running 1.9.0, but I had this same issue with 1.2.3 And I've changed my RunAsUser to be the same as the apache server. At 10:00 AM 2/22/2003 +1300, 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 ?
Chris
-- Chris Cormack Programmer 025 500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
Bryan A. Grega Sr. Consultant, Systems Administrator RSIS, NASA, Glenn Research Center 21000 Brookpark Road MailStop 142-4 Cleveland, OH 44135 Office: 216-433-2724 Pager: 216-549-9894 Pager EMail: 2165499894@airtouchpaging.com
On Fri, Feb 21, 2003 at 04:51:30PM -0500, Bryan Grega said:
I'm running 1.9.0, but I had this same issue with 1.2.3 And I've changed my RunAsUser to be the same as the apache server.
Hmm you probably know a lot more about Solaris than me is su -s /bin/sh -c $KohaZ3950Shell - $RunAsUser & A valid command? It might be worth trying it from the commandline with the appropriate values substituted for the variables. Chris -- Chris Cormack Programmer 025 500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
participants (3)
-
Bryan Grega -
Chris Cormack -
Tonnesen Steve