Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xrootd fails to start and keeps restarting with libXrdLcmaps #1887

Closed
chunyulin opened this issue Jan 25, 2023 · 1 comment
Closed

xrootd fails to start and keeps restarting with libXrdLcmaps #1887

chunyulin opened this issue Jan 25, 2023 · 1 comment

Comments

@chunyulin
Copy link

Hi experts,

Trying to join dCache-SE to CMS xrootd federation, I use xrootd 5.4.2 and xrootd-lcmaps 1.7.8 from OSG repo for the local federation host without a local redirector. A minimal configuration with sec.protocol gsi -authzfun:libXrdLcmaps.so fails to start and keeps restarting after Secgsi stage.

Is it a xrootd version issue?

The log repeats itself and looks like

230126 02:58:50 49084 Starting on Linux 3.10.0-1160.81.1.el7.x86_64
230126 02:58:50 49084 /usr/bin/xrootd -l /var/log/xrootd/xrootd.log -c /etc/xrootd/xrootd-clustered.cfg -k fifo -s /run/xrootd/xrootd-clustered.pid -n clustered
Copr.  2004-2012 Stanford University, xrd version v5.4.2
++++++ xrootd clustered@se01.grid.nchc.org.tw initialization started.
++++++ xroot protocol initialization started.
++++++ Authentication system initialization started.
Plugin loaded secgsi v5.4.2 from sec.protocol /usr/lib64/libXrdSecgsi-5.so
Secgsi -------------------------------------------------------------------
Secgsi Mode: server
Secgsi Authz function: libXrdLcmaps.so
Secgsi Authz function parms: --lcmapscfg,/etc/xrootd/lcmaps.dbe,--loglevel,5
Secgsi ....
Secgsi Untrusting DNS for hostname checking
Secgsi -------------------------------------------------------------------
230126 02:59:01 49136 Starting on Linux 3.10.0-1160.81.1.el7.x86_64
...
REPEATED....
...

The minimal config I used is

xrd.port 11001
all.adminpath /var/run/xrootd
all.pidpath /var/run/xrootd

all.export /
all.role server

xrootd.seclib /usr/lib64/libXrdSec.so
sec.protocol /usr/lib64 gsi -certdir:/etc/grid-security/certificates \
             -cert:/etc/grid-security/xrd/hostcert.pem -key:/etc/grid-security/xrd/hostkey.pem \
             -authzfun:libXrdLcmaps.so -authzfunparms:--lcmapscfg,/etc/xrootd/lcmaps.db,--loglevel,5

Using empty lcmaps.db doesn't change the behavior.

@chunyulin
Copy link
Author

Just found a more updated doc using xrootd-voms https://twiki.cern.ch/twiki/bin/view/CMSPublic/OSG36XRootDINFO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant