PHP error Weathermap version 0.98a
Moderators: Developers, Moderators
-
- Posts: 8
- Joined: Tue Nov 26, 2019 1:18 am
PHP error Weathermap version 0.98a
ubuntu server 16.04.4 LTS
php 7.0
cacti 0.8.8f
weathermaps 0.98a
Hi i just wanna ask, my php error like that. I think this problem caused weathermaps. When this happen, all my graph is broken around 10-15 minutes.
/var/log/syslog
Nov 26 11:05:01 mrtg CRON[58292]: (www-data) CMD (php --define suhosin.memory_limit=512M /usr/share/cacti/site/poller.php 2>&1 >/dev/null | if [ -f /usr/bin/ts ] ; then ts ; else tee ; fi >> /var/log/cacti/poller-error.log)
/var/log/cacti/poller-error.log
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
Any idea to fix this?
php 7.0
cacti 0.8.8f
weathermaps 0.98a
Hi i just wanna ask, my php error like that. I think this problem caused weathermaps. When this happen, all my graph is broken around 10-15 minutes.
/var/log/syslog
Nov 26 11:05:01 mrtg CRON[58292]: (www-data) CMD (php --define suhosin.memory_limit=512M /usr/share/cacti/site/poller.php 2>&1 >/dev/null | if [ -f /usr/bin/ts ] ; then ts ; else tee ; fi >> /var/log/cacti/poller-error.log)
/var/log/cacti/poller-error.log
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
libpng warning: iCCP: CRC error
Any idea to fix this?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: PHP error Weathermap version 0.98a
Iccp is a colour management feature of PNG, do that would be an error while reading a PNG. I guess one of your icons or background images might be corrupted.
I can't see how this would stop graphs being drawn. It might break some maps, if it's a fatal error, but that's all... Definitely can't see how it would *temporarily* break things!
I'm just thinking if there's a convenient way to verify the image files... I'll update later.
I can't see how this would stop graphs being drawn. It might break some maps, if it's a fatal error, but that's all... Definitely can't see how it would *temporarily* break things!
I'm just thinking if there's a convenient way to verify the image files... I'll update later.
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!)
-
- Posts: 8
- Joined: Tue Nov 26, 2019 1:18 am
Re: PHP error Weathermap version 0.98a
So, according to you, my graph broken is not from that error?Howie wrote: ↑Tue Nov 26, 2019 3:33 am Iccp is a colour management feature of PNG, do that would be an error while reading a PNG. I guess one of your icons or background images might be corrupted.
I can't see how this would stop graphs being drawn. It might break some maps, if it's a fatal error, but that's all... Definitely can't see how it would *temporarily* break things!
I'm just thinking if there's a convenient way to verify the image files... I'll update later.
Do you have idea to check my graph was broken?
Because i've checked on the log, it looks normally.
Btw thank you for your explanation.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: PHP error Weathermap version 0.98a
After the 10-15 minutes, do you have a gap in your map?
Usually this kind of thing will show errors in the cacti.log - there's a good troubleshooting guide as part of the Cacti manual for it.
(for the PNG error, I have a tool on my ubuntu system called pngcheck - pngcheck weathermap/images/*.png checked all the images in my images directory. It's in the pngcheck ubuntu package. There's also pngfix, which might repair damaged files.)
Usually this kind of thing will show errors in the cacti.log - there's a good troubleshooting guide as part of the Cacti manual for it.
(for the PNG error, I have a tool on my ubuntu system called pngcheck - pngcheck weathermap/images/*.png checked all the images in my images directory. It's in the pngcheck ubuntu package. There's also pngfix, which might repair damaged files.)
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!)
Re: PHP error Weathermap version 0.98a
You learn something new every day
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
-
- Posts: 8
- Joined: Tue Nov 26, 2019 1:18 am
Re: PHP error Weathermap version 0.98a
do you mean gap in my weathermaps?Howie wrote: ↑Tue Nov 26, 2019 4:34 am After the 10-15 minutes, do you have a gap in your map?
Usually this kind of thing will show errors in the cacti.log - there's a good troubleshooting guide as part of the Cacti manual for it.
(for the PNG error, I have a tool on my ubuntu system called pngcheck - pngcheck weathermap/images/*.png checked all the images in my images directory. It's in the pngcheck ubuntu package. There's also pngfix, which might repair damaged files.)
I've attached broken graph image and cacti.log when the time graph is broken
I think on my cacti.log is normal
yes, learn something new every day
- Attachments
-
- 27 nov log.zip
- (49.98 KiB) Downloaded 156 times
-
- cactibroke.PNG (22.48 KiB) Viewed 7451 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: PHP error Weathermap version 0.98a
Still can't think of anything in Weathermap that would cause this.
Data for graphs is collected before maps are updated.
Definitely not when it fixes itself after 20 minutes
(Actually - next time you get one of these gaps, check if the weathermap map files are still updated during that time. Look at the file datestamps in the weathermap/output directory. If you can catch it while it is happening.)
Data for graphs is collected before maps are updated.
Definitely not when it fixes itself after 20 minutes
(Actually - next time you get one of these gaps, check if the weathermap map files are still updated during that time. Look at the file datestamps in the weathermap/output directory. If you can catch it while it is happening.)
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!)
-
- Posts: 8
- Joined: Tue Nov 26, 2019 1:18 am
Re: PHP error Weathermap version 0.98a
Hi,
Thank you for your support.
This issue is fixed now.
Thank you for your support.
This issue is fixed now.
Who is online
Users browsing this forum: No registered users and 1 guest