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

errors sending and mchk fails

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Jason FS, Oct 19, 2009.

  1. Jason FS

    Jason FS Guest

    0
     
    We are having widescale problems since the update to 9.2.2 from 8.6. People are unable to send mail and I get the following error when trying to restore with mchk:

    [root@XXX sbin]# /usr/local/psa/admin/sbin/mchk --without-spam -v
    ==> Checking for: mailsrv_conf_init... ok
    ==> Checking for: mail_mailbox_restore... ok
    ==> Checking for: mailsrv_entities_dump... ok
    ==> Checking for: mail_admin_aliases... ok
    ==> Checking for: mail_auth_dump... ok
    ==> Checking for: mailman_lists_dump... ok
    ==> Checking for: mail_responder_restore... ok
    ==> Checking for: mail_drweb_restore... not exsists
    ==> Checking for: mail_kav_restore... not exsists
    ==> Checking for: mail_spf_restore... ok
    ==> Checking for: mail_dk_restore... ok
    ==> Checking for: mail_grey_restore... ok
    awk: cmd. line:50: (END OF FILE)
    awk: cmd. line:50: invalid char 'ÿ' in expression
    unable to process "pop3d"
    awk: cmd. line:50: (END OF FILE)
    awk: cmd. line:50: invalid char 'ÿ' in expression
    unable to process "pop3d-ssl"
    awk: cmd. line:50: (END OF FILE)
    awk: cmd. line:50: invalid char 'ÿ' in expression
    unable to process "imapd"
    awk: cmd. line:50: (END OF FILE)
    awk: cmd. line:50: invalid char 'ÿ' in expression
    unable to process "imapd-ssl"

    Any help would be appreciated.
     
  2. Freddie Bleiweiss

    Freddie Bleiweiss Basic Pleskian

    25
     
    Joined:
    May 10, 2009
    Messages:
    30
    Likes Received:
    0
    mchk fails

    I have the same problem:

    [root@WEB1 /]# /usr/local/psa/admin/sbin/mchk --with-spam
    ==> Checking for: mail_spam_restore... ok
    ==> Checking for: mailsrv_conf_init... ok
    ==> Checking for: mail_mailbox_restore... ok
    ==> Checking for: mailsrv_entities_dump... ok
    ==> Checking for: mail_admin_aliases... ok
    ==> Checking for: mail_auth_dump... ok
    ==> Checking for: mailman_lists_dump... ok
    ==> Checking for: mail_responder_restore... ok
    ==> Checking for: mail_drweb_restore... not exsists
    ==> Checking for: mail_kav_restore... not exsists
    ==> Checking for: mail_spf_restore... ok
    ==> Checking for: mail_dk_restore... ok
    ==> Checking for: mail_grey_restore... ok
    awk: cmd. line:50: (END OF FILE)
    awk: cmd. line:50: invalid char 'ÿ' in expression
    unable to process "pop3d"
    awk: cmd. line:50: (END OF FILE)
    awk: cmd. line:50: invalid char 'ÿ' in expression
    unable to process "pop3d-ssl"
    awk: cmd. line:50: (END OF FILE)
    awk: cmd. line:50: invalid char 'ÿ' in expression
    unable to process "imapd"
    awk: cmd. line:50: (END OF FILE)
    awk: cmd. line:50: invalid char 'ÿ' in expression
    unable to process "imapd-ssl"
    [root@WEB1 /]#
     
  3. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Did anybody read Workaround thread? Look at this workaround It should help. And please update this thread with results.
     
  4. Freddie Bleiweiss

    Freddie Bleiweiss Basic Pleskian

    25
     
    Joined:
    May 10, 2009
    Messages:
    30
    Likes Received:
    0
    The patch was unclear to me. I made the changes to authpsa_configure as best as I could interpret.


    if (!found) {
    print
    print add_mark;
    print "AUTHMODULES=\"authpsa\"";
    changed=110;
    }
    exit changed;

    }'$conf >>$temp
    }

    remove_authpsa()
    {

    The scrip runs and hangs. Output as follows:

    /usr/local/psa/admin/sbin/mchk --with-spam
    ==> Checking for: mail_spam_restore... ok
    ==> Checking for: mailsrv_conf_init... ok
    ==> Checking for: mail_mailbox_restore... ok
    ==> Checking for: mailsrv_entities_dump... ok
    ==> Checking for: mail_admin_aliases... ok
    ==> Checking for: mail_auth_dump... ok
    ==> Checking for: mailman_lists_dump... ok
    ==> Checking for: mail_responder_restore... ok
    ==> Checking for: mail_drweb_restore... not exsists
    ==> Checking for: mail_kav_restore... not exsists
    ==> Checking for: mail_spf_restore... ok
    ==> Checking for: mail_dk_restore... ok
    ==> Checking for: mail_grey_restore... ok

    What did I miss in the patch?
     
  5. Jason FS

    Jason FS Guest

    0
     
    It's a bug in their script, we actually ended up paying support to fix it

    # cp -a /usr/local/psa//admin/bin/courier_authpsa_configure{,.original}
    # nano /usr/local/psa//admin/bin/courier_authpsa_configure
    # diff -pruN /usr/local/psa//admin/bin/courier_authpsa_configure{,.original} --- /usr/local/psa//admin/bin/courier_authpsa_configure.original 2009-07-14 14:19:52.000000000 +0200 +++ /usr/local/psa//admin/bin/courier_authpsa_configure 2009-10-15 09:11:48.000000000 +0200 @@ -77,8 +77,7 @@ changed=110; } exit changed; -}\ -' $conf >>$temp +}' $conf >>$temp } remove_authpsa()
     
  6. Freddie Bleiweiss

    Freddie Bleiweiss Basic Pleskian

    25
     
    Joined:
    May 10, 2009
    Messages:
    30
    Likes Received:
    0
    Jason, Thanks for the reply. I patched the file based on the output from your diff results. Running mchk with the patch crashes my server. I think I have a syntax error. Would you please copy and paste the changed lines from /usr/local/psa//admin/bin/courier_authpsa_configure into a reply post?
     
  7. Freddie Bleiweiss

    Freddie Bleiweiss Basic Pleskian

    25
     
    Joined:
    May 10, 2009
    Messages:
    30
    Likes Received:
    0
    I had a typo I kept overlooking. Problem solved. Thanks for your help.
     
Loading...