I've script: cat /usr/local/sbin/monitoring/temperature ================ НАЧАЛО =================== #!/bin/sh export RRD_DEFAULT_FONT=/usr/share/fonts/WIN_TTF/times.ttf # Graphics size size_v=500 size_h=850 size_h_year=2048 # DB file db_file=/var/www/localhost/htdocs/rrd/temp0.rrd value=`digitemp -t 0 -q -o "%.3C" -c /etc/digitemp` rrdtool update ${db_file} N:$value # 1 Hour graph rrdtool graph /var/www/localhost/htdocs/rrd/temp0_hour.png \ -s -3600 -e now -i -a PNG -v "Temperature, C" -w ${size_h} -h ${size_v} -R mono \ -x MINUTE:1:MINUTE:10:MINUTE:5:0:%H:%M \ DEF:av_temp=${db_file}:value:AVERAGE \ VDEF:last=av_temp,LAST \ VDEF:min=av_temp,MINIMUM \ VDEF:av=av_temp,AVERAGE \ VDEF:max=av_temp,MAXIMUM \ AREA:av_temp#00FF00:"C" \ LINE:min#0000FF:"C, Min" \ LINE:av#FF00FF:"C, Average" \ LINE:max#FF0000:"C, Max" \ LINE:av_temp#000000: \ COMMENT:"\n" \ GPRINT:last:"Last\: %.2lf C" \ GPRINT:min:"Minimal\: %.2lf C" \ GPRINT:av:"Average\: %.2lf C" \ GPRINT:max:"Maximal\: %.2lf C" ================ ОСМЫСЛЕННЫЙ КОНЕЦ ============ After update: $ /usr/local/sbin/monitoring/temperature couldn't convert glyph to bitmap ... couldn't convert glyph to bitmap After: cat /etc/portage/package.mask =media-libs/freetype-2.1.10-r2 # /usr/local/sbin/monitoring/temperature 941x582 941x582 941x582 2139x582
Additional information: emerge --info Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.16 i586) ================================================================= System uname: 2.6.16.16 i586 Pentium MMX Gentoo Base System version 1.6.15 dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=i586 -O2 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=i586 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache2 apm avi berkdb bitmap-fonts bzlib cli crypt ctype dlloader dri eds emboss encode esd extensions foomaticdb fortran gd gdbm gif gpm gstreamer iconv imagemagick imap imlib isdnlog jpeg libg++ libwww linguas_ru mad math mikmod mmx motif mp3 mpeg mppe-mppc ncurses network nls nptl nptlonly odbc ogg pam pcre pdflib perl php png posix pppd python qt3 qt4 quicktime readline reflection ruby sdl session shared sockets spell spl ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xml xml2 xmms xorg xsl zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
You didn't post any error...
Sigh... this bugzilla jumping on next bug in the list is really annoying. Reopen.
I regret, the Mistake that after updating freetype ceases to work rrdtool. >couldn't convert glyph to bitmap
which version of rrdtool?
]$ rrdtool --version RRDtool 1.2.6 Copyright 1997-2005 by Tobias Oetiker <tobi@oetiker.ch>
Did you try to run revdep-rebuild ?
Is this bug always available ?