![](https://secure.gravatar.com/avatar/3e0204163e0dea3d9401901792ec89a6.jpg?s=120&d=mm&r=g)
Hi All,
this is a random question, has anyone got observium running correctly on freebsd?
managed to get it all setup and running, panels fine, add devices fine, poll device manually, etc
only issue I’m having is i can’t get the cronjob working for every 5mins?
i can see from the cron log in /var/log its running the poller correctly
Oct 18 04:05:00 observium /usr/sbin/cron[49554]: (root) CMD (/opt/observium/poller-wrapper.py 2 >> /dev/null) Oct 18 04:10:00 observium /usr/sbin/cron[50385]: (root) CMD (/usr/libexec/atrun) Oct 18 04:10:00 observium /usr/sbin/cron[50387]: (root) CMD (/opt/observium/poller-wrapper.py 2 >> /dev/null) Oct 18 04:15:00 observium /usr/sbin/cron[51227]: (root) CMD (/usr/libexec/atrun) Oct 18 04:15:00 observium /usr/sbin/cron[51228]: (root) CMD (/opt/observium/poller-wrapper.py 2 >> /dev/null) Oct 18 04:20:00 observium /usr/sbin/cron[52076]: (root) CMD (/usr/libexec/atrun) Oct 18 04:20:00 observium /usr/sbin/cron[52079]: (root) CMD (/opt/observium/poller-wrapper.py 2 >> /dev/null) Oct 18 04:25:00 observium /usr/sbin/cron[52917]: (root) CMD (/usr/libexec/atrun) Oct 18 04:25:00 observium /usr/sbin/cron[52918]: (root) CMD (/opt/observium/poller-wrapper.py 2 >> /dev/null) Oct 18 04:30:00 observium /usr/sbin/cron[53752]: (root) CMD (/usr/libexec/atrun) Oct 18 04:30:00 observium /usr/sbin/cron[53753]: (root) CMD (/opt/observium/poller-wrapper.py 2 >> /dev/null)
however no data gets inserted into the db, but if i run the command manually as root, it inserts stuff fine?
the only thing i can think of is the php is running apache which then runs as www not root
would this have an issue maybe?
regards
Simon