Devel16 Work Log
2008-03-05 (Ale)
- Update:
glite-jdl-api-cpp | i386 | 3.1.14-1.slc4 | devel17 |
glite-lb-client | i386 | 3.1.2-2.slc4 | devel17 |
glite-lb-common | i386 | 6.1.1-2.slc4 | devel17 |
glite-lb-logger | i386 | 1.4.9-2.slc4 | devel17 |
glite-lb-proxy | i386 | 1.5.2-2.slc4 | devel17 |
glite-lb-server | i386 | 1.8.3-1.slc4 | devel17 |
glite-security-lcas-plugins-voms | i386 | 1.3.4-4.slc4 | devel17 |
glite-security-lcmaps | i386 | 1.4.3-2.slc4 | devel17 |
glite-security-lcmaps-plugins-voms | i386 | 1.3.7-4.slc4 | devel17 |
glite-wms-broker | i386 | 3.1.5-5.slc4 | devel17 |
glite-wms-brokerinfo | i386 | 3.1.10-3.slc4 | devel17 |
glite-wms-classad_plugin | i386 | 3.1.9-2.slc4 | devel17 |
glite-wms-helper | i386 | 3.1.20-2.slc4 | devel17 |
glite-wms-ism | i386 | 3.1.16-3.slc4 | devel17 |
glite-wms-manager | i386 | 3.1.32-3.slc4 | devel17 |
glite-wms-matchmaking | i386 | 3.1.8-2.slc4 | devel17 |
glite-wms-purger | i386 | 3.1.10-3.slc4 | devel17 |
glite-wms-thirdparty-bypass | i386 | 3.1.3-3.slc4 | devel17 |
lcg-CA | noarch | 1.19-1 | CA |
lcg-vomscerts | noarch | 4.8.0-1 | devel17 |
glite-security-voms | i386 | 1.7.24-1.slc4 | devel17 |
glite-wms-common | i386 | 3.1.19-3.slc4 | devel17 |
glite-wms-configuration | i386 | 3.1.11-2.slc4 | devel17 |
glite-wms-jobsubmission | i386 | 3.1.10-3.slc4 | devel17 |
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
Issues:
ERROR: No gLite version has been detected. You have to have glite-version command available under /opt/glite/bin/ ! Exiting.
This is bug
27428
to solve it do:
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.
- Remove GLITE_USER check from function /opt/glite/yaim/functions/config_condor_wms
ERROR: Error during the execution of function: config_gip_service
Why do you configure GIP on a WMS???
- Remove from file /opt/glite/yaim/node-info.d/glite-wms the line: config_gip_service
/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, you need to remove the "edg-mkgridmap" configuration part.
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!
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
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
/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]
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.
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]
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
To run correctly wmproxy add to file /opt/glite/yaim/functions/config_glite_wms (for libfcgi*):
- yaimgridpath_append LD_LIBRARY_PATH /opt/fcgi/lib
Use the correct glite-wms-purger.cron script
- Substitute: s/root/glite/
Fix lcg-expiregridmapdir cron job (with the correct path)
- Create dir $GLITE_WMS_LOCATION_VAR/wmproxy for the file LBServerWeightsFile.devel16.cnaf.infn.it
- Install condor-lcg-1.1.0-1.i386.rpm - Needs by condor (gahp)
- Install glite-wms-wmproxy-logrotate.cron. e.g:
HOME=/
MAILTO=root@localhost
0 */2 * * * root /usr/sbin/logrotate -v /opt/glite/etc/wmproxy_logrotate.conf >> /opt/glite/log/wmproxy_logrotate.log 2>&1
- Remove edg-mkgridmap from the cron.d dir
- Add the proper VO entry in the /etc/grid-security/grid-mapfile: e.g.
- Add the proper VO entry in the /etc/grid-security/groupmapfile: e.g.
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.
- 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
--
AlessioGianelle - 08 Oct 2007