Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[Solved]Pango-CRITICAL **: pango_context_load_font:.....

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
tonyd



Joined: 12 Aug 2008
Posts: 3

PostPosted: Tue Aug 12, 2008 3:41 am    Post subject: [Solved]Pango-CRITICAL **: pango_context_load_font:..... Reply with quote

Hi all,

I'm new to Cacti. I've recently gotten acquainted with it. We have it running on our noc server. The other night it broke due to an Net-SNMP update. So I decided it was probably best to try to replicate/backup Cacti on another server. So I installed Cacti and all of it's dependencies on a new server. I copied over the rra dir and did a dump/restore of the sql, made the necessary changes to the config.php. Cacti is displaying existing data already gathered. But I'm getting these errors in my http-error.log as well as not seeing the graphs update with any new info. I'm not even sure that the snmpgets (or whatever Cacti is using to request it's info - walk, bulk, etc.) are taking place. Here are some lines from the log.

Quote:

(process:69919): Pango-CRITICAL **: pango_context_load_font: assertion `pango_font_description_get_family (desc) != NULL' failed

(process:69919): Pango-CRITICAL **: pango_context_load_font: assertion `pango_font_description_get_family (desc) != NULL' failed
ERROR: invalid y-grid format

(process:74361): Pango-CRITICAL **: pango_context_load_font: assertion `pango_font_description_get_family (desc) != NULL' failed

(process:74361): Pango-CRITICAL **: pango_context_load_font: assertion `pango_font_description_get_family (desc) != NULL' failed
ERROR: invalid y-grid format

(process:74373): Pango-CRITICAL **: pango_context_load_font: assertion `pango_font_description_get_family (desc) != NULL' failed

(process:74373): Pango-CRITICAL **: pango_context_load_font: assertion `pango_font_description_get_family (desc) != NULL' failed
ERROR: invalid y-grid format


My server:
FreeBSD 7
Port tree current, all installed ports to current versions.
cacti-0.8.7b_2
rrdtool-1.3.0_1

EDIT: I've just noticed that Cacti sees only RRDTool v1.2 in the settings interface. However I have 1.3 installed. Also, the Cacti log is empty.

Let me know what other specific ports you may need version info on and I'll supply it. Any help on this would be great. Thanks to all in advance.

tonyd

EDIT: Still have a problem as noted above, but will start a new thread. Thanks


Last edited by tonyd on Wed Aug 13, 2008 12:09 pm; edited 1 time in total
Back to top
streaker69
Cacti Pro User


Joined: 27 Mar 2006
Posts: 647
Location: Psychic Amish Network Administrator

PostPosted: Tue Aug 12, 2008 7:11 am    Post subject: Reply with quote

When you installed RRDTool 1.3 did you properly install Pango-Cairo?
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2133
Location: United Kingdom

PostPosted: Tue Aug 12, 2008 7:47 am    Post subject: Reply with quote

streaker69 wrote:
When you installed RRDTool 1.3 did you properly install Pango-Cairo?


The FreeBSD rrdtool port did install cairo/pango last time I used it (a few weeks ago).

rrdtool 1.3 uses a totally different system for fonts (pango), so if your old install used custom fonts or custom font sizes in Cacti, then that might cause the errors you are seeing. Cacti doesn't yet understand 1.3's font stuff.
Back to top
tonyd



Joined: 12 Aug 2008
Posts: 3

PostPosted: Tue Aug 12, 2008 1:20 pm    Post subject: Reply with quote

I don't fully understand the Cacti installation to be sure. But this is a clean Cacti installation on a separate server. As mentioned, I transferred any graph data (as I understand it) via a dump/restore of the sql and copied the rra dir/files. So how is it that Cacti is using the "old font method"? And how can I change this behavior?

@streaker69:

I don't see a "Pango-Cairo" in my ports tree or on freebsd.org ports. All I see are these:
Quote:
/usr/ports/graphics/cairo
/usr/ports/graphics/cairo/files/patch-src_cairo-ft-font.c
/usr/ports/graphics/cairo/files/patch-src_cairoint.h
/usr/ports/graphics/cairo-java
/usr/ports/graphics/cairo-java/files/patch-cairo-java.pc.in
/usr/ports/graphics/cairo-reference
/usr/ports/graphics/cairomm
/usr/ports/graphics/fpc-cairo
/usr/ports/graphics/gstreamer-plugins-cairo
/usr/ports/graphics/libsvg-cairo
/usr/ports/graphics/py-cairo
/usr/ports/graphics/ruby-cairo
/usr/ports/graphics/linux-cairo
/usr/ports/x11-clocks/cairo-clock
/usr/ports/x11-toolkits/gnustep-cairo
/usr/ports/x11-toolkits/libgdiplus/files/patch-cairo_src_cairo-ft-font.c
/usr/ports/x11-toolkits/swt31/files/manualpatch-cairo
/usr/ports/x11-wm/waimea-devel/files/patch-cairo-fix
/usr/ports/distfiles/cairo-1.6.4.tar.gz



tonyd
Back to top
tonyd



Joined: 12 Aug 2008
Posts: 3

PostPosted: Tue Aug 12, 2008 3:07 pm    Post subject: Reply with quote

I think I may have solved my Pango font error. I configured a default font and fonts for the visual. The "ERROR: invalid y-grid format" still exists. My technical report show this:

Quote:
Date Tue, 12 Aug 2008 13:54:58 -0600
Cacti Version 0.8.7b
Cacti OS unix
SNMP Version net-snmp
RRDTool Version
ERROR: Installed RRDTool version does not match configured version.
Please visit the Configuration Settings and select the correct RRDTool Utility Version.
Hosts 260
Graphs 2861
Data Sources Script/Command: 58
SNMP: 2277
SNMP Query: 1457
Script Query: 7
Script Query - Script Server: 103
Total: 3902


So it's clear that there's a problem with Cacti not understanding that RRDTool v 1.3 is installed. The Settings->RRDTool Utility Version
The version of RRDTool that you have installed. only shows v1.0 and 1.2 as an option.

tonyd
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12186
Location: Muenster, Germany

PostPosted: Wed Aug 13, 2008 2:38 pm    Post subject: Reply with quote

This is a known error that was already fixed in SVN. Please see upcoming 087c. Until then, use "rrdtool 1.2" setting
Reinhard
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group