Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th April 2007, 19:07
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
Default 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,

Last edited by jnsc; 6th November 2008 at 15:05. Reason: changed link
Reply With Quote
Sponsored Links
  #2  
Old 30th April 2007, 19:50
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 172 Times in 77 Posts
Default

connect as root and type
Code:
crontab -l
What is the output?
Reply With Quote
  #3  
Old 30th April 2007, 20:28
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
Default

Thanks for your reply, this is what the output looks like.

Code:
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
EDIT:
One other thing, I saw in another post this code
Code:
/etc/init.d/cron stop
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

Last edited by Check; 30th April 2007 at 20:34.
Reply With Quote
  #4  
Old 30th April 2007, 21:26
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 172 Times in 77 Posts
Default

Your crontab is ok.
Try to start cron and look if it's running
Code:
ps aux | grep cron
Reply With Quote
  #5  
Old 30th April 2007, 21:49
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
Default

Heres the output for that

Code:
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
Reply With Quote
  #6  
Old 3rd May 2007, 14:53
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
 
Default

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?

Thanks

Last edited by jnsc; 6th November 2008 at 15:05. Reason: changed linl
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Awstats for ispconfig feanor Installation/Configuration 26 23rd February 2009 19:14
DNS stop working MZH General 3 22nd February 2008 11:10
AWStats jnsc Developers' Forum 5 7th February 2007 14:53
AWStats - from Developer-Forum Edi Feature Requests 3 26th January 2007 09:17
Suse Ispconfig and AWstats shajazzi Installation/Configuration 4 15th May 2006 23:04


All times are GMT +2. The time now is 08:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.