[rtg] Fwd: RTG 0.9 install issues
Adrian Chadd
adrian at creative.net.au
Thu Apr 16 05:48:03 EDT 2009
Those directives are now specific to each target host/interface.
I've removed OutOfRange and SNMP_Ver from the default rtg.conf in
the 'rtg2' project on google code.
Adrian
On Tue, Mar 31, 2009, Adriano Amaral wrote:
> After following the cake recipie to compile RTG 0.9 on FreeBSD 7.0 (BTW
> worked fine) I'm getting some errors running the rtgpool. Basically is
> telling me
>
> *** Unrecongized directive: OutOfRange=93750000000 in
> /usr/local/rtg/etc/rtg.conf
>
> and this is the vanilla rtg.cfg config:
>
> #
> # RTG Master Config
> #
> Interval 300
> HighSkewSlop 3
> LowSkewSlop .5
> OutOfRange 93750000000
> SNMP_Ver 1
> SNMP_Port 161
> DB_Host localhost
> DB_Database rtg
> DB_User snmp
> DB_Pass rtgdefault
> DB_Driver librtgmysql.so
> Threads 5
>
>
> Any ideas ??
>
>
> Axford M.F. a ?crit:
> > I think that issue was fixed with the "libtoolize --force" command,
> > You may also need to run some of all of the various automake/autoconf
> > tools first.
> >
> > Mike
> >
> >
> > ------------------------------------------------------------------------
> > *From:* rtg-bounces at lists.grdata.com
> > [mailto:rtg-bounces at lists.grdata.com] *On Behalf Of *Harry Marcson
> > *Sent:* 15 March 2009 01:32
> > *To:* rtg at lists.grdata.com
> > *Subject:* [rtg] Fwd: RTG 0.9 install issues
> >
> > Accidentally, sent it directly to Mike.. Forwarding..
> >
> > ---------- Forwarded message ----------
> > From: *Harry Marcson* <harrymarcson at gmail.com
> > <mailto:harrymarcson at gmail.com>>
> > Date: 2009/3/15
> > Subject: Re: [rtg] RTG 0.9 install issues
> > To: "Axford M.F." <M.F.Axford at soton.ac.uk
> > <mailto:M.F.Axford at soton.ac.uk>>
> >
> >
> > Thanks for the tips Mike!
> >
> > With these steps:
> >
> >
> > mkdir cgilib-0.4/.deps
> > touch cgilib-0.4/.deps/cgi.Po
> >
> > I am now a bit further, and getting these errors:
> >
> > libtool: unrecognized option `--tag=CC'
> > Try `libtool --help' for more information.
> > make[2]: *** [librtgmysql.lo] Error 1
> > make[2]: Leaving directory `/usr/local/src/rtg/src'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/usr/local/src/rtg/src'
> >
> > make: *** [all-recursive] Error 1
> >
> >
> >
> > [root at w1 rtg]# find . -name librtgmysql.c -print
> > ./src/librtgmysql.c
> > [root at w1 rtg]# cat ./src/librtgmysql.c |grep MYSQL
> > MYSQL getmysql() {
> > MYSQL *mysql;
> > MYSQL mysql = getmysql();
> > MYSQL mysql = getmysql();
> > MYSQL* mysql;
> > mysql = (MYSQL*)malloc(sizeof(MYSQL));
> > if (MYSQL_VERSION_ID > 40000) {
> > mysql_options(mysql, MYSQL_READ_DEFAULT_GROUP, "rtg");
> > /* MYSQL *mysql_real_connect(MYSQL *mysql, const char
> > *host, const char *user, const char *passwd, const char *db,
> > unsigned int port, const char *unix_socket, unsigned long
> > client_flag) */
> > MYSQL mysql = getmysql();
> > MYSQL mysql = getmysql();
> > MYSQL mysql = getmysql();
> > MYSQL mysql = getmysql();
> > MYSQL_RES *result2;
> > MYSQL_ROW row;
> > MYSQL mysql = getmysql();
> > MYSQL_RES *result;
> > MYSQL_ROW row;
> >
> > As you can see, there are many MYSQL types, some of them are
> > MYSQL*, others are with a space between MYSQL and * etc.
> >
> > I tried adding a " *" behind every MYSQL, but this did not help
> > unfortunately. Do you still have the fixed version somewhere?
> >
> > Thanks,
> >
> > Harry
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > RTG mailing list
> > RTG at lists.grdata.com
> > http://lists.grdata.com/mailman/listinfo/rtg
> >
> _______________________________________________
> RTG mailing list
> RTG at lists.grdata.com
> http://lists.grdata.com/mailman/listinfo/rtg
--
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
More information about the RTG
mailing list