Unable to get database cursor

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

johannes_77
Posts: 19
Joined: Mon Mar 09, 2009 8:47 pm

Unable to get database cursor

Post by johannes_77 »

Hi all,

I have already installed the Openemm 2011, In an Ubuntu 10.4 server.

Admin and Test mail are working without problem, but sending mails to a new mailing list does not work.

Log file just says:

Code: Select all

 
23254 ERROR/scan: Unable to get database cursor
I have already check this sit:

http://www.openemm.org/faq/questions/25/

But none of the topics there solve my problem. agn.py has already the right parameters, pickdist is running, and spool/META has the mails finished.

I restarted Openemm and Network, and also started sendmail with openemm.

Any ideas of what can be?

Thanks in advance.
Johannes Siebert
unhuman
Posts: 46
Joined: Mon Jan 23, 2012 10:29 pm

Re: Unable to get database cursor

Post by unhuman »

So, the problem is very likely the fact that the database is not accessible by the scripts that do the mailing. I don't quite understand the full architecture of how all the processes inter-relate, however, this one I was able to track down. See my post here:
https://forum.openemm.org/using-openemm ... c2147.html
johannes_77
Posts: 19
Joined: Mon Mar 09, 2009 8:47 pm

Re: Unable to get database cursor

Post by johannes_77 »

Hi,

thank you for your reply. The error was indeed the fact that the phyton script could not connect to the db.

In my case I used ubuntu with a special mysql configuration where the socket was in another place, but defined inside /etc/my.cnf correctly.

Fact is, that phyton ignores this config file, unless you configure phyton to read the config file.
Johannes Siebert
Post Reply