Hi all
when i install all required pakages for cactid0.8.5 on my RH9.0
rrdtool-1.0.45-8.rh9.at
mysql-4.0.15-0.n0i
mysql-manual-4.0.15-0.n0i
mysql-devel-4.0.15-0.n0i
mysql-bench-4.0.15-0.n0i
mysql-server-4.0.15-0.n0i
php-mysql-4.2.2-17.2
php-snmp-4.2.2-17.2
php-devel-4.2.2-17.2
php-4.2.2-17.2
httpd-2.0.40-21.1
httpd-devel-2.0.40-21.1
net-snmp-devel-5.0.9-2.90.1
net-snmp-perl-5.0.9-2.90.1
net-snmp-utils-5.0.9-2.90.1
net-snmp-5.0.9-2.90.1
and
make all steps from installation guide
i'm write in my browser http://my-server/cacti/ and i'm must
see succsessfull page with any basic config properties for cacti
but
i see in my browser unsuccsessfull message
Notice: Undefined variable: argDatabasename in /var/www/html/cacti/lib/adodb/drivers/adodb-mysql.inc.php on line 326
this messeges i have in apache error_log:
[Mon Feb 09 16:34:24 2004] [notice] child pid 883 exit signal Segmentation fault (11)
[Mon Feb 09 16:34:24 2004] [notice] child pid 885 exit signal Segmentation fault (11)
[Mon Feb 09 16:34:24 2004] [notice] child pid 886 exit signal Segmentation fault (11)
Please help me resolve this trouble.
i'm think that main trouble in work PHP scripts with MySQL database...
but where&?!?!?!?
RH9.0, cactid0.8.5 and Undefined variable: argDatabasename
Moderators: Developers, Moderators
Not exactly sure where the best place to start debugging would be, but if your're seeing Apache children segfault, there is probably some underlying PHP issue. In the past I've seen Apache children segfault due to certain internal PHP bugs being exploited. I have basically the same setup as you RPM version-wise, and I have no such problems. Have you changed your PHP configuration much from the defaults?
-Ian
-Ian
i'm resolve trouble
at first i test my php installation:
i create test.php with
<?
mysql_connect();
?>
and get error Segmentation fault after
#php < test.php
i remove all PHP pakages, download php-4.2.2-17.2.src.rpm
and make all needing rpms
install new compiled php-rpms and have SUCCESFULL result
then i'm write in my browser http://my-server/cacti/
at first i test my php installation:
i create test.php with
<?
mysql_connect();
?>
and get error Segmentation fault after
#php < test.php
i remove all PHP pakages, download php-4.2.2-17.2.src.rpm
and make all needing rpms
install new compiled php-rpms and have SUCCESFULL result
then i'm write in my browser http://my-server/cacti/
Who is online
Users browsing this forum: No registered users and 3 guests