Print

Print


Hi,
I think I have a similar problem but in a simpler setup. I have an XRootD server that provides files. From another machine, I can access the files and also `xrdfs server/ ls /user/dir/ ` works file. However, when I use a caching proxy I can not get the list of files in a directory on the XRootD server. The caching proxy runs a cache-manager and a cache-server which works fine for file accesses.
cache-manager.cfg
```
all.manager caching_proxy:1213
xrd.port 1094
all.role manager
all.export / r/w
```
cache-server.cfg
```
all.manager caching_proxy:1213
xrd.port any

if exec cmsd
all.role server
all.export / stage r/o
oss.localroot /ceph/cache/

else
all.role server
ofs.osslib   libXrdPss.so
pss.cachelib libXrdFileCache.so
all.export / rw
pss.origin =
oss.localroot /ceph/cache/
pfc.ram 16g
pfc.diskusage 0.9 0.95
pfc.prefetch 10
fi
```
 With `xrdfs root://caching_proxy:1094/ ls /root://server:1094//user/dir` I get the error `[ERROR] Server responded with an error: [3011] Unable to open directory /root:/server:1094//user/dir; no such file or directory`. In the cache-server log I found the message 
`11210 13:34:32 125286 ofs_opendir: root.3423556:25@caching_proxy Unable to open directory /root:/server:1094/user/dir; no such file or directory`
However, a stat command works fine (`xrdfs root://caching_proxy/ stat /root://server//user/dir`). 

Do I need to change something in caching proxy configuration?



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1565#issuecomment-990945998

########################################################################
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