This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

POP3 not working - connection to db_host.local *refused*

I was using Astaro 7.2 without any problems until today. I was able to get email this morning, but when I came home from work I found that I could no longer access any POP3 account through the transparent proxy. GMail's encrypted connection works fine. 

When I looked in the POP3 proxy log, I saw something strange. The log starts with today's date, but then there's a line of garbage, it switches to yesterday's date (still passing a good number of emails), and then it starts saying that the connection to db_host.local is refused.

This is from the log:


2008:09:08-10:07:41 (none) pop3proxy[32202]: id="1100" severity="info" sys="SecureMail" sub="pop3" name="email passed" from="[removed]" to="[removed]" subject="[removed]" size="4621" srcip="[removed]" dstip="[removed]" uid="[removed]"
����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������45 (none) pop3proxy[11291]: id="1100" severity="info" sys="SecureMail" sub="pop3" name="email passed" from="[removed]" to="[removed]" subject="Check out the latest items from your favorite sellers on eBay" size="20238" srcip="66.135.209.200" dstip="213.165.64.22" uid="a058433be41144550fd06f5263150e8b"
2008:09:07-22:27:46 (none) pop3proxy[11291]: id="1100" severity="info" sys="SecureMail" sub="pop3" name="email passed" from="[removed]" to="[removed]" subject="[removed]" size="27987" srcip="[removed]" dstip="[removed]" uid="[removed]"

2008:09:07-22:28:19 (none) pop3proxy[2008:09:08-10:10:30 (none) pop3proxy[3919]: Can't connect to database, retrying in 10 seconds: could not connect to server: Connection refused  Is the server running on host "db_host.local" and accepting  TCP/IP connections on port 5432?
2008:09:08-10:10:40 (none) pop3proxy[3919]: Can't connect to database, retrying in 10 seconds: could not connect to server: Connection refused  Is the server running on host "db_host.local" and accepting  TCP/IP connections on port 5432?
2008:09:08-10:10:50 (none) pop3proxy[3919]: Can't connect to database, retrying in 10 seconds: could not connect to server: Connection refused  Is the server running on host "db_host.local" and accepting  TCP/IP connections on port 5432?



(note the double timestamp immediately under the snipped lines)

So I'm guessing that db_host.local has been corrupted. Anyone have any ideas of how to fix this without having to reinstall Astaro?

Upon finding this after getting home I noticed the update to 7.3 and let it install in hopes that it would fix it, but it did not. I can access email by bypassing the proxy, just not through the proxy.

Thanks in advance


This thread was automatically locked due to age.
Parents Reply
  • There is a growing body of evidence that 7.302 has a restart problem with power failures rather than a clean shutdown using the webadmin restart/stop function.
    In same cases it has required a re-installation to get the box going again.
    My home box is currently sitting on v7.301 after a re-build to see if it stable. I will re-install v7.302 in a couple of days.

    Ian M
Children
  • Another reported issue with SSH Daemon and the PostgresSQL I see.

    Definitely something up Astaro...

    I have reported this issue to support (cold shutdown=corrupted box), however they were initially unable to replicate the issue.
    (Sent backup files etc).

    They were escalating it to another area of support to see if they could replicate the issue but I have not yet heard back from them.

    The problem seems to vary from corruption of PostgreSQL/SSH Daemon/ulog to a complete factory reset equivalent. 
    (Happened on two boxes of mine with different hardware).
  • I am having this issue also.
    I my case it happened almost as soon as the version 7.02 was installed.
    I disabled scanning for now and enabled "normal" POP3.

    May be I can open a ticket tomorrow.

    Skipper
  • My ASG is offline - and has been so since this problem surfaced.

    Any news or fixes from Astaro ?

    Regards
    Michael