Hi, i have compiled pmacct-0.11.0 from source on Mac OS X 10.4.7, but I got the folowing error when I run pmacctd:

$ sudo /usr/local/pmacct/sbin/pmacctd -f /usr/local/pmacct/etc/pmacctd.conf
INFO ( in/memory ): 65535 bytes are available to address shared memory segment; buffer size is 92 bytes.
INFO ( in/memory ): Trying to allocate a shared memory segment of 1507236 bytes.
ERROR ( in/memory ): unable to allocate memory pools table
INFO ( out/memory ): 2048 bytes are available to address shared memory segment; buffer size is 92 bytes.
INFO ( out/memory ): Trying to allocate a shared memory segment of 47104 bytes.
ERROR ( out/memory ): unable to allocate memory pools table
OK ( default/core ): link type is: 1
ERROR: connection lost to 'out-memory'; closing connection.

/usr/local/pmacct/etc/pmacctd.conf contains: 

debug: true
daemonize: false
interface: en1
aggregate[in]: src_host
aggregate[out]: dst_host
aggregate_filter[in]: dst net 192.168.0.0/16
aggregate_filter[out]: src net 192.168.0.0/16
plugins: memory[in], memory[out]
imt_path[in]: /tmp/acct_in.pipe
imt_path[out]: /tmp/acct_out.pipe
imt_buckets: 65537
imt_mem_pools_size: 65536
imt_mem_pools_number: 0

$ sudo sysctl -a|grep shm
kern.sysv.shmmax: 4194304
kern.sysv.shmmin: 1
kern.sysv.shmmni: 32
kern.sysv.shmseg: 8
kern.sysv.shmall: 1024

Any hints on whats wrong? I tried to debug with gdb with no results :-/

- stoffer


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to