Koozali.org: home of the SME Server

How to stop this message

adolfas

How to stop this message
« on: August 30, 2004, 02:09:31 PM »
I get email:
From: "Cron Daemon" <root@nese.lt>
To: <root@nese.lt>
Sent: Monday, August 30, 2004 11:40 AM
Subject: Cron <root@bankas> /bin/nice /sbin/e-smith/awstats-pp -s -n


> Could not open
/etc/e-smith/web/panels/manager/cgi-bin/.awstats/awstats.www.nese.lt.conf

Where can I find this string to delete it. Thanks

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
How to stop this message
« Reply #1 on: August 30, 2004, 05:33:34 PM »
Hello,

This message came from cron daemon.
Just take a look in the following directory and look for a files called "awstat" or something near
/etc/cron.d/
/etc/e-smith/templates/etc/cron.d/
/etc/e-smith/templates-custom/etc/cron.d/

If you don't find try this command
Code: [Select]

find /etc -exec grep awstats.www.nese.lt.conf  {} \;echo {} \; 2> /dev/null

The result of this commande will give you the filename that containt awstats.www.nese.lt.conf

When you find this file, just move it somewhere else or erase it.

Regards.

Offline MasterSleepy

  • *
  • 386
  • +0/-0
    • http://www.vanhees.cc
How to stop this message
« Reply #2 on: August 31, 2004, 10:44:52 AM »
Hello,

I've just install awstats-sme-server-2.2.1-0.noarch.rpm contrib and find where is the command.

Remove template file /etc/e-smith/templates/etc/crontab/awstats

After expand-template :
/sbin/e-smith/expand-template /etc/crontab

That have to solve your problem.

Regards.