Re: need help with cricket

"aravind raaman" <[email protected]> Fri, 15 Feb 2008 13:42:32 +0530
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
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.5 and
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
-------------------------------------------------------------------------
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/