Error

You get this :

  • service lfcdaemon start is OK
  • but service lfcdaemon stop doesn't work :

$ service lfcdaemon stop 
Stopping lfcdaemon: send2nsd: NS002 - send error : No valid credential found 
nsshutdown: Could not establish context 

And trying to create /grid as root doesn't work either :

$ lfc-mkdir /grid 
send2nsd: NS002 - send error : No valid credential found 
cannot create /grid: Could not establish context 

Solution

Check that :

  • you have a valid host certificate and key

  • IMPORTANT : the host certificate and key have to be kept at their original place !!!
$ ll /etc/grid-security/ | grep host
-rw-r--r--    1 root     root         5423 May 27 12:35 hostcert.pem
-r--------    1 root     root         1675 May 27 12:35 hostkey.pem

  • They are also copied and renamed under /etc/grid-security/lfcmgr :
$ ll /etc/grid-security/lfcmgr | grep lfc
-rw-r--r--    1 lfcmgr   lfcmgr       5423 May 30 13:58 lfccert.pem
-r--------    1 lfcmgr   lfcmgr       1675 May 30 13:58 lfckey.pem

Check that the CA certificates are present :

ls /etc/grid-security/certificates/
01621954.0
01621954.crl_url
01621954.info
01621954.r0
01621954.signing_policy
03aa0ecb.0
03aa0ecb.crl_url
03aa0ecb.info
03aa0ecb.r0
03aa0ecb.signing_policy
...

Get more information, with export CSEC_TRACE=1 :

$ export CSEC_TRACE=1
$ lfc-mkdir /grid

.....

In LFC version >= 1.4.0 or DPM version >= 1.5.4, it can be due to the fact that /opt/glite/lib is missing in /etc/ld.so.conf.

Try to add /opt/glite/lib at the beginning of the /etc/ld.so.conf file and run :

/sbin/ldconfig

Help !

If it still doesn't help, send the /var/log/lfc/log file to GGUS.

And send us the output of : $ cat /proc/lfc_master_pid/environ

-- SophieLemaitre - 17 Mar 2006

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2006-08-16 - SophieLemaitre
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback