PCRE error
Moderators: Developers, Moderators
PCRE error
With a FC3 minimal install, i add the following packages through yum:
gcc
gcc-c++
net-snmp
net-snmp-utils
net-snmp-devel
pcre-devel 4.5-3
libpng-devel
libjpeg-devel
freetype-devel
openldap-devel
openssl-devel
ncurses-devel
flex
pkgconfig
and build the following from source:
rrdtool
freetds
mysql 4.1
apache 2.0.52
php 4.3.10
cacti 0.8.6c
the error that i get is this:
Warning: preg_match_all: internal pcre_fullinfo() error -3 in /usr/local/apache2/htdocs/cacti-0.8.6c/lib/functions.php on line 1392
some things i've tried:
building pcre-5 from source
building older cacti versions from source
building php 5 from source
nothing seems to eliminate this error message, which prevents me from using cacti
gcc
gcc-c++
net-snmp
net-snmp-utils
net-snmp-devel
pcre-devel 4.5-3
libpng-devel
libjpeg-devel
freetype-devel
openldap-devel
openssl-devel
ncurses-devel
flex
pkgconfig
and build the following from source:
rrdtool
freetds
mysql 4.1
apache 2.0.52
php 4.3.10
cacti 0.8.6c
the error that i get is this:
Warning: preg_match_all: internal pcre_fullinfo() error -3 in /usr/local/apache2/htdocs/cacti-0.8.6c/lib/functions.php on line 1392
some things i've tried:
building pcre-5 from source
building older cacti versions from source
building php 5 from source
nothing seems to eliminate this error message, which prevents me from using cacti
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I would say you are missing a package that allows php to use regular expression. But, I'm not sure if that is the issue and if it was, I'm not sure of what packages would have it.
Search the php site/forums for answers?
Search the php site/forums for answers?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
php
it may have been php itself
i tried 4.3.10 and 5
i just tried 4.3.8 and i don't get the error, but now i have SNMP problems
i can do an snmpwalk from the box, but cacti will not do SNMP queries.
does this have to do with permissions? httpd runs as user/group www
i tried 4.3.10 and 5
i just tried 4.3.8 and i don't get the error, but now i have SNMP problems
i can do an snmpwalk from the box, but cacti will not do SNMP queries.
does this have to do with permissions? httpd runs as user/group www
snmp error
httpd error logs say:
/usr/local/php/bin/snmpget doesn't exist but my path is set to /usr/bin/snmpget in cacti
/usr/local/php/bin/snmpget doesn't exist but my path is set to /usr/bin/snmpget in cacti
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
/boggle
Ok, you guys are coming up with some stumpers today...
Ok, I don't know why it's appending the path like that. Check out your /etc/php.ini file. See of some sort of path configuration variable is screwing things up.
Ok, you guys are coming up with some stumpers today...
Ok, I don't know why it's appending the path like that. Check out your /etc/php.ini file. See of some sort of path configuration variable is screwing things up.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
path problem
i linked to the real binaries from that directory at it works.
BUT i don't want to have to do that. ha
BUT i don't want to have to do that. ha
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I would go after the /etc/php.ini file.
Make sure that Safe Mode is turned off. Otherwise, I'm not sure what will happen..
Make sure that Safe Mode is turned off. Otherwise, I'm not sure what will happen..
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Yah!
One of 3 mystery problems solved.
*mental note, safe mode is good, but bad for cacti*
*will have to see if that can be fixed*
One of 3 mystery problems solved.
*mental note, safe mode is good, but bad for cacti*
*will have to see if that can be fixed*
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 1 guest