Tags:
, view all tags

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

  1. To run correctly wmproxy add to file /opt/glite/yaim/functions/config_glite_wms (for libfcgi*)

yaimgridpath_append LD_LIBRARY_PATH /opt/fcgi/lib

  1. use the correct glite-wms-purger.cron script

s/root/glite/

  1. fix lcg-expiregridmapdir cron job (with the correct path)

s/egd/glite/

  1. install glite-wms-wmproxy-logrotate.cron

HOME=/
MAILTO=root@localhost
0 */2 * * * root /usr/sbin/logrotate -v /opt/glite/etc/wmproxy_logrotate.conf >> /var/log/glite/wmproxy_logrotate.log 2>&1

  1. Remove edg-mkgridmap from the cron.d dir

  1. Add the proper VO entry in the /etc/grid-security/grid-mapfile: e.g.
"/dteam/Role=lcgadmin/Capability=NULL" .dteamsgm
"/dteam/Role=lcgadmin" .dteamsgm
"/dteam/Role=production/Capability=NULL" .dteamprd
"/dteam/Role=production" .dteamprd
"/dteam/Role=NULL/Capability=NULL" .dteam
"/dteam" .dteam
"/dteam/*" .dteam

1. Add the proper VO entry in the /etc/grid-security/groupmapfile: e.g.

"/dteam/Role=lcgadmin/Capability=NULL" dteamsgm
"/dteam/Role=lcgadmin" dteamsgm
"/dteam/Role=production/Capability=NULL" dteamprd
"/dteam/Role=production" dteamprd
"/dteam/Role=NULL/Capability=NULL" dteam
"/dteam" dteam
/dteam dteam
/dteam/* dteam

  1. Configure the gridftp server:
    • Run /opt/glite/sbin/gt4-interface-install.sh install (it creates /etc/grid-security/gsi-authz.conf)
    • Touch the file /opt/glite/etc/lcas/ban_users.db
    • Create the file /opt/glite/etc/lcas/lcas.db: e.g.
    • Create the file /opt/glite/etc/lcmaps/lcmaps.db.gridftp: e.g.

  1. To start the service: * export LCMAPS_DB_FILE=/opt/glite/etc/lcmaps/lcmaps.db.gridftp * /opt/globus/sbin/globus-gridftp-server -p 2811 -l /var/log/gridftp.log -S

  1. Create dir $GLITE_WMS_LOCATION_VAR/wmproxy for the file LBServerWeightsFile.devel16.cnaf.infn.it

  1. Install condor-lcg-1.1.0-1.i386.rpm - Needs by condor (gahp)

-- AlessioGianelle - 08 Oct 2007

Edit | Attach | PDF | History: r8 | r6 < r5 < r4 < r3 | Backlinks | Raw View | More topic actions...
Topic revision: r4 - 2007-11-16 - AlessioGianelle
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platformCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback