Hi Rubén,

CentOS 6.5 comes with 'postfix-2.6.6-6.el6_5.x86_64.rpm' so it looks 
like your CentOS system is far to be genuine ('uname -r' will also 
reveal it).

Anyway, I don't know from where you downloaded such Postfix package but, 
you could verify if it comes with a tool like 'mailq.postfix'.

$ rpm -ql postfix | grep mailq

Other than that, just make sure you applied execution permissions to 
your workaround script and that it's placed in a standard binary path.

Regards.



On 02/20/2014 05:35 PM, Rubén Ramos Salcines wrote:
> Hi,
>
> I'm using monitorix in Plesk Panel 11.5:
>
> - CentOS release 6.5 (Final)
> - Plesk Panel 11.5
> - monitorix-3.4.0-1.el6.noarch
> - postfix-2.8.14-13040119.x86_64
>
> Mail statistics (mail.rrd) shows me these errors:
>
> readline() on closed filehandle IN at /usr/lib/monitorix/mail.pm line 236.
> Can't exec "mailq": No such file or directory at
> /usr/lib/monitorix/mail.pm line 285.
>
> My system doesn't have mailq (none Plesk 11.5 has this binary), I
> usually use 'postqueue -p'.
>
> I tried to name "mailq" a little bash script with these lines:
>
> !/bin/bash
> postqueue -p
>
> But it also fails.
>
> Can you give me some advise?
>
> Thanks!
>
> --
> *Rubén RAMOS SALCINES*
> Responsable de Sistemas
>
> ITEISA <http://www.iteisa.com>
> ITEISA DESARROLLO Y SISTEMAS, S.L.
> Benidorm, 8 bajo. 39005 Santander. España.
> Teléfonos: 902055277, 942943483 y 691152158
> *www.iteisa.com* <http://www.iteisa.com> · twitter.com/iteisa
> <http://www.twitter.com/iteisa> · fb.com/iteisa <http://www.fb.com/iteisa>
>
> *Sólo hacemos cuatro cosas, pero las hacemos muy bien
> <http://www.iteisa.com/dossier.pdf> (PDF, 1,3 MB)*
>

-- 
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general

Reply via email to