GStat 2.0 for WeNMR

GStat web page:

Access to everybody

Other links:

Documentation about GStat could be found at

Management instructions

Nothing to do about published information, a cron keeps them up-to-date.

After a reconfiguration

  • change http / https ports to make site visible outside
    • edit /etc/httpd/conf/httpd.conf changing from 80 to 50080
    • edit /etc/httpd/conf.d/ssl.conf changing from 443 to (not-yet-defined)

Installation and configuration instructions

This documentation was followed:

Steps executed on (SL5 x86_64)

  • copied hostkey.pem and hostcert.pem, with right permissions, in /etc/grid-security/
cd /etc/yum.repos.d
rpm -ivh sa1-release-3-1.el5.noarch.rpm
yum update
yum remove mysql-5.0.77-4.el5_5.4 mysql-5.0.77-4.el5_5.4
yum install MySQL-client-community MySQL-server-community
yum install gstat-web ca_policy_igtf-classic
/etc/init.d/mysql start
chkconfig mysql on
mysql -e "CREATE DATABASE gstat"
mysql -e "GRANT ALL PRIVILEGES ON gstat.* TO 'gstat'@'localhost' IDENTIFIED BY '<GSTAT-PASSWORD>';" 
  • edited /etc/gstat/gstat.ini changing:
mysqladmin password <MySQL-root-password>
/usr/share/gstat/manage syncdb 
  • edited /etc/gstat/ref-bdii.conf
    • # BDII_HOST changed in Febraury, 15th 2011
    • #
    • BDII_PORT=2170
    • BDII_BIND=mds-vo-name=local,o=grid
  • edited /root/gstat-site-info.def
    • INSTALL_ROOT=/opt
    • VOS=""
    • NAGIOS_ADMIN_DNS="/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Cristina Aiftimiei,/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Peter Solagna,/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sara Bertocco,/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi,/C=IT/O=INFN/OU=Personal Certificate/L=LNL/CN=Simone Badoer,/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Marco Verlato"
    • NAGIOS_ESCAPE_HTML=0 #Note: this variable is requested even if not mentioned in documentation
  • vi /root/vo.d/
    • VOMS_SERVERS="'vomss://' 'vomss://'"
  • because of bug #53745 in yaim-core
 ln -s /bin/true /opt/glite/bin/glite-version 
  • because of permission denied error, edited the file /opt/glite/yaim/functions/config_nagios changing the line
    • lock_file=/var/run/
  • with this:
    • lock_file=/var/nagios/
 /opt/glite/yaim/bin/yaim -c -d 6 -s /root/gstat-site-info.def -n GSTAT 2>&1 | tee /root/yaim05.log 
  • edited /etc/httpd/conf/httpd.conf changing httpd port (from 80 to 50080)
    • Listen 50080

Some months after installation, errors occured while executing /usr/bin/gstat-update (see ticket Steps done to resolve:

cd /root
yum remove Django-1.1.1-2.el5
yum install gstat-web-1.0.13-1.el5.noarch.rpm
  • edited /etc/gstat/gstat.ini changing:

-- MarcoVerlato - 2012-03-08

Topic revision: r1 - 2012-03-08 - MarcoVerlato
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