Print

Print


@abh3 sorry for the late so here it is how to reproduce it.

  1. I start a process that listens on port (8000)
         nc -l 8000 &
  2. Then I create a file /etc/xrootd/config.d/99-for-andy-test.cfg
         xrd.protocol http:9000 libXrdHttp.so
    
  3. Start stashcache:
     systemctl start [log in to unmask]
  4. See that xrootd fails to start although the port has been redefined to use 9000 and not 8000:
     ------ xrootd protocol initialization completed.
    200417 12:08:54 18523 XrdOpen: Unable to bind socket to port 8000; address already in use
     ------ xrootd [log in to unmask]:1094 initialization failed.
    

The configuration is here:

 cconfig -c /etc/xrootd/xrootd-stash-cache.cfg 
xrd.port 1094
continue /etc/xrootd/config.d
Config continuing with file /etc/xrootd/config.d/10-common-site-local.cfg ...
Config continuing with file /etc/xrootd/config.d/10-xrootd-lcmaps.cfg ...
Config continuing with file /etc/xrootd/config.d/40-stash-cache-plugin.cfg ...
ofs.osslib libXrdPss.so 
pss.cachelib libXrdFileCache.so 
pss.origin redirector.osgstorage.org:1094 
pss.setopt ParallelEvtLoop 10 
pss.setopt RequestTimeout 25 
pss.setopt ConnectTimeout 25 
pss.setopt ConnectionRetry 2 
pfc.blocksize 512k 
pfc.ram 1g 
pfc.prefetch 10 
pfc.diskusage 0.90 0.95 
Config continuing with file /etc/xrootd/config.d/40-xcache-auth.cfg ...
Config continuing with file /etc/xrootd/config.d/40-xrootd-lcmaps.cfg ...
Config continuing with file /etc/xrootd/config.d/50-osg-http.cfg ...
xrd.protocol http:8000 libXrdHttp.so 
http.cadir /etc/grid-security/certificates 
http.cert /etc/grid-security/xrd/xrdcert.pem 
http.key /etc/grid-security/xrd/xrdkey.pem 
http.secxtractor /usr/lib64/libXrdLcmaps.so 
http.exthandler xrdmacaroons libXrdMacaroons.so 
macaroons.secretkey /etc/xrootd/macaroon-secret 
ofs.authlib libXrdMacaroons.so 
http.header2cgi Authorization authz 
http.listingdeny yes 
http.staticpreload http://static/robots.txt /etc/xrootd/ban-robots.txt 
Config continuing with file /etc/xrootd/config.d/50-osg-monitoring.cfg ...
all.sitename Edgar_FERMICLOUD_VM115 
xrd.report xrd-report.osgstorage.org:9931 
xrootd.monitor all auth flush 30s window 5s fstat 60 lfn ops xfr 5 dest redir fstat info user xrd-report.osgstorage.org:9930 dest fstat info user xrd-mon.osgstorage.org:9930 
Config continuing with file /etc/xrootd/config.d/50-osg-paths.cfg ...
all.adminpath /var/spool/xrootd 
all.pidpath /run/xrootd 
oss.localroot /tmp 
Config continuing with file /etc/xrootd/config.d/50-stash-cache-authz.cfg ...
ofs.authorize 1 
acc.audit deny grant 
xrd.allow host * 
sec.protocol host 
xrootd.diglib * /etc/xrootd/digauth.cfg 
Config continuing with file /etc/xrootd/config.d/50-stash-cache-paths.cfg ...
all.export / 
Config continuing with file /etc/xrootd/config.d/90-stash-cache-disks.cfg ...
Config continuing with file /etc/xrootd/config.d/90-xcache-logging.cfg ...
xrootd.trace emsg login stall redirect 
pfc.trace info 
ofs.trace most 
xrd.trace all -sched 
cms.trace all 
pss.setopt DebugLevel 1 
Config continuing with file /etc/xrootd/config.d/99-for-andy-test.cfg ...
xrd.protocol http:9000 libXrdHttp.so 

And I am uploading the log right here: xrootd.log


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/999#issuecomment-615365657", "url": "https://github.com/xrootd/xrootd/issues/999#issuecomment-615365657", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1