Proof TXProofServ::CreateServer error

I am just trying to get PROOF running locally (before tackling a cluster-wide setup), but following the steps in XpdExampleone:

  1. xpd.cf is:
### Load the XrdProofd protocol:
xrd.protocol xproofd libXrdProofd.so

### Working directory for sessions [<User_Home>/proof]
xpd.workdir /proof/proofwork

### Location of the PROOF config file
xpd.resource static ~/root/5.20.00/etc/proof.conf
  1. xrootd -c ~/root/5.20.00/proof/confs/xpd.cf -l ~/xrd.log

xrd.log says:

...
080812 10:49:23 001 Proofd : Configure: listening on port 1093
080812 10:49:23 001 Proofd : Configure: setting internal timeout to (secs): 30
080812 10:49:23 001 Proofd : Configure: using temp dir: /tmp
080812 10:49:23 001 XRD seclib not specified; strong authentication disabled
080812 10:49:23 001 Proofd : Configure: role set to: any
080812 10:49:23 001 Proofd : Configure: cron thread started
080812 10:49:23 001 XProofd protocol version 0.4 build 20080621-0000 successfully loaded.
080812 10:49:23 001 xproofd: protocol V 0.4 successfully loaded
------ xrootd anon@node5.cluster.private:1094 initialization completed.
  1. In ROOT,
root [0] TProof *proof = TProof::Open("")

results in:

Starting master: opening connection ... 
Starting master: OK                                                 
10:50:37   393 Mst-0 | Error in <TXProofServ::CreateServer>: no plugin found for TProof with a config file of ''
Error in <TProof::StartSlaves>: not allowed to connect to PROOF master server
Error in <TXProofMgr::CreateSession>: creating PROOF session
Error in <TProof::Open>: new session could not be created
root [1] 

and appended to xrd.log is this:

080812 10:50:36 000 xpd:MapClient: proof.392:17@localhost login
080812 10:50:36 000 xpd : Create: using ROOT version: 5.20/00 5.20/00 /proof/root/5.20.00 17
xpd:child: : SetUserEnvironment: set HOME=/proof/proofwork/proof
080812 10:50:37 000 xpd:MapClient: proof.393:20@localhost login
080812 10:50:40 000 proof.392:17@localhost xpd : GetData: request timeout; read 0 of 24 bytes

So, it looks like it’s missing a configuration file, but I think I’ve specified everything. Any ideas? I just followed the directions…

Hi Amastbaum,

Maybe the environment is not set properly on the server. Is your platform linux? Try doing:

source bin/thisroot.sh

at the top of the ROOT directory tree.
Does it help?

Cheers,
Jan

I think that did it! I was sourcing thisroot.sh, but from the wrong location. Thanks for the help!