Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
The query.log file is created but there is nothing in it. I don't know why... Any idea please ?
Thanks
Its probably because you dont have rights to the file. Just remove the path and leave the filename only, it will dump the file on the default named/bind9 directory, a little easier that way.
I happen to have the same problem, my script is running, i can run the php script manually and get results, also when i run the script as cactiuser it works too. My query.log file is filling up and its 18 MB now, also named.stats is fine and updates every 5 minutes. For some reason my graphs are still empty.
I also get this error whenever my poller runs.....
"Aug 27 13:10:04 Omoo Cacti[27105]: CMDPHP: Host[41] DS[436] WARNING: Result from CMD not valid. Partial Result:
"
Any help please ?
Attachments
graph_image.php.png (37.76 KiB) Viewed 10256 times
omoo wrote:Its probably because you dont have rights to the file. Just remove the path and leave the filename only, it will dump the file on the default named/bind9 directory, a little easier that way.
Well I don't think it's a rights problem with my query.log file.
My BIND stats file which is in /var/stats directory is created and is updated. I tried with chmod 777 query.log but there's still nothing in it.
I also tried to touch the file manually in my /etc/namedb BIND default directory (I suppose) and put chmod 777 to the query.log file. But query.log is never updated...
Maybe there is a bug in FreeBSD... Have you your BIND running on FreeBSD ?
Well I don't think it's a rights problem with my query.log file.
My BIND stats file which is in /var/stats directory is created and is updated. I tried with chmod 777 query.log but there's still nothing in it.
I also tried to touch the file manually in my /etc/namedb BIND default directory (I suppose) and put chmod 777 to the query.log file. But query.log is never updated...
Maybe there is a bug in FreeBSD... Have you your BIND running on FreeBSD ?
I get this error when i try to get the graph.
07/24/2006 11:50:03 PM - CMDPHP: Poller[0] Host[2] DS[3] WARNING: Result from CMD not valid. Partial Result:
i run the cmd.php manually. And i get this error.
sh: /var/www/localhost/htdocs/cacti/scripts/unix_dns_queries.php: /usr/bin/php^M: bad interpreter: No such file or directory
How i can fix this problem? Any help is appreciated
In file are windows tags (^M) meaned hard returns/enter's. You must edit this file on linux console and remove it. If you have pico editor, just open this file, change something and write. He will automatic remove this tags.
That was true and the permissions issues have been relsolved seems like my directorypermissions and the permissions on *.php files where not setup correctly it looks like working now