CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Cron errors
Pages: [1]

Author Topic: Cron errors  (Read 996 times)

nnangeroni

  • I’m new here
  • *
  • Posts: 27
  • Karma: 2
  • CiviCRM version: 3.4.0
  • CMS version: Drupal 6.20
  • MySQL version: 5.5.x
  • PHP version: 5.3.x
Cron errors
April 27, 2010, 04:57:02 pm
My cron job for a new installation generates the following errors:

Code: [Select]
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/masstpc/www/www/drupal/cron.php:3) in /home/masstpc/www/www/drupal/includes/bootstrap.inc on line 1037

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/masstpc/www/www/drupal/cron.php:3) in /home/masstpc/www/www/drupal/includes/bootstrap.inc on line 1037

Warning: Cannot modify header information - headers already sent by (output started at /home/masstpc/www/www/drupal/cron.php:3) in /home/masstpc/www/www/drupal/includes/bootstrap.inc on line 636

Warning: Cannot modify header information - headers already sent by (output started at /home/masstpc/www/www/drupal/cron.php:3) in /home/masstpc/www/www/drupal/includes/bootstrap.inc on line 637

Warning: Cannot modify header information - headers already sent by (output started at /home/masstpc/www/www/drupal/cron.php:3) in /home/masstpc/www/www/drupal/includes/bootstrap.inc on line 638

Warning: Cannot modify header information - headers already sent by (output started at /home/masstpc/www/www/drupal/cron.php:3) in /home/masstpc/www/www/drupal/includes/bootstrap.inc on line 639

I have no clue what's going on.  Can anybody point me in the right direction?

Thanks so much!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Cron errors
April 28, 2010, 03:31:38 am
This appears to be purely a Drupal question, not a CiviCRM one. Anyhow, could you post your precise crontab? Meaning the command you are running via cron.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

nnangeroni

  • I’m new here
  • *
  • Posts: 27
  • Karma: 2
  • CiviCRM version: 3.4.0
  • CMS version: Drupal 6.20
  • MySQL version: 5.5.x
  • PHP version: 5.3.x
Re: Cron errors
April 28, 2010, 07:59:23 am
Duh, what was I thinking?  Of course it's a Drupal issue, I shouldn't have posted it here.  Thanks so much for taking the time to reply, I really appreciate it.  Let's drop the issue here, I'll take it to the Drupal forum.

Again, thanks for taking the time.

JoopSJ

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 2
Re: Cron errors
April 28, 2010, 11:38:05 am
This is a common error when drupal-cron fails, per example when the times out.
When you try to run cron the next time it will fail again and you will get the errors.

You can "release the cron as follows:

check the drupal table "variables"
look for the row "cron_semaphore". If it is there this means that cron failed previously.
You can delete that row and run cron again.
Sometimes, you have to do this twice.

Ofcourse you will have to investigate why cron failed...

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Cron errors

This forum was archived on 2017-11-26.