TRAIN YARD SOFTWARE

Well-Known Member
Dec 20, 2001
222
0
316
How do we turn this on and where is access to it @?

Awstats now ready for use. Awstats must be turned on in /var/cpanel/cpanel.config before it will appear in your users cPanel. Make sure to restart cpanellogd afterwards. killall -TERM cpanellogd;/usr/local/cpanel/cpanellogd This makes use of the new &cpanelif& tag. Stats will be generated 24 hours after awstats is first enabled. (4.7.0 build 25 or later only)

our cpanel.config says skipawstats=1

is this on or off? what should it be set to?
 

rpmws

Well-Known Member
Aug 14, 2001
1,787
10
318
back woods of NC, USA
This is a good question .. my guess that since a &1& means on and a &0& would mean off and that param you are referring to is &skipawstats& .. i would think that a &1& would tell it to skip them and and &0& would NOT skip them??? am I right?
 

Annette

Well-Known Member
PartnerNOC
Aug 12, 2001
445
0
316
Yep - set it to 0 to have it run. Think of the &skip awstats& as a question. 1 for yes, 0 for no.
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
If you are using a default control panel (one that is updated by cpanel) then an option will appear in the clients control panel just like webalizer, etc.
 

BurtonHost

Member
May 8, 2002
11
0
301
Does anyone know how to or what to run to produce the stats - I know it does it every night but I want to run it now to see if it has worked changing this option..

Any ideas how to or which cron to run?

Thanks
 

awsol

Well-Known Member
Feb 8, 2002
578
0
316
Boston MA
Burt in the scripts directory run the file called runweblogs and this will ask you what username to update.
 

TRAIN YARD SOFTWARE

Well-Known Member
Dec 20, 2001
222
0
316
[quote:53401823df][i:53401823df]Originally posted by Marty[/i:53401823df]

If you are using a default control panel (one that is updated by cpanel) then an option will appear in the clients control panel just like webalizer, etc.[/quote:53401823df]


Thank You.
-Ed
TYS
 

TRAIN YARD SOFTWARE

Well-Known Member
Dec 20, 2001
222
0
316
changed skipawstats=1 to =0
kill all term -----etc etc etc

==& Loading Config ....product myname adminuser basename version root engineroot engine enginepl cycle docroot access_log stats_log port RS VALIASDIR VFILTERDIR extracpus skipawstats


iconic cpanel under stats says awstats. inside it said this:

Error: Couldn't open config file &awstats.mydomain.com.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?
 

TRAIN YARD SOFTWARE

Well-Known Member
Dec 20, 2001
222
0
316
Error: Couldn't open config file &awstats.mydomain.com.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.

[/quote]

&Run the file called runweblogs and this will ask you what username to update.& I did this and awstats is now working on 1 user. is there a way to (runweblogs serverwide)
 

Annette

Well-Known Member
PartnerNOC
Aug 12, 2001
445
0
316
/scripts/runlogsnow I believe is the system run.
 

TRAIN YARD SOFTWARE

Well-Known Member
Dec 20, 2001
222
0
316
I did above: /scripts/runlogsnow

from user cpanel iconic:

Error: Couldn't open config file &awstats.domain.com.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.
 

TRAIN YARD SOFTWARE

Well-Known Member
Dec 20, 2001
222
0
316
after testing here, this awstats is nice however running /scripts/runweblogs username everyday on every username is not something i look forward to doing. Nick is there a way to have users cpanel run /scripts/runweblogs before showing them results or something??

-Ed
TYS
 

Mary B.

Member
Jun 11, 2002
21
0
301
Before I make a mess of my server, how does one restart cpanellogd? I saw this in the first post in this thread, followed by this: killall -TERM cpanellogd;/usr/local/cpanel/cpanellogd. Is that string of whatever it is, something to type into Putty to restart cpanellogd? If so, do I type it in just like it is, or is there more to it? Thanks for any help! I'm just beginning to learn about shell access. :p

Mary