LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  July 2015

QSERV-L July 2015

Subject:

Re: invalid mysql configuration: QSW_DBSOCK

From:

Fabrice Jammes <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Mon, 13 Jul 2015 08:50:42 +0200

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (91 lines)

Hi Jacek,

MYSQLD_SOCK but QSW_DBSOCK are set in qserv_run_dir/etc/init.d/xrootd, 
so they shouldn't be in your environment.
If you want to launch xrootd by hand (i.e. not using init.d/xrootd) you 
need to create them in your environment:
source ~/qserv-run-dir/etc/sysconfig/qserv
and then:
export all environment variables which are on top of 
qserv_run_dir/etc/init.d/xrootd
I agree taht this operation is a bit complex for now and I think it 
could be quite easily simplified if needed.

Cheers,

Fabrice



On 07/10/2015 08:29 PM, Jacek Becla wrote:
> Hi Fabrice,
>
> I had MYSQLD_SOCK but QSW_DBSOCK was not set. I guess running
> qserv-configure would have solved it. Now I am on a new stack
> and it is working fine.
>
> Interestingly, neither QSW_DBSOCK nor MYSQLD_SOCK are present
> in my environment (where I have new working stack)
>
> thanks
> Jacek
>
>
> On 07/10/2015 12:15 AM, Fabrice Jammes wrote:
>> Hi Jacek,
>>
>> The socket parameter should be in qserv-run-dir (i.e.
>> /home/qserv/qserv-run/git below), not in /var/lib/mysql/mysql.sock as
>> printed in your log.
>>
>> xrootd deduce this value from this env variable:
>> QSW_DBSOCK (=/home/qserv/qserv-run/git/var/lib/mysql/mysql.sock)
>>
>> This env variable is set in ~/qserv-run/git/etc/sysconfig/qserv (see
>> MYSQLD_SOCK)
>> this file is read by ~/qserv-run/git/etc/init.d/xrootd
>>
>> maybe you can print/debug value of QSW_DBSOCK in
>> ~/qserv-run/git/etc/init.d/xrootd above to see what happen.
>>
>> Cheers,
>>
>> Fabrice
>>
>> On 07/10/2015 12:27 AM, Jacek Becla wrote:
>>> I am puzzled by a problem with restarting xrootd that just popped up:
>>>
>>> 0 [0x7f669d392720] INFO root null - SsiService starting...
>>> 1 [0x7f669d392720] FATAL root null - Configuration invalid: Unable to
>>> connect to MySQL with config:[host=invalidhostname_unresolved,
>>> port=9999, usr=qsmaster, pass=, dbName=qservScratch,
>>> socket=/var/lib/mysql/mysql.sock]
>>>
>>>
>>> Maybe I need to switch to the new stack, or things got confused
>>> because of new xrootd ssi or multi-node testing code? Anyway, if
>>> anyone has a quick suggestions or knows what the problem is, let
>>> me know while I am switching to 2015_06 stack
>>>
>>> Jacek
>>>
>>> ######################################################################## 
>>>
>>> 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

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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use