• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question SPF Handler

DCMarkus

New Pleskian
Hey Guys,

i have a Problem with Plesk (or with the spf handler and courier postfix)

If we get an email, the spf handler will be called but throws an error "free(): invalid pointer". Does anyone knows what this error means and how to fix this error?

Here is log:
Code:
Dec 20 09:16:32 ws13 /usr/lib/plesk-9.0/psa-pc-remote[10713]: handlers_stderr: SKIP
Dec 20 09:16:32 ws13 /usr/lib/plesk-9.0/psa-pc-remote[10713]: SKIP during call 'limit-out' handler
Dec 20 09:16:32 ws13 /usr/lib/plesk-9.0/psa-pc-remote[10713]: handlers_stderr: SKIP
Dec 20 09:16:32 ws13 /usr/lib/plesk-9.0/psa-pc-remote[10713]: SKIP during call 'check-quota' handler
Dec 20 09:16:32 ws13 spf filter[14759]: Starting spf filter...
Dec 20 09:16:32 ws13 /usr/lib/plesk-9.0/psa-pc-remote[10713]: handlers_stderr: *** Error in `/opt/psa/handlers/hooks/spf': free(): invalid pointer: 0x000000000160b321 ***
Dec 20 09:16:32 ws13 /usr/lib/plesk-9.0/psa-pc-remote[10713]: _mh_fork(): The child process with pid 14759 killed by signal 6
Dec 20 09:16:32 ws13 /usr/lib/plesk-9.0/psa-pc-remote[10713]: Error during 'spf' handler

We use Plesk 12.5 and Ubuntu 14.04

If you need more details let me know!
 
Its a VPS with preinstalled Plesk
Most probably that it is caused by lack of VPS resources. Anyway, I'd suggest you try to rebuild SPF handler with

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

or with

# plesk repair mail

If it not help - ask Hardware node admin to check something like kernel OOM killer cases for your VPS.
 
Since a few days I have these errors in my mail.log:

Code:
264178-Nov 27 08:23:29 mail check-quota[21219]: Starting the check-quota filter...
264179-Nov 27 08:23:29 mail /usr/lib/plesk-9.0/psa-pc-remote[17547]: handlers_stderr: SKIP
264180-Nov 27 08:23:29 mail /usr/lib/plesk-9.0/psa-pc-remote[17547]: SKIP during call 'check-quota' handler
264181:Nov 27 08:23:29 mail /usr/lib/plesk-9.0/psa-pc-remote[17547]: handlers_stderr: /opt/psa/handlers/hooks/spf: error while loading shared libraries: libspf2.so.2: cannot open shared object file: No such file or directory
264182-Nov 27 08:23:29 mail /usr/lib/plesk-9.0/psa-pc-remote[17547]: _mh_fork(): unrecognized status code '127'
264183-Nov 27 08:23:29 mail /usr/lib/plesk-9.0/psa-pc-remote[17547]: Error during 'spf' handler


Code:
5409-Nov 28 11:59:52 mail check-quota[27114]: Starting the check-quota filter...
5410-Nov 28 11:59:52 mail /usr/lib/plesk-9.0/psa-pc-remote[26563]: handlers_stderr: SKIP
5411-Nov 28 11:59:52 mail /usr/lib/plesk-9.0/psa-pc-remote[26563]: SKIP during call 'check-quota' handler
5412:Nov 28 11:59:52 mail /usr/lib/plesk-9.0/psa-pc-remote[26563]: handlers_stderr: /opt/psa/handlers/hooks/spf: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory
5413-Nov 28 11:59:52 mail /usr/lib/plesk-9.0/psa-pc-remote[26563]: _mh_fork(): unrecognized status code '127'
5414-Nov 28 11:59:52 mail /usr/lib/plesk-9.0/psa-pc-remote[26563]: Error during 'spf' handler

The first error I could fix by (re-)installing the lib by:
Code:
apt-get install libspf2-2
. But I the second one is still there. Is this a known bug? Can I fix it?
 
Code:
5691-Nov 28 14:09:55 lvps83-169-43-56 check-quota[19893]: Starting the check-quota filter...
5692-Nov 28 14:09:55 lvps83-169-43-56 /usr/lib/plesk-9.0/psa-pc-remote[402]: handlers_stderr: SKIP
5693-Nov 28 14:09:55 lvps83-169-43-56 /usr/lib/plesk-9.0/psa-pc-remote[402]: SKIP during call 'check-quota' handler
5694:Nov 28 14:09:55 lvps83-169-43-56 /usr/lib/plesk-9.0/psa-pc-remote[402]: handlers_stderr: /opt/psa/handlers/hooks/spf: /usr/lib/libcrypto.so.10: version `libcrypto.so.10' not found (required by /opt/psa/handlers/hooks/spf)
5695-Nov 28 14:09:55 lvps83-169-43-56 /usr/lib/plesk-9.0/psa-pc-remote[402]: _mh_fork(): unrecognized status code '1'
5696-Nov 28 14:09:55 lvps83-169-43-56 /usr/lib/plesk-9.0/psa-pc-remote[402]: Error during 'spf' handler
5697-Nov 28 14:09:55 lvps83-169-43-56 drweb[19896]: Starting the drweb filter...


Before I created this symlink:
Code:
ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.10
it was:

Code:
2986-Nov 28 13:46:11 lvps83-169-43-56 check-quota[5168]: Starting the check-quota filter...
2987-Nov 28 13:46:11 lvps83-169-43-56 /usr/lib/plesk-9.0/psa-pc-remote[402]: handlers_stderr: SKIP
2988-Nov 28 13:46:11 lvps83-169-43-56 /usr/lib/plesk-9.0/psa-pc-remote[402]: SKIP during call 'check-quota' handler
2989:Nov 28 13:46:11 lvps83-169-43-56 /usr/lib/plesk-9.0/psa-pc-remote[402]: handlers_stderr: /opt/psa/handlers/hooks/spf: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory
2990-Nov 28 13:46:11 lvps83-169-43-56 /usr/lib/plesk-9.0/psa-pc-remote[402]: _mh_fork(): unrecognized status code '127'
2991-Nov 28 13:46:11 lvps83-169-43-56 /usr/lib/plesk-9.0/psa-pc-remote[402]: Error during 'spf' handler


Do you have any Idea to fix this?

SYSTEM: Ubuntu 16.04 from Hosteurope (vServer)
 
Back
Top