I have just started to use weathermap, and while testing with the example.cfg I clicked the Node 1 to change the label to Switch-1.
This is the error I get:
Warning: fopen(configs/simple.conf) [function.fopen]: failed to open stream: Permission denied in /www/htdocs/plugins/weathermap/Weathermap.class.php on line 4405
I have changed the ownership to daemon, and still no joy.
How do I fix this.? Thanks
failed to open stream
Moderators: Developers, Moderators
failed to open stream
Cacti v0.8.8a
Weathermap 9.7a
--------------------
Weathermap 9.7a
--------------------
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I've added a note in the file-selector for the next release that says "read-only" next to files that you won't be able to edit.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Yes, that would be true - those files were created by the same unix user that would be writing over them later. Unfortunately, there isn't really any clever way around this permissions stuff - it's just a side-effect of the way the two parts of weathermap are run (the editor and the poller).StarLog wrote:Howie,
I found that if I created a NEW map with the editor, then I was the owner, and had to make no changes to the permission. At that point, I was able to edit and create the new map as i wished. Adding the note is a good idea.
Thanks
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Who is online
Users browsing this forum: No registered users and 5 guests