I am an inexperienced linux user and sometimes get floored by permissions. Last week my system got corrupted and on the advice of my supplier I reinstalled (Suse 9) Linux having first backed up all data onto CD. I reinstalled Koha by using the instaler but with the version of the tables saved using mysqldump substituted for the original. I then substituted the version of the main Koha files saved on disc for those in /ust/local. Everything works fine save for one thing. The files saved to CD had, I think, different permissions to those given to them by the installer. This applies in particular to the z* daemon. I have changed the permissions of those files to wwwrun and www (user and group used by Apache2). The daemon is running and when I log into Koha from the admin a/c (which is set not to requre a pw) from the machine on which Koha runs but from my main user a/c I can get biblios completed via the remote servers. That a/c is a member of the www group. When however I run Koha admin from a remote machine the daemon does not work, ie I constantly get ??? pages. Is this a permision problem and if so what should I run the daemon as? Should all the z* files and the directory they are in have the same permissions? Roger -- Roger Horne, 11 New Square, Lincoln's Inn, London WC2A 3QB mailto:roger@hrothgar.co.uk
Hi. I can see you are using SuSe 9. I have tried to get MySql to work but in vain. Please tell me how I can make mysql.sock stick to its intended locati - /var/lib/mysql. I am an inexperienced linux user and sometimes get floored by permissions.
Last week my system got corrupted and on the advice of my supplier I reinstalled (Suse 9) Linux having first backed up all data onto CD.
I reinstalled Koha by using the instaler but with the version of the tables saved using mysqldump substituted for the original. I then substituted the version of the main Koha files saved on disc for those in /ust/local. Everything works fine save for one thing. The files saved to CD had, I think, different permissions to those given to them by the installer.
This applies in particular to the z* daemon. I have changed the permissions of those files to wwwrun and www (user and group used by Apache2). The daemon is running and when I log into Koha from the admin a/c (which is set not to requre a pw) from the machine on which Koha runs but from my main user a/c I can get biblios completed via the remote servers. That a/c is a member of the www group.
When however I run Koha admin from a remote machine the daemon does not work, ie I constantly get ??? pages.
Is this a permision problem and if so what should I run the daemon as? Should all the z* files and the directory they are in have the same permissions?
Roger -- Roger Horne, 11 New Square, Lincoln's Inn, London WC2A 3QB mailto:roger@hrothgar.co.uk
_______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Solomon K. Mutai The Margerat Thatcher Library P.O. Box 3900 Eldoret Kenya TEL: 254-53-43720 FAX: 254-53-43047
On 2004-05-07 09:13:19 +0100 Roger Horne <roger@hrothgar.co.uk> wrote:
This applies in particular to the z* daemon. I have changed the permissions of those files to wwwrun and www (user and group used by Apache2).
This shouldn't be needed. The user/group used are controlled by the config file in that dir, assuming it is launched by root. Some of them are scripts and need to be +x, but they are easy to spot because they have #! on the first line. Does anything appear in the log files to suggest the daemon is failing? Can you see its perl process running on ps -axf? Is anything interesting happening in the z3950* tables in mysql when you try to do a search? -- MJR/slef My Opinion Only and possibly not of any group I know. http://mjr.towers.org.uk/ http://www.ttllp.co.uk/ for creative copyleft computing
participants (3)
-
MJ Ray -
Roger Horne -
Solomon Mutai