|
From: | Dalius Gilvydis |
Subject: | Re: cannot create lock file |
Date: | Thu, 20 Sep 2001 17:19:38 -0700 |
At 05:58 PM 9/20/2001 -0600, Rick Macdonald wrote:
On Thu, 20 Sep 2001, Dalius Gilvydis wrote: > I've got an interesting locking problem that I cannot figure out... > > I can succesfully creat edit query PRs from the unix command > line. *However*, I cannot edit PRs using TkGnats or gnatsweb. I get an > error that says: > > Cannot create lock file> /usr/local/share/gnats/gnats-db/gnats-adm/locks/3.lock The PR has not been> changed. If this problem persists, please contact a GNATS administrator. >> Any ideas as to what could be happening? I am able to create and query PRs> using tkgnats and gnatsweb, but not edit. I am using gnats v3.113.1, > tkgnats v.3.0.18, and gnatsweb v.2.9.0. Any help would be appreciated... tkgnats and gnatsweb both talk to gnatsd. Perhaps gnatsd is not set to run as the gnats user in /etc/inetd.conf so you have a permissions problem writing to /usr/local/share/gnats/gnats-db/gnats-adm/locks. ...RickM...
This is what my /etc/xinetd.d/support file looks like. It takes place of the inetd.conf file. The user is set as gnats and the rest of the params look good.
service support { socket_type = stream protocol = tcp wait = no user = gnats server = /usr/local/libexec/gnats/gnatsd server_args = gnatsd } ------------------------------------------------------------------This is what my /usr/local/libexec/gnats/ contents looks like. are the permissions correct??
drwxrwxr-x 2 root root 4096 Sep 18 14:06 . drwxrwxr-x 3 root root 4096 Sep 18 14:06 .. -rwxr-xr-x 1 root root 4078 Sep 18 14:06 at-pr -rwxr-xr-x 1 root root 3151 Sep 18 14:06 check-db -rwxr-xr-x 1 root root 4683 Sep 18 14:06 delete-pr -rwxr-xr-x 1 root root 82772 Sep 18 14:06 file-pr -r-sr-xr-x 1 gnats root 49708 Sep 18 14:06 gen-index -rwxr-xr-x 1 root root 9717 Sep 18 14:06 gnats-edit-pr -r-xr-xr-x 1 gnats root 106088 Sep 18 14:06 gnatsd -rwxr-xr-x 1 root root 3160 Sep 18 14:06 mail-query -rwxr-xr-x 1 root root 2374 Sep 18 14:06 mkcat -rwxr-xr-x 1 root root 5037 Sep 18 14:06 mkdist -rwxr-xr-x 1 root root 52792 Sep 18 14:06 npr-addr -rwxr-xr-x 1 root root 55608 Sep 18 14:06 npr-edit -rwxr-xr-x 1 root root 47468 Sep 18 14:06 pr-addr -rwxr-xr-x 1 root root 75628 Sep 18 14:06 pr-age -r-sr-xr-x 1 gnats root 82644 Sep 18 14:06 pr-edit -rwxr-xr-x 1 root root 53080 Sep 18 14:06 pr-mail -r-sr-xr-x 1 gnats root 50924 Sep 18 14:06 queue-pr -rwxr-xr-x 1 root root 2404 Sep 18 14:06 rmcat ----------------------------------------------------------------- Maybe I shouldn't be putting things in /etc/xinetd.d/support? Dalius
[Prev in Thread] | Current Thread | [Next in Thread] |