Normal Recipients doesn't receive e-mail

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

ismf
Posts: 5
Joined: Mon Oct 25, 2010 5:48 pm

Normal Recipients doesn't receive e-mail

Post by ismf »

Hello everybody,

I'm having some problems, I already saw all posts but I don't meet the answers.

My log file's directory ( home/openemm/var/log/ ) contain these files:

20101025-natasha-bavd.log

Code: Select all

[25.10.2010  11:10:42] 9108 INFO/main: Starting up
[25.10.2010  11:10:42] 9108 ERROR/main: Failed to setup recovery process
[25.10.2010  11:10:42] 9108 INFO/main: Going down
20101025-natasha-pickdist.log

Code: Select all

[25.10.2010  13:55:32] 9953 ERROR/scan: Unable to get database cursor
[25.10.2010  13:56:03] 9953 ERROR/scan: Unable to get database cursor
20101025-natasha-update.log

Code: Select all

[25.10.2010  13:55:45] 9925 ERROR/loop: Unable to get database cursor
20101025-natasha-recovery.log

Code: Select all

[25.10.2010  11:10:42] 9108 INFO/main: Starting up
[25.10.2010  11:10:42] 9108 ERROR/main: Failed to setup recovery process
[25.10.2010  11:10:42] 9108 INFO/main: Going down
20101025-natasha-bav-update.log

Code: Select all

[25.10.2010  13:58:08] 9791 ERROR/data: Unable to get database cursor
[25.10.2010  13:58:08] 9791 ERROR/data: Update failed: readDatabase.cursor
When I try to send a new e-mail with the users Normal Recipients it doesn't arrive, only arrive when I test with users Test Recipients and Administrators . Can You help me?

PS.: I already did the tests shown in this page ( http://www.openemm.org/faq/questions/25 ... ux+only%29 )

Thanks Ivan


Hug
maschoff
Site Admin
Posts: 2628
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Did you install all required packages (like mysql-python)? Please see install guide, section 2.2 for details.
OpenEMM Maintainer
ismf
Posts: 5
Joined: Mon Oct 25, 2010 5:48 pm

Post by ismf »

Ma,
My Linux distribution is Debian 2.6.26-25lenny1 and the package that It's using is python-mysqldb 1.2.2-7 (A Python interface to MySQL)
I think that's right! Look, I remembered that my mysql is connecting with another port (3406), then Do I must to edit the file agn.py? How?


Thanks a lot

Ivan
ismf
Posts: 5
Joined: Mon Oct 25, 2010 5:48 pm

Post by ismf »

I executed the script (agn.py). See below!

Code: Select all


openemm@natasha:~$
openemm@natasha:~$ cd bin
openemm@natasha:~/bin$ cd scripts
openemm@natasha:~/bin/scripts$
openemm@natasha:~/bin/scripts$ ls

agn.py          bav-update.py      is_no_systemmail      semu.py       softbounce.py
agn.pyc         bavwrap            pickdist.py           slrtscn.py    update.py
bavd.py         config.sh          recovery.py           smenable.py   upgrade.py

bav-trigger.py  filter_or_forward  scan_and_unsubscribe  smenable.pyc
openemm@natasha:~/bin/scripts$
openemm@natasha:~/bin/scripts$ ./agn.py
./agn.py: line 91:

**********************************************************************************
* The contents of this file are subject to the Common Public Attribution
* License Version 1.0 (the License); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.openemm.org/cpal1.html. The License is based on the Mozilla
* Public License Version 1.1 but Sections 14 and 15 have been added to cover
* use of software over a computer network and provide for limited attribution
* for the Original Developer. In addition, Exhibit A has been modified to be
* consistent with Exhibit B.
* Software distributed under the License is distributed on an AS: File name too long
./agn.py: line 95: import: command not found
./agn.py: line 96: import: command not found
./agn.py: line 97: try:: command not found
./agn.py: line 98: import: command not found
./agn.py: line 100: hash_md5: command not found
./agn.py: line 101: hash_sha1: command not found
./agn.py: line 102: except: command not found
./agn.py: line 103: import: command not found
./agn.py: line 105: hash_md5: command not found
./agn.py: line 106: hash_sha1: command not found
./agn.py: line 107: import: command not found
./agn.py: line 108: import: command not found
./agn.py: line 109: try:: command not found
./agn.py: line 111: import: command not found
./agn.py: line 112: database: command not found
./agn.py: line 113: except: command not found
./agn.py: line 114: database: command not found
./agn.py: line 116: changelog: command not found
./agn.py: line 117: syntax error near unexpected token `,'
./agn.py: line 117: `   ('2.0.0', '2008-04-18', 'Initial version of redesigned code', 'ud@agnitas.de'),'

ismf
Posts: 5
Joined: Mon Oct 25, 2010 5:48 pm

Post by ismf »

Can anyone help me??
Post Reply