Print

Print


This is known problem with docker. What is happening is that the process 
is being started without a working directory (usually cwd is / which is 
unwritable). To correct this, specify a usable workdir for the container. 
In R5 we addressed this by allowing to specify that in the command line or 
in the config file. Non-containerized startups usuasly set the working 
directory in the systemd startup.

On Thu, 2 Jul 2020, pmusset wrote:

> Here you go
> ```
> 200702 12:55:25 001 Starting on Linux 3.10.0-1127.10.1.el7.x86_64
> Copr.  2004-2012 Stanford University, xrd version v4.12.3
> ++++++ xrootd [log in to unmask] initialization started.
> Config using configuration file /etc/xrootd/xrootd-config.cfg
> Config maximum number of connections restricted to 1048576
> Config maximum number of threads restricted to 30000
> 200702 12:55:25 001 XrdConfig: sendfile enabled.
> 200702 12:55:25 007 XrdXeq: Buffer Manager reshaper thread started
> 200702 12:55:25 001 XrdSched: scheduling underused thread monitor in 780 seconds
> 200702 12:55:25 008 XrdXeq: Time scheduler thread started
> 200702 12:55:25 009 XrdXeq: Worker thread started
> 200702 12:55:25 001 XrdSched: Starting with 2 workers
> 200702 12:55:25 001 XrdLink: Allocating 8 link objects at a time
> 200702 12:55:25 010 XrdXeq: Worker thread started
> 200702 12:55:25 001 XrdPoll: Starting poller 0
> 200702 12:55:25 011 XrdXeq: Poller thread started
> 200702 12:55:26 001 XrdPoll: Starting poller 1
> 200702 12:55:26 012 XrdXeq: Poller thread started
> 200702 12:55:26 001 XrdPoll: Starting poller 2
> 200702 12:55:26 013 XrdXeq: Poller thread started
> 200702 12:55:26 001 XrdProtocol: getting port from protocol xrootd
> 200702 12:55:26 001 XrdConfig: LCL port 1094 wsz=87380 (87380)
> 200702 12:55:26 001 XrdProtocol: getting protocol object xrootd
> Copr.  2012 Stanford University, xrootd protocol 4.0.0 version v4.12.3
> ++++++ xrootd protocol initialization started.
> =====> all.export /
> Config exporting /
> Config warning: 'xrootd.seclib' not specified; strong authentication disabled!
> Config Routing for 172.18.0.2: local pub4 prv4
> Config Route all4: 172.18.0.2 Dest=[::172.18.0.2]:1094
> ++++++ File system initialization started.
> ++++++ Storage system initialization started.
> =====> all.export /
> =====> oss.localroot /tmp/data
> 200702 12:55:26 001 oss_AioInit: started AIO read signal thread; tid=962369280
> 200702 12:55:26 001 oss_AioInit: started AIO write signal thread; tid=961316608
> Config effective /etc/xrootd/xrootd-config.cfg oss configuration:
>       oss.alloc        0 0 0
>       oss.cachescan    600
>       oss.fdlimit      524288 1048576
>       oss.maxsize      0
>       oss.localroot /tmp/data
>       oss.trace        fff
>       oss.xfr          1 deny 10800 keep 1200
>       oss.memfile off  max 4100423680
> 200702 12:55:26 016 XrdXeq: cache scan thread started
>       oss.defaults  r/w  nocheck nodread nomig norcreate nopurge nostage xattr
>       oss.path / r/w  nocheck nodread nomig norcreate nopurge nostage xattr
> ------ Storage system initialization completed.
> 200702 12:55:26 017 XrdXeq: Event receiver thread started
> Config effective /etc/xrootd/xrootd-config.cfg ofs configuration:
>       all.role server
>       ofs.maxdelay   60
>       ofs.persist    manual hold 600 logdir /tmp/test-ls/.ofs/posc.log
>       ofs.trace      bfcd
> ------ File system server initialization completed.
> 200702 12:55:26 001 XrootdAioReq: Max aio/req=8; aio/srv=4096; Quantum=131072
> 200702 12:55:26 001 XrootdAioReq: Adding 18 aioreq objects.
> 200702 12:55:26 001 XrootdAio: Adding 18 aio objects; 4096 pending.
> 200702 12:55:26 001 XrdSched: scheduling xrootd protocol anchor in 3600 seconds
> 200702 12:55:26 001 XrdSched: scheduling transit protocol anchor in 3600 seconds
> Config warning: 'xrootd.prepare logdir' not specified; prepare tracking disabled.
> 200702 12:55:26 019 XrdXeq: Admin traffic thread started
> ------ xrootd protocol initialization completed.
> 200702 12:55:26 001 XrdConfig: Unable to create home directory //test-ls; permission denied
> ------ xrootd [log in to unmask]:1094 initialization completed.
> 200702 12:55:26 018 XrdXeq: Event flusher thread started
> 200702 12:55:26 009 XrdSched: running main accept inq=0
> ```
>
> -- 
> You are receiving this because you commented.
> Reply to this email directly or view it on GitHub:
> https://github.com/xrootd/xrootd/issues/1225#issuecomment-652990384


-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1225#issuecomment-653191314

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