[SOLVED] NMS & CGJobMgr issue

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
markS
Forum Members
Forum Members
Posts: 56
Joined: Wed Aug 20, 2008 3:04 pm

[SOLVED] NMS & CGJobMgr issue

Post by markS »

Hello,

I've recently setup a newsletter system for a client using the latest versions of NMS(2.5.5 which now uses the CGJobMgr(1.2.6.1) on a cms installation 1.10.3. All appeared fine in testing, but now in sending a real message I've got a few problems which I hope someone can help me resolve.

I've setup the job manager with a task running out of cron every 10 minutes as suggested.

Once I setup the mail and created a new job it started sending and all appeared fine. Looking at the progress in the NMS jobs tab it got to 14% and then appeared to stop sending out mails although I got no error messages. I left it overnight and nothing happened, no more emails were sent. There are approximately 4100 emails in the job of which around 600 went out OK.

Because nothing else had happened I tried to pause the job via the nms jobs tab. It paused OK and the status updated as being paused.

I then tried to unpause the job, using the resume button on the same nms screen. That didn't appear to work, I got a mostly empty admin screen with the newsletter made simple heading but no result at all. Could there be a bug in the admin script it's calling?

I then thought I might be able to unpause it via the job processing manager admin area. On clicking the resume button there I then got an error message saying 'Cannont unpause this job (bad or invalid status)'.

Now I'm somewhat stuck, I can't see anything obvious in the logs relating to errors and I'm not sure what I can try next to get the job started again and finish sending these emails.

Can anyone suggest a way forward with this? I can provide more details or the output of any logs if it will help. Is there a way for me to reset the paused flag manually, I can update the nms or cgjobmgr tables directly if need be?

Any advice and suggestions gratefully received!


Thanks,
Mark.
Last edited by markS on Thu Aug 23, 2012 10:25 am, edited 1 time in total.
markS
Forum Members
Forum Members
Posts: 56
Joined: Wed Aug 20, 2008 3:04 pm

Re: NMS & CGJobMgr issue

Post by markS »

Hello,

I'm following up my own post here. I'm pleased to say that the issues I was experiencing have been resolved.

I was about to uninstall the module and reinstall an older, known working module when I realised that new versions of NMS & CGJobMgr had been posted. I updated to these latest versions NMS 2.5.6 & CGJobMgr 1.2.7 and I was able to resume the job which was previously stuck.

So thanks Calguy for posting these updates, normal mailing services have been resumed!

Regards,

Mark.
applejack
Power Poster
Power Poster
Posts: 1015
Joined: Fri Mar 30, 2007 2:28 am
Location: London

Re: [SOLVED] NMS & CGJobMgr issue

Post by applejack »

Mark

I would really appreciate it if you could give an overview of how to set up to send background jobs for NMS using the CGJobMgr as I took a look at the help and it wasn't clear to me.
ridemore
Forum Members
Forum Members
Posts: 12
Joined: Wed Dec 09, 2009 1:59 am

Re: [SOLVED] NMS & CGJobMgr issue

Post by ridemore »

Greetings. I can't seem to get NMS to send email through the CGJobMgr. Have the latest versions of CMSMS, NMS, and CGJobMgr.

I'm getting various errors but the best I can make happen is a completed job with an admin email message:

NMS Mail Job Complete
Job Name Job created at: 12/03/12 15:18:11
Mail Subject Happy Holidays!
Lists Test List
Start Time: Dec 3, 2012
End Time: Dec 3, 2012
Errors (invalid addresses)

ridemore77@blah-blah.com (ridemore77@blah-blah.com)
steve.stewart77@blah-blah.com (steve.stewart77@blah-blah.com)
steve_stewart77@blah-blah.net (steve_stewart77@blah-blah.net)

No NMS content is sent. All are test email addresses to my various accounts. A total of 10 recipients for the job and all are addresses that used to resolve.

Also seem to have to click the URL a few times to get any action to take place.

I've also received these errors:

A CGJobMgr Job has terminated

You are receiving this notification to inform you of a job that has terminated with an important status.
Job Name: NMS - Job created at: 12/03/12 15:05:14
Job Id: 3
Job Owner: 1
Job Status: error
Job Started At: Dec 3, 2012
Job Finished At: Dec 3, 2012
Message: Unable to load template module_db_tpl 'NMS;msgtemplate_Parts-Express-Notice'

You are advised to login to the admin interface on your site to review the error log.

---
A CGJobMgr Job has terminated

You are receiving this notification to inform you of a job that has terminated with an important status.
Job Name: NMS - Job created at: 12/03/12 14:42:01
Job Id: 2
Job Owner: 1
Job Status: error
Job Started At: Dec 3, 2012
Job Finished At: Dec 3, 2012
Message: setup failed

You are advised to login to the admin interface on your site to review the error log.
--

CMSMailer is working fine to all addresses failing under CGJobMgr.

Running a fully updated 1.11.3 cmsms as follows:



----------------------------------------------

Cms Version: 1.11.3

Installed Modules:

CMSMailer: 2.0.2
FileManager: 1.2.0
MenuManager: 1.7.6
nuSOAP: 1.0
News: 2.12.3
Printing: 1.1.2
Search: 1.7
ThemeManager: 1.1.4
Classifieds: 1.0
FCKeditorX: 1.1.0
FormBuilder: 0.7.3
Cataloger: 0.9
CGExtensions: 1.31.2
NMS: 2.7
CGSimpleSmarty: 1.5.2
Products: 2.18.4
Comments: 1.9.2
Glossary: 0.10
Questions: 1.0.3
Gallery: 1.6
NeoModule: 0.5.0
Thumbnails: 0.1.1
NeoGallery: 0.1.1
ModuleXtender: 1.10.6
Calendar: 0.8.2
PolyXtend: 0.0.11
AjaxMadeSimple: 0.3.3
MCLibrary: 0.0.2.4
MCFactory: 3.2.4
FrontEndUsers: 1.21
Forum: 0.9.4
MailTrain: 1.0
SelfRegistration: 1.7.2
SimpleFeedback: 0.3
Uploads: 1.14.3
CGCalendar: 1.10.0.1
FEUMailer: 0.9.4
Captcha: 0.4.5
Archiver: 0.2.4
SiteMapMadeSimple: 1.2.5
FrontEndUserListing: 0.4-beta-3
CGUserDirectory: 1.3
FormBrowser: 0.4
TinyMCE: 2.9.11
Polls: 1.0.0
MemberAds: 0.1
Skeleton: 1.8.1
PageBlocks: 0.1.5
CustomContent: 1.8.3
ModuleManager: 1.5.5
SystemInfo: 1.0
PayPalButtonMaker: 0.6
CGEcommerceBase: 1.3.11
FLVPlayer: 1.0.3
CGBlog: 1.9.8
Backup: 0.5
Antz: 1.0.2
DBManager: 1.0
TreeManager: 0.6.0
CGPaymentGatewayBase: 1.1
PaypalGateway: 2.3.7
Orders: 1.13.3
Cart: 1.8.4
OpenSSL: 0.3
OrdersToIIF: 1.1
CMSForms: 1.0.1
FRTaxes: 1.1.1
FRShipping: 1.2.3
DestinationBasedShipping: 1.1
JQueryTools: 1.1.1
Promotions: 1.0.16
CGFeedback: 1.5.10
Twitter: 1.10
CGSmartImage: 1.6.1
Showtime: 3.2
SimpleSlider: 0.3
BlankOfTheMonth: 1.1
CGJobMgr: 1.2.11


Config Information:

php_memory_limit: 128M
process_whole_template:
output_compression: false
max_upload_size: 2000000
url_rewriting: none
page_extension: .html
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.18-1~dotdeb.0
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 2M
session_save_path: /tmp (0777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.51a
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable


----------------------------------------------

Any help would be greatly appreciated. Can't use NMS at this point. :(

Thanks.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: [SOLVED] NMS & CGJobMgr issue

Post by Dr.CSS »

I'm surprised that site even runs, it looks like you have a lot of very old modules in it...

As for NMS did you set up a cron job..?
Post Reply

Return to “Modules/Add-Ons”