Mails are not send. Pickdist error?

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

Moderator: moderator

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

Mails are not send. Pickdist error?

Post by johannes_77 »

Hi there,

I did try to send my first newsletter to about 2000 recipients Testmail worked perfecty. Now the sending to the recipients shows 0 and the logfiles tell me that there is no e-mail sent.

This seems to be because I did not configure sendmail like in the adminguide described. So I did try to configure it just like the instructions.
The result is, that I can not start sendmail now anymore!!

This is the error msg from /var/log/messages:
Mar 23 17:46:19 h1385633 syslog-ng[2732]: last message repeated 19 times
Mar 23 17:46:21 h1385633 console-kit-daemon[2314]: WARNING: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused

The admin guide says:
To activate all Sendmail changes, run the following commands:
cd /etc/mail
m4 linux.mc > /etc/sendmail.cf
m4 linux.submit.mc > submit.mc
make

I did all changes and then:
make
make: Nothing to be done for `all'.

Any ideas on how I can fix my sendmail and get openemm to start sending mails?

Thank you for your help!

Kind regards, Johannes
Last edited by johannes_77 on Mon Mar 23, 2009 7:32 pm, edited 1 time in total.
Johannes Siebert
johannes_77
Posts: 19
Joined: Mon Mar 09, 2009 8:47 pm

Post by johannes_77 »

Hi there,

it seems that this was due to having openemm running. I have now stoped it an successfully restarted sendmail, then started openemm.

However I can still not send emails. The test e-mails got send, but not the real mails.

/var/log/mail says:
Mar 23 19:05:22 h1385633 sendmail[26374]: unable to write pid to /home/openemm/var/run/sendmail-openemm-queue.pid: Permission denied

Thank you for any help!
Johannes Siebert
johannes_77
Posts: 19
Joined: Mon Mar 09, 2009 8:47 pm

Post by johannes_77 »

ok... another reply on my own post :-)

I found in the FAQ:

pickdist ist not running on my system:
openemm 26088 26087 0 19:05 pts/1 00:00:00 -bash
openemm 26210 1 0 19:05 pts/1 00:00:00 python /home/openemm/bin/scripts/bav-trigger.py
openemm 26239 1 0 19:05 pts/1 00:00:00 python /home/openemm/bin/scripts/bavd.py
openemm 26241 1 0 19:05 pts/1 00:00:00 /home/openemm/bin/bav -L INFO
openemm 26402 1 0 19:05 pts/1 00:00:00 python /home/openemm/bin/scripts/slrtscn.py
openemm 26414 1 0 19:05 pts/1 00:00:00 perl /home/openemm/bin/wrapper.pl -chdir -name httpd -class com.caucho.server.resin.Resin -J-Dlog.h
openemm 26416 26414 2 19:05 pts/1 00:00:43 /opt/openemm.org/software/java/bin/java -Dlog.home=/home/openemm/var/log -Dlog4j.configuration=emm.


So I tryed to start it:
/etc/mail # /home/openemm/bin/pickdist.sh start
/home/openemm/bin/pickdist.sh: line 25: /root/bin/scripts/config.sh: No such file or directory

What is this file, and how can I fix it?
Johannes Siebert
johannes_77
Posts: 19
Joined: Mon Mar 09, 2009 8:47 pm

Post by johannes_77 »

am I missing something? No word on picdist anywhere else. However one has to start it as a user openemm, not as root!

But even then picdist will not start, at least it is not in the process list.

A look on the pickdist.log logfile tells me:
[23.03.2009 19:44:55] 27910 INFO/main: Starting up
[23.03.2009 19:44:56] 27910 FATAL/except: CAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/openemm/bin/scripts/pickdist.py", line 193, in <module>
if pd.scanForData () == 0:
File "/home/openemm/bin/scripts/pickdist.py", line 120, in scanForData
db = agn.DBase ()
AttributeError: 'module' object has no attribute 'DBase'


OK... I am giving up on this one for today. Looks like there is no answer here on my postings from anybody :-(
Johannes Siebert
johannes_77
Posts: 19
Joined: Mon Mar 09, 2009 8:47 pm

Post by johannes_77 »

solved :
mysql python missing
http://www.openemm.org/forums/ftopic9.html
Johannes Siebert
pbolgar
Posts: 32
Joined: Sat Feb 20, 2010 6:13 pm

THANKS

Post by pbolgar »

Wow, this was it for me as well, and I am so relieved! This was a headache for 2 days!!!!!!!!!!!! Thanks.
Post Reply