Centova Technologies Forum

Centova Cast v3 => Bugs and issues => Topic started by: brnweb on August 18, 2013, 05:41:48 pm

Title: Cron Error and Settings Error
Post by: brnweb on August 18, 2013, 05:41:48 pm
We are new to Centova. We have a fresh install of Centova cast on a CentOS server, and we are having trouble with 2 things:

1. We are getting the popular Cron Job error in our control panel
(Centova Cast's cron job is not running on schedule (possibly not at all). This may result in various Centova Cast problems ranging from statistics problems to licensing errors. Most often this is the result of a cron configuration error.)

We verified and we do have cron installed on our server, but do not know what to have cron do. What cron jobs need to be scheduled? How do we go about scheduling them? We looked in our log and do not see that any cron jobs have ran.

2. Secondly, we are also getting an error when we try to access Settings > Settings under the admin control panel.
Fatal error: Cannot redeclare class albumdatalookup in /usr/local/centovacast/system/albumds/class_AlbumDataLookup.php on line 821

What do we need to do to fix this problem?

Thanks so much for your help!
Title: Re: Cron Error and Settings Error
Post by: djduck on August 18, 2013, 06:44:17 pm
I am getting the same Error on the settings page.. not sure about the cron tabs
Title: Re: Cron Error and Settings Error
Post by: My Auto DJ on August 19, 2013, 04:46:23 am
Same here, also verified cron is installed and running but problem is only on a new server I installed over the weekend, other servers do not have a cron error -- settings page is fine
Title: Re: Cron Error and Settings Error
Post by: William Abrams on August 19, 2013, 08:00:13 pm
I am getting the same error
Title: Re: Cron Error and Settings Error
Post by: DJFire_CFR on August 20, 2013, 10:52:14 pm
Actually just saw this today, came out of no where but only on 1 of our servers.

When you click the link to check Cron job problems, Theres some error / issue on that page as well.
Title: Re: Cron Error and Settings Error
Post by: Stathinho on August 21, 2013, 02:08:59 pm
Same to us here!
Title: Re: Cron Error and Settings Error
Post by: brnweb on August 23, 2013, 08:44:47 pm
I have found that I have cron installed correctly on my CentOS server. And when I run it manually all reports back OK.

Does anyone know how to make Cron Jobs run automatically??

When I run them via SSH they run well for 8-12 hours then start popping up errors again in the admin area.

Thanks!
Title: Re: Cron Error and Settings Error
Post by: streampakket on September 06, 2013, 12:36:35 pm
Hi we have the same problem and when running  /var/log/cron  i found this error:
BAD FILE MODE

This mean that the cronjob is not world writable here how to fixe this:

http://www.cyberciti.biz/faq/unix-linux-cron-bad-file-mode-error/

The cronjob himself looks like:

*/5 * * * * root /etc/init.d/centovacast check >/dev/null 2>&1
15 2 * * * root /usr/local/centovacast/sbin/rotatelogs >/dev/null 2>&1
*/5 * * * * centovacast /usr/local/centovacast/bin/ccmanage cronjob all >/dev/null 2>&1
* * * * * ccuser /usr/local/centovacast/bin/mediascan >/dev/null
Title: Re: Cron Error and Settings Error
Post by: javier on September 07, 2013, 07:58:25 am
I dont know if is related but if I click the email test button I get this

Fatal error: Cannot redeclare class albumdatasourceuser in /usr/local/centovacast/system/albumds/class_AlbumDataSource.php on line 26
Title: Re: Cron Error and Settings Error
Post by: JOKEREMPIRE on September 16, 2013, 02:56:09 am
Same problem here, testing Amazon integration ends up in: Fatal error: Cannot redeclare class albumdatasourceuser in /usr/local/centovacast/system/albumds/class_AlbumDataSource.php on line 26

That file is encrypted so no way to fix it ouselves. Centova, please fix this ASAP!
Title: Re: Cron Error and Settings Error
Post by: JOKEREMPIRE on September 17, 2013, 01:09:06 am
Thanks, this has been fixed in the latest update.

Great fast work guys!