On Tue, 2004-08-03 at 09:29, Rick Morris wrote:
> Hi,
> 
> I installed DBmail 1.2.9 with PostgreSQL support from the FreeBSD ports, 
> created the appropriate PostgreSQL database, created a user, created the 
> 'dbmail' user, etc... and edited /usr/local/etc/dbmail.conf 
> appropriately (AFAIK).
> 
> I also installed Postfix as the MTA, and it is running fine.
> 
> But when I try to run dbmail-imapd, within seconds it spawns so many 
> processes that the console starts showing the message "dbmail-imapd in 
> malloc(): warning: recursive call" repeatedly. The same thing happens 
> when I try dbmail-pop3d. The log fills up with messages like:
> 
> Aug  3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): child 
> [45392] has exited
> Aug  3 01:30:53 bluebox dbmail/imap4d[45408]: PerformChildTask(): could 
> not connect to database
> Aug  3 01:30:53 bluebox dbmail/imap4d[45410]: CreateChild(): signal 
> handler placed, going to perform task now
> Aug  3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): creating 
> new child
> Aug  3 01:30:53 bluebox dbmail/imap4d[44728]: ParentSigHandler(): got 
> signal [20]
> Aug  3 01:30:53 bluebox dbmail/imap4d[44728]: ParentSigHandler(): got 
> signal [20]
> Aug  3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): child 
> [45394] has exited
> Aug  3 01:30:53 bluebox dbmail/imap4d[45412]: CreateChild(): signal 
> handler placed, going to perform task now
> Aug  3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): creating 
> new child
> Aug  3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): child 
> [45396] has exited
> Aug  3 01:30:53 bluebox dbmail/imap4d[45414]: CreateChild(): signal 
> handler placed, going to perform task now
> Aug  3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): creating 
> new child
> Aug  3 01:30:53 bluebox dbmail/imap4d[45410]: dbconnect(): PQconnectdb 
> failed: FATAL:  sorry, too many clients already
> Aug  3 01:30:53 bluebox dbmail/imap4d[45410]: PerformChildTask(): could 
> not connect to database
> Aug  3 01:30:53 bluebox dbmail/imap4d[45412]: dbconnect(): PQconnectdb 
> failed: FATAL:  sorry, too many clients already
> Aug  3 01:30:53 bluebox dbmail/imap4d[45416]: CreateChild(): signal 
> handler placed, going to perform task now
> Aug  3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): child 
> [45398] has exited
> Aug  3 01:30:53 bluebox dbmail/imap4d[45412]: PerformChildTask(): could 
> not connect to database
> Aug  3 01:30:53 bluebox dbmail/imap4d[44728]: StartServer(): creating 
> new child
> 
> 
> I am running FreeBSD 4.10. I searched the mailling list for similar 
> problems and only found one mention of this, in May 2004, with no 
> resolution. Any ideas what I can look for?
> 
> Regards,
> 
> Rick Morris
> _______________________________________________
> Dbmail mailing list
> Dbmail@dbmail.org
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 


Looks like theres an  authentication error 
Check that dbmail user can  read  /etc/dbmail.conf
and check that  the user and host are configured in postgreSQL so the
user especified on  /etc/dbmail.conf  can connect to postgreSQL

the user in the /etc/dbmail.conf secction:
 
[DBMAIL] 
# Database settings
host=localhost
user=dbmail
pass=**********
db=dbmail


should connect as :

psql -U dbmail dbmail -h localhost   <--- With password




-- 
 ,''`.  Leonel Nunez
: :' :  http://enelserver.com
`. `'   DEBIAN GNU/LINUX
  `-    A REAL FREE OS


Reply via email to