I have a problem starting symux on OpenBSD 3.7, it was working
fine untill today that the machine crashed leaving no log at all, and
when i went up again something went wrong with symux,
maybe someone knows what's going on.
I run the following command to start it:
/usr/local/libexec/symon
su -m nobody -c /usr/local/libexec/symux
and i get this in /var/log/messages:
Oct 5 23:29:01 srv1 symux: symux version 2.67
Oct 5 23:29:01 srv1 symux: could not get a semaphore
symon starts properly, i get no error or problem, but symux shows that
message and doesn't start.
Here i paste my symon config:
cat /etc/symon.conf
#
# $Id: symon.conf,v 1.12 2004/02/26 22:48:08 dijkstra Exp $
#
# Demo configuration for symon. See symon(8) for BNF.
monitor { cpu(0), mem,
if(lo0),
mbuf,
proc(httpd),
if(sk0), if(xl0), if(xl1), if(fxp0),
io(wd0), io(wd1)
} stream to 10.10.10.101 2100
Here is my symux config:
cat /etc/symux.conf
#
# $Id: symux.conf,v 1.22 2004/02/26 22:48:08 dijkstra Exp $
#
# Demo symux configuration. See symux(8) for BNF.
mux 10.10.10.101 2100
source 10.10.10.101 {
accept { cpu(0), mem,
if(lo0),
mbuf,
proc(httpd),
if(sk0), if(xl0), if(xl1), if(fxp0),
io(wd0), io(wd1)
}
datadir "/var/www/symon/rrds/srv1"
}
source 10.10.10.102 {
accept { cpu(0), mem,
if(lo0),
mbuf,
sensor(9),
proc(httpd),
proc(smtpd),
if(rl0),
io1(wd0)
}
datadir "/var/www/symon/rrds/srv2"
}
source 10.10.10.103 {
accept { cpu(0), mem,
if(lo0),
mbuf,
sensor(9),
proc(httpd),
proc(smtpd),
if(xl0),
io1(wd0)
}
datadir "/var/www/symon/rrds/srv3"
}
Best Regards,
Marcos Laufer