gma
March 9, 2008, 4:38pm
1
Hi,
I tried to install proof for a dual core machine following the instructions in this page:
root.cern.ch/twiki/bin/view/ROOT/XpdExampleone
I got error messages as follows:
I am wondering where I am getting wrong. Thank for your helps.
regards,
gma
gma
March 9, 2008, 5:02pm
2
I tried to track down the problem. It seems that xrootd did not work. Here is the log file
Config warning: this hostname, york, is registered without a domain qualification.
080309 12:58:56 001 Scalla is starting. . .
Copr. 2007 Stanford University, xrd version 20071116-0000c
Config using configuration file /home/gma/myconfig/xpd.cf
++++++ xrootd anon@york initialization started.
=====> xrd.protocol xproofd libXrdProofd.so
Config maximum number of connections restricted to 1024
Copr. 2007 Stanford University, xrootd version 2.9.0 build 20071116-0000c
++++++ xrootd protocol initialization started.
Config warning: ‘xrootd.seclib’ not specified; strong authentication disabled!
Config warning: ‘xrootd.fslib’ not specified; using native file system.
Copr. 2007 Stanford University/SLAC sfs (Standard File System) v 9.0n
Config warning: ‘xrootd.prepare logdir’ not specified; prepare tracking disabled.
Config warning: only ‘/tmp’ will be exported.
------ xrootd protocol initialization completed.
ERROR: — Proofd: : AssertDir: cannot set user ownership on path (errno: 1)
080309 12:58:56 001 ProofdManager: Config: unable to assert working dir: /tmp/proof
080309 12:58:56 001 XrdProtocol: Protocol xproofd could not be loaded
------ xrootd anon@york:-1 initialization failed.
I appreciate your helps.
regards,
gma
jani
March 12, 2008, 1:39pm
3
Hi Gma,
There seems to be a problem with the existance/ownership of /tmp/proof.
Does the user that starts the xrootd is the owner of /tmp/proof ?
Cheers,
Jan
gma
March 23, 2008, 3:28pm
4
Jani,
Thank for your helps. I restarted xrootd to give me the right to access
\tmp folder and add more environment variables as listed in (http://root.cern.ch/twiki/bin/view/ROOT/XpdConfig )
It seems my old problem is solved. However, I have new problems which I have no clue how to fix it. I appreciate your helps. The log file is as follows:
Config warning: this hostname, york, is registered without a domain qualification.
080323 11:14:41 001 Scalla is starting. . .
Copr. 2007 Stanford University, xrd version 20071116-0000c
Config using configuration file /home/gma/myconfig/xpd.cf
++++++ xrootd anon@york initialization started.
=====> xrd.protocol xproofd libXrdProofd.so
Config maximum number of connections restricted to 1024
Copr. 2007 Stanford University, xrootd version 2.9.0 build 20071116-0000c
++++++ xrootd protocol initialization started.
Config warning: ‘xrootd.seclib’ not specified; strong authentication disabled!
Config warning: ‘xrootd.fslib’ not specified; using native file system.
Copr. 2007 Stanford University/SLAC sfs (Standard File System) v 9.0n
Config warning: ‘xrootd.prepare logdir’ not specified; prepare tracking disabled.
Config warning: only ‘/tmp’ will be exported.
------ xrootd protocol initialization completed.
080323 11:14:41 001 ProofdManager: Config: working directories under: /tmp/proof
080323 11:14:41 001 ProofdManager: Config: PROOF config file: /usr/local/root/etc/proof.conf
080323 11:14:41 001 Proofd : Configure: listening on port 1093
080323 11:14:41 001 Proofd : Configure: using temp dir: /tmp
080323 11:14:41 001 XRD seclib not specified; strong authentication disabled
080323 11:14:41 001 Proofd : Configure: role set to: any
080323 11:14:41 001 Proofd : Configure: no priority changes requested
080323 11:14:41 001 Proofd : Configure: PROOF pool: root://york
080323 11:14:41 001 Proofd : Configure: PROOF pool namespace: /proofpool
080323 11:14:41 001 xpd : LoadScheduler: scheduler loaded: type: default
080323 11:14:41 001 Proofd : Configure: user config files are disabled
080323 11:14:41 001 Proofd : Configure: client sessions kept idle for 0 secs after disconnection
080323 11:14:41 001 Proofd : Configure: list of superusers: gma
080323 11:14:41 001 Proofd : Configure: bare lib path for proofserv:
080323 11:14:41 001 xpd : XrdROOT::ValidatePrgmSrv: forking test and protocol retrieval
*** Break *** segmentation violation
jani
March 23, 2008, 6:14pm
5
Hi Gma,
Can you send the complete error message (also the part after the “segmentation violation” message)?
And the xpd.cf file too?
Cheers,
Jan
gma
March 26, 2008, 1:11am
6
Jani,
After reading your email, I checked my config file again. Indeed, the number of localworker line was commended out. So I change it. Here is the configure file:
Still, I got the error log file
Config warning: this hostname, york, is registered without a domain qualification.
080325 21:00:03 001 Scalla is starting. . .
Copr. 2007 Stanford University, xrd version 20071116-0000c
Config using configuration file /home/gma/myconfig/xpd.cf
++++++ xrootd anon@york initialization started.
=====> xrd.protocol xproofd libXrdProofd.so
Config maximum number of connections restricted to 1024
080325 21:00:03 001 XrdOpen: Unable to bind socket to port 1094; address already in use
------ xrootd anon@york:-1 initialization failed.
I checked my /etc/service file and found the following
Hmm, I don’t know how to fix it. Thank you in advance, Jani.
cheers,
gma
ganis
March 26, 2008, 7:24am
7
Hi,
Config warning: this hostname, york, is registered without a domain qualification.
080325 21:00:03 001 Scalla is starting. . .
Copr. 2007 Stanford University, xrd version 20071116-0000c
Config using configuration file /home/gma/myconfig/xpd.cf
++++++ xrootd anon@york initialization started.
=====> xrd.protocol xproofd libXrdProofd.so
Config maximum number of connections restricted to 1024
080325 21:00:03 001 XrdOpen: Unable to bind socket to port 1094; address already in use
------ xrootd anon@york:-1 initialization failed.
This means that you still have a daemon listening on port 1094. Probably is a left over of a previous attempt.
Try running ‘netstat -tap | grep LISTEN’ to find it out. You should get something like this
~> netstat -tap | grep LISTEN
...
tcp 0 0 *:1093 *:* LISTEN 28756/xrootd
tcp 0 0 *:1094 *:* LISTEN 28756/xrootd
...
Then you should find the process ID with ‘ps -ax | grep xrootd’ and kill it.
Gerri
jani
March 26, 2008, 8:36am
8
Hi,
There is simply another xrootd process running. Just kill it.
Concerning the config file, the number of workers doesn’t have to be set. The default is the number of CPU cores.
Cheers,
JAN
gma
March 27, 2008, 12:35am
9
Jani,
Thank you very much. OK, I run xrootd again. it gives me the old error message.
Config warning: this hostname, york, is registered without a domain qualification.
080326 20:29:40 001 Scalla is starting. . .
Copr. 2007 Stanford University, xrd version 20071116-0000c
Config using configuration file /home/gma/myconfig/xpd.cf
++++++ xrootd anon@york initialization started.
=====> xrd.protocol xproofd libXrdProofd.so
Config maximum number of connections restricted to 1024
Copr. 2007 Stanford University, xrootd version 2.9.0 build 20071116-0000c
++++++ xrootd protocol initialization started.
Config warning: ‘xrootd.seclib’ not specified; strong authentication disabled!
Config warning: ‘xrootd.fslib’ not specified; using native file system.
Copr. 2007 Stanford University/SLAC sfs (Standard File System) v 9.0n
Config warning: ‘xrootd.prepare logdir’ not specified; prepare tracking disabled.
Config warning: only ‘/tmp’ will be exported.
------ xrootd protocol initialization completed.
080326 20:29:40 001 ProofdManager: Config: working directories under: /tmp/proof
080326 20:29:40 001 ProofdManager: Config: PROOF config file: /usr/local/root/etc/proof.conf
080326 20:29:40 001 Proofd : Configure: listening on port 1093
080326 20:29:40 001 Proofd : Configure: using temp dir: /tmp
080326 20:29:40 001 XRD seclib not specified; strong authentication disabled
080326 20:29:40 001 Proofd : Configure: role set to: any
080326 20:29:40 001 Proofd : Configure: no priority changes requested
080326 20:29:40 001 Proofd : Configure: PROOF pool: root://york
080326 20:29:40 001 Proofd : Configure: PROOF pool namespace: /proofpool
080326 20:29:40 001 xpd : LoadScheduler: scheduler loaded: type: default
080326 20:29:40 001 Proofd : Configure: user config files are disabled
080326 20:29:40 001 Proofd : Configure: client sessions kept idle for 0 secs after disconnection
080326 20:29:40 001 Proofd : Configure: list of superusers: gma
080326 20:29:40 001 Proofd : Configure: bare lib path for proofserv:
080326 20:29:40 001 xpd : XrdROOT::ValidatePrgmSrv: forking test and protocol retrieval
*** Break *** segmentation violation
You asked me to send you other message after Break in previous email. But this is all the output in xpd.log file. I am not sure what else information may be useful for you. Please let me know if you need to see other configure files. This is weird. Thanks again.
cheers,
gma
gma
March 27, 2008, 12:41am
10
Shoot. I am soory, now I got something after the break statement.
Here they are.
When I run proofserv. I got the following
proofserv
Loaded shared libraries
0 libraries loaded
*** Break *** segmentation violation
Using host libthread_db library “/lib/libthread_db.so.1”.
Attaching to program: /proc/6162/exe, process 6162
[Thread debugging using libthread_db enabled]
[New Thread 47681266909712 (LWP 6162)]
0x00002b5da8aafaf5 in waitpid () from /lib/libc.so.6
error detected on stdin
The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /proc/6162/exe, process 6162
Hopefully these help you fix the problem. Thanks.
cheers,
gma
ganis
March 30, 2008, 7:02pm
11
Hi,
The XrdProofd plugin tries to validate a ROOT version installed under /usr/local/root: did you install ROOT there?
What’s the value of ROOTSYS?
Gerri
gma
April 1, 2008, 12:55am
12
ganis,
My ROOTSYS is /usr/local/root. I am not sure whether I missed something in installation. I just did the default installation. Is it OK? Thanks.
cheers,
gma
gma
May 26, 2008, 11:35pm
13
Ganis,
I installed 5.19.04 and proof works now. Thanks.
cheers,
gma