[gold-users] ICST-gold

truongco nguyen truongcophysics at gmail.com
Thu Sep 29 02:10:37 MDT 2011


Dear

Thanks you very much for your help. After doing the same your advice, it
didn't work.  But when we researched all bugs, we found out the first one
was :

 *[root at cluster conf]# /opt/gold/bin/gchpasswd     *
* Failed sending message: (Unable to connect to socket (Connection refused))
*
*
*
Could you give us any clues?

Thank you in advance

* Co*

On Thu, Sep 29, 2011 at 1:00 AM, Scott Jackson <
scottmo at adaptivecomputing.com> wrote:

> Yes, make sure you run the createdb and psql commands as the gold user (or
> the userid that goldd will run under).
>
>
> ----- Original Message -----
> > From: "Steve Crusan" <scrusan at ur.rochester.edu>
> > To: "Gold Users Mailing List" <gold-users at supercluster.org>
> > Sent: Wednesday, September 28, 2011 11:10:16 AM
> > Subject: Re: [gold-users] ICST-gold
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > It would be probably be easier for the list to read if you posted the
> > last few error messages than posting the whole setup steps each
> > time...
> >
> > That being said, is the gold user the owner of the postgresql
> > database, and also allowed to connect to it?
> >
> > If you connect to the postgres db, check the database ownership:
> > postgres=> \l
> >         List of databases
> >    Name    |  Owner   | Encoding
> > - -----------+----------+----------
> >  gold      | gold     | UTF8
> >
> >
> > Also, make sure you have a line in your
> > postgres_root/data/pg_hba.conf that is something like this:
> >
> > # IPv4 local connections:
> > host    gold        gold        127.0.0.1/32          md5
> >
> > You should be able to connect from the commandline via:
> > psql -U gold -d gold -h localhost -W
> > Enter passwd:
> >
> > That password you entered needs to match the password in your
> > $gold_root/etc/goldd.conf
> > database.password = mypass
> >
> > After you make changes to your postgres pg_hba.conf file, you need to
> > restart postgres, and also the gold service.
> >
> >
> > On Sep 28, 2011, at 12:30 PM, truongco nguyen wrote:
> >
> > > Thank you very much for your help, but when i finish the make deps
> > > step. The
> > > new bug turn out.  Any helps please?
> > >
> > > Thanks you in advance!
> > >
> > > Following is updated step.
> > >
> > > step 1: create user
> > > adduser gold
> > > adduser postgress
> > > step2:
> > > [root at cluster source]# cp gold-2.2.0.0.tar.gz /home/gold/
> > > [root at cluster source]# chown gold:gold /home/gold/
> > > step3:
> > > su gold
> > > [gold at cluster ~]$ tar -zxvf gold-2.2.0.0.tar.gz
> > > [gold at cluster ~]$ cd gold-2.2.0.0
> > > step4:
> > > [root at cluster source]# tar -zxvf postgresql-8.3.3.tar.gz
> > > [root at cluster source]# cd postgresql-8.3.3
> > > step5:
> > > [root at cluster postgresql-8.3.3]# ./configure
> > > report:
> > > configure: creating ./config.status
> > > config.status: creating GNUmakefile
> > > config.status: creating src/Makefile.global
> > > config.status: creating src/include/pg_config.h
> > > config.status: creating src/interfaces/ecpg/include/ecpg_config.h
> > > config.status: linking ./src/backend/port/tas/dummy.s to
> > > src/backend/port/tas.s
> > > config.status: linking ./src/backend/port/dynloader/linux.c to
> > > src/backend/port/dynloader.c
> > > config.status: linking ./src/backend/port/sysv_sema.c to
> > > src/backend/port/pg_sema.c
> > > config.status: linking ./src/backend/port/sysv_shmem.c to
> > > src/backend/port/pg_shmem.c
> > > config.status: linking ./src/backend/port/dynloader/linux.h to
> > > src/include/dynloader.h
> > > config.status: linking ./src/include/port/linux.h to
> > > src/include/pg_config_os.h
> > > config.status: linking ./src/makefiles/Makefile.linux to
> > > src/Makefile.port
> > >
> > > step6:
> > >
> > > [root at cluster postgresql-8.3.3]# make
> > > step7:
> > >
> > > [root at cluster postgresql-8.3.3]# make install
> > > [root at cluster postgresql-8.3.3]# mkdir /usr/local/pgsql/data
> > > [root at cluster postgresql-8.3.3]# chown postgress
> > > /usr/local/pgsql/data
> > > [root at cluster postgresql-8.3.3]# touch /var/log/pgsql
> > > [root at cluster postgresql-8.3.3]# chown postgress /var/log/pgsql
> > >
> > > [root at cluster postgresql-8.3.3]# rpm -qa | grep perl
> > > perl-5.8.8-32.el5_5.2
> > > perl-suidperl-5.8.8-32.el5_5.2
> > >
> > > [root at cluster postgresql-8.3.3]# rpm -qa |grep libxml
> > > foundation-libxml2-2.6.23-0
> > > libxml2-2.6.26-2.1.2.8.el5_5.1
> > > libxml2-2.6.26-2.1.2.8.el5_5.1
> > > libxml2-devel-2.6.26-2.1.2.8.el5_5.1
> > > libxml2-python-2.6.26-2.1.2.8.el5_5.1
> > >
> > > [root at cluster postgresql-8.3.3]# rpm -qa |grep readline
> > > readline-5.1-3.el5
> > > readline-5.1-3.el5
> > > foundation-readline-5.1-0
> > > readline-devel-5.1-3.el5
> > >
> > > [root at cluster postgresql-8.3.3]# rpm -qa |grep httpd
> > > httpd-devel-2.2.3-43.el5.centos.3
> > > httpd-devel-2.2.3-43.el5.centos.3
> > > httpd-2.2.3-43.el5.centos.3
> > >
> > > [root at cluster postgresql-8.3.3]# rpm -qa |grep openssl
> > > openssl-0.9.8e-12.el5_4.6
> > > openssl-0.9.8e-12.el5_4.6
> > > openssl-devel-0.9.8e-12.el5_4.6
> > > openssl-devel-0.9.8e-12.el5_4.6
> > > [root at cluster postgresql-8.3.3]# rpm -qa |grep mod_ssl
> > > mod_ssl-2.2.3-43.el5.centos.3
> > >
> > > [gold at cluster gold-2.2.0.0]$ ./configure --with-db=Pg
> > > --with-readline
> > > --with-user=gold --with-perl-libs=local --with-gold-libs=local
> > > --with-cgi-bin=/var/www/cgi-bin/gold
> > > [gold at cluster gold-2.2.0.0]$ make
> > > [gold at cluster gold-2.2.0.0]$ make gui
> > > [gold at cluster gold-2.2.0.0]$ su
> > > [root at cluster gold-2.2.0.0]# *make deps*
> > > [root at cluster gold-2.2.0.0]# make install
> > > [root at cluster gold-2.2.0.0]# make install-gui
> > > [root at cluster gold-2.2.0.0]# make install-gui
> > > [root at cluster gold-2.2.0.0]# make auth_key
> > > Enter your secret key (up to 80 characters and can include spaces):
> > > sss
> > > [root at cluster gold-2.2.0.0]# vim /opt/gold/etc/goldd.conf
> > > # Gold Server Config File
> > >
> > > super.user = gold
> > >
> > > server.host = cluster.tripham.vn
> > > server.port = 7112
> > >
> > > database.datasource = DBI:Pg:dbname=gold;host=cluster.tripham.vn
> > > # database.user = NONE
> > > # database.password = NONE
> > >
> > > response.chunksize = 100000
> > > # currency.precision = 0
> > >
> > > security.authentication = true
> > > # security.encryption = false
> > >
> > > account.autogen = true
> > > allocation.autogen = true
> > > # machine.autogen = false
> > >
> > > [root at cluster gold-2.2.0.0]# vim /opt/gold/etc/gold.conf
> > > Gold Client Config File
> > >
> > > server.host = cluster.tripham.vn
> > > server.port = 7112
> > > # server.backup = NONE
> > >
> > > security.authentication = true
> > > # security.encryption = false
> > > # security.token.type = symmetric
> > > # wire.protocol = SSSRMAP
> > >
> > > # response.chunking = false
> > > # response.chunksize = 0
> > > # currency.precision = 0
> > >
> > > # account.show = Id,Name,Amount,Projects,Users,Machines,Description
> > > # allocation.show =
> > > Id,Account,Active,StartTime,EndTime,Amount,CreditLimit,Deposited
> > > # balance.show =
> > > Id,Name,Amount,Reserved,Balance,CreditLimit,Available
> > > # job.show =
> > >
> Id,JobId,User,Project,Machine,Queue,QualityOfService,Stage,Charge,Processors,Nodes,WallDuration,StartTime,EndTime,Description
> > >
> > > step8:
> > >
> > > [postgress at cluster postgresql-8.3.3]$ /usr/local/pgsql/bin/initdb
> > > -D
> > > /usr/local/pgsql/data
> > > [postgress at cluster postgresql-8.3.3]$ echo "host all all
> > > 172.16.1.70
> > > 255.255.255.255 trust">>/usr/local/pgsql/data/pg_hba.conf
> > > step9:
> > > [postgress at cluster postgresql-8.3.3]$
> > > /usr/local/pgsql/bin/postmaster -i -D
> > > /usr/local/pgsql/data
> > > LOG:  database system was shut down at 2011-09-28 19:58:45 ICT
> > > LOG:  autovacuum launcher started
> > > LOG:  database system is ready to accept connections
> > > [postgress at cluster postgresql-8.3.3]$
> > > /usr/local/pgsql/bin/postmaster -i -D
> > > /usr/local/pgsql/data >/var/log/pgsql 2>&1 &
> > > [1] 17250
> > > step10:
> > > [postgress at cluster postgresql-8.3.3]$
> > > /usr/local/pgsql/bin/createuser gold
> > > Shall the new role be a superuser? (y/n) n
> > > Shall the new role be allowed to create databases? (y/n) y
> > > Shall the new role be allowed to create more new roles? (y/n) y
> > > [postgress at cluster postgresql-8.3.3]$ /usr/local/pgsql/bin/createdb
> > > gold
> > >
> > > step11:
> > > [root at cluster ~]# cd /etc/httpd/conf
> > > [root at cluster conf]# vim httpd.conf
> > > edit line
> > > #</Directory>
> > > <Directory "/var/www/cgi-bin">
> > >  Options ExecCGI
> > >  AddHandler cgi-script .cgi .pl
> > > </Directory>
> > > edit line
> > > #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
> > > Alias /cgi-bin/ "/var/www/cgi-bin/gold"
> > >
> > > add line
> > > <VirtualHost 172.16.1.70:443>
> > >  DocumentRoot /var/www/cgi-bin
> > >  ServerName cluster.tripham.vn
> > >  ServerAdmin root at cluster.tripham.vn
> > >  ErrorLog logs/gold-error_log
> > >  TransferLog logs/gold-access_log
> > >  SSLEngine on
> > >  SSLCertificateFile /etc/httpd/conf/ssl.crt/gold-server.crt
> > >  SSLCertificateKeyFile /etc/httpd/conf/ssl.key/gold-server.key
> > >  SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
> > > </VirtualHost>
> > >
> > > step12:
> > > [root at cluster conf]# mkdir ssl.key
> > > [root at cluster conf]# openssl genrsa -out ssl.key/gold-server.key
> > > 1024
> > > Generating RSA private key, 1024 bit long modulus
> > > .......................++++++
> > > .++++++
> > > e is 65537 (0x10001)
> > > [root at cluster ssl.crt]# mkdir ssl.crt
> > > [root at cluster ssl.crt]# touch gold-server.crt
> > > [root at cluster ssl.crt]# chmod +x gold-server.crt
> > >
> > > step13:
> > > [root at cluster conf]# openssl req -new -key ssl.key/gold-server.key
> > > -x509
> > > -out ssl.crt/gold-server.crt
> > > You are about to be asked to enter information that will be
> > > incorporated
> > > into your certificate request.
> > > What you are about to enter is what is called a Distinguished Name
> > > or a DN.
> > > There are quite a few fields but you can leave some blank
> > > For some fields there will be a default value,
> > > If you enter '.', the field will be left blank.
> > > -----
> > > Country Name (2 letter code) [GB]:84
> > > State or Province Name (full name) [Berkshire]:vn
> > > Locality Name (eg, city) [Newbury]:hcm
> > > Organization Name (eg, company) [My Company Ltd]:icst
> > > Organizational Unit Name (eg, section) []:tech
> > > Common Name (eg, your name or your server's hostname)
> > > []:cluster.tripham.vn
> > > Email Address []:root at cluster.tripham.vn
> > >
> > > step14:
> > > [root at cluster conf]# /usr/sbin/apachectl restart
> > > [root at cluster conf]#
> > >
> > > step15:
> > > [gold at cluster bin]$ /opt/gold/bin/gchpasswd
> > > Failed sending message: (Unable to connect to socket (Connection
> > > refused)).
> > > [gold at cluster bin]$
> > >
> > > step16:
> > > [root at cluster ~]# cd /home/gold/gold-2.2.0.0/
> > > [root at cluster gold-2.2.0.0]# cp bank.sql /usr/local/pgsql/
> > > [root at cluster gold-2.2.0.0]# chown postgress
> > > /usr/local/pgsql/bank.sql
> > > [postgress at cluster pgsql]$ chmod +x bank.sql
> > > [postgress at cluster pgsql]$ /usr/local/pgsql/bin/psql gold <bank.sql
> > > INSERT 0 1
> > > INSERT 0 1
> > > INSERT 0 1
> > > INSERT 0 1
> > > INSERT 0 1
> > > INSERT 0 1
> > > INSERT 0 1
> > >
> > > step17:
> > > [postgress at cluster pgsql]$ /opt/gold/sbin/goldd
> > > [gold at cluster gold-2.2.0.0]$ /opt/gold/sbin/goldd
> > > Starting Gold Pid (19106)
> > > [gold at cluster gold-2.2.0.0]$ DBD::Pg::st execute failed: ERROR:
> > >  permission
> > > denied for relation g_object at /opt/gold/lib/Gold/Database.pm line
> > > 673.
> > > Exception caught while populating metadata cache: DBD::Pg::st
> > > execute
> > > failed:
> > > ERROR:  permission denied for relation g_object at
> > > /opt/gold/lib/Gold/Database.pm line 673.
> > >
> > >
> > > On Wed, Sep 28, 2011 at 10:47 PM, Scott Jackson <
> > > scottmo at adaptivecomputing.com> wrote:
> > >
> > >> You missed the make deps step.
> > >>
> > >> ------------------------------
> > >>
> > >> *From: *"truongco nguyen" <truongcophysics at gmail.com>
> > >> *To: *gold-users at supercluster.org
> > >> *Sent: *Wednesday, September 28, 2011 7:51:53 AM
> > >> *Subject: *[gold-users] ICST-gold
> > >>
> > >>
> > >> Dear
> > >>
> > >> I am trying to install gold in Rock 5.4. But in installing process
> > >> i
> > >> encountered a problem like that:
> > >>
> > >> [postgress at cluster pgsql]$ */opt/gold/sbin/goldd*
> > >>
> > >> *Can't locate Log/Log4perl.pm in @INC (@INC contains:
> > >> /opt/gold/lib*
> > >> */opt/gold/lib/perl5 /usr/local/lib/perl5/5.10.0/x86_64-linux*
> > >> */usr/local/lib/perl5/5.10.0
> > >> /usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux*
> > >> */usr/local/lib/perl5/site_perl/5.10.0 .) at /opt/gold/sbin/goldd
> > >> line 52.
> > >> *
> > >> *BEGIN failed--compilation aborted at /opt/gold/sbin/goldd line
> > >> 52.*
> > >> *
> > >> *
> > >> I don't know how to fix it? Any clues are high appreciated? * *
> > >> *
> > >> *
> > >> Thank you very much
> > >> *
> > >> *
> > >> Below are steps i crossed :
> > >>
> > >> step 1: create user
> > >> adduser gold
> > >> adduser postgress
> > >> step2:
> > >> [root at cluster source]# cp gold-2.2.0.0.tar.gz /home/gold/
> > >> [root at cluster source]# chown gold:gold /home/gold/
> > >> step3:
> > >> su gold
> > >> [gold at cluster ~]$ tar -zxvf gold-2.2.0.0.tar.gz
> > >> [gold at cluster ~]$ cd gold-2.2.0.0
> > >> step4:
> > >> [root at cluster source]# tar -zxvf postgresql-8.3.3.tar.gz
> > >> [root at cluster source]# cd postgresql-8.3.3
> > >> step5:
> > >> [root at cluster postgresql-8.3.3]# ./configure
> > >> report:
> > >> configure: creating ./config.status
> > >> config.status: creating GNUmakefile
> > >> config.status: creating src/Makefile.global
> > >> config.status: creating src/include/pg_config.h
> > >> config.status: creating src/interfaces/ecpg/include/ecpg_config.h
> > >> config.status: linking ./src/backend/port/tas/dummy.s to
> > >> src/backend/port/tas.s
> > >> config.status: linking ./src/backend/port/dynloader/linux.c to
> > >> src/backend/port/dynloader.c
> > >> config.status: linking ./src/backend/port/sysv_sema.c to
> > >> src/backend/port/pg_sema.c
> > >> config.status: linking ./src/backend/port/sysv_shmem.c to
> > >> src/backend/port/pg_shmem.c
> > >> config.status: linking ./src/backend/port/dynloader/linux.h to
> > >> src/include/dynloader.h
> > >> config.status: linking ./src/include/port/linux.h to
> > >> src/include/pg_config_os.h
> > >> config.status: linking ./src/makefiles/Makefile.linux to
> > >> src/Makefile.port
> > >>
> > >> step6:
> > >>
> > >> [root at cluster postgresql-8.3.3]# make
> > >> step7:
> > >>
> > >> [root at cluster postgresql-8.3.3]# make install
> > >> [root at cluster postgresql-8.3.3]# mkdir /usr/local/pgsql/data
> > >> [root at cluster postgresql-8.3.3]# chown postgress
> > >> /usr/local/pgsql/data
> > >> [root at cluster postgresql-8.3.3]# touch /var/log/pgsql
> > >> [root at cluster postgresql-8.3.3]# chown postgress /var/log/pgsql
> > >>
> > >> [root at cluster postgresql-8.3.3]# rpm -qa | grep perl
> > >> perl-5.8.8-32.el5_5.2
> > >> perl-suidperl-5.8.8-32.el5_5.2
> > >>
> > >> [root at cluster postgresql-8.3.3]# rpm -qa |grep libxml
> > >> foundation-libxml2-2.6.23-0
> > >> libxml2-2.6.26-2.1.2.8.el5_5.1
> > >> libxml2-2.6.26-2.1.2.8.el5_5.1
> > >> libxml2-devel-2.6.26-2.1.2.8.el5_5.1
> > >> libxml2-python-2.6.26-2.1.2.8.el5_5.1
> > >>
> > >> [root at cluster postgresql-8.3.3]# rpm -qa |grep readline
> > >> readline-5.1-3.el5
> > >> readline-5.1-3.el5
> > >> foundation-readline-5.1-0
> > >> readline-devel-5.1-3.el5
> > >>
> > >> [root at cluster postgresql-8.3.3]# rpm -qa |grep httpd
> > >> httpd-devel-2.2.3-43.el5.centos.3
> > >> httpd-devel-2.2.3-43.el5.centos.3
> > >> httpd-2.2.3-43.el5.centos.3
> > >>
> > >> [root at cluster postgresql-8.3.3]# rpm -qa |grep openssl
> > >> openssl-0.9.8e-12.el5_4.6
> > >> openssl-0.9.8e-12.el5_4.6
> > >> openssl-devel-0.9.8e-12.el5_4.6
> > >> openssl-devel-0.9.8e-12.el5_4.6
> > >> [root at cluster postgresql-8.3.3]# rpm -qa |grep mod_ssl
> > >> mod_ssl-2.2.3-43.el5.centos.3
> > >>
> > >> [gold at cluster gold-2.2.0.0]$ ./configure --with-db=Pg
> > >> --with-readline
> > >> --with-user=gold --with-perl-libs=local --with-gold-libs=local
> > >> --with-cgi-bin=/var/www/cgi-bin/gold
> > >> [gold at cluster gold-2.2.0.0]$ make
> > >> [gold at cluster gold-2.2.0.0]$ make gui
> > >> [gold at cluster gold-2.2.0.0]$ su
> > >> [root at cluster gold-2.2.0.0]# make install
> > >> [root at cluster gold-2.2.0.0]# make install-gui
> > >> [root at cluster gold-2.2.0.0]# make auth_key
> > >> Enter your secret key (up to 80 characters and can include
> > >> spaces): sss
> > >> [root at cluster gold-2.2.0.0]# vim /opt/gold/etc/goldd.conf
> > >> # Gold Server Config File
> > >>
> > >> super.user = gold
> > >>
> > >> server.host = cluster.tripham.vn
> > >> server.port = 7112
> > >>
> > >> database.datasource = DBI:Pg:dbname=gold;host=cluster.tripham.vn
> > >> # database.user = NONE
> > >> # database.password = NONE
> > >>
> > >> response.chunksize = 100000
> > >> # currency.precision = 0
> > >>
> > >> security.authentication = true
> > >> # security.encryption = false
> > >>
> > >> account.autogen = true
> > >> allocation.autogen = true
> > >> # machine.autogen = false
> > >>
> > >> [root at cluster gold-2.2.0.0]# vim /opt/gold/etc/gold.conf
> > >> Gold Client Config File
> > >>
> > >> server.host = cluster.tripham.vn
> > >> server.port = 7112
> > >> # server.backup = NONE
> > >>
> > >> security.authentication = true
> > >> # security.encryption = false
> > >> # security.token.type = symmetric
> > >> # wire.protocol = SSSRMAP
> > >>
> > >> # response.chunking = false
> > >> # response.chunksize = 0
> > >> # currency.precision = 0
> > >>
> > >> # account.show =
> > >> Id,Name,Amount,Projects,Users,Machines,Description
> > >> # allocation.show =
> > >> Id,Account,Active,StartTime,EndTime,Amount,CreditLimit,Deposited
> > >> # balance.show =
> > >> Id,Name,Amount,Reserved,Balance,CreditLimit,Available
> > >> # job.show =
> > >>
> Id,JobId,User,Project,Machine,Queue,QualityOfService,Stage,Charge,Processors,Nodes,WallDuration,StartTime,EndTime,Description
> > >>
> > >> step8:
> > >>
> > >> [postgress at cluster postgresql-8.3.3]$ /usr/local/pgsql/bin/initdb
> > >> -D
> > >> /usr/local/pgsql/data
> > >> [postgress at cluster postgresql-8.3.3]$ echo "host all all
> > >> 172.16.1.70
> > >> 255.255.255.255 trust">>/usr/local/pgsql/data/pg_hba.conf
> > >> step9:
> > >> [postgress at cluster postgresql-8.3.3]$
> > >> /usr/local/pgsql/bin/postmaster -i
> > >> -D /usr/local/pgsql/data
> > >> LOG:  database system was shut down at 2011-09-28 19:58:45 ICT
> > >> LOG:  autovacuum launcher started
> > >> LOG:  database system is ready to accept connections
> > >> [postgress at cluster postgresql-8.3.3]$
> > >> /usr/local/pgsql/bin/postmaster -i
> > >> -D /usr/local/pgsql/data >/var/log/pgsql 2>&1 &
> > >> [1] 17250
> > >> step10:
> > >> [postgress at cluster postgresql-8.3.3]$
> > >> /usr/local/pgsql/bin/createuser
> > >> gold
> > >> Shall the new role be a superuser? (y/n) n
> > >> Shall the new role be allowed to create databases? (y/n) y
> > >> Shall the new role be allowed to create more new roles? (y/n) y
> > >> [postgress at cluster postgresql-8.3.3]$
> > >> /usr/local/pgsql/bin/createdb gold
> > >>
> > >> step11:
> > >> [root at cluster ~]# cd /etc/httpd/conf
> > >> [root at cluster conf]# vim httpd.conf
> > >> edit line
> > >> #</Directory>
> > >> <Directory "/var/www/cgi-bin">
> > >>  Options ExecCGI
> > >>  AddHandler cgi-script .cgi .pl
> > >> </Directory>
> > >> edit line
> > >> #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
> > >> Alias /cgi-bin/ "/var/www/cgi-bin/gold"
> > >>
> > >> add line
> > >> <VirtualHost 172.16.1.70:443>
> > >>  DocumentRoot /var/www/cgi-bin
> > >>  ServerName cluster.tripham.vn
> > >>  ServerAdmin root at cluster.tripham.vn
> > >>  ErrorLog logs/gold-error_log
> > >>  TransferLog logs/gold-access_log
> > >>  SSLEngine on
> > >>  SSLCertificateFile /etc/httpd/conf/ssl.crt/gold-server.crt
> > >>  SSLCertificateKeyFile /etc/httpd/conf/ssl.key/gold-server.key
> > >>  SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
> > >> </VirtualHost>
> > >>
> > >> step12:
> > >> [root at cluster conf]# mkdir ssl.key
> > >> [root at cluster conf]# openssl genrsa -out ssl.key/gold-server.key
> > >> 1024
> > >> Generating RSA private key, 1024 bit long modulus
> > >> .......................++++++
> > >> .++++++
> > >> e is 65537 (0x10001)
> > >> [root at cluster ssl.crt]# mkdir ssl.crt
> > >> [root at cluster ssl.crt]# touch gold-server.crt
> > >> [root at cluster ssl.crt]# chmod +x gold-server.crt
> > >>
> > >> step13:
> > >> [root at cluster conf]# openssl req -new -key ssl.key/gold-server.key
> > >> -x509
> > >> -out ssl.crt/gold-server.crt
> > >> You are about to be asked to enter information that will be
> > >> incorporated
> > >> into your certificate request.
> > >> What you are about to enter is what is called a Distinguished Name
> > >> or a DN.
> > >> There are quite a few fields but you can leave some blank
> > >> For some fields there will be a default value,
> > >> If you enter '.', the field will be left blank.
> > >> -----
> > >> Country Name (2 letter code) [GB]:84
> > >> State or Province Name (full name) [Berkshire]:vn
> > >> Locality Name (eg, city) [Newbury]:hcm
> > >> Organization Name (eg, company) [My Company Ltd]:icst
> > >> Organizational Unit Name (eg, section) []:tech
> > >> Common Name (eg, your name or your server's hostname) []:
> > >> cluster.tripham.vn
> > >> Email Address []:root at cluster.tripham.vn
> > >>
> > >> step14:
> > >> [root at cluster conf]# /usr/sbin/apachectl restart
> > >> [root at cluster conf]#
> > >>
> > >> step15:
> > >> [root at cluster ~]# gchpasswd
> > >> Can't locate Log/Log4perl.pm in @INC (@INC contains: /opt/gold/lib
> > >> /opt/gold/lib/perl5 /usr/local/lib/perl5/5.10.0/x86_64-linux
> > >> /usr/local/lib/perl5/5.10.0
> > >> /usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux
> > >> /usr/local/lib/perl5/site_perl/5.10.0) at /opt/gold/lib/Gold.pm
> > >> line 108.
> > >> BEGIN failed--compilation aborted at /opt/gold/lib/Gold.pm line
> > >> 108.
> > >> Compilation failed in require at /opt/gold/bin/gchpasswd line 52.
> > >> BEGIN failed--compilation aborted at /opt/gold/bin/gchpasswd line
> > >> 52.
> > >>
> > >> step16:
> > >> [root at cluster ~]# cd /home/gold/gold-2.2.0.0/
> > >> [root at cluster gold-2.2.0.0]# cp bank.sql /usr/local/pgsql/
> > >> [root at cluster gold-2.2.0.0]# chown postgress
> > >> /usr/local/pgsql/bank.sql
> > >> [postgress at cluster pgsql]$ chmod +x bank.sql
> > >> [postgress at cluster pgsql]$ /usr/local/pgsql/bin/psql gold
> > >> <bank.sql
> > >> INSERT 0 1
> > >> INSERT 0 1
> > >> INSERT 0 1
> > >> INSERT 0 1
> > >> INSERT 0 1
> > >> INSERT 0 1
> > >> INSERT 0 1
> > >>
> > >> step17:
> > >> [postgress at cluster pgsql]$ /opt/gold/sbin/goldd
> > >> Can't locate Log/Log4perl.pm in @INC (@INC contains: /opt/gold/lib
> > >> /opt/gold/lib/perl5 /usr/local/lib/perl5/5.10.0/x86_64-linux
> > >> /usr/local/lib/perl5/5.10.0
> > >> /usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux
> > >> /usr/local/lib/perl5/site_perl/5.10.0 .) at /opt/gold/sbin/goldd
> > >> line 52.
> > >> BEGIN failed--compilation aborted at /opt/gold/sbin/goldd line 52.
> > >>
> > >> --
> > >> Nguyen Truong Co
> > >> Institute for Computational Science and Technology
> > >> Researcher of Life Science Lab
> > >>
> > >>
> > >> _______________________________________________
> > >> gold-users mailing list
> > >> gold-users at supercluster.org
> > >> http://www.supercluster.org/mailman/listinfo/gold-users
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> gold-users mailing list
> > >> gold-users at supercluster.org
> > >> http://www.supercluster.org/mailman/listinfo/gold-users
> > >>
> > >>
> > >
> > >
> > > --
> > > Nguyen Truong Co
> > > Institute for Computational Science and Technology
> > > Researcher of Life Science Lab
> > > _______________________________________________
> > > gold-users mailing list
> > > gold-users at supercluster.org
> > > http://www.supercluster.org/mailman/listinfo/gold-users
> >
> >  ----------------------
> >  Steve Crusan
> >  System Administrator
> >  Center for Research Computing
> >  University of Rochester
> >  https://www.crc.rochester.edu/
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> > Comment: GPGTools - http://gpgtools.org
> >
> > iQEcBAEBAgAGBQJOg1T/AAoJENS19LGOpgqKzjcH/1iuUHK7V0toQ2K4kCdB1y+m
> > m8knMCPySEhmWGd7TiaAMdlm1Wg00HzPcGO47InX8pQ3dTJWXmSb36l8M1RMBK3O
> > Ujz1ILdV0pd5wSRZK6Yl8upOdZDHzSe3YQlSDWuF8plA0T70n4pl5kCphjrKLXs5
> > /GUHIvzmD+vMwVRscUO168+wNynq+y7Wdr75d88U02/jPWo08rSYPDWLU5XSMOWO
> > SuL+kstQce+EN9KxGYgvtJ+7knTlWUOxT4acNnQTQJZqAQDKy1fJXPAYqjKcgcwz
> > mixnlFrN9Kf2UYmLmF9NxHUfVU9FiclJkFzSiyUvN9whwdxXLy6BZnocNSEHKes=
> > =Eus7
> > -----END PGP SIGNATURE-----
> > _______________________________________________
> > gold-users mailing list
> > gold-users at supercluster.org
> > http://www.supercluster.org/mailman/listinfo/gold-users
> >
> _______________________________________________
> gold-users mailing list
> gold-users at supercluster.org
> http://www.supercluster.org/mailman/listinfo/gold-users
>



-- 
Nguyen Truong Co
Institute for Computational Science and Technology
Researcher of Life Science Lab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/gold-users/attachments/20110929/0eaee9e7/attachment-0001.html 


More information about the gold-users mailing list