[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] mysql connections
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] mysql connections
- From: "Sabeer MZ" <sabeer.mz (at) gmail.com>
- Date: Tue, 6 Mar 2007 15:44:06 +0530
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=UJU9kN5SPA2J2RGPJoZp9qB8YZ1nLx4AXAjTGIfeUXMNE6NIoQriilNogAjiG80eI0gp+v5Ia7Av3KiwNMWlhthmDp7HTQMwqpFDNARbBOdKs6e+qwtmk+087u8919hWUzx2zKmB5o9rrthtZmlOQ8S328XmdWPaZJhUuAtmHbs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=r0JYIN3Yac8imflBkgvr3BoVCCudJ+m/+X/5cEJwve60x7MzyvI2mx66g0gBn+WKj7QixcFBgIPthzsEwNpBJJjrfV6BgTV0e3L4R2odKUGwsWnQcBiaZOeVrP0dgyiYohkV4+HFtrWzdKlnbhhc9t1vc+2gRpvjhHi9ieISQwM=
- References: <971b43ce0702282337y6ac333b2n789518e0d09503da@mail.gmail.com> <200703051526.19777.stef.coene@docum.org> <971b43ce0703052144p2ae53a6cob594887327be3e75@mail.gmail.com> <200703060932.24559.stef.coene@docum.org>
Many thanks. I am seeing some light ....:)
No errors when i run it thru bbcmd.
so now to clear mysql.rrd file.
"[hobbit (at) abc bin]$ ./bbcmd ../ext/bb-mysql.pl
2007-03-06 02:11:58 Using default environment file
/home/hobbit/server/etc/hobbitserver.cfg
/home/hobbit/server/bin/bb x.x.160.x "status abc,abc,com.mysql green Tue
Mar 6 02:11:59 2007 MySQL Server OK
threads: 1
questions: 14036
slow queries: 0
opens: 7
flush tables: 1
open tables: 6
queries per second avg: 0.020
maxcon: 100
Server version: 4.1.20
Uptime: 8 days 48 min 32 sec
Server reports timestamp of 2007-03-06 02:11:59
Thanks
Sabeer MZ
On 3/6/07, Stef Coene <stef.coene (at) docum.org> wrote:
On Tuesday 06 March 2007 06:44, Sabeer MZ wrote:
> good suggestion. i got one more clue.-
>
> Use of uninitialized value in concatenation (.) or string at
> bb-mysql.plline 119.
> "config bb-mysql.cfg-"sh: config bb-mysql.cfg-: command not found
>
> this is showing that BB/Hobbit variables are not set.
> So Where is the soure profile that We need to execute to get these
> variables.
> or how to set bb/hobbit env varibales.
The hobbit variables are set with the "bbcmd" command. That's why you
have to
execute "../bin/bbcmd perl bb-mysql.pl".
For the error, on line 119, you will find "system($cmd);". You can add
the
line "print $cmd" before this line. This will print the command that will
be
executed when you run the script. Check the command for errors or missing
options.
Stef
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk
--
Warm Regards
Sabeer MZ