1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

several errors with postfix

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by HernanM, Jan 15, 2010.

  1. HernanM

    HernanM Guest

    0
     
    I have a lot of this:
    Jan 15 10:57:59 panel before-remote[18953]: Some error occured

    Some of this:
    Jan 15 13:06:33 panel postfix/smtpd[19430]: SSL_accept error from unknown[81.35.68.23]: -1
    Jan 15 13:06:33 panel postfix/smtpd[19430]: warning: TLS library problem: 19430:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.
    c:571:

    A lot of this:
    Jan 15 11:18:06 panel before-queue[19705]: LOG Internal error in handler '05-grey-YoZUxn'. Skip handler.

    I've payed support yesterday to fix a problem that would not let me upgrade to 9.3.0. Now I'm on 9.3.0 where allegedly there would be great postix improvements and I still have this errors in the log file.

    The worst problem: I (my clients) have intermitent "Server temporary failed" errors when they try to send emails and the email is not even sent.

    Please, what is wrong with postfix and how can I fix it ?
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    I can assume that there are some broken or missing handlers. Try to rebuild it:

    - backup content of

    /usr/local/psa/handlers/before-local/
    /usr/local/psa/handlers/before-queue/
    /usr/local/psa/handlers/info/

    directories just in case.

    - delete all from these directories.
    - rebuild mailsettings and handlers with

    /usr/local/psa/admin/sbin/mchk --with-spam

    I hope it will help. If not - just switch Postfix to Qmail.
     
  3. HernanM

    HernanM Guest

    0
     
    Thanks for the sugestion

    Thanks for the suggestion, I've replaced postfix with qmail, now the mail server seems to work fine.
    Another issue arised and for sure has to do with this change, now I'm getting this:

    Hi. This is the qmail-send program at panel.elbibu.com.
    I'm afraid I wasn't able to deliver your message to the following addresses.
    This is a permanent error; I've given up. Sorry it didn't work out.

    <psaadm@panel.elbibu.com>:
    Sorry, no mailbox here by that name. (#5.1.1)

    --- Below this line is a copy of the message.

    Return-Path: <anonymous@panel.elbibu.com>
    Received: (qmail 19160 invoked by uid 503); 18 Jan 2010 22:12:21 -0200
    Date: 18 Jan 2010 22:12:21 -0200
    Message-ID: <20100119001221.19156.qmail@panel.elbibu.com>
    From: root@panel.elbibu.com (Cron Daemon)
    To: psaadm@panel.elbibu.com
    Subject: Cron <psaadm@panel> /usr/local/psa/admin/bin/php /opt/plesk-billing/admin/sbin/runevents.php
    Content-Type: text/plain; charset=UTF-8
    Auto-Submitted: auto-generated
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/usr/local/psa/admin>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=psaadm>
    X-Cron-Env: <USER=psaadm>

    PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 71 bytes) in /opt/plesk-billing/lib-db/QueryMaster.php on line 352

    the memory limit was initially set to 128M, I've raised it to first 256M and the problem persisted, then I raised it to 512M and the result is a sw-engine process owned by psaadm (or similar user) that uses 99.9 CPU and up to 26% memory in a server with 2 GB ram... so there's something really bad with that script /opt/plesk-billing/admin/sbin/runevents.php

    Any suggestions ? Thanks in advance,

    Hernan
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
  5. HernanM

    HernanM Guest

    0
     
    Unfortunally that KB article refers to another problem comppletly.
    As I said in my previous post, I already raised php's memory_limit to even 512MB and the /opt/plesk-billing/admin/sbin/runevents.php file consumes all that memory and even ends trying to allocate more. A process named sw-engine owned by user psaadm consumes 99.9% cpu. This is a plesk billing issue, already posted in the appropiate forum, but got no replies, so I repost here.
    What I dont understand is what have to do mail server with plesk-billing's file consuming so much memory and cpu.
    Pls let me know how can I resolve this problem.
     
Loading...