Hi everyone
I've build a syslog-ng CentralServer on a solaris 10 machine, and use
php-syslog-ng for the restitution.
It works great but i've a big problem : the graphs don't work :(
Actually, i'm sure it isn't the best place to post those problem, but maybe
someone already had this issue.
When i try one of the 3 graphs (at the bottom of phpSyslogNg interface) i
got this message, on a new page :
*JpGraph Error There is either a configuration problem with TrueType or a
problem reading font file
"/opt/coolstack/apache2/www/php-syslog-ng/html/verdana.ttf" Make sure file
exists and is in a readable place for the HTTP process. (If 'basedir'
restriction is enabled in PHP then the font file must be located in the
document root.). It might also be a wrongly installed FreeType library. Try
upgrading to at least FreeType 2.1.13 and recompile GD with the correct
setup so it can find the new FT library.*
Of course the verdana.ttf file is readable by my webservd user, since it's
in a directory which belongs to this user.
I also tried a chmod 777 on it, but nothing :(
My phpinfo( ) shows me that gd is enable and ok with freetype :
*gd*
GD Support enabled
GD Version bundled (2.0.34 compatible)
*FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.5 *
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XPM Support enabled
XBM Support enabled
Therefore, i don't understand why it doesn't work.
I tried to recompile the last version of freetype : 2.3.8 -> OK
I tried to recompile the last version of GD -> KO because of a mysterious
error after a "make":
...
...
...
popen 0x264
/usr/local/lib/libXpm.a(RdFToI.o)
pclose 0x2ef
/usr/local/lib/libXpm.a(RdFToI.o)
strcasecmp 0x443
/usr/local/lib/libXpm.a(create.o)
strcasecmp 0x795
/usr/local/lib/libXpm.a(create.o)
strcasecmp 0x996
/usr/local/lib/libXpm.a(create.o)
bzero 0x247c
/usr/local/lib/libXpm.a(create.o)
bzero 0x25ec
/usr/local/lib/libXpm.a(create.o)
bzero 0xa6c
/usr/local/lib/libXpm.a(parse.o)
bzero 0xba0
/usr/local/lib/libXpm.a(parse.o)
index 0x21f
/usr/local/lib/libXpm.a(parse.o)
strncpy 0x1227
/usr/local/lib/libXpm.a(parse.o)
strncpy 0x683
/usr/local/lib/libXpm.a(data.o)
strncpy 0x780
/usr/local/lib/libXpm.a(data.o)
strncpy 0x85b
/usr/local/lib/libXpm.a(data.o)
strncpy 0x916
/usr/local/lib/libXpm.a(data.o)
rindex 0x9e7
/usr/local/lib/libXpm.a(data.o)
*ld: fatal: relocations remain against allocatable but non-writable sections
*
collect2: ld returned 1 exit status
make[2]: *** [libgd.la] Error 1
make[2]: Leaving directory `/opt/coolstack/gd-2.0.36RC1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/coolstack/gd-2.0.36RC1'
make: *** [all] Error 2
It seems that i'm quite stucked ... and if anyone has an idea about solving
this issue, it would be great !
bye
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Php-syslog-ng-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support