pcp
[Top] [All Lists]

A

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: A
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 05 Dec 2012 11:20:08 +1100
Cc: pcp@xxxxxxxxxxx
In-reply-to: <383072804.40875268.1354661099598.JavaMail.root@xxxxxxxxxx>
References: <383072804.40875268.1354661099598.JavaMail.root@xxxxxxxxxx>
On Tue, 2012-12-04 at 17:44 -0500, Nathan Scott wrote:
> 
> ----- Original Message -----
> > ...
> > many of these are failing for me with QA pmdas not being
> > stopped/started with sighup and odd lines like this for 169 ...
> > 
> > pmcd: error starting /home/kenj/src/pcp/qa/src/dumb_pmda: Permission
> > denied
> 
> Hmm, that is odd indeed.  What does ls -l say on that binary?

The binary is fine, but ...

$ x=`dirname /home/kenj/src/pcp/qa/src/dumb_pmda`
$ while [ "$x" != / ]; do ls -ld $x; x=`dirname $x`; done
drwxrwxr-x 2 kenj kenj 24576 2012-12-04 06:54 /home/kenj/src/pcp/qa/src
drwxrwxr-x 9 kenj kenj 36864 2012-12-05 06:00 /home/kenj/src/pcp/qa
drwxr-xr-x 12 kenj kenj 4096 2012-12-03 20:57 /home/kenj/src/pcp
drwxr-xr-x 49 kenj kenj 4096 2012-08-18 17:49 /home/kenj/src
drwx------ 114 kenj kenj 12288 2012-12-05 06:00 /home/kenj
drwxr-xr-x 8 root root 4096 2011-10-09 18:31 /home

So if the user pcp (who's running pmcd at this point I'm guessing)
cannot read one of the parent directories below where QA is being run
we're dead in the water.

And sure enough,
        $ chmod 755 ~kenj
was all that was needed to make 169 pass.

But I'm still seeing failures for

183 184 185 187 255 274 340 348 359 370 513 603 653 707 708 709 710

Moving on to 183, it appears that my PMNS and pmcd.conf are out of
whack ... presumably as a result of the "configuration" files being lost
from the debian packaging recently (since fixed) ... once I fixed the
PMNS I made a little more progress, but these are still failing ...

187 255 274 348 370 513 603 707 708 709 710

... back to the salt mine ...

<Prev in Thread] Current Thread [Next in Thread>