I can't add new config file
Moderators: Developers, Moderators
I can't add new config file
Hi,
I delete my config file from cacti/Management/Weathermap
And I try to re-add
But page lists that nothing as "Available Weathermap Configuration Files" But ı have one more config file in /var/www/html/cacti/plugins/weathermap/configs , and permissions are nobody:nobody for all files...
Anybody have an idea?
I delete my config file from cacti/Management/Weathermap
And I try to re-add
But page lists that nothing as "Available Weathermap Configuration Files" But ı have one more config file in /var/www/html/cacti/plugins/weathermap/configs , and permissions are nobody:nobody for all files...
Anybody have an idea?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: I can't add new config file
I don't get this behaviour on my system...TFC wrote:Hi,
I delete my config file from cacti/Management/Weathermap
And I try to re-add
But page lists that nothing as "Available Weathermap Configuration Files" But ı have one more config file in /var/www/html/cacti/plugins/weathermap/configs , and permissions are nobody:nobody for all files...
Anybody have an idea?
What is the file called? What are the permissions of the configs directory?
I assume your webserver does actually run as nobody?
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!)
Hi,
File called as internet.conf and config dir. permission is nobody:nobody
And my apache run as apache
But strange thing is when I add a link to conf file, another link is missing in map..
Is there ant link limitation in phpweathermap?
I increased memory size 128M in php.ini
File called as internet.conf and config dir. permission is nobody:nobody
And my apache run as apache
I added a conf file by using mysql (phpmyadmin).But using browser didn't.[root@citizen ~]# ps -ef |grep httpd
apache 2192 2124 0 Oct16 ? 00:00:35 /usr/sbin/httpd
apache 2193 2124 0 Oct16 ? 00:01:05 /usr/sbin/httpd
apache 2194 2124 0 Oct16 ? 00:00:35 /usr/sbin/httpd
apache 2195 2124 0 Oct16 ? 00:00:05 /usr/sbin/httpd
apache 2196 2124 0 Oct16 ? 00:00:05 /usr/sbin/httpd
apache 2197 2124 0 Oct16 ? 00:01:04 /usr/sbin/httpd
apache 2198 2124 0 Oct16 ? 00:00:52 /usr/sbin/httpd
apache 2199 2124 0 Oct16 ? 00:00:05 /usr/sbin/httpd
But strange thing is when I add a link to conf file, another link is missing in map..
Is there ant link limitation in phpweathermap?
I increased memory size 128M in php.ini
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
If your apache runs as 'apache', then thats the user that should own these things, not nobody. BUT, make them world-readable anyway, because your cacti user also needs to be able to read the file as part of the poller process.TFC wrote:Hi,
File called as internet.conf and config dir. permission is nobody:nobody
And my apache run as apache[root@citizen ~]# ps -ef |grep httpd
apache 2192 2124 0 Oct16 ? 00:00:35 /usr/sbin/httpd
apache 2199 2124 0 Oct16 ? 00:00:05 /usr/sbin/httpd
No - no limit to links. Is it possible they both have the same name? The second one would 'hide' the first one then.TFC wrote:I added a conf file by using mysql (phpmyadmin).But using browser didn't.
But strange thing is when I add a link to conf file, another link is missing in map..
Is there ant link limitation in phpweathermap?
I increased memory size 128M in php.ini
The memory size is mainly to do with the size of the image in pixels - you would need to have a LOT of links to hit a memory limit, and then you would get no map at all, not missing links.
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!)
Hi Howie,
The second problem is described in http://forums.cacti.net/viewtopic.php?t=16778
As you see there is no same name issue.
Because, when I try to add a link another link misses. if I try to add one more links again 2 link miss...
I mean number of links is constant
This is very strange..
I try smae thing in older version weathermap, same behaviour occurs.
You can see the config file and graph in the link shown above
Additonally tere is debug logs...
The second problem is described in http://forums.cacti.net/viewtopic.php?t=16778
As you see there is no same name issue.
Because, when I try to add a link another link misses. if I try to add one more links again 2 link miss...
I mean number of links is constant
This is very strange..
I try smae thing in older version weathermap, same behaviour occurs.
You can see the config file and graph in the link shown above
Additonally tere is debug logs...
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
OK - I answered in the other thread. It is the same name, but it's not obviousTFC wrote:Hi Howie,
The second problem is described in http://forums.cacti.net/viewtopic.php?t=16778
As you see there is no same name issue.
Because, when I try to add a link another link misses. if I try to add one more links again 2 link miss...
I mean number of links is constant
This is very strange..
I try smae thing in older version weathermap, same behaviour occurs.
You can see the config file and graph in the link shown above
Additonally tere is debug logs...
I can't recreate your file-picking problem though. I still feel it's permissions-related.
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:
Why not try the other way?TFC wrote:Let me some time to try to run apache with nobody..
Then i can update this messages..
Code: Select all
chown -R apache configs/
chmod -R g+r configs/
chmod g+x configs
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