From scottmo at adaptivecomputing.com Fri Feb 1 12:01:27 2013 From: scottmo at adaptivecomputing.com (Scott Jackson) Date: Fri, 1 Feb 2013 12:01:27 -0700 Subject: [gold-users] new install, goldd error In-Reply-To: <510AEF97.7060701@umn.edu> References: <510AEF97.7060701@umn.edu> Message-ID: Andrew, Is your gold server really called gold.servername? Are you just obscuring it for security purposes? So, if you run mysql gold -h gold.servername -u gold does it work? Scott On Thu, Jan 31, 2013 at 3:26 PM, Andrew Ring wrote: > Hello, > > I am installing Gold 2.2.0.5, and things were going smoothly until it > was time to run goldd. > > [gold at gold gold]$ goldd > Starting Gold Pid (14622) > > [gold at gold gold-2.2.0.5]$ DBI > connect('database=gold;host=gold.servername','gold',...) failed: Access > denied for user ''@'gold.servername' to database 'gold' at > /opt/gold/lib/Gold/Database.pm line 164 > > > It appears that goldd is finding the appropriate username, but not > propagating it to the database connect code. > > My /opt/gold/etc/goldd.conf > # Gold Server Config File > > super.user = gold > > server.host = gold.servername > # server.port = 7112 > > database.datasource = DBI:mysql:database=gold;host=gold.servername > database.user = gold > # database.password = NONE > > response.chunksize = 100000 > # currency.precision = 0 > > # security.authentication = true > # security.encryption = false > > # account.autogen = true > # allocation.autogen = true > # machine.autogen = false > # machine.default = NONE > # project.autogen = false > # project.default = NONE > # user.autogen = false > # user.default = NONE > > # Log4perl configuration > log4perl.logger = TRACE, Log, Screen > log4perl.appender.Log.Threshold = TRACE > log4perl.appender.Screen.Threshold = FATAL > #log4perl.logger.Message = TRACE, Screen > #log4perl.appender.Log = Log::Log4perl::Appender::File > log4perl.appender.Log = Log::Dispatch::FileRotate > log4perl.appender.Log.filename = /opt/gold/log/goldd.log > log4perl.appender.Log.mode = append > log4perl.appender.Log.size = 10000000 > log4perl.appender.Log.max = 7 > log4perl.appender.Log.layout = PatternLayout > log4perl.appender.Log.layout.ConversionPattern = %d{yyyy-MM-dd > HH:mm:ss.SSS} %-5p %M %m%n > log4perl.appender.Screen = Log::Log4perl::Appender::Screen > log4perl.appender.Screen.layout = PatternLayout > log4perl.appender.Screen.layout.ConversionPattern = %d{yyyy-MM-dd > HH:mm:ss.SSS} %-5p %M [%F:%L] %m%n > > > Thank you for your help, > Andrew Ring > _______________________________________________ > 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/20130201/813728fc/attachment.html From apring at umn.edu Fri Feb 1 12:14:10 2013 From: apring at umn.edu (Andrew Ring) Date: Fri, 01 Feb 2013 13:14:10 -0600 Subject: [gold-users] new install, goldd error In-Reply-To: References: <510AEF97.7060701@umn.edu> Message-ID: <510C1402.5020205@umn.edu> Hello Scott, Looks like that was it. While I could connect from the OS user account 'gold' to mysql; the mysql connection was using username 'root', not as mysql user 'gold'. Connecting once with "mysql -u gold" did something and now goldd starts. No, the servers name is not gold.servername. Thank you, Andrew On 02/01/2013 01:01 PM, Scott Jackson wrote: > Andrew, > > Is your gold server really called gold.servername? Are you just > obscuring it for security purposes? > > So, if you run mysql gold -h gold.servername -u gold > > does it work? > > Scott > > On Thu, Jan 31, 2013 at 3:26 PM, Andrew Ring > wrote: > > Hello, > > I am installing Gold 2.2.0.5, and things were going smoothly until it > was time to run goldd. > > [gold at gold gold]$ goldd > Starting Gold Pid (14622) > > [gold at gold gold-2.2.0.5]$ DBI > connect('database=gold;host=gold.servername','gold',...) failed: Access > denied for user ''@'gold.servername' to database 'gold' at > /opt/gold/lib/Gold/Database.pm line 164 > > > It appears that goldd is finding the appropriate username, but not > propagating it to the database connect code. > > My /opt/gold/etc/goldd.conf > # Gold Server Config File > > super.user = gold > > server.host = gold.servername > # server.port = 7112 > > database.datasource = DBI:mysql:database=gold;host=gold.servername > database.user = gold > # database.password = NONE > > response.chunksize = 100000 > # currency.precision = 0 > > # security.authentication = true > # security.encryption = false > > # account.autogen = true > # allocation.autogen = true > # machine.autogen = false > # machine.default = NONE > # project.autogen = false > # project.default = NONE > # user.autogen = false > # user.default = NONE > > # Log4perl configuration > log4perl.logger = TRACE, Log, Screen > log4perl.appender.Log.Threshold = TRACE > log4perl.appender.Screen.Threshold = FATAL > #log4perl.logger.Message = TRACE, Screen > #log4perl.appender.Log = Log::Log4perl::Appender::File > log4perl.appender.Log = Log::Dispatch::FileRotate > log4perl.appender.Log.filename = /opt/gold/log/goldd.log > log4perl.appender.Log.mode = append > log4perl.appender.Log.size = 10000000 > log4perl.appender.Log.max = 7 > log4perl.appender.Log.layout = PatternLayout > log4perl.appender.Log.layout.ConversionPattern = %d{yyyy-MM-dd > HH:mm:ss.SSS} %-5p %M %m%n > log4perl.appender.Screen = Log::Log4perl::Appender::Screen > log4perl.appender.Screen.layout = PatternLayout > log4perl.appender.Screen.layout.ConversionPattern = %d{yyyy-MM-dd > HH:mm:ss.SSS} %-5p %M [%F:%L] %m%n > > > Thank you for your help, > Andrew Ring > _______________________________________________ > 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 -- Andrew Ring HPC Systems Administrator University of Minnesota Twin Cities Phone: 612-624-8860 Fax: 612-624-8861 Mail: Office: 599 Walter Library 543 Walter Library 117 Pleasant St S.E. 117 Pleasant St S.E. Minneapolis, MN 55455 Minneapolis, MN 55455 From scottmo at adaptivecomputing.com Fri Feb 1 12:19:14 2013 From: scottmo at adaptivecomputing.com (Scott Jackson) Date: Fri, 1 Feb 2013 12:19:14 -0700 Subject: [gold-users] new install, goldd error In-Reply-To: <510C1402.5020205@umn.edu> References: <510AEF97.7060701@umn.edu> <510C1402.5020205@umn.edu> Message-ID: Andrew, Great. Good to hear it! Scott On Fri, Feb 1, 2013 at 12:14 PM, Andrew Ring wrote: > Hello Scott, > > Looks like that was it. > > While I could connect from the OS user account 'gold' to mysql; the > mysql connection was using username 'root', not as mysql user 'gold'. > Connecting once with "mysql -u gold" did something and now goldd starts. > > > No, the servers name is not gold.servername. > > Thank you, > Andrew > > On 02/01/2013 01:01 PM, Scott Jackson wrote: > > Andrew, > > > > Is your gold server really called gold.servername? Are you just > > obscuring it for security purposes? > > > > So, if you run mysql gold -h gold.servername -u gold > > > > does it work? > > > > Scott > > > > On Thu, Jan 31, 2013 at 3:26 PM, Andrew Ring > > wrote: > > > > Hello, > > > > I am installing Gold 2.2.0.5, and things were going smoothly until it > > was time to run goldd. > > > > [gold at gold gold]$ goldd > > Starting Gold Pid (14622) > > > > [gold at gold gold-2.2.0.5]$ DBI > > connect('database=gold;host=gold.servername','gold',...) failed: > Access > > denied for user ''@'gold.servername' to database 'gold' at > > /opt/gold/lib/Gold/Database.pm line 164 > > > > > > It appears that goldd is finding the appropriate username, but not > > propagating it to the database connect code. > > > > My /opt/gold/etc/goldd.conf > > # Gold Server Config File > > > > super.user = gold > > > > server.host = gold.servername > > # server.port = 7112 > > > > database.datasource = DBI:mysql:database=gold;host=gold.servername > > database.user = gold > > # database.password = NONE > > > > response.chunksize = 100000 > > # currency.precision = 0 > > > > # security.authentication = true > > # security.encryption = false > > > > # account.autogen = true > > # allocation.autogen = true > > # machine.autogen = false > > # machine.default = NONE > > # project.autogen = false > > # project.default = NONE > > # user.autogen = false > > # user.default = NONE > > > > # Log4perl configuration > > log4perl.logger = TRACE, Log, Screen > > log4perl.appender.Log.Threshold = TRACE > > log4perl.appender.Screen.Threshold = FATAL > > #log4perl.logger.Message = TRACE, Screen > > #log4perl.appender.Log = Log::Log4perl::Appender::File > > log4perl.appender.Log = Log::Dispatch::FileRotate > > log4perl.appender.Log.filename = /opt/gold/log/goldd.log > > log4perl.appender.Log.mode = append > > log4perl.appender.Log.size = 10000000 > > log4perl.appender.Log.max = 7 > > log4perl.appender.Log.layout = PatternLayout > > log4perl.appender.Log.layout.ConversionPattern = %d{yyyy-MM-dd > > HH:mm:ss.SSS} %-5p %M %m%n > > log4perl.appender.Screen = Log::Log4perl::Appender::Screen > > log4perl.appender.Screen.layout = PatternLayout > > log4perl.appender.Screen.layout.ConversionPattern = %d{yyyy-MM-dd > > HH:mm:ss.SSS} %-5p %M [%F:%L] %m%n > > > > > > Thank you for your help, > > Andrew Ring > > _______________________________________________ > > 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 > > -- > Andrew Ring > HPC Systems Administrator > University of Minnesota Twin Cities > Phone: 612-624-8860 Fax: 612-624-8861 > Mail: Office: > 599 Walter Library 543 Walter Library > 117 Pleasant St S.E. 117 Pleasant St S.E. > Minneapolis, MN 55455 Minneapolis, MN 55455 > _______________________________________________ > 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/20130201/bb7534c3/attachment-0001.html From Prakash.Velayutham at cchmc.org Wed Feb 13 16:32:54 2013 From: Prakash.Velayutham at cchmc.org (Velayutham, Prakash) Date: Wed, 13 Feb 2013 23:32:54 +0000 Subject: [gold-users] Cleaning up old Gold data Message-ID: <31D7F03C6CB13442A63C7808DE7003F0128919FF@MCEXMB3.chmccorp.cchmc.org> Hello all, I have been running Gold for some time now (> 3 years). My question is if there is a safe way to clean up old data (for example, data > 1 year old) without breaking the application. Does any one here know the right way? Thanks, Prakash From samuel at unimelb.edu.au Wed Feb 13 17:37:43 2013 From: samuel at unimelb.edu.au (Christopher Samuel) Date: Thu, 14 Feb 2013 11:37:43 +1100 Subject: [gold-users] Cleaning up old Gold data In-Reply-To: <31D7F03C6CB13442A63C7808DE7003F0128919FF@MCEXMB3.chmccorp.cchmc.org> References: <31D7F03C6CB13442A63C7808DE7003F0128919FF@MCEXMB3.chmccorp.cchmc.org> Message-ID: <511C31D7.2050200@unimelb.edu.au> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/02/13 10:32, Velayutham, Prakash wrote: > Hello all, Hi there, > I have been running Gold for some time now (> 3 years). My > question is if there is a safe way to clean up old data (for > example, data > 1 year old) without breaking the application. Does > any one here know the right way? Sadly I don't, but I'd be *really* interested in any answers. 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.org.au/ http://twitter.com/vlsci -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlEcMdcACgkQO2KABBYQAh8EJgCcD6+5nVwC4EToWUZ9sNM62Lts WrEAoIVS5qkx6hbgnI+B5Jjb+UMSIFHj =Z/90 -----END PGP SIGNATURE----- From scottmo at adaptivecomputing.com Thu Feb 14 11:02:35 2013 From: scottmo at adaptivecomputing.com (Scott Jackson) Date: Thu, 14 Feb 2013 11:02:35 -0700 Subject: [gold-users] Cleaning up old Gold data In-Reply-To: <31D7F03C6CB13442A63C7808DE7003F0128919FF@MCEXMB3.chmccorp.cchmc.org> References: <31D7F03C6CB13442A63C7808DE7003F0128919FF@MCEXMB3.chmccorp.cchmc.org> Message-ID: A pruning routine was added to MAM 7.2 and later for this purpose: * Database pruning -- A new System Prune action has been created that will allow an administrator to delete historical data from the database prior to a specified retention time or period. This action is in beta and will not be documented until proven out. Database pruning may be useful to some sites because database queries and reports may become slower over the years after millions of transactions, usage records and allocation log records accumulate in the database. This command attempts to safely trim back historical and log data prior to a specified time period to restore performance while maintaining database self-consistency. After pruning the database to a certain retention time, reports and queries must only be requested for data after that time or the results may be inconsistent or undefined. If you are interested in utilizing this command, please contact support for usage instructions. For prior versions, you can trim your Transaction and Job tables fairly easily, but reducing the Allocation tables and journals is very difficult. On Wed, Feb 13, 2013 at 4:32 PM, Velayutham, Prakash < Prakash.Velayutham at cchmc.org> wrote: > Hello all, > > I have been running Gold for some time now (> 3 years). My question is if > there is a safe way to clean up old data (for example, data > 1 year old) > without breaking the application. Does any one here know the right way? > > Thanks, > Prakash > _______________________________________________ > 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/20130214/42131a4b/attachment.html