From quang.ho at hp.com Tue Sep 6 22:21:39 2011 From: quang.ho at hp.com (Ho, Quang) Date: Wed, 7 Sep 2011 05:21:39 +0100 Subject: [gold-users] Request object with sort by column or field. Message-ID: Hi Scott, Thanks for helping me to get a grip on Gold. I have another question for you. When I created a Query request as below, I'd like to sort the returned data by a column(s) I tried setOption as below as a guess, but it did not work. Can you please tell me the right way ? $request->setOption("SortBySequence","CreationTime"); Thanks, Quang. Here is my request object in Perl. my $request = new Gold::Request(object => "Transaction",action =>"Query"); #select columns in transaction tables; $request->setSelection("Details"); $request->setSelection("User"); $request->setSelection("Project"); $request->setSelection("CreationTime"); $request->setSelection("JobId"); my $response = $request->getResponse(); -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.supercluster.org/pipermail/gold-users/attachments/20110907/663d3603/attachment.html From laszewski at gmail.com Wed Sep 7 07:11:15 2011 From: laszewski at gmail.com (Gregor von Laszewski) Date: Wed, 7 Sep 2011 09:11:15 -0400 Subject: [gold-users] Python Library for Gold In-Reply-To: References: Message-ID: <9C7799A5-6DDE-4965-8750-E9655A64B3B0@gmail.com> Hi: we are looking for a python library to gold. What are the recommendations you have. Gregor From scottmo at adaptivecomputing.com Wed Sep 7 10:07:15 2011 From: scottmo at adaptivecomputing.com (Scott Jackson) Date: Wed, 07 Sep 2011 10:07:15 -0600 (MDT) Subject: [gold-users] Python Library for Gold In-Reply-To: <9C7799A5-6DDE-4965-8750-E9655A64B3B0@gmail.com> Message-ID: Gregor, You will have to write your own unless someone in the user community has already done this. I will attach a python script that acts as a proxy server for gold clients written by Stijn De Weirdt in case it is helpful to you. Scott ----- Original Message ----- > From: "Gregor von Laszewski" > To: "Gold Users Mailing List" > Cc: "Hyungro Lee" > Sent: Wednesday, September 7, 2011 7:11:15 AM > Subject: [gold-users] Python Library for Gold > > Hi: > > we are looking for a python library to gold. What are the > recommendations you have. > > > Gregor > _______________________________________________ > gold-users mailing list > gold-users at supercluster.org > http://www.supercluster.org/mailman/listinfo/gold-users > -------------- next part -------------- A non-text attachment was scrubbed... Name: goldAllocationManagerProxy.py Type: text/x-python Size: 27611 bytes Desc: not available Url : http://www.supercluster.org/pipermail/gold-users/attachments/20110907/5bee5a8f/attachment-0001.py From scottmo at adaptivecomputing.com Wed Sep 7 10:09:20 2011 From: scottmo at adaptivecomputing.com (Scott Jackson) Date: Wed, 07 Sep 2011 10:09:20 -0600 (MDT) Subject: [gold-users] Request object with sort by column or field. In-Reply-To: Message-ID: <14b7478a-8392-47a7-b837-6a70d1f7995f@mail> $request->setSelection("CreationTime", "Sort"); ----- Original Message ----- > From: "Quang Ho" > To: scottmo at adaptivecomputing.com, gold-users at supercluster.org > Sent: Tuesday, September 6, 2011 10:21:39 PM > Subject: Request object with sort by column or field. > Hi Scott, > Thanks for helping me to get a grip on Gold. > I have another question for you. When I created a Query request as > below, I?d like to sort the returned data by a column(s) > I tried setOption as below as a guess, but it did not work. Can you > please tell me the right way ? > $request->setOption("SortBySequence","CreationTime"); > Thanks, > Quang. > Here is my request object in Perl. > my $request = new Gold::Request(object => "Transaction",action > =>"Query"); > #select columns in transaction tables; > $request->setSelection("Details"); > $request->setSelection("User"); > $request->setSelection("Project"); > $request->setSelection("CreationTime"); > $request->setSelection("JobId"); > my $response = $request->getResponse(); -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.supercluster.org/pipermail/gold-users/attachments/20110907/e0bd3b70/attachment.html From vanw at sabalcore.com Wed Sep 7 10:15:47 2011 From: vanw at sabalcore.com (Kevin Van Workum) Date: Wed, 7 Sep 2011 12:15:47 -0400 Subject: [gold-users] Request object with sort by column or field. In-Reply-To: References: Message-ID: On Wed, Sep 7, 2011 at 12:21 AM, Ho, Quang wrote: > Hi Scott,**** > > Thanks for helping me to get a grip on Gold.**** > > ** ** > > I have another question for you. When I created a Query request as below, > I?d like to sort the returned data by a column(s) **** > > I tried setOption as below as a guess, but it did not work. Can you please > tell me the right way ? **** > > ** ** > > $request->setOption("SortBySequence","CreationTime");**** > > ** ** > > Thanks,**** > > Quang.**** > > ** ** > > ** ** > > ** ** > > Here is my request object in Perl.**** > > ** ** > > my $request = new Gold::Request(object => "Transaction",action =>"Query"); > **** > > ** ** > > #select columns in transaction tables;**** > > $request->setSelection("Details");**** > > $request->setSelection("User");**** > > $request->setSelection("Project");**** > > $request->setSelection("CreationTime");**** > > $request->setSelection("JobId");**** > > my $response = $request->getResponse();**** > > ** ** > > ** > I think maybe you need to use: $request->setSelection("CreationTime", "Sort"); > ** > > _______________________________________________ > gold-users mailing list > gold-users at supercluster.org > http://www.supercluster.org/mailman/listinfo/gold-users > > -- Kevin Van Workum, PhD Sabalcore Computing Inc. Run your code on 500 processors. Sign up for a free trial account. www.sabalcore.com 877-492-8027 ext. 11 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.supercluster.org/pipermail/gold-users/attachments/20110907/d57d6c12/attachment.html From cwest at vpac.org Thu Sep 22 00:23:53 2011 From: cwest at vpac.org (Craig West) Date: Thu, 22 Sep 2011 16:23:53 +1000 Subject: [gold-users] Changing the name of a project Message-ID: <4E7AD479.7060006@vpac.org> We have a project that got called the wrong name and we want to change it. This is not do-able directly in either the command line or the web GUI for gold. I see the project name is the Primary key. Just wondering if there is any way to change the project name? I could do a search and replace on the DB for the project name, but given the complexity of the DB I'm not sure how safe or sane this option is. I can ensure that the project is not running jobs during any DB changes I attempt. Any thoughts or suggestions from people out there? What I am aiming to do is migrate the usage and history of the wrongly named project to the correctly named project... quite happy to delete the bad project and move the records if this is an option. Thanks, Craig. -- Craig West Systems Manager Victorian Partnership for Advanced Computing 110 Victoria Street, Carlton South VIC 3053 P: +61 3 9925 4751 E: cwest at vpac.org http://www.vpac.org From truongcophysics at gmail.com Thu Sep 22 09:22:32 2011 From: truongcophysics at gmail.com (truongco nguyen) Date: Thu, 22 Sep 2011 22:22:32 +0700 Subject: [gold-users] icst Message-ID: Dear I am trying to install gold manager 2.2.0 in rocks 5.4 cluster. And after finishing the installation which show in the gold user guide 2.2.0 and type the command: /opt/gold/sbin/goldd it turn out the bug like this  DBD::Pg::st execute failed: ERROR: relation "g_object" does not exist at /opt/gold/lib/Gold/Database.pm line 673. Exception caught while populating metadata cache: DBD::Pg::st execute failed: ERROR: relation "g_object" does not exist at /opt/gold/lib/Gold/Database.pm line 673. I really don't know how to fix it. Could you help us any clues? Thank you very much Co -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.supercluster.org/pipermail/gold-users/attachments/20110922/df4707fa/attachment.html From scrusan at ur.rochester.edu Thu Sep 22 09:25:53 2011 From: scrusan at ur.rochester.edu (Steve Crusan) Date: Thu, 22 Sep 2011 11:25:53 -0400 Subject: [gold-users] icst In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sep 22, 2011, at 11:22 AM, truongco nguyen wrote: > Dear > > I am trying to install gold manager 2.2.0 in rocks 5.4 cluster. > > And after finishing the installation which show in the gold user guide > 2.2.0 and > type the command: > > /opt/gold/sbin/goldd it turn out the bug like this > >  DBD::Pg::st execute failed: ERROR: relation "g_object" does not exist > at /opt/gold/lib/Gold/Database.pm line 673. > Exception caught while populating metadata cache: DBD::Pg::st execute > failed: ERROR: relation "g_object" does not exist at > /opt/gold/lib/Gold/Database.pm line 673. > > I really don't know how to fix it. Could you help us any clues? I believe you need to bootstrap the database before you start it. In your src directory you should find a bank.sql file, which you need to apply to your gold database. See: http://www.adaptivecomputing.com/resources/docs/gold/x490.php ~Steve > > Thank you very much > > Co > _______________________________________________ > 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 iQEcBAEBAgAGBQJOe1OIAAoJENS19LGOpgqKihsIAIetjVDuIpYJyeY4uvQyB3gg C3jWvY7mJrbjGz0SUC5/7MHGGbXrTweWi0bQSxKN7jff0pjMZKIrFl3PM6cjMKOP 4CG3bQs7nr+CBQHfTYZ1oq5Oz4KecFIvYikwZN+wu+M2CyhN8zS/ZqLPYOWaa47q /9SKGycgPGFS3Tkmh0Ua3SQXJ65OHaHAFYK0J+Y9mnJKyS+GWrYMtigGPGGVfjcW z3UNK7x/Fl41eHb6uRIofSfmT5SNZObadOgIjx1DVz1SQf7kn3BFBoD5d1JjXySl NQSkk+/pGzXVJJUfyIY5M4OP12JUbNHCeUryhOd65OZyniYreLzrHlqhfusUR64= =uD1Q -----END PGP SIGNATURE----- From samuel at unimelb.edu.au Thu Sep 22 19:14:48 2011 From: samuel at unimelb.edu.au (Christopher Samuel) Date: Fri, 23 Sep 2011 11:14:48 +1000 Subject: [gold-users] icst In-Reply-To: References: Message-ID: <4E7BDD88.5000806@unimelb.edu.au> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/09/11 01:25, Steve Crusan wrote: > In your src directory you should find a bank.sql file, > which you need to apply to your gold database. Don't forget if you're using MySQL to make sure that the tables are InnoDB as most (if not all) Linux distro MySQL's default to MyISAM for new tables and those don't permit transactions, which Gold relies on. cheers, Chris - -- Christopher Samuel - Senior Systems Administrator VLSCI - Victorian Life Sciences Computation Initiative Email: samuel at unimelb.edu.au Phone: +61 (0)3 903 55545 http://www.vlsci.unimelb.edu.au/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk573YgACgkQO2KABBYQAh8YoACfcklZOLKeJoSgm1c6pR7ZsxWn PWcAnRWdaNXrbbjaIKvoqzNXAUiedM60 =uHy6 -----END PGP SIGNATURE----- From truongcophysics at gmail.com Wed Sep 28 07:51:53 2011 From: truongcophysics at gmail.com (truongco nguyen) Date: Wed, 28 Sep 2011 20:51:53 +0700 Subject: [gold-users] ICST-gold Message-ID: 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 # Options ExecCGI AddHandler cgi-script .cgi .pl edit line #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" Alias /cgi-bin/ "/var/www/cgi-bin/gold" add line 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 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 Message-ID: <2725695a-c1d5-4e3b-b8d6-06d7dad375cd@mail> You missed the make deps step. ----- Original Message ----- > From: "truongco nguyen" > 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 > # > > Options ExecCGI > AddHandler cgi-script .cgi .pl > > edit line > #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > Alias /cgi-bin/ "/var/www/cgi-bin/gold" > add line > > 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 > > 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 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.supercluster.org/pipermail/gold-users/attachments/20110928/bf7199a0/attachment-0001.html From truongcophysics at gmail.com Wed Sep 28 10:30:10 2011 From: truongcophysics at gmail.com (truongco nguyen) Date: Wed, 28 Sep 2011 23:30:10 +0700 Subject: [gold-users] ICST-gold In-Reply-To: <2725695a-c1d5-4e3b-b8d6-06d7dad375cd@mail> References: <2725695a-c1d5-4e3b-b8d6-06d7dad375cd@mail> Message-ID: 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 # Options ExecCGI AddHandler cgi-script .cgi .pl edit line #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" Alias /cgi-bin/ "/var/www/cgi-bin/gold" add line 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 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 wrote: > You missed the make deps step. > > ------------------------------ > > *From: *"truongco nguyen" > *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 > # > > Options ExecCGI > AddHandler cgi-script .cgi .pl > > edit line > #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > Alias /cgi-bin/ "/var/www/cgi-bin/gold" > > add line > > 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 > > > 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 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.supercluster.org/pipermail/gold-users/attachments/20110928/093b07d0/attachment-0001.html From scrusan at ur.rochester.edu Wed Sep 28 11:10:16 2011 From: scrusan at ur.rochester.edu (Steve Crusan) Date: Wed, 28 Sep 2011 13:10:16 -0400 Subject: [gold-users] ICST-gold In-Reply-To: References: <2725695a-c1d5-4e3b-b8d6-06d7dad375cd@mail> Message-ID: <3558676C-7105-4AD6-984A-858EE5F7D946@ur.rochester.edu> -----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 > # > > Options ExecCGI > AddHandler cgi-script .cgi .pl > > edit line > #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > Alias /cgi-bin/ "/var/www/cgi-bin/gold" > > add line > > 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 > > > 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 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" >> *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 >> # >> >> Options ExecCGI >> AddHandler cgi-script .cgi .pl >> >> edit line >> #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" >> Alias /cgi-bin/ "/var/www/cgi-bin/gold" >> >> add line >> >> 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 >> >> >> 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 > 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----- From scottmo at adaptivecomputing.com Wed Sep 28 12:00:14 2011 From: scottmo at adaptivecomputing.com (Scott Jackson) Date: Wed, 28 Sep 2011 12:00:14 -0600 (MDT) Subject: [gold-users] ICST-gold In-Reply-To: <3558676C-7105-4AD6-984A-858EE5F7D946@ur.rochester.edu> Message-ID: <6f73406f-e9af-40f6-b0eb-5dde7c8bd718@mail> 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" > To: "Gold Users Mailing List" > 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 > > # > > > > Options ExecCGI > > AddHandler cgi-script .cgi .pl > > > > edit line > > #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > > Alias /cgi-bin/ "/var/www/cgi-bin/gold" > > > > add line > > > > 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 > > > > > > 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 > 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" > >> *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 > >> # > >> > >> Options ExecCGI > >> AddHandler cgi-script .cgi .pl > >> > >> edit line > >> #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > >> Alias /cgi-bin/ "/var/www/cgi-bin/gold" > >> > >> add line > >> > >> 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 > >> > >> > >> 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 > >> >> 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 > From truongcophysics at gmail.com Thu Sep 29 02:10:37 2011 From: truongcophysics at gmail.com (truongco nguyen) Date: Thu, 29 Sep 2011 15:10:37 +0700 Subject: [gold-users] ICST-gold In-Reply-To: <6f73406f-e9af-40f6-b0eb-5dde7c8bd718@mail> References: <3558676C-7105-4AD6-984A-858EE5F7D946@ur.rochester.edu> <6f73406f-e9af-40f6-b0eb-5dde7c8bd718@mail> Message-ID: 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" > > To: "Gold Users Mailing List" > > 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 > > > # > > > > > > Options ExecCGI > > > AddHandler cgi-script .cgi .pl > > > > > > edit line > > > #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > > > Alias /cgi-bin/ "/var/www/cgi-bin/gold" > > > > > > add line > > > > > > 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 > > > > > > > > > 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 > > 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" > > >> *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 > > >> # > > >> > > >> Options ExecCGI > > >> AddHandler cgi-script .cgi .pl > > >> > > >> edit line > > >> #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > > >> Alias /cgi-bin/ "/var/www/cgi-bin/gold" > > >> > > >> add line > > >> > > >> 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 > > >> > > >> > > >> 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 > > >> > >> 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 From scottmo at adaptivecomputing.com Thu Sep 29 10:08:55 2011 From: scottmo at adaptivecomputing.com (Scott Jackson) Date: Thu, 29 Sep 2011 10:08:55 -0600 (MDT) Subject: [gold-users] ICST-gold In-Reply-To: Message-ID: This would be because the gold server had not been started. At one point, our documentation was flawed in that it referred to the gchpasswd command before it referred to starting gold. Recent distributions have fixed this in the INSTALL file and the installation documentation included in the tarball under the doc directory. However, I have verified that the online documentation still has this flaw. I will try to get it updated on the web docs. The remedy, of course, is to start the goldd server before trying to run any commands against it:) Scott ----- Original Message ----- > From: "truongco nguyen" > To: "Gold Users Mailing List" > Sent: Thursday, September 29, 2011 2:10:37 AM > Subject: Re: [gold-users] ICST-gold > 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 > > > > > # > > > > > > > > > > Options ExecCGI > > > > > AddHandler cgi-script .cgi .pl > > > > > > > > > > edit line > > > > > #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > > > > > Alias /cgi-bin/ "/var/www/cgi-bin/gold" > > > > > > > > > > add line > > > > > > > > > > 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 > > > > > > > > > > > > > > > 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 > > > > > > > > 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 > > > > >> # > > > > >> > > > > >> Options ExecCGI > > > > >> AddHandler cgi-script .cgi .pl > > > > >> > > > > >> edit line > > > > >> #ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > > > > >> Alias /cgi-bin/ "/var/www/cgi-bin/gold" > > > > >> > > > > >> add line > > > > >> > > > > >> 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 > > > > >> > > > > >> > > > > >> 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 > > > > >> > > > >> 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 > _______________________________________________ > gold-users mailing list > gold-users at supercluster.org > http://www.supercluster.org/mailman/listinfo/gold-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.supercluster.org/pipermail/gold-users/attachments/20110929/bcf32739/attachment-0001.html