Re: [Zope] AWStats and ZCGI installation
Kristina Quimson Buenafe wrote:
Hi Chris,
I found a how-to in one of the Zope-list archives - do I not need to use it with ZCGI?
What is ZCGI providing you? How does AWStats process logs? cheers, Chris PS: Please keep replies on the list.
Hi Chris, I think it processes whatever log you specify in the awstats.myvirtualhostname.conf, and I guess ZCGI lets you do it from the ZMI to get real-time statistics? I'm not really sure. I get the following error (and I put "../var/Z2.log" in the .conf file, changed LogFormat to 1, and put "cidac1.sys.virginia.edu" in the hostname setting) I think I also took out the extra space in http_server.py. Error: Couldn't open config file "awstats.cidac1.sys.virginia.edu.conf" nor "awstats.conf" : No such file or directory Setup (Config file, web server or permissions) may be wrong. See AWStats documentation in 'docs' directory for informations on how to setup awstats. Any ideas? Thanks, Kristina -----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] Sent: Wednesday, March 19, 2003 11:48 AM To: Kristina Quimson Buenafe Cc: zope@zope.org Subject: Re: [Zope] AWStats and ZCGI installation Kristina Quimson Buenafe wrote:
Hi Chris,
I found a how-to in one of the Zope-list archives - do I not need to use it with ZCGI?
What is ZCGI providing you? How does AWStats process logs? cheers, Chris PS: Please keep replies on the list.
Kristina Quimson Buenafe wrote:
Hi Chris,
I think it processes whatever log you specify in the awstats.myvirtualhostname.conf, and I guess ZCGI lets you do it from the ZMI to get real-time statistics? I'm not really sure.
Hmmm, perhaps you could re-state the high level problem you're trying to solve, this seems like quite a contorted solution to whatever the problem is...
Error: Couldn't open config file "awstats.cidac1.sys.virginia.edu.conf" nor "awstats.conf" : No such file or directory
Well, the problem is there pretty loud and clear ;-) You need to find out why AWStats can't find its config file...
See AWStats documentation in 'docs' directory for informations on how to setup awstats.
You could always try following this advice... cheers, Chris
Hi Chris,
Hi Chris,
I think it processes whatever log you specify in the awstats.myvirtualhostname.conf, and I guess ZCGI lets you do it from the ZMI to get real-time statistics? I'm not really sure.
Hmmm, perhaps you could re-state the high level problem you're trying to solve, this seems like quite a contorted solution to whatever the problem is... The high-level problem I'm trying to solve is to get web server log statistics out of Z2.log so I can analyze them for my thesis.
Error: Couldn't open config file "awstats.cidac1.sys.virginia.edu.conf" nor "awstats.conf" : No such file or directory
Well, the problem is there pretty loud and clear ;-) You need to find out why AWStats can't find its config file... Ok - awstats.cidac1.sys.virginia.edu.conf is in the cgi-bin directory with awstats.pl
See AWStats documentation in 'docs' directory for informations on how to setup awstats.
You could always try following this advice... I think I followed the setup instructions correctly (putting the cgi-bin and icon directories in my Zope root directory and changing the settings in awstats.cidac1.sys.virginia.edu.conf, will check them again. Thanks, Kristina
Kristina Quimson Buenafe wrote:
The high-level problem I'm trying to solve is to get web server log statistics out of Z2.log so I can analyze them for my thesis.
What lead you to choose AWStats over the other log analysis software that is available?
Well, the problem is there pretty loud and clear ;-) You need to find out why AWStats can't find its config file...
Ok - awstats.cidac1.sys.virginia.edu.conf is in the cgi-bin directory with awstats.pl
I'm afraid I know nothing about AWStats so can't tell you if that's correct or not. What ways are there to get help for AWStats?
I think I followed the setup instructions correctly (putting the cgi-bin and icon directories in my Zope root directory and changing the settings in awstats.cidac1.sys.virginia.edu.conf, will check them again.
Are you using Apache in front of Zope? If not, maybe you should consider it and then run AWStats as a CGI under Apache rather than trying torun it as a CGI under Zope... cheers, Chris
The high-level problem I'm trying to solve is to get web server log statistics out of Z2.log so I can analyze them for my thesis.
What lead you to choose AWStats over the other log analysis software that is available? I was choosing between it and Webalizer and when I tried to download Webalizer their server was down so I just went with AWStats since it seemed they were both good.
Well, the problem is there pretty loud and clear ;-) You need to find out why AWStats can't find its config file...
Ok - awstats.cidac1.sys.virginia.edu.conf is in the cgi-bin directory with awstats.pl
I'm afraid I know nothing about AWStats so can't tell you if that's correct or not. What ways are there to get help for AWStats?
I think I followed the setup instructions correctly (putting the cgi-bin and icon directories in my Zope root directory and changing the settings in awstats.cidac1.sys.virginia.edu.conf, will check them again.
Are you using Apache in front of Zope? If not, maybe you should consider it and then run AWStats as a CGI under Apache rather than trying torun it as a CGI under Zope... The error in my setup is that I renamed awstats.model.conf to awstats.cidac1.sys.virginia.edu.conf.conf by mistake, and that's why the file couldn't be read. Thanks for your help! Kristina
Just fixed the problem - I didn't realize that when I renamed it and set the .conf files to open with WordPad to edit them, I should have just renamed it awstats.myvirtualhostname because it had been "awstats.cidac1.sys.virginia.edu.conf.conf" and that's why the file couldn't be found. Whoops! -----Original Message----- From: Chris Withers [mailto:chrisw@nipltd.com] Sent: Thursday, March 20, 2003 5:30 AM To: buenafe@virginia.edu Cc: zope@zope.org Subject: Re: [Zope] AWStats and ZCGI installation Kristina Quimson Buenafe wrote:
Hi Chris,
I think it processes whatever log you specify in the awstats.myvirtualhostname.conf, and I guess ZCGI lets you do it from the ZMI to get real-time statistics? I'm not really sure.
Hmmm, perhaps you could re-state the high level problem you're trying to solve, this seems like quite a contorted solution to whatever the problem is...
Error: Couldn't open config file "awstats.cidac1.sys.virginia.edu.conf" nor "awstats.conf" : No such file or directory
Well, the problem is there pretty loud and clear ;-) You need to find out why AWStats can't find its config file...
See AWStats documentation in 'docs' directory for informations on how to setup awstats.
You could always try following this advice... cheers, Chris
participants (2)
-
Chris Withers -
Kristina Quimson Buenafe