перестала работать статистика почты (mailgraph+postfix)
Код: Выделить всё
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@eden.com.ua and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Код: Выделить всё
# uname -a
FreeBSD shrek... 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Mon Sep 6 14:44:23 EEST 2010 root@mail.dag.in.ua:/usr/obj/usr/src/sys/EDEN-2010.09.06 amd64
Код: Выделить всё
[Wed Jan 19 15:41:25 2011] [error] [client 212.26.133.3] Can't locate RRDs.pm in @INC (@INC contains: /usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 .) at /usr/local/www/apache22/cgi-bin/mailgraph.cgi line 8.
попробовал переустановить rrdtool и напоролся на это:
Код: Выделить всё
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of glib-2.0. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libglib-2.0 and its header files. If
you have not installed glib-2.0, you can get it either from its original home on
ftp://ftp.gtk.org/pub/glib/2.12/
You can find also find an archive copy on
http://oss.oetiker.ch/rrdtool/pub/libs
The last tested version of glib-2.0 is 2.12.12.
LIBS=-lcairo -lcairo -lcairo -lm -lcairo -lpng -lz -lm -lglib-2.0
LDFLAGS= -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
CPPFLAGS=-I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
----------------------------------------------------------------------------
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... no
checking for pkg-config... (cached) pkg-config
checking for pango_cairo_context_set_font_options in -lpangocairo-1.0... no
configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of pangocairo. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libpangocairo-1.0 and its header files. If
you have not installed pangocairo, you can get it either from its original home on
http://ftp.gnome.org/pub/GNOME/sources/pango/1.17
You can find also find an archive copy on
http://oss.oetiker.ch/rrdtool/pub/libs
The last tested version of pangocairo is 1.17.
LIBS=-lcairo -lcairo -lcairo -lm -lcairo -lpng -lz -lm -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0
LDFLAGS= -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
CPPFLAGS=-I/usr/local/include -I/usr/local/include/freetype2 -D_THREAD_SAFE -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2
----------------------------------------------------------------------------
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... no
checking libxml/parser.h presence... no
checking for libxml/parser.h... no
checking for pkg-config... (cached) pkg-config
checking for xmlParseFile in -lxml2... yes
checking libxml/parser.h usability... yes
checking libxml/parser.h presence... yes
checking for libxml/parser.h... yes
configure: error: Please fix the library issues listed above and try again.
===> Script "configure" failed unexpectedly.
Please report the problem to sylvio@FreeBSD.org [maintainer] and attach the
"/usr/ports/databases/rrdtool/work/rrdtool-1.4.4/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1
Stop in /usr/ports/databases/rrdtool.
*** Error code 1
Stop in /usr/ports/databases/rrdtool.
подскажите че делать?
спасибо!