Hi Petter, hi *,

Am Mon, 14 Apr 2008 23:28:21 +0200
schrieb Petter Reinholdtsen <[EMAIL PROTECTED]>:

> [Matthias Schmitz]
> > Would you please provide this file or check if it is valid?  If i
> > touch an empty file and use it as config i got the same result:
> 
> Sure.  This is the content when all the comments are removed:
> 
>   dbdir       /var/lib/munin
>   htmldir     /var/www/munin
>   logdir      /var/log/munin
>   rundir  /var/run/munin
>   tmpldir     /etc/munin/templates
>   [localhost.localdomain]
>       address 127.0.0.1
>       use_node_name yes
>   allow ^10\.0\.2\.2$

please add the following statements:

port 4949 
setsid yes
(And maybe also:
user root
group root )

The first one to set the "well known" Munin port and the second one to
demonize the process. From 'perldoc Net::Server' :

setsid
 Specifies whether or not the server should fork after the
 bind method to release itself from the command line and then run the
 "POSIX::setsid()" command to truly daemonize.  Defaults to
 undef. If a "log_file" is given or if "setsid" is set, STDIN and STDOUT
 will automatically be opened to /dev/null and STDERR will be
 opened to STDOUT.  This will prevent any output from ending up at the
 terminal.

best regards,
Matthias Schmitz (who now has to run to the office ;-) )



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to