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 »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • process_mailing triggers mailing, stuck in Running status with no emails sent
Pages: [1]

Author Topic: process_mailing triggers mailing, stuck in Running status with no emails sent  (Read 3535 times)

Slovak

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 3
    • My website
  • CiviCRM version: 3.4.x, 4.2.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: 5.5.29
  • PHP version: 5.3.10
process_mailing triggers mailing, stuck in Running status with no emails sent
March 07, 2013, 10:44:09 am
Drupal 7, CiviCRM 4.2.8

I have the cron setup correctly, all other jobs are processing fine. When cron triggers process_mailing the scheduled mailing changes status to "Running", but no emails are sent, even on subsequent cron runs.

If I trigger process_mailing at /civicrm/admin/job?action=export&id=2&reset=1 emails go out without an issue.

Slovak

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 3
    • My website
  • CiviCRM version: 3.4.x, 4.2.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: 5.5.29
  • PHP version: 5.3.10
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
March 13, 2013, 06:51:43 pm
I've also tried specifying process_mailing in the cron command itself to eliminate any interference from other processes triggered. No dice.

Any thoughts/pointers on the best way to debug this?

Slovak

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 3
    • My website
  • CiviCRM version: 3.4.x, 4.2.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: 5.5.29
  • PHP version: 5.3.10
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
March 13, 2013, 07:43:38 pm
Scheduled jobs reports:

0
Summary
Starting execution of Send Scheduled Mailings
Details

Parameters raw (From Cli.php):
a:1:{s:7:"version";i:3;}

Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Full message:
Starting execution of Send Scheduled Mailings


0
Summary
Finished execution of Send Scheduled Mailings with result: Success (a:0:{})
Details

Parameters raw (From Cli.php):
a:1:{s:7:"version";i:3;}

Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}

Full message:
Finished execution of Send Scheduled Mailings with result: Success (a:0:{})

Slovak

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 3
    • My website
  • CiviCRM version: 3.4.x, 4.2.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: 5.5.29
  • PHP version: 5.3.10
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
March 13, 2013, 07:46:37 pm
Outbound email is set to mail().

Test emails from the Outbound settings page as well as test mailings are delivered correctly.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
March 14, 2013, 03:29:26 am
What are your CiviMail settings? Like throttle etc.
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.

Slovak

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 3
    • My website
  • CiviCRM version: 3.4.x, 4.2.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: 5.5.29
  • PHP version: 5.3.10
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
March 14, 2013, 07:17:07 am
Mailer Batch Limit: 2500
Mailer Throttle Time: 0
Mailer Job Size: 3000
Mailer CRON job limit: 0
VERP Separator: .

The symptoms are present even when the mailing group only contains 2 contacts.
« Last Edit: March 14, 2013, 07:22:17 am by Slovak »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
March 14, 2013, 07:21:48 am
Same problem if you manually execute the mailer job?
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.

Slovak

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 3
    • My website
  • CiviCRM version: 3.4.x, 4.2.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: 5.5.29
  • PHP version: 5.3.10
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
March 14, 2013, 07:22:35 am
If I trigger the process manually via "Execute now" from the Scheduled Jobs screen, all works great.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
March 14, 2013, 09:06:24 am

peter:

can u ping us on IRC. Maybe we can ssh onto your server and take a quick look. Please do ensure that the install is on the latest 4.2.x before u contact us :)

lobo
 
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

rshun

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
  • CiviCRM version: 4.2.1
  • CMS version: Drupal 7.21
  • MySQL version: 5.5
  • PHP version: 5.4
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
March 18, 2013, 10:09:10 am
Hi Donald,

  I have same problem too.  Can you help me too?

Thanks,

R

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
March 18, 2013, 01:07:13 pm

rshun:

yes, jump on irc and hang out for a few hours and hopefully someone will read your message and help u get started debugging. Might want to read the CiviCRM developer book @

http://book.civicrm.org/ to get started

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

junktrap

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
April 28, 2013, 07:43:35 pm
I'm having the same problem with Drupal 7 and CiviCRM 4.3.1.  The scheduled job, process_mailing, shows running, gives a start Date-Time-Group but never completes and never sends email. 

I'm using WGETRC=civicrm-wgetrc wget -O - -q -t 1 http://[site url]/sites/all/modules/civicrm/bin/cron.php set up through a control panel on Hostmonster.

If I use a direct URL method to kickoff cron.php, the process_mailing job finishes as expected.

Any suggestions?

THanks

Slovak

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 3
    • My website
  • CiviCRM version: 3.4.x, 4.2.x
  • CMS version: Drupal 6.x, 7.x
  • MySQL version: 5.5.29
  • PHP version: 5.3.10
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
April 28, 2013, 08:31:56 pm
Follow http://wiki.civicrm.org/confluence/display/CRMDOC43/CiviMail+Installation and then double check that the Drupal user "mailprocess" (if you set it up according to the wiki) needs to have a few permissions for this to work:
  • CiviCRM: view all contacts
  • CiviCRM: access CiviCRM
  • CiviMail: access CiviMail

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: process_mailing triggers mailing, stuck in Running status with no emails sent
April 28, 2013, 11:05:33 pm
Quote from: junktrap on April 28, 2013, 07:43:35 pm

If I use a direct URL method to kickoff cron.php, the process_mailing job finishes as expected.

Why don't you just use that method in the cron job?
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • process_mailing triggers mailing, stuck in Running status with no emails sent

This forum was archived on 2017-11-26.