Dear friends,
I am a brnd new user of Cacti.
I ve tried to install it yesterday with no success on a virtual CentOs 6.4 64-bit server.
My problem is that when I tried to reload the apache server this is not happening.
Below you may see the output I am getting
[root@koras2 ~]# service httpd status
httpd is stopped
[root@koras2 ~]# service httpd start
Starting httpd: httpd: Syntax error on line 220 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/libphp.so into server: /etc/httpd/modules/libphp.so: cannot open shared object file: No such file or directory
Any ideas why is this happening? I followed step by step the installation guide.
regards
Harris
Cannot start cacti through browser
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Cannot start cacti through browser
Something between httpd and php is in error. Either the so file is missing or the httpd.conf is broken. Not exactly a Cacti issue
R.
R.
Re: Cannot start cacti through browser
probably yes.
something that i don't like is what i am getting when trying to see the php modules available.
#php -m
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/curl.so' - /etc/php.d/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/fileinfo.so' - /etc/php.d/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/json.so' - /etc/php.d/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/mysql.so' - /etc/php.d/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/mysqli.so' - /etc/php.d/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/pdo.so' - /etc/php.d/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/pdo_mysql.so' - /etc/php.d/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/pdo_sqlite.so' - /etc/php.d/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/phar.so' - /etc/php.d/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/snmp.so' - /etc/php.d/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/sqlite3.so' - /etc/php.d/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/zip.so' - /etc/php.d/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
[PHP Modules]
bz2
calendar
Core
ctype
date
ereg
exif
filter
ftp
gettext
gmp
hash
iconv
libxml
openssl
pcntl
pcre
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
tokenizer
xml
zlib
[Zend Modules]
any ideas how to fix these warnings?
below you may see what is included in /etc/php.d directory
[root@koras2 php.d]# ls
curl.ini json.ini mysql.ini pdo_mysql.ini phar.ini sqlite3.ini
fileinfo.ini mysqli.ini pdo.ini pdo_sqlite.ini snmp.ini zip.ini
and for each file
[root@koras2 php.d]# more mysql.ini
; Enable mysql extension module
extension=mysql.so
I think there is something wrong here!
something that i don't like is what i am getting when trying to see the php modules available.
#php -m
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/curl.so' - /etc/php.d/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/fileinfo.so' - /etc/php.d/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/json.so' - /etc/php.d/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/mysql.so' - /etc/php.d/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/mysqli.so' - /etc/php.d/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/pdo.so' - /etc/php.d/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/pdo_mysql.so' - /etc/php.d/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/pdo_sqlite.so' - /etc/php.d/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/phar.so' - /etc/php.d/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/snmp.so' - /etc/php.d/snmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/sqlite3.so' - /etc/php.d/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/etc/php.d/zip.so' - /etc/php.d/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
[PHP Modules]
bz2
calendar
Core
ctype
date
ereg
exif
filter
ftp
gettext
gmp
hash
iconv
libxml
openssl
pcntl
pcre
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
tokenizer
xml
zlib
[Zend Modules]
any ideas how to fix these warnings?
below you may see what is included in /etc/php.d directory
[root@koras2 php.d]# ls
curl.ini json.ini mysql.ini pdo_mysql.ini phar.ini sqlite3.ini
fileinfo.ini mysqli.ini pdo.ini pdo_sqlite.ini snmp.ini zip.ini
and for each file
[root@koras2 php.d]# more mysql.ini
; Enable mysql extension module
extension=mysql.so
I think there is something wrong here!
Re: Cannot start cacti through browser
anyway.
i think i found what went wrong and corrected it.
now when i am typing in a browser http://servername/cacti/
what i am getting is a list of the folder files and not a prompt to login and continue the installation.
any ideas on that?
regards
Harris
i think i found what went wrong and corrected it.
now when i am typing in a browser http://servername/cacti/
what i am getting is a list of the folder files and not a prompt to login and continue the installation.
any ideas on that?
regards
Harris
-
- Cacti Pro User
- Posts: 613
- Joined: Tue Aug 29, 2006 4:09 pm
- Location: NL
Re: Cannot start cacti through browser
Yeh, sure, you didn't enable php. Bug again, this is not really a cacti issue.cgkevrek wrote:any ideas on that?
Maintainer of cacti in Debian (and Ubuntu).
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Cacti 1.* is now officially supported on Debian Stretch via Debian backports
FAQ Ubuntu and Debian differences
Generic cacti debugging
Who is online
Users browsing this forum: No registered users and 4 guests