Re: need help with cricket
"aravind raaman" <[email protected]> Mon, 18 Feb 2008 13:25:54 +0530
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
hi
i ve posted in cricket-users also, but posting to u personally...
hi atlast i have installed cricket successfully and i have started seeing
graph.
right now i am trying to access mysql server which is remote place..
my cricket is also installed in another remote place(ie) A--> windows , my
system, B---> cricket installed system C---> remote system
i am access B from A. its working fine. B has mysql which i can access but i
am not able to see those select, create, update queries gettin updated in
the graph,
right now i am trying to access C from A through B but i get the below error
i checked the user name and password ,its correct, i have inserted xxx in
the place of my server IP, i ve changed host name also to yyy
y has static IP
any suggestions
Error and the lines leading up to it:
[18-Feb-2008 13:19:01 ] Retrieved data for homecheck (): U,U
[18-Feb-2008 13:19:01 ] Some data is missing for homecheck ().
[18-Feb-2008 13:19:02 ] Retrieved data for mydbserver ():
148200,134,87,2,2,148213,0,53
,0,0,64,43,0,444896,0,0,0,0,0,0,0,0,0,1,5,45,5,0,0,0,0,0,0,0,0,0,0
DBI connect(':xxx.xxx.xxx.xxx','root',...) failed: Host 'yy.yyy.yy.yyy' is
not allowed to connect to this MySQL server at
/home/cricket/cricket/lib/sql.pm line 58
[18-Feb-2008 13:19:02*]
thankx in advance
On Feb 17, 2008 10:36 PM, aravind raaman <[email protected]> wrote:
> hi i copied every link to /var/html/cgi-bin and it started working..
> but wen i go to ~/cricket/grapher.cgi it doesn't work...
> i have to do http://localhost/cgi-bin/grapher.cgi i am able to see the
> graph and also the reading.. ..
>
> thankx a lot guys.. wil keep u updated
> thankx
>
> aravind
>
>
> On Feb 15, 2008 2:52 PM, Alan Edmonds <[email protected]> wrote:
>
> > You can't really do it the way you have set it up.
> >
> >
> >
> > Do it the right way and it will work.
> >
> >
> >
> > Cricket needs to see ~cricket in the URL to help find his home
> > directory. It is a bit tricky.
> >
> >
> >
> > -----Original Message-----
> > *From:* aravind raaman [mailto:[email protected]]
> > *Sent:* 15 February 2008 09:01
> >
> > *To:* Alan Edmonds; [email protected]
> > *Subject:* Re: [cricket-users] need help with cricket
> >
> > hi
> > following is the error msg i get wen i try to perform anyting from
> > localhost logged in as cricket and also from remote system
> > symbolic link problem..
> >
> > any suggestions
> > pls help
> > thankx in advance
> >
> > /var/www/html/cricket is linked properly to /home/cricket/
> >
> >
> >
> > [Fri Feb 15 14:26:39 2008] [error] [client 192.168.1.141] Symbolic link
> > not allowed or link target not accessible:
> > /var/www/html/cricket/grapher.cgi, referer:
> > http://192.168.1.109/cricket/
> > [Fri Feb 15 14:26:40 2008] [error] [client 192.168.1.141] Symbolic link
> > not allowed or link target not accessible:
> > /var/www/html/cricket/grapher.cgi, referer:
> > http://192.168.1.109/cricket/
> > [Fri Feb 15 14:26:41 2008] [error] [client 192.168.1.141] Symbolic link
> > not allowed or link target not accessible:
> > /var/www/html/cricket/grapher.cgi, referer:
> > http://192.168.1.109/cricket/
> > [Fri Feb 15 14:26:41 2008] [error] [client 192.168.1.141] Symbolic link
> > not allowed or link target not accessible:
> > /var/www/html/cricket/grapher.cgi, referer:
> > http://192.168.1.109/cricket/
> > [Fri Feb 15 14:26:42 2008] [error] [client 127.0.0.1] Symbolic link not
> > allowed or link target not accessible: /var/www/html/cricket/lib
> > [Fri Feb 15 14:26:42 2008] [error] [client 127.0.0.1] Symbolic link not
> > allowed or link target not accessible: /var/www/html/cricket/images
> > [Fri Feb 15 14:26:46 2008] [error] [client 127.0.0.1] Symbolic link not
> > allowed or link target not accessible: /var/www/html/cricket/grapher.cgi,
> > referer: http://localhost/cricket/
> > [Fri Feb 15 14:26:57 2008] [error] [client 127.0.0.1] Directory index
> > forbidden by Options directive: /var/www/html/
> > [Fri Feb 15 14:27:07 2008] [error] [client 127.0.0.1] Symbolic link not
> > allowed or link target not accessible: /var/www/html/cricket/grapher.cgi
> > [Fri Feb 15 14:27:10 2008] [error] [client 127.0.0.1] Symbolic link not
> > allowed or link target not accessible: /var/www/html/cricket/lib
> > [Fri Feb 15 14:27:10 2008] [error] [client 127.0.0.1] Symbolic link not
> > allowed or link target not accessible: /var/www/html/cricket/images
> >
> > thankx
> >
> >
> >
> > On Fri, Feb 15, 2008 at 1:57 PM, Alan Edmonds <
> > [email protected]> wrote:
> >
> > I assume you have a "cricket" user. Make sure the cricket user home
> > directory is /home/cricket.
> >
> > -----Original Message-----
> > *From:* aravind raaman [mailto:[email protected]]
> > *Sent:* 15 February 2008 08:13
> > *To:* Alan Edmonds; [email protected]
> > *Subject:* Re: [cricket-users] need help with cricket
> >
> > hi thankx a lot for mailing
> > well let me tel u wat exactly i did
> >
> > i created cricket inside home (ie)
> > /home/cricket
> >
> > inside cricket i have a link saying cricket which goes to cricket-1.0.5and it has
> > grapher.cgi
> >
> >
> > i dont have anyting in root but if u happ to see my error. it goes to
> > /root/....
> >
> > after that
> > inside my var/www/html i created cricket and inside which i created the
> > link as mentioned
> >
> > the only prob wat i did is .. i created everything being root and not as
> > cricket.. and wen i try2 access.. iam not able to .. anyways rite now i juz
> > copied ur code for CGI ,
> >
> > if u could tell me how to point tat path from /root to /home/cricket
> > it wil b great
> >
> > thankx
> >
> > On Fri, Feb 15, 2008 at 1:32 PM, Alan Edmonds <
> > [email protected]> wrote:
> >
> > You have two problems.
> >
> > 1) web server setup.
> > 2) collector setup - this collects the data.
> >
> > To fix the webserver, there is usually a section on how to enable CGI
> > scripts.
> >
> > You need to create a ScriptAlias entry, etc. Here's the one for my
> > server. This is apache 1.3. The ExecCGI is the important bit.
> >
> > #
> > # Control access to UserDir directories. The following is an example
> > # for a site where these directories are restricted to read-only.
> > #
> > <Directory /home/cricket/public_html>
> > AllowOverride FileInfo AuthConfig Limit Indexes
> > Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
> > ExecCGI
> > <Limit GET POST OPTIONS PROPFIND>
> > Order allow,deny
> > Allow from all
> > </Limit>
> > <LimitExcept GET POST OPTIONS PROPFIND>
> > Order deny,allow
> > Deny from all
> > </LimitExcept>
> > </Directory>
> >
> > Did you create a ~cricket/public_html directory with the symlinks in it?
> > like so:
> >
> > cd ~cricket
> > cd public_html
> > in public_html, you need a directory, cricket.
> >
> > Cd cricket
> > In cricket, you need these (my ~cricket is in /usr/local)
> >
> > VERSION -> /usr/local/cricket/cricket/VERSION
> > cricket-conf.pl -> /usr/local/cricket/cricket/cricket-conf.pl
> > cricket.css
> > grapher.cgi -> /usr/local/cricket/cricket/grapher.cgi
> > images -> /usr/local/cricket/cricket/images
> > lib -> /usr/local/cricket/cricket/lib
> > mini-graph.cgi -> /usr/local/cricket/cricket/mini-graph.cgi
> >
> > then, access the grapher.cgi via
> > http://host/~cricket/cricket/grapher.cgi<http://host/%7Ecricket/cricket/grapher.cgi>
> > .
> >
> > When that works, then we can work on the collector.
> >
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf Of
> > aravind raaman
> > Sent: 15 February 2008 07:14
> > To: Ed Ravin; [email protected]
> > Subject: Re: [cricket-users] need help with cricket
> >
> >
> > hi
> > THIS IS THE ERROR MSG , WHICH I GET THROUGH MAIL.. i keep getting no
> > file or directory.. i DONT HAVE ANYTING IN /root i have everything in
> > /home/cricket/cricket .....
> >
> > got any idea wat am i to do?
> >
> > any suggestions pls help
> >
> > thankx in advance
> >
> >
> > >From [email protected] Fri Feb 15 12:30:01 2008
> > Return-Path: <[email protected]>
> > Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
> > by localhost.localdomain (8.13.5/8.13.5) with ESMTP id
> > m1F701HR009442
> > for <[email protected]>; Fri, 15 Feb 2008 12:30:01
> > +0530
> > Received: (from root@localhost)
> > by localhost.localdomain (8.13.5/8.13.5/Submit) id
> > m1F701ZT009441;
> > Fri, 15 Feb 2008 12:30:01 +0530
> > Date: Fri, 15 Feb 2008 12:30:01 +0530
> > Message-Id: <[email protected]>
> > From: [email protected] (Cron Daemon)
> > To: [email protected]
> > Subject: Cron <root@DevServer> $HOME/cricket-1.0.5/collect-subtrees
> > normal
> > Content-Type: text/plain; charset=UTF-8
> > X-Cron-Env: <SHELL=/bin/sh>
> > X-Cron-Env: <HOME=/root>
> > X-Cron-Env: <PATH=/usr/bin:/bin>
> > X-Cron-Env: <LOGNAME=root>
> > X-Cron-Env: <USER=root>
> >
> > /bin/sh: /root/cricket-1.0.5/collect-subtrees: No such file or directory
> >
> > On Fri, Feb 15, 2008 at 11:33 AM, aravind raaman
> > <[email protected]>
> > wrote:
> >
> > > ya i know its not recognising , how can i configure my webserver
> > > config.iwent to httpd.conf and edited and stil the same.. its showing
> > > the code
> > >
> > >
> > > On Thu, Feb 14, 2008 at 10:13 PM, Ed Ravin <[email protected]> wrote:
> > >
> > > > On Thu, Feb 14, 2008 at 09:03:17PM +0530, aravind raaman wrote:
> > > >
> > > > > when i click on grapher.cgi instead of showing me the output it
> > > > > shows
> > > > me
> > > > > the entire code.
> > > > >
> > > > > what am i to do ?
> > > > > any suggestions?
> > > > >
> > > > > is it bcoz of browser not recognising cgi?
> > > >
> > > > Almost. It's because your Web server doesn't recognize that you
> > > > want to execute grapher.cgi as a CGI. You need to fix the Web
> > > > server config.
> > > >
> > >
> > >
> > >
> > > --
> > > ASR
> > >
> > > PLAY GAMES24X7 Pvt Ltd
> > >
> > > Mumbai
> > >
> >
> >
> >
> > --
> > ASR
> >
> > PLAY GAMES24X7 Pvt Ltd
> >
> > Mumbai
> > ------------------------------------------------------------------------
> > -
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > cricket-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/cricket-users
> > T-Mobile<https://lists.sourceforge.net/lists/listinfo/cricket-usersT-Mobile>International UK Limited
> > Company Registered Number: 3951860
> > Registered Office Address: Hatfield Business Park, Hatfield,
> > Hertfordshire, AL10 9BW
> > Registered in England and Wales
> >
> > NOTICE AND DISCLAIMER
> >
> > This email (including attachments) is confidential. If you are not the
> > intended recipient, notify the sender immediately, delete this email from
> > your system and do not disclose or use for any purpose
> >
> >
> >
> >
> > --
> > ASR
> >
> > PLAY GAMES24X7 Pvt Ltd
> >
> > Mumbai
> >
> > T-Mobile International UK Limited
> > Company Registered Number: 3951860
> > Registered Office Address: Hatfield Business Park, Hatfield,
> > Hertfordshire, AL10 9BW
> > Registered in England and Wales
> >
> > NOTICE AND DISCLAIMER
> >
> > This email (including attachments) is confidential. If you are not the
> > intended recipient, notify the sender immediately, delete this email from
> > your system and do not disclose or use for any purpose
> >
> >
> >
> >
> > --
> > ASR
> >
> > PLAY GAMES24X7 Pvt Ltd
> >
> > Mumbai
> >
> > T-Mobile International UK Limited
> > Company Registered Number: 3951860
> > Registered Office Address: Hatfield Business Park, Hatfield,
> > Hertfordshire, AL10 9BW
> > Registered in England and Wales
> >
> > NOTICE AND DISCLAIMER
> >
> > This email (including attachments) is confidential. If you are not the
> > intended recipient, notify the sender immediately, delete this email from
> > your system and do not disclose or use for any purpose
> >
>
>
>
> --
>
> ASR
>
> PLAY GAMES24X7 Pvt Ltd
>
> Mumbai
>
--
ASR
PLAY GAMES24X7 Pvt Ltd
Mumbai
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/