[mohaa] About Stats

Sander de Hond sanderdehond at home.nl
Wed May 21 09:51:16 EDT 2003


Hi,

I chmodded whol mohstats path to 777 but i still get the message :

:~> /usr/local/lib/php.ini -q /www/htdocs/mohstats
/www/htdocs/mohstats/test.log
bash: /usr/local/lib/php.ini: Permission denied

Any ideas ?

Thanks & regards,

Sander
  -----Oorspronkelijk bericht-----
  Van: Steve Rendell [mailto:steve at rendy.co.uk]
  Verzonden: woensdag 21 mei 2003 15:25
  Aan: mohaa at icculus.org
  Onderwerp: Re: [mohaa] About Stats


  Remember PHP runs as user 'Nobody' so you will need to set permissions on
the directory (/www/htdocs/mohstats) to allow 'Rest of the World' users to
write...

  Try chmodding it to 777 to test it, or use 746 (Owner RWX, Group R, Public
RW) as a longer term solution

  Regards,
  Steve

    ----- Original Message -----
    From: Sander de Hond
    To: mohaa at icculus.org
    Sent: Wednesday, May 21, 2003 2:19 PM
    Subject: RE: [mohaa] About Stats


    Hi Josh

    Tried all i said, took me a while to figure out what i needed to do
exactly but i get it now :)

    Okay my path to my mohstats dir is : /www/htdocs/mohstats
    whereis php -> php: /usr/local/lib/php.ini /usr/local/lib/php -> found
php :)

    Then i try :
    /usr/local/lib/php -q /www/htdocs/mohstats /www/htdocs/mohstats/test.log
    The server responded : /usr/local/lib/php is a directory

    So i tried :
    /usr/local/lib/php.ini -q /www/htdocs/mohstats
/www/htdocs/mohstats/test.log
    Server responded : permission denied..

    I think i do not have the right permission ?
    Can u help (again)

    Thanks in advance,

    Regards,

    Sander
      -----Oorspronkelijk bericht-----
      Van: Josh Berry [mailto:josh at chickenmonkey.co.uk]
      Verzonden: maandag 19 mei 2003 22:18
      Aan: mohaa at icculus.org
      Onderwerp: RE: [mohaa] About Stats


      Also,



      Make sure that if you do not have root access you will probably have
to specify the full path. It's also worth specifying the output path, so



      php -q mohstat <qconsole.log>



      will become something like



      /usr/bin/php -q /home/gamer/stats/mohstat
/home/gamer/.mohaa/main/qconsole.log



      (use whereis php to find the path if you don't know it), and change
the file paths to match your own file structure. When you activate it it
should sit there and think about it for a while and then the bash prompt
will come back – and it should have created an output directory.



      --

      Josh



      -----Original Message-----
      From: Gustavo Passos Tourinho [mailto:tourinho at posseidon.no-ip.org]
      Sent: 19 May 2003 19:04
      To: mohaa at icculus.org
      Subject: RE: [mohaa] About Stats



      Hello Sander



      U need exec mohstat script

      php -q mohstat <qconsole.log>



      Just it!



      I was having problem because php version.



      tourinho







      On Mon, 19 May 2003, Sander de Hond wrote:



      > Hi Josh,

      >

      > I got a question.. what to do next with the qconsole/log file ?

      > I uploaded the Mohstats dir to my homepage
(www.clanitf.nl/mohstats), i

      > edited the config file but what then ?

      >

      > I cannot execute the command shown on the homepage of clanfx.com, i
have ssh

      > acces to my webserver and ftp but how do i activate the stats ?

      >

      > Thanks in advance,

      >

      > Sander

      >

      > -----Oorspronkelijk bericht-----

      > Van: Josh Berry [mailto:josh at chickenmonkey.co.uk]

      > Verzonden: woensdag 14 mei 2003 19:02

      > Aan: mohaa at icculus.org

      > Onderwerp: Re: [mohaa] About Stats

      >

      >

      > Yeah.. in the startup line add the following:

      >

      > a.. set logfile 3

      > a.. set developer 1

      >

      > This will create a logfile called qconsole.log in the .mohaa
directory (at

      > the same level as the MOHAA directory) which you can process. If you
have a

      > look at http://stats.clanfx.com/ there is a set of instructions.

      >

      > Josh

      >

      >

      > ----- Original Message -----

      > From: <richardnharrison at btinternet.com>

      > To: <mohaa at icculus.org>

      > Sent: Wednesday, May 14, 2003 2:00 PM

      > Subject: RE: [mohaa] About Stats

      >

      >

      > > did you modify your start up line to output the data to a log
file?

      > >

      > > >  from:    Josh Berry <josh at chickenmonkey.co.uk>

      > > >  date:    Wed, 14 May 2003 13:45:02

      > > >  to:      mohaa at icculus.org

      > > >  subject: RE: [mohaa] About Stats

      > > >

      > > > I can't think of any reason for apache or php to be at fault.
The most

      > > > obvious thinbg I can think of is to make sure that the "player"

      > > > directory where the pages are stored is writable by the
webserver.

      > > >

      > > > Other than that I'm all out of ideas.

      > > >

      > > > Josh

      > > >

      > > > -----Original Message-----

      > > > From: tourinho at atlas.ucpel.tche.br
[mailto:tourinho at atlas.ucpel.tche.br]

      > > >

      > > > Sent: 12 May 2003 21:24

      > > > To: mohaa at icculus.org

      > > > Subject: [mohaa] About Stats

      > > >

      > > >

      > > >

      > > > Hello all.

      > > >

      > > > I really dont know if my question belong to this list ,but Ill
try

      > > > anyway.

      > > >

      > > > Ive downloaded the mohstats program to show player status.

      > > >

      > > > After install and play on server for 2 days I tried to show
stats

      > > > running the

      > > > program.

      > > >

      > > > The problema is that it just create the page, but not include
the

      > > > players statitcs.

      > > >

      > > > Some time ago Ive used this program and it worked fine.

      > > >

      > > > I dont know if it has some problems of versions (php, apache,
etc).

      > > >

      > > > Well. Im sorry if the question wasnt for this list, but Ill
apressiate

      > > > any help.

      > > >

      > > > Thanks.

      > > >

      > > >

      > > >

      > >

      > >

      >

      >

      >

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/mohaa/attachments/20030521/983732d5/attachment.htm>


More information about the Mohaa mailing list