← Back to team overview

mahara-contributors team mailing list archive

[Bug 794490] Re: Cron is not running

 

Hallo Francois,

i have installed the version 1.4rc4 and the cronjob seems to work.

See the output of log-file in /var/log/mahara/cron.log:
[DBG] 8d (lib/cron.php:45) ---------- cron running Fri, 10 Jun 2011 11:10:01 +0200 ----------
[DBG] 8d (lib/cron.php:502) Skipping long-running cron job core_activity_process_queue (Fri, 10 Jun 2011 11:05:01 +0200).
[DBG] 8d (lib/cron.php:146) Running core cron auth_handle_account_expiries
[DBG] 8d (lib/cron.php:146) Running core cron cron_check_for_updates
[DBG] 8d (lib/cron.php:146) Running core cron export_cleanup_old_exports
[DBG] 8d (lib/cron.php:146) Running core cron rebuild_artefact_parent_cache_complete
[DBG] 8d (lib/cron.php:146) Running core cron cron_site_data_daily
[DBG] 8d (lib/cron.php:146) Running core cron auth_clean_partial_registrations
[DBG] 8d (lib/cron.php:146) Running core cron recalculate_quota
[DBG] 8d (lib/cron.php:146) Running core cron auth_handle_institution_expiries
[DBG] 8d (lib/cron.php:146) Running core cron import_cleanup_old_imports
[DBG] 8d (lib/cron.php:146) Running core cron cron_clean_internal_activity_notifications
[DBG] 8d (lib/cron.php:146) Running core cron import_process_queue
[DBG] 8d (lib/cron.php:146) Running core cron auth_remove_old_session_files
[DBG] 8d (lib/cron.php:146) Running core cron rebuild_artefact_parent_cache_dirty
[DBG] 8d (lib/cron.php:168) ---------- cron finished Fri, 10 Jun 2011 11:10:07 +0200 ----------

But in the admin-webfrontend it shows me:
"Cron: Cron is not running."

Is this related to the reported bug:
https://bugs.launchpad.net/mahara/+bug/776955?

Thank you for your help,
michael

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/794490

Title:
  Cron is not running

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Mahara v1.4rc3
  Linux 2.6.26-2
  PHP 5.2.6
  Apache-Server 2.2.9
  postgresql-Server 8.4

  I was trying to setup the cronjob for mahara explained like in the
  wiki:
  https://wiki.mahara.org/index.php/System_Administrator%27s_Guide/Cron_Job.
  But it do not work.

  See the entry in the /etc/crontab:
   */5 * * * *     www-data php -c /etc/php5/apache2/php.ini /data/srv/www/mahara/lib/cron.php >> /var/log/mahara/cron.log 2>&1

  and the output of log-file in /var/log/mahara/cron.log:
  "A nonrecoverable error occured. This probably means you have encountered a bug in the system[WAR] 1f (lib/web.php:2291) redirect() should be called with either /[something] for local redirects or http[something] for absolute redirects
  Call stack (most recent first):
    * redirect("ar/www/mahara/lib/cron.php") at /var/www/mahara/init.php:192
    * require("/var/www/mahara/init.php") at /var/www/mahara/lib/cron.php:33

  A nonrecoverable error occured. This probably means you have
  encountered a bug in the system".

  Has anybody an idea?

  Thanx,
  michael wuttke

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/794490/+subscriptions


References