-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am trying to get get sfacctd to daemonize with the -D flag, and it
seems to refuse to do so. It works fine with the "daemonize: true" entry
in the config file though.

I try the -D in either place and it makes no difference (as expected):
/usr/local/sbin/sfacctd -f /path/to/config/file -D
/usr/local/sbin/sfacctd -D -f /path/to/config/file

This is bizarre ... I could have sworn that I had this working with -D
previously, but it doesn't work for me with 0.10.0rc1 or 0.10.0rc3.

The only configure option I use is:
  ./configure --enable-64bit

The config file is:
=====================
pidfile: /var/run/sfacctd.pid
!sfacctd_port: 6666
sfacctd_port: 6500
sfacctd_ip: 127.0.0.1
sfacctd_renormalize: true
syslog: local4
syslog[fdrypeer]: local4
plugins: memory[fdrypeer]
aggregate[fdrypeer]: src_mac, dst_mac
!aggregate_filter[fdrypeer]: vlan 1
imt_path[fdrypeer]: /var/run/pmacct_fdrypeer.pipe
!##pre_tag_map: ?????
!##refresh_maps: true
!imt_buckets: 65537
imt_mem_pools_size: 65536
! imt_mem_pools_number: 0
! plugin stuff maybe needed due to amount of data
plugin_pipe_size: 10240000
plugin_buffer_size: 10240
=====================

(I left the commented lines in this time for you to see, just in case).

I'm just trying to get an rc file running, and I would prefer to ensure
that sfacctd is started as a daemon (ie with the -D flag in the rc
startup file) rather than relying on it being in the config file ...
that is where I'm coming from.

Any pointers gratefully accepted :)


Ivan
- --
Ivan Beveridge
<[EMAIL PROTECTED]>             http://www.linx.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEEOMuQQZN5jq7vncRAqQIAJ4jyWKlkGnEtKKWfBUaAR9qCYBZwQCeK7jT
afeGttG7yd2LLQgoXSfsRJc=
=igOY
-----END PGP SIGNATURE-----

Reply via email to