Print

Print


bool XrdSsiProvider::Init() returns `true` on successful initialisation and `false` if initialisation failed.

If Init() returns `false`, XRootD generates a SIGABRT and dumps core:
```
Plugin loaded unreleased ssi v4.8.2-rc2 from fslib libXrdSsi-4.so
++++++ ssi phase 1 initialization started.
=====> ssi.svclib libXrdSsiCta.so 
------ ssi phase 1 initialization completed.
++++++ ssi phase 2 initialization started.
Config Configuring standalone server.
180621 11:25:01 16498 ssi_XrdSsiCtaServiceProvider: pid:16498 tid:140388032784512 XrdSsiCtaServiceProvider() constructor
180621 11:25:01 16498 ssi_XrdSsiCtaServiceProvider: pid:16498 tid:140388032784512 Called Init(/etc/cta/cta-frontend-xrootd.conf,)
180621 11:25:01 16498 ssi_Config: Provider initialization failed.
------ ssi phase 2 initialization failed.
./start_cta: line 8: 16498 Aborted                 (core dumped) XRD_DEBUG=1 xrootd -n cta -c /etc/cta/cta-frontend-xrootd.conf -I v4 ${OPTIONS}
```
Instead, XRootD should shut down gracefully.

-- 
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/751

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