||30th April 2007 19:07
Awstats or Cron not working
I have Ubuntu 6.06 perfect setup w/ awstats from http://jnsc.ch/ispconfig.php
installed. Everything was fine until I decided to try to install cron-apt so that i didnt have to download the updates, I could just install them when i was ready. Well, since then the awstats havent been getting created, I unistalled cron-apt hoping that it would fix my problem but it didnt, and im not sure if its a problem with the awstats or with cron.
Can someone help me with where i should begin. Im a little new at this so i dont really know where to start.
Thanks in advance,
||30th April 2007 19:50
connect as root and type
What is the output?
||30th April 2007 20:28
Thanks for your reply, this is what the output looks like.
root@Server1:/home/admin# crontab -l
30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null
15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php &> /dev/null
One other thing, I saw in another post this code
pkill cron (Make sure no cron processes are left.)
Edit your crontab (crontab -e) and save it again.
Then restart cron: /etc/init.d/cron start
I tried that a couple of days ago and it did not work
||30th April 2007 21:26
Your crontab is ok.
Try to start cron and look if it's running
||30th April 2007 21:49
Heres the output for that
root@Server1:/home/admin# ps aux | grep cron
root 9592 0.0 0.1 2116 840 ? Ss Apr25 0:00 /usr/sbin/cron
root 2320 0.0 0.0 1604 428 ? S Apr29 0:00 /root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d
root 8432 0.0 0.1 2876 796 pts/0 R+ 15:49 0:00 grep cron
Before i didnt think about it, but just last night i thought to check the other stats page. They are up to date so this means that cron is working its just awstats that doesnt work.
I think I just want to completely remove it. Its the awstats from http://jnsc.ch/ispconfig.php
How do I remove it from my server completely?
|All times are GMT +2. The time now is 03:38.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.