Page 1 of 1

Mail Delivery (won't send normal emails)

Posted: Fri Jun 15, 2007 1:02 am
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')

Same issue - resolution ??

Posted: Wed Jun 20, 2007 7:33 am
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 ??

Update

Posted: Tue Jun 26, 2007 3:52 pm
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.

Posted: Tue Jun 26, 2007 4:12 pm
by maschoff
You might want to check out this FAQ document:

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

Posted: Tue Jun 26, 2007 4:48 pm
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

Solved for openSuse 10.2

Posted: Wed Jun 27, 2007 3:00 pm
by tgilbert328
I solved this for OpenSuse. See here:

http://www.openemm.org/forums/viewtopic.php?p=1246#1246

Posted: Thu Jun 28, 2007 8:33 am
by maschoff
BTW, I just checked: package name for OpenSuse 10.0 is python-mysql