As documented in:
http://grid.pd.infn.it/cream/field.php?n=Main.CREAMAndBlparserConfiguration
For Torque make sure that the variabile BATCH_LOG_DIR refers to the
directory containing the server_logs directory (it must not refer to the
server_logs directory)
Looks like you used /var/spool/pbs/server_priv/accounting instead of
/var/spool/pbs
On Tue, 22 Mar 2011, Claudiu Demian wrote:
> Hi,
>
> Massimo was right, the problem was at the Java installation. I
> reinstalled openjdk and tomcat started without a problem.
>
> The next issue I faced was with glite-ce-blparser . For it to start, I
> created /opt/glite/etc/blparser.conf which look like this:
>
>
> #
> #PBS part
> #
>
> #Set to yes to start the PBS parser
> GLITE_CE_USE_BLPARSERPBS=yes
>
> #Set to yes to run the PBS parser in daemon mode
> GLITE_CE_BLPARSERPBS_DAEMON=yes
>
> #Set to 1 for normal debug or 2 for more debug
> GLITE_CE_BLPARSERPBS_DEBUGLEVEL=
>
> #Log file where the debug information are written
> GLITE_CE_BLPARSERPBS_DEBUGLOGFILE=
>
> #PBS spooldir
> GLITE_CE_BLPARSERPBS_SPOOLDIR=/var/spool/pbs/server_priv/accounting
>
> #Use this to start multiple PBS parser on different ports
> #if it is not set defaults to 1
> GLITE_CE_BLPARSERPBS_NUM=2
>
> #PBS parser listening port
> GLITE_CE_BLPARSERPBS_PORT1=
> GLITE_CE_BLPARSERPBS_PORT2=
>
> #PBS parser listening cream port
> GLITE_CE_BLPARSERPBS_CREAMPORT1=
> GLITE_CE_BLPARSERPBS_CREAMPORT2=
>
> #
> #LSF part
> #
>
> #Set to yes to start the LSF parser
> GLITE_CE_USE_BLPARSERLSF=
>
> #Set to yes to run the LSF parser in daemon mode
> GLITE_CE_BLPARSERLSF_DAEMON=yes
>
> #Set to 1 for normal debug or 2 for more debug
> GLITE_CE_BLPARSERLSF_DEBUGLEVEL=
>
> #Log file where the debug information are written
> GLITE_CE_BLPARSERLSF_DEBUGLOGFILE=
>
> #LSF binpath
> GLITE_CE_BLPARSERLSF_BINPATH=
>
> #LSF conf path (to find lsf.conf file)
> GLITE_CE_BLPARSERLSF_CONFPATH=
>
> #Use this to start multiple LSF parser on different ports
> #if it is not set defaults to 1
> GLITE_CE_BLPARSERLSF_NUM=
>
> #LSF parser listening port
> GLITE_CE_BLPARSERLSF_PORT1=
> GLITE_CE_BLPARSERLSF_PORT2=
>
> #LSF parser listening cream port
> GLITE_CE_BLPARSERLSF_CREAMPORT1=
> GLITE_CE_BLPARSERLSF_CREAMPORT2=
>
> The config is, most certainly not correct but it got blparser starting.
>
> The problem I am facing now is the following:
>
> # /opt/glite/etc/init.d/glite-ce-blahparser start
> Starting BNotifier: /opt/glite/bin/BNotifier: dir
> /var/spool/pbs/server_priv/accounting/server_logs does not exist:
> Permission denied
> [FAILED]
> Starting BUpdaterPBS: /opt/glite/bin/BUpdaterPBS: dir ping does not
> exist: Permission denied
> [FAILED]
>
> The directory is mounted over nfs:
>
> 192.168.1.253:/var/spool/pbs/server_priv/accounting on
> /var/spool/pbs/server_priv/accounting type nfs
> (rw,vers=3,rsize=524288,wsize=524288,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.1.253)
>
>
> Claudiu
>
> On 03/19/2011 08:08 AM, Massimo Sgaravatto - INFN Padova wrote:
>> On Fri, 18 Mar 2011, Maarten Litmaath wrote:
>>
>>> Hi Claudiu,
>>>
>>>> Should I have put the certificate in any other place except
>>>> /etc/grid-security/ ?
>>>
>>> Yes:
>>>
>>> -rw-r--r-- 1 glite glite 2464 Mar 18 18:00
>>> /home/glite/.certs/hostcert.pem
>>> -r-------- 1 glite glite 1679 Mar 2 09:24 /home/glite/.certs/hostkey.pem
>>>
>>> YAIM normally takes care of that.
>>>
>>
>>
>>
>> Indeed.
>> But Claudiu's problem is not related to that. I suspect some mess with
>> Java installation
>>
>> Cheers, Massimo
>>
>
\|||/
-----------0oo----( o o )----oo0-------------------
(_)
INFN Sezione di Padova
Via Marzolo, 8
35131 Padova - Italy E-mail: massimo.sgaravatto [at] pd.infn.it
Tel: ++39 0499677360 Skype: massimo.sgaravatto
Fax: ++39 0498275952
|