Your message dated Sat, 1 Jun 2019 09:21:12 +0300
with message-id <20190601062112.GA27005@note>
and subject line Re: Bug#929796: monit: postfix configuration
has caused the Debian Bug report #929796,
regarding monit: postfix configuration
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
929796: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929796
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: monit
Version: 1:5.20.0-6
Severity: normal

Dear Maintainer,

monit cannot monitor 'postfix' due to a misconfiguration.
monit looks in the wrong place for the 'bin' file

excerpt from /etc/monit/conf-available/postfix:

 check file master_bin with path /usr/lib/postfix/master
   group postfix
   include /etc/monit/templates/rootbin


'/usr/lib/postfix/master' does not exist.
It should read:

/usr/lib/postfix/sbin/master

when changing to the correct path the monitoring is OK.


-- Package-specific info:

Monit config file /etc/monit/monitrc is *NOT* readable by reportbug.
Please, consider to rerun reportbug as root and *carefully* examine
reportbug's output (e.g., monitrc content), before sending it out.

Contents of /etc/monit/ directory:
/etc/monit:
total 36
drwxr-xr-x 2 root root  4096 May 31 08:27 conf-available
drwxr-xr-x 2 root root  4096 May 31 09:28 conf-enabled
drwxr-xr-x 2 root root  4096 May 31 09:27 conf.d
-rw------- 1 root root 12384 May 31 09:09 monitrc
drwxr-xr-x 2 root root  4096 May 29 18:50 monitrc.d
drwxr-xr-x 2 root root  4096 May 31 08:27 templates

/etc/monit/conf-available:
total 60
-rw-r--r-- 1 root root  481 Jan 11  2017 acpid
-rw-r--r-- 1 root root  640 Jan 11  2017 apache2
-rw-r--r-- 1 root root  455 Jan 11  2017 at
-rw-r--r-- 1 root root  691 Jan 11  2017 cron
-rw-r--r-- 1 root root  602 Jan 11  2017 mdadm
-rw-r--r-- 1 root root  669 Jan 11  2017 memcached
-rw-r--r-- 1 root root  703 Jan 11  2017 mysql
-rw-r--r-- 1 root root  521 Jan 11  2017 nginx
-rw-r--r-- 1 root root  471 Jan 11  2017 openntpd
-rw-r--r-- 1 root root  950 Jan 11  2017 openssh-server
-rw-r--r-- 1 root root  683 Jan 11  2017 pdns-recursor
-rw-r--r-- 1 root root 1421 Jan 11  2017 postfix
-rw-r--r-- 1 root root  869 Jan 11  2017 rsyslog
-rw-r--r-- 1 root root  501 Jan 11  2017 smartmontools
-rw-r--r-- 1 root root  306 Jan 11  2017 snmpd

/etc/monit/conf-enabled:
total 0
lrwxrwxrwx 1 root root 31 May 31 08:56 mysql ->
/etc/monit/conf-available/mysql
lrwxrwxrwx 1 root root 31 May 31 08:55 nginx ->
/etc/monit/conf-available/nginx
lrwxrwxrwx 1 root root 33 May 31 09:28 postfix ->
/etc/monit/conf-available/postfix

/etc/monit/conf.d:
total 4
-rw------- 1 root root 238 May 31 09:10 httpd

/etc/monit/monitrc.d:
total 4
-rw-r--r-- 1 root root 403 Apr 17  2017 fail2ban

/etc/monit/templates:
total 12
-rw-r--r-- 1 root root 164 Jan 11  2017 rootbin
-rw-r--r-- 1 root root 160 Jan 11  2017 rootrc
-rw-r--r-- 1 root root 164 Jan 11  2017 rootstrict


-- System Information:
Debian Release: 9.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-9-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages monit depends on:
ii  libc6      2.24-11+deb9u4
ii  libpam0g   1.1.8-3.6
ii  libssl1.1  1.1.0j-1~deb9u1
ii  lsb-base   9.20161125
ii  zlib1g     1:1.2.8.dfsg-5

monit recommends no packages.

Versions of packages monit suggests:
ii  postfix [mail-transport-agent]  3.1.12-0+deb9u1
pn  sysvinit-core                   <none>

-- Configuration Files:
/etc/monit/monitrc [Errno 13] Permission denied: '/etc/monit/monitrc'

-- no debconf information

--- End Message ---
--- Begin Message ---
On Fri, May 31, 2019 at 12:47:33PM +0300, Mirco Sanguineti wrote:
> monit cannot monitor 'postfix' due to a misconfiguration.
> monit looks in the wrong place for the 'bin' file
> 
> excerpt from /etc/monit/conf-available/postfix:
> 
>  check file master_bin with path /usr/lib/postfix/master
>    group postfix
>    include /etc/monit/templates/rootbin
> 
> 
> '/usr/lib/postfix/master' does not exist.
> It should read:
> 
> /usr/lib/postfix/sbin/master
> 
> when changing to the correct path the monitoring is OK.

Duplicate of:
https://bugs.debian.org/913097

--- End Message ---

Reply via email to