Difference: WorkLogDevel16 (4 vs. 5)

Revision 52007-11-16 - AlessioGianelle

Line: 1 to 1
 
META TOPICPARENT name="DevelTestbed"

Devel16 Work Log

2007-11-15 (Ale)

Changed:
<
<
Starting installation of the WMS
>
>

Starting installation of the WMS

 
  • Define new yum repository:
Line: 20 to 21
 
  • /opt/glite/yaim/bin/yaim -c -s site-info.def -n WMS
Changed:
<
<
PROBLEMs:
>
>

Issues:

ERROR: No gLite version has been detected. You have to have glite-version command available under /opt/glite/bin/ ! Exiting. 
 
Changed:
<
<
  1. ERROR: No gLite version has been detected. You have to have glite-version command available under /opt/glite/bin/ ! Exiting. BUG 27428
>
>
This is bug 27428 to solve it do:
 
Changed:
<
<
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
>
>
 
Deleted:
<
<
  1. ERROR: GLITE_USER is not set
 
 
Changed:
<
<
ERROR
Error during the execution of function: config_condor_wms_check
>
>
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.
Changed:
<
<
Change this function in /opt/glite/yaim/functions/config_condor_wms
function config_condor_wms_check () {
>
>
  • Remove GLITE_USER check from function /opt/glite/yaim/functions/config_condor_wms
 
Changed:
<
<
requires $1 INSTALL_ROOT SITE_EMAIL GLOBUS_TCP_PORT_RANGE }
>
>
ERROR: Error during the execution of function: config_gip_service
 
Added:
>
>
Why do you configure GIP on a WMS???
 
Changed:
<
<
  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

>
>
  • Remove from file /opt/glite/yaim/node-info.d/glite-wms the line: config_gip_service
 
Changed:
<
<
  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
>
>
/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
 
Changed:
<
<
Just a warning
>
>
Just a warning, you need to remove the "edg-mkgridmap" configuration part.
 
Deleted:
<
<
  1. cat: /opt/glite/etc/ftpaccess: No such file or directory
 
Added:
>
>
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
Line: 66 to 70
  glite-wms-thirdparty-globus_gridftp_server is not installed so please remove this part from /opt/glite/yaim/functions/config_glite_wms!
Deleted:
<
<
  1. starting workload manager... failure
 
Added:
>
>
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]
Line: 75 to 79
  To start correctly workload-manager add to file /opt/glite/yaim/functions/config_glite_wms (it needs liblog4cxx.so.9.0.0)
Changed:
<
<
yaimgridpath_append LD_LIBRARY_PATH /usr/local/lib
>
>
  • yaimgridpath_append LD_LIBRARY_PATH /usr/local/lib
 
Changed:
<
<
  1. the pid file /var/glite/glite-wms-workload_manager.pid is not writable (from the wm log file)
>
>
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
Deleted:
<
<
  1. /opt/glite/etc/init.d/glite-wms-wmproxy: line 63: /usr/sbin/httpd: No such file or directory
 
Added:
>
>
/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]
Changed:
<
<
yum install httpd
>
>
  • yum install httpd
 
Deleted:
<
<
  1. Syntax error on line 18 of /opt/glite/etc/glite_wms_wmproxy_httpd.conf:
 
Added:
>
>
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.
Changed:
<
<
yum install mod_ssl
>
>
  • yum install mod_ssl
 
Deleted:
<
<
  1. Syntax error on line 101 of /opt/glite/etc/glite_wms_wmproxy_httpd.conf:
 
Added:
>
>
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]
Changed:
<
<
yum install lcg-CA
>
>
  • yum install lcg-CA
 
Deleted:
<
<
  1. chmod: cannot access `/var/lib/mysql/': No such file or directory
 
Added:
>
>
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
Line: 125 to 131
 
ERROR
Error during the configuration.Exiting. [FAILED]
Changed:
<
<
yum install mysql-server
>
>
  • 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*):
 
Changed:
<
<
Fix line 43 of /opt/glite/yaim/functions/config_glite_lbproxy: /etc/init.d/mysqld start
>
>
  • yaimgridpath_append LD_LIBRARY_PATH /opt/fcgi/lib
 
Changed:
<
<
  1. To run correctly wmproxy add to file /opt/glite/yaim/functions/config_glite_wms (for libfcgi*)
>
>
Use the correct glite-wms-purger.cron script
 
Changed:
<
<
yaimgridpath_append LD_LIBRARY_PATH /opt/fcgi/lib
>
>
  • Substitute: s/root/glite/
 
Changed:
<
<
  1. use the correct glite-wms-purger.cron script
>
>
Fix lcg-expiregridmapdir cron job (with the correct path)
 
Changed:
<
<
s/root/glite/
>
>
  • Substitute: s/egd/glite/

 
Changed:
<
<
  1. fix lcg-expiregridmapdir cron job (with the correct path)
>
>
  • Create dir $GLITE_WMS_LOCATION_VAR/wmproxy for the file LBServerWeightsFile.devel16.cnaf.infn.it
 
Changed:
<
<
s/egd/glite/
>
>
  • Install condor-lcg-1.1.0-1.i386.rpm - Needs by condor (gahp)
 
Changed:
<
<
  1. install glite-wms-wmproxy-logrotate.cron
>
>
  • Install glite-wms-wmproxy-logrotate.cron. e.g:
 
HOME=/
MAILTO=root@localhost
Changed:
<
<
0 */2 * * * root /usr/sbin/logrotate -v /opt/glite/etc/wmproxy_logrotate.conf >> /var/log/glite/wmproxy_logrotate.log 2>&1
>
>
0 */2 * * * root /usr/sbin/logrotate -v /opt/glite/etc/wmproxy_logrotate.conf >> /opt/glite/log/wmproxy_logrotate.log 2>&1
 
Changed:
<
<
  1. Remove edg-mkgridmap from the cron.d dir
>
>
  • Remove edg-mkgridmap from the cron.d dir
 
Changed:
<
<
  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
>
>
  • Add the proper VO entry in the /etc/grid-security/grid-mapfile: e.g.
 
Changed:
<
<
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
>
>
  • Add the proper VO entry in the /etc/grid-security/groupmapfile: e.g.
 
Added:
>
>

Configure the gridftp server:

 
Deleted:
<
<
  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
Changed:
<
<
    • Create the file /opt/glite/etc/lcas/lcas.db: e.g.
    • Create the file /opt/glite/etc/lcmaps/lcmaps.db.gridftp: e.g.
>
>
    • Create the file /opt/glite/etc/lcas/lcas.db: e.g.
    • Create the file /opt/glite/etc/lcmaps/lcmaps.db.gridftp: e.g.
 
Changed:
<
<
  1. To start the service:
>
>
  • 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
Deleted:
<
<
  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 \ No newline at end of file
 
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