Koozali.org: home of the SME Server

AWSTATS in SME 7.4

Offline chrisj

  • **
  • 27
  • +0/-0
AWSTATS in SME 7.4
« on: April 24, 2009, 08:32:31 PM »
Hi,

hopefully someone can tell me what the following message means and how I can stop it happening as I get an email every hour and it's starting to get a tad annoying!!

/bin/bash: /usr/local/awstats/wwwroot/cgi-bin/awstats.pl: No such file or directory

Thanks in advance

Chris

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: AWSTATS in SME 7.4
« Reply #1 on: April 24, 2009, 09:06:42 PM »
hi

hopefully you could tell us:
- how did you setup awstats
- id is it working or not
- which cron job generates that mail

we are not in front of your server/monitor/pc, so we hardly can figure what's going on if you don't tell us.

Ciao
Stefano

Offline chrisj

  • **
  • 27
  • +0/-0
Re: AWSTATS in SME 7.4
« Reply #2 on: April 24, 2009, 09:45:44 PM »
Hi

Well it was a 'standard' install, default settings, so I don't think I have done anything strange. I'm fairly new to dansguardian / squid so it maybe I've just not configured something during setup. As for the cron job I'm not sure  what is generating it except from the logs see below. Sorry it's not very helpful!

Apr 22 01:13:01 eserve crond[3446]: (*system*) RELOAD (/etc/crontab)
Apr 22 01:15:01 eserve crond[10729]: (root) CMD (/etc/startmail)
Apr 22 01:20:01 eserve crond[10869]: (root) CMD (/usr/lib/sa/sa1 1 1)
Apr 22 01:30:01 eserve crond[11092]: (root) CMD (/etc/startmail)
Apr 22 01:30:01 eserve crond[11094]: (root) CMD (/usr/lib/sa/sa1 1 1)
Apr 22 01:40:01 eserve crond[11345]: (root) CMD (/usr/lib/sa/sa1 1 1)
Apr 22 01:45:01 eserve crond[11458]: (root) CMD (/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=mail >/dev/null)
Apr 22 01:45:01 eserve crond[11462]: (root) CMD (/etc/startmail)
Apr 22 01:50:01 eserve crond[11616]: (root) CMD (/usr/lib/sa/sa1 1 1)
Apr 22 01:51:01 eserve crond[11641]: (root) CMD (squid -k rotate)
Apr 22 02:00:01 eserve crond[11841]: (root) CMD (/etc/startmail)
Apr 22 02:00:01 eserve crond[11845]: (root) CMD (/usr/lib/sa/sa1 1 1)
Apr 22 02:01:01 eserve crond[11896]: (root) CMD (run-parts /etc/cron.hourly)
Apr 22 02:10:01 eserve crond[12117]: (root) CMD (/usr/lib/sa/sa1 1 1)
Apr 22 02:15:02 eserve crond[12230]: (root) CMD (/etc/startmail)
Apr 22 02:20:01 eserve crond[12370]: (root) CMD (/usr/lib/sa/sa1 1 1)
Apr 22 02:30:01 eserve crond[12592]: (root) CMD (/etc/startmail)
Apr 22 02:30:01 eserve crond[12594]: (root) CMD (/usr/lib/sa/sa1 1 1)
Apr 22 02:40:01 eserve crond[12845]: (root) CMD (/usr/lib/sa/sa1 1 1)
Apr 22 02:45:01 eserve crond[12959]: (root) CMD (/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=mail >/dev/null)
Apr 22 02:45:01 eserve crond[12962]: (root) CMD (/etc/startmail)

 Regards

Chris

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: AWSTATS in SME 7.4
« Reply #3 on: April 24, 2009, 09:56:35 PM »
Well it was a 'standard' install, default settings, so I don't think I have done anything strange. I'm fairly new to dansguardian / squid so it maybe I've just not configured something during setup. As for the cron job I'm not sure  what is generating it except from the logs see below. Sorry it's not very helpful!

if it doesn't work out-of-the-box then raise a bug in bugzilla, thank you

Ciao
Stefano

Offline chrisj

  • **
  • 27
  • +0/-0
Re: AWSTATS in SME 7.4
« Reply #4 on: April 24, 2009, 10:36:08 PM »
Hi,

Thanks for that I'll raise this now. One other thing someone might be able to help with. Is it possible to create an administrators group that has the same rights as the admin, (not root), as I need to create another user who has admin rights?

Chris

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: AWSTATS in SME 7.4
« Reply #5 on: April 25, 2009, 09:09:36 AM »
One other thing someone might be able to help with.
Next time, please take the effort to open up a new topic for an new question as this certaily does not have to do with your initial post.

Is it possible to create an administrators group that has the same rights as the admin, (not root), as I need to create another user who has admin rights?
Yes, you can simply create a group through the server manual panel, but be sure to give that group (exactly) the following description (without the quotes): "Domain Admins"

All users added to that group should have the same access level and privileges as the admin user.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline chrisj

  • **
  • 27
  • +0/-0
Re: AWSTATS in SME 7.4
« Reply #6 on: April 25, 2009, 12:44:29 PM »
Thanks for the help

Chrisj

Offline bloodshoteye

  • *****
  • 232
  • +0/-0
  • Grateful thanks to SME devs
Re: AWSTATS in SME 7.4
« Reply #7 on: May 04, 2009, 08:22:06 AM »
I'm getting a similar issue, but with another awstats script:
Quote
Can't open perl script "/usr/local/awstats/tools/maillogconvert.pl": No such file or directory.
Use -S to search $PATH for it.
I filed a bug for support, but the maintainer must be busy as there is no response (2 weeks)
Quote
http://bugs.contribs.org/show_bug.cgi?id=5180

Cheers
« Last Edit: May 04, 2009, 04:39:23 PM by ardugh »
SME Server is a fantastic product - thank you!

Offline wellsi

  • *
  • 475
  • +0/-0
    • http://www.wellsi.com
Re: AWSTATS in SME 7.4
« Reply #8 on: May 04, 2009, 04:32:31 PM »
Moving to contribs forum as not part of base
............