Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Sep 2005 10:00:40 GMT
From:      Xavier Beaudouin <kiwi@oav.net>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/85985: [NEW PORT] mail/couriergraph: A RRDtool frontend for Courier statistics
Message-ID:  <200509251000.j8PA0eTd034843@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/85985; it has been noted by GNATS.

From: Xavier Beaudouin <kiwi@oav.net>
To: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/85985: [NEW PORT] mail/couriergraph: A RRDtool frontend for Courier statistics
Date: Sun, 25 Sep 2005 11:55:11 +0200

 Le 24 sept. 05 =E0 21:33, Bj=F6rn K=F6nig a =E9crit :
 
 > I tested it but the couriergraph.sh rcNG script appears to be =20
 > totally broken on my FreeBSD 6.0-BETA2 machine.
 
 I didn't have test on FreeBSD 6.0-Beta
 
 > I added the line
 >
 >   couriergraph_enable=3D"YES"
 >
 > to /etc/rc.conf and started the daemon.
 >
 >   # /usr/local/etc/rc.d/couriergraph.sh start
 >   Starting couriergraph.
 >   mailgraph: can't write to /var/db/couriergraph
 >
 > This happened because I installed a package on another machine, but =20=
 
 > the install routine of the port created the directory only on the =20
 > package build machine. These lines let the start script check for =20
 > the presence of the data directory:
 >
 >   start_precmd=3Dstart_precmd
 >
 >   start_precmd()
 >   {
 >       if [ ! -d ${couriergraph_chdir} ]; then
 >           mkdir -p ${couriergraph_chdir}
 >           chown ${couriergraph_user}:${couriergraph_group} \
 >               ${couriergraph_chdir}
 >       fi
 >   }
 
 Thanks for hint.
 
 > The next thing is that it just doesn't start nevertheless:
 >
 >   # /usr/local/etc/rc.d/couriergraph.sh start
 >   Starting couriergraph.
 >
 >   # ps aux | grep perl
 >   [nothing]
 >
 >   # /usr/bin/perl /usr/local/sbin/couriergraph.pl \
 >       --logfile /var/log/maillog --daemon-rrd=3D/var/db/couriergraph \
 >       --daemon --daemon-pid=3D/var/db/couriergraph/couriergraph.pid
 >
 >   # ps aux | grep perl
 >   [process with pid 22332]
 >
 >   # cat /var/db/couriergraph/couriergraph.pid
 >   22332
 >
 > Alright. It's running now ...
 >
 >   # /var/db/couriergraph/couriergraph.pid
 >   couriergraph not running? (check /var/db/couriergraph/=20
 > couriergraph.pid).
 >
 > ... but it doesn't stop.
 >
 >
 > I'll look at it again if I have a little bit more time.
 
 
 Do you need my help...
 
 
 But it is very strange I use it on 5.4-RELEASE-p<whatever> and I =20
 didn't get such problems... :/
 
 /Xavier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509251000.j8PA0eTd034843>