Print

Print


Fabrice

I believe you are running into the problem described here:

https://dev.lsstcorp.org/trac/ticket/2786

See bottom of the ticket for the workaround

Jacek



On 04/03/2013 11:40 AM, Fabrice Jammes wrote:
> Hello Daniel,
>
> After merging the 2014 branch with the master branch, I ran into problems.
> I think they were induced by new mysqld-based export path support
>
> After having a look in master branch :
> git log ./master/examples/lsp.cf
>
> i modified lsp.cf in template files :
>
> [fjammes@clrlsst-dbmaster-vm qserv]$ git diff admin/custom/etc/lsp.cf
> diff --git a/admin/custom/etc/lsp.cf b/admin/custom/etc/lsp.cf
> index 73ef8ed..34939dd 100644
> --- a/admin/custom/etc/lsp.cf
> +++ b/admin/custom/etc/lsp.cf
> @@ -32,6 +32,9 @@ all.role server
>   # Use qserv worker filesystem plugin
>   xrootd.fslib libqserv_worker.so
>
> +# Use qserv worker oss plugin (export path handling)
> +ofs.osslib libqserv_workerCmsd.so
> +
>   # Set %(pathname)s for file location resolution.
>   # i.e., %(pathname)s/somefile will be exported in the xroot URL:
>   # xroot://manager:0000/somefile
>
> Then i added manually the new library in xrootd :
> cp ./worker/bld/lib/libqserv_workerCmsd.so /opt/qserv-dev/xrootd-run/
> and restarted Qserv.
>
> Then i defined this environment variable :
> export XRDLCLROOT=/opt/qserv-dev/xrootd-run/
>
> And then i get next log message :
> cat /var/log/qserv-dev/xrootd.log
> --
> 130403 19:59:49 18259 cms_Open: Unable to connect socket to
> /opt/qserv-dev/tmp/.olb/olbd.admin; connection refused
> No databases found to export.
> Valid paths:
> QservOss Init
> No databases found to export.
> Valid paths:
> QservOss (Qserv Oss for server cmsd) "anon"
> ...
> --
>
> Then, looking at the source code  : "worker/src/MySqlExportMgr.cc" :
> I figured out that a database with next name should exists :
> qserrvw_" + instanceName + "." + "Dbs"
>
> (Furthermore, as i test in a mono-node instance, cmsd is'nt started.)
>
> Could you help me please in using this new feature ?
>
> Thanks in advance for your answer.
>
> Fabrice
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the QSERV-L list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1
>

########################################################################
Use REPLY-ALL to reply to list

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