Mail Delivery (won't send normal emails)

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

Moderator: moderator

camdebuck
Posts: 1
Joined: Fri Jun 15, 2007 12:56 am

Mail Delivery (won't send normal emails)

Post by camdebuck »

I've searched the forum for this answer and have found some, but it doesn't appear to be the answer. My guess is that there is some configuration file setup incorrectly that I am not seeing.

I can send the administrator and test emails just fine, but it will not send the normal emails. Yes, I have the python module installed.

Here are my results from "yum list":

MySQL-python.x86_64 1.2.1_p2-1.el4.1 installed


Here is what my xxxxx-mailout-pickdist.log file says:


[14.06.2007 15:52:47] 24473 FATAL/except: CAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/openemm/bin/scripts/pickdist.py", line 173, in ?
agn.lock ()
File "/home/openemm/bin/scripts/agn.py", line 498, in lock
pid = int (inp)
ValueError: invalid literal for int():

[14.06.2007 17:18:51] 26042 FATAL/except: CAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/openemm/bin/scripts/pickdist.py", line 173, in ?
agn.lock ()
File "/home/openemm/bin/scripts/agn.py", line 498, in lock
pid = int (inp)
ValueError: invalid literal for int():

[14.06.2007 17:45:46] 27341 FATAL/except: CAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/openemm/bin/scripts/pickdist.py", line 173, in ?
agn.lock ()
File "/home/openemm/bin/scripts/agn.py", line 498, in lock
pid = int (inp)
ValueError: invalid literal for int():


Here is what my xxxxxx-mailout-bavd.log file says:

[14.06.2007 15:06:03] 7961 INFO/bavd: Going down
[14.06.2007 15:52:47] 24390 INFO/bavd: Starting up
[14.06.2007 17:16:07] 24390 INFO/bavd: Going down
[14.06.2007 17:18:51] 25959 INFO/bavd: Starting up
[14.06.2007 17:45:45] 27258 INFO/bavd: Starting up
[14.06.2007 17:45:45] 27258 FATAL/except: CAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/openemm/bin/scripts/bavd.py", line 665, in ?
server = Server ()
File "/home/openemm/bin/scripts/bavd.py", line 655, in __init__
BaseHTTPServer.HTTPServer.__init__ (self, ('127.0.0.1', 5166), Request)
File "/usr/lib64/python2.3/SocketServer.py", line 330, in __init__
self.server_bind()
File "/usr/lib64/python2.3/BaseHTTPServer.py", line 100, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib64/python2.3/SocketServer.py", line 341, in server_bind
self.socket.bind(self.server_address)
File "<string>", line 1, in bind
error: (98, 'Address already in use')
sonificator
Posts: 12
Joined: Wed Jun 20, 2007 4:19 am

Same issue - resolution ??

Post by sonificator »

Similar issue, running on VMWare, saw start of the discussion on this a while ago, but seems like people were left hanging without a resolution ??
tgilbert328
Posts: 20
Joined: Wed Jun 13, 2007 4:20 pm

Update

Post by tgilbert328 »

I have a very similar problem...

~/var/log/*pickdist.log

[26.06.2007 10:30:26] 12589 INFO/main: Starting up
[26.06.2007 10:30:27] 12589 FATAL/except: CAUGHT EXCEPTION:
Traceback (most recent call last):
File "/home/openemm/bin/scripts/pickdist.py", line 180, in <module>
if pd.scanForData () == 0:
File "/home/openemm/bin/scripts/pickdist.py", line 109, in scanForData
db = agn.DBase ()
AttributeError: 'module' object has no attribute 'DBase'

Hoping someone resolved and can update.
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

You might want to check out this FAQ document:

http://www.openemm.org/faq/questions/25 ... recipients
OpenEMM Maintainer
tgilbert328
Posts: 20
Joined: Wed Jun 13, 2007 4:20 pm

Post by tgilbert328 »

Thank you. It was actually that document that helped me narrow down why OpenEMM wasn't sending emails that were generated.

When I followed the advice of that document, I discovered the pickdist exception... any idea how to troubleshoot the cause?

Tim
tgilbert328
Posts: 20
Joined: Wed Jun 13, 2007 4:20 pm

Solved for openSuse 10.2

Post by tgilbert328 »

I solved this for OpenSuse. See here:

http://www.openemm.org/forums/viewtopic.php?p=1246#1246
maschoff
Site Admin
Posts: 2596
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

BTW, I just checked: package name for OpenSuse 10.0 is python-mysql
OpenEMM Maintainer
Post Reply