I just installed Cacti v0.8.7g on my server and ran into the known issue of Cacti causing the Apache to throw segmentation faults, when trying to run for the first time.
As far as I can see, I have installed all the neccessary php-modules as they are listed in the output of "php -m".
Accessing the database using the user supplied to Cacti is also possible.
When looking up this problem the answer I found was always "mysql -u cactiuser -p cacti < cacti.sql" - however, I have already done that - but I still get the before mentioned error.
Additionally, when changing in cacti/share/www/install and executing "php -e index.php" the html-code for the webinstaller is printed correctly... accessing through browser ends up in the segmentation fault.
I also tried to manually debug the index.php by generating output before the html is printed, end all that works pretty fine - it is only when the html comes into play, the Apache throws the error.
Has anyone met this problem before? If yes, help would really be appreciated
// UPDATE: I got the installer running by adding "<?php exit(0); ?>" at the end of the cacti/share/www/installer/index.php, however after successfully completing the installer a successful login redirects me to the change password page, which again results in the segmentation fault...
CentOS release 6.3 (Final)
Post support questions that directly relate to Linux/Unix operating systems.
3 posts • Page 1 of 1
- Posts: 22375
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
Weel, we only use php under apache. So I can't see how this affects the web server. Which information do you find for the error regarding the web server's log?
Ah sorry, for the inconvenience, I was already able to fix... or better elude the problem by switching from php-eaccelerator to php-pecl-apc - It looks like the php-eaccelerator was somehow messing with how the apache handles the .php ...