Stuart,

> If this email has been sent twice, I appologise. I was having problems
> sending it from my Gmail account.

It didn't make it to the list because your message includes a HTML part
and two plain text parts.

> I seem to be having a problem with my MySQL database. I hvae copyed bellow
> the information that appears in my debug log. I am not sure what else i
> need to add to this email, but if anyone needs or wishs to know anything
> else please just ask. I do not know why this error is occuring or what i
> can do about it. Can anyone please help me with this?
>
> Jan  8 22:00:28 vm amavis[15792]: (15792-03) save_info_preliminary:
> rollback done
>
> Jan  8 22:00:28 vm amavis[15792]: (15792-03) WARN save_info_preliminary:
> sql execute: sts=1216, DBD::mysql::st execute failed: Cannot add or update
> a child row: a foreign key constraint fails at (eval 53) line 127, <GEN12>
> line 545. at (eval 53) line 131, <GEN12> line 545.
>
> Jan  8 22:00:28 vm amavis[15792]: (15792-03) sql_storage: retrying prelim.,
> 4 attempts remain

Which version of amavisd-new? Does the mail eventually get through
on the next attempt? Does the problem occur frequently? Every time?

"Cannot add or update a child row: a foreign key constraint fails"
means that a record into a msgs (child) table could not be inserted,
because the parent table maddr did not (or: no longer) contained
a corresponding sender id. It shouldn't be happening under normal
circumstances, but perhaps a database cleanup operation was underway
at the time, or perhaps some index was corrupted. Try verifying first
if the database is in a sane condition.

  Mark

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to