Devel16 Work Log

2007-11-15 (Ale)

Starting installation of the WMS

  • Define new yum repository:
[main]
[glite-wms]
name=gLite 3.1 wms
baseurl=http://grid-deployment.web.cern.ch/grid-deployment/glite/cert/3.1/glite-WMSLB/sl4/i386/
enabled=1

  • yum install cert-glite-WMSLB
  • Copy hostcert.pem hostkey.pem under /etc/grid-security/

  • /opt/glite/yaim/bin/yaim -c -s site-info.def -n WMS

PROBLEMs:

  1. ERROR: No gLite version has been detected. You have to have glite-version command available under /opt/glite/bin/ ! Exiting. BUG 27428

wget http://eticssoft.web.cern.ch/eticssoft/repository/org.glite/glite-version/3.1.0/slc4_ia32_gcc346/glite-version-3.1.0-1.slc4.i386.rpm rpm -ihv glite-version-3.1.0-1.slc4.i386.rpm

  1. ERROR: GLITE_USER is not set
 
   ERROR: Error during the execution of function: config_condor_wms_check
   ERROR: Error during running check functions.
   ERROR: Please define your missing variables ! Exiting.

Change this function in /opt/glite/yaim/functions/config_condor_wms

function config_condor_wms_check () {

        requires $1 INSTALL_ROOT SITE_EMAIL GLOBUS_TCP_PORT_RANGE
}

  1. ERROR: Error during the execution of function: config_gip_service

Why do you configure GIP on a MWS??? Remove from file /opt/glite/yaim/node-info.d/glite-wms the line: config_gip_service

  1. /opt/glite/yaim/bin/../libexec/configure_node: line 99: /opt/edg/etc/edg-mkgridmap.conf: No such file or directory /opt/glite/yaim/bin/../libexec/configure_node: line 528: /opt/edg/sbin/edg-mkgridmap: No such file or directory

Just a warning

  1. cat: /opt/glite/etc/ftpaccess: No such file or directory
mv: cannot stat `/opt/glite/etc/ftpaccess': No such file or directory
/opt/glite/yaim/bin/../libexec/configure_node: line 388: /opt/glite/etc/init.d/glite-wms-ftpd: No such file or directory
   INFO: Executing function: config_glite_wms_setenv
   INFO: Executing function: config_glite_wms
Your identity: /C=IT/O=INFN/OU=Host/L=CNAF/CN=devel16.cnaf.infn.it
Creating proxy ................................... Done
Your proxy is valid until: Fri Nov 16 17:28:23 2007
   ABORT: Service glite-wms-ftpd failed to start!
   ERROR: Error during the execution of function: config_glite_wms
   ERROR: Error during the configuration.Exiting.                              [FAILED]

glite-wms-thirdparty-globus_gridftp_server is not installed so please remove this part from /opt/glite/yaim/functions/config_glite_wms!

  1. starting workload manager... failure
   ABORT: Service glite-wms-wm failed to start!
   ERROR: Error during the execution of function: config_glite_wms
   ERROR: Error during the configuration.Exiting.                              [FAILED]

To start correctly workload-manager add to file /opt/glite/yaim/functions/config_glite_wms (it needs liblog4cxx.so.9.0.0)

yaimgridpath_append LD_LIBRARY_PATH /usr/local/lib

  1. the pid file /var/glite/glite-wms-workload_manager.pid is not writable (from the wm log file)

$GLITE_WMS_TMP must be all-writable

  1. /opt/glite/etc/init.d/glite-wms-wmproxy: line 63: /usr/sbin/httpd: No such file or directory
   ABORT: Service glite-wms-wmproxy failed to start!
   ERROR: Error during the execution of function: config_glite_wms
   ERROR: Error during the configuration.Exiting.                              [FAILED]

yum install httpd

  1. Syntax error on line 18 of /opt/glite/etc/glite_wms_wmproxy_httpd.conf:
Cannot load /usr/lib/httpd/modules/mod_ssl.so into server: /usr/lib/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory
   ABORT: Service glite-wms-wmproxy failed to start!
   ERROR: Error during the execution of function: config_glite_wms
   ERROR: Error during the configuration.Exiting.                              

yum install mod_ssl

  1. Syntax error on line 101 of /opt/glite/etc/glite_wms_wmproxy_httpd.conf:
SSLCACertificatePath: directory '/etc/grid-security/certificates' does not exist
   ABORT: Service glite-wms-wmproxy failed to start!
   ERROR: Error during the execution of function: config_glite_wms
   ERROR: Error during the configuration.Exiting.                              [FAILED]

yum install lcg-CA

  1. chmod: cannot access `/var/lib/mysql/': No such file or directory
error reading information on service mysql: No such file or directory
/opt/glite/yaim/functions/config_glite_lbproxy: line 43: /etc/init.d/mysql: No such file or directory
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Can not access MySQL DB, check password.
   ERROR: Error during the execution of function: config_glite_lbproxy
   ERROR: Error during the configuration.Exiting.                              [FAILED]

yum install mysql-server

Fix line 43 of /opt/glite/yaim/functions/config_glite_lbproxy: /etc/init.d/mysqld start

-- AlessioGianelle - 08 Oct 2007


This topic: EgeeJra1It > WebHome > DevelTestbed > WorkLogDevel16
Topic revision: r3 - 2007-11-15 - AlessioGianelle
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback