
2nd December 2005, 01:27
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by kuyaedz
I've followed these instructions too. Do I now need to wait 24hrs to give cron a chance to run again?
|
You have to wait until your cron job is scheduled to run the next time, so if you have a cron job that is run once a day, then you have to wait 24h in the worst case.
Quote:
|
Originally Posted by kuyaedz
Also, it mentions editing crontab (crontab -e) and save again. Is there something I need to 'edit' or just re-save? I'm having the same issue of stats not compiling & not access at www.domain.com/stats/ (404 Error)
|
You don't need to change anything. Just save.
|

4th December 2005, 05:37
|
|
Junior Member
|
|
Join Date: Nov 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
ok I've done as suggested and, for whatever reason, I still don't get a /stats/ directory (directory doesn't exist under any of my six domains hosted). Any other suggestions?
|

4th December 2005, 10:39
|
|
Senior Member
|
|
Join Date: Aug 2005
Posts: 476
Thanks: 10
Thanked 5 Times in 4 Posts
|
|
Hello
I had the same error, is all was to return in the order after 24hrs.
|

4th December 2005, 11:30
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by kuyaedz
ok I've done as suggested and, for whatever reason, I still don't get a /stats/ directory (directory doesn't exist under any of my six domains hosted). Any other suggestions?
|
Run
Code:
grep -i cron /var/log/syslog
and see if you can find errors related to the logs.php or webalizer.php script. The webalizer.php script runs at 4.00h every morning.
|

19th December 2005, 02:54
|
|
Senior Member
|
|
Join Date: Dec 2005
Location: Chile
Posts: 245
Thanks: 4
Thanked 3 Times in 2 Posts
|
|
Is this ok?
Code:
root@Alcon:/home/dan# 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
Why is webalizer pointing to dev/null?
|

19th December 2005, 10:00
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by danf.1979
Is this ok?
|
Yes.
Quote:
|
Originally Posted by danf.1979
Why is webalizer pointing to dev/null?
|
This is just to redirect any output that the scripts produce (status messages, etc.) to /dev/null because otherwise you'd get an email with the output everytime a cron job runs which can be quite annoying after some time.
It does not mean that the statistics that webalizer produces are sent to /dev/null!
|

11th March 2006, 22:45
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
|
|
/etc/init.d/cron stop
won't work for me (Fedora Core 3)
|

12th March 2006, 14:48
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
|
Originally Posted by nenad
/etc/init.d/cron stop
won't work for me (Fedora Core 3)
|
On Fedora it's
Code:
/etc/init.d/crond stop
|

14th March 2006, 12:17
|
|
Senior Member
|
|
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 414
Thanks: 13
Thanked 5 Times in 5 Posts
|
|
I have:
403 Error- Forbidden!
when I try to login ?
username / password are valid
statistics are compiled, pages (index.html) and images (png) are generated
Last edited by nenad; 14th March 2006 at 12:27.
|

14th March 2006, 15:10
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,191 Times in 3,207 Posts
|
|
Which username and password do you use to login to the stats. It must be a valid email username and password that has not been added or changed after the last run of the statistics script.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 02:31.
|
Recent comments
17 hours 19 min ago
1 day 2 hours ago
1 day 3 hours ago
1 day 7 hours ago
1 day 11 hours ago
1 day 11 hours ago
1 day 14 hours ago
2 days 7 min ago
2 days 5 hours ago
2 days 6 hours ago