Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: dmacgregor963 on March 04, 2008, 08:57:46 PM
-
Could someone please give me a lead toward figuring out why outgoing mail via webmail is failing with messages appearing in /var/log/qpsmtpd log saying there is a plugin problem. It also happens with workstation mail client outgoing email, but not with with the mail command in a terminal session. This seems to be the key message:
5458 FATAL PLUGIN ERROR: Can't locate object method "new" via package "Qpsmtpd::Plugin::logterse" (perhaps you forgot to load "Qpsmtpd::Plugin::logterse"?) at /usr/lib/perl5/site_perl/Qpsmtpd.pm line 326.
I don't know enough to interpret this.
Here is a fuller excerpt from log:
5458 Accepted connection 0/40 from 127.0.0.1 / localhost
5458 Connection from localhost [127.0.0.1]
5458 FATAL PLUGIN ERROR: Can't locate object method "new" via package "Qpsmtpd::Plugin::logterse" (perhaps you forgot to load "Qpsmtpd::Plugin::logterse"?) at /usr/lib/perl5/site_perl/Qpsmtpd.pm line 326.
5458 220 darwinserver.masked.com ESMTP
5458 dispatching EHLO localhost
5458 250-masked.com Hi localhost [127.0.0.1]
5458 250-PIPELINING
5458 250-8BITMIME
5458 250 SIZE 15000000
5458 dispatching MAIL FROM:<jamesb@masked.com>
5458 full from_parameter: FROM:<jamesb@masked.com>
5458 from email address : [<jamesb@masked.com>]
5458 getting mail from <jamesb@masked.com>
5458 250 <jamesb@masked.com>, sender OK - how exciting to get mail from you!
5458 dispatching RCPT TO:<doug@masked.com>
5458 to email address : [<doug@masked.com>]
5458 450 No plugin decided if relaying is allowed
4540 cleaning up after 5458
-
Could someone please give me a lead toward figuring out why outgoing mail via webmail is failing with messages appearing in /var/log/qpsmtpd log saying there is a plugin problem.
Please report bugs and potential bugs in the bug tracker
-
I am very aware of the policy. It is a good one. But this is not a bug. It is due a misconfigured system that came about because of a misguided workaround I used for a backup\restore bug that I reported. I was advised by Charly Brady to do a manual restore until a bug fix is released. The details are in bug report 3979.
Now I have restored and have to manually cleanup my configuration before I can use my restored and upgraded system. So I would appreciate advice on how to clean up this FATAL PLUGIN error issue. Thanks for your understanding, I hope.
If you absolutely insist that I file another bug report I will but I don't see how that would be appropriate because there is no reason to think there is anything wrong with SME-Server that caused this.
-
Try doing this from the CLI
locate logterse
If you get an error that your db is old, then run
updatedb
then run the above again.
You should have it in these places:
/usr/share/qpsmtpd/plugins/logging/logterse
/etc/e-smith/templates/var/service/qpsmtpd/config/peers/0/02logterse
/etc/e-smith/templates/var/service/qpsmtpd/config/peers/local/02logterse
/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/02logterse
Make sure your permissions are correct:
ls -la /usr/share/qpsmtpd/plugins/logging/logterse
-rw-r--r-- 1 root root 4755 Jan 10 14:28 /usr/share/qpsmtpd/plugins/logging/logterse
All of those files should be owned by - smeserver-qpsmtpd-1.2.1-52.el4.sme
Let me know what you get,
John
-
This is the result of "locate logterse"
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins/05logterse
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local/05logterse
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/05logterse
/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/02logterse
/etc/e-smith/templates/var/service/qpsmtpd/config/peers/local/02logterse
/etc/e-smith/templates/var/service/qpsmtpd/config/peers/0/02logterse
/root/epsilon/logterse.out
/root/logterse
/root/logterse/logterse
/root/logterse/logterse.pl
/root/logterse/readme.txt
/root/logterse/05logterse
/usr/share/qpsmtpd/plugins/logging/logterse
This is the result of permission checks:
-rw-r--r-- 1 root root 4755 Oct 15 04:17 /usr/share/qpsmtpd/plugins/logging/logterse
-rw-r--r-- 1 root root 9 Mar 29 2007 /etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins/05logterse
lrwxrwxrwx 1 root root 75 Mar 4 09:20 /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local/05logterse -> /etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins/05logterse
lrwxrwxrwx 1 root root 75 Mar 4 09:20 /etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/05logterse -> /etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins/05logterse
-rw-r--r-- 1 root root 17 Oct 15 04:17 /etc/e-smith/templates/var/service/qpsmtpd/config/plugins/02logterse
lrwxrwxrwx 1 root root 24 Mar 3 23:58 /etc/e-smith/templates/var/service/qpsmtpd/config/peers/local/02logterse -> ../../plugins/02logterse
lrwxrwxrwx 1 root root 24 Mar 3 23:58 /etc/e-smith/templates/var/service/qpsmtpd/config/peers/0/02logterse -> ../../plugins/02logterse
-
Looks like I just wasted your time, sorry. I figured something in your restore messed up some permissions somewhere.
JB
-
I see you have custom template.. what happen if you remove the custom template ?
remove all of this .. (backup first!)
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/plugins/05logterse
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/local/05logterse
/etc/e-smith/templates-custom/var/service/qpsmtpd/config/peers/0/05logterse
then do a signal-event post-upgrade ; signal-event reboot
thomasch
-
I see you have custom template.. what happen if you remove the custom template ?
Thanks thomasch -- that worked. Now I'll research where that custom template came from -- nothing I did knowingly.
-
I saw those as well and ASSumed you had put them there for a reason. Guess that shows me.
-
Now I'll research where that custom template came from -- nothing I did knowingly.
No need for that - they came from an earlier version of the spamfilter/logterse package, then logterse got put into the base by Shad.
I have deleted quite a few in my time, but never seen the PLUGIN ERROR message, generally you just get 2 logterse lines in the qpsmtpd log.
ah well!