Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi , I installed nagios , and now try to install centreon .
Sometimes and during install, i receive questions, but i don't find the directories, so i create a file and i give it on directory needed .
During installation , i get those errors :
Code:
Configure Apache server
------------------------------------------------------------------------
Finding Apache Centreon configuration file
'/etc/httpd/conf.d/centreon.conf' : OK
Do you want to update Centreon Apache sub configuration file ?
[y/n], default to [n]:
> y
Backup Centreon Apache configuration completed
Create '/etc/httpd/conf.d/centreon.conf' OK
Configuring Apache OK
Do you want to reload your Apache ?
[y/n], default to [n]:
> y
Reloading Apache service OK
Preparing Centreon temporary files
Change right on /usr/local/centreon/log OK
Change right on /etc/centreon OK
Change macros for insertBaseConf.sql OK
Change macros for sql update files OK
Change macros for php files OK
Change right on /etc/nagios OK
Add group nagios to user apache OK
Add group nagios to user nagios OK
Add group centreon to user nagios OK
Change right on /etc/centreon OK
Copy CentWeb in system directory
Install CentWeb (web front of centreon) OK
Change right for install directory
Change right for install directory OK
Install libraries FAIL
Write right to Smarty Cache OK
Copying libinstall FAIL
Change macros for centreon.cron OK
Install Centreon cron.d file OK
Change macros for centAcl.php OK
Change macros for downtimeManager.php OK
Change macros for eventReportBuilder.pl OK
Change macros for dashboardBuilder.pl OK
Install cron directory FAIL
Change right for eventReportBuilder.pl OK
Change right for dashboardBuilder.pl OK
Change macros for centreon.logrotate OK
Install Centreon logrotate.d file OK
Prepare export-mysql-indexes OK
Install export-mysql-indexes OK
Prepare import-mysql-indexes OK
Install import-mysql-indexes OK
Prepare indexes schema OK
Install indexes schema OK
------------------------------------------------------------------------
Pear Modules
------------------------------------------------------------------------
Check PEAR modules
PEAR 1.4.9 1.9.4 OK
DB 1.7.6 NOK
DB_DataObject 1.8.4 NOK
DB_DataObject_FormBuilder 1.0.0RC4 NOK
MDB2 2.0.0 NOK
Date 1.4.6 NOK
HTML_Common 1.2.2 NOK
HTML_QuickForm 3.2.5 NOK
HTML_QuickForm_advmultiselect 1.1.0 NOK
HTML_Table 1.6.1 NOK
Archive_Tar 1.1 1.3.7 OK
Auth_SASL 1.0.1 NOK
Console_Getopt 1.2 1.3.0 OK
Net_SMTP 1.2.8 NOK
Net_Socket 1.0.1 NOK
Net_Traceroute 0.21 NOK
Net_Ping 2.4.1 NOK
Validate 0.6.2 NOK
XML_RPC 1.4.5 NOK
SOAP 0.10.1 NOK
Log 1.9.11 NOK
Archive_Zip 0.1.2 NOK
Can You help me please .
This is my first post here( sorry for my english )
I talk alone ^^
I had to install the packages php-mysql php-mbstring ....
and then restart the apache server. Hope it can help others .
If necessary , add the .so files ( like mysql.so) to the /etc/php.ini in this form : extension=mysql.so
In the last step of my centreon installation , i get this error :
Step Status
Configuration database OK
Storage database OK
Utils database OK
Creating database user OK
Setting up basic configuration OK
Setting up configuration file Could not find CENTREON_ETC. Session probably expired.
I just finish the installation of centreon,but When i go to http://MyAdresse/centreon/ , i have a white page .
Those are the errors on my error_log file of apache
[Fri Mar 22 14:54:43 2013] [error] [client @] PHP Warning: require_once(DB.php) [<a href='function.require-once'>function.require-once</a>]: fa$ >]: failed to open stream: No such file or directory in /usr/local/centreon/www/class/centreonDB.class.php on line 39
[Fri Mar 22 14:54:43 2013] [error] [client @] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening$ required 'DB.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/centreon/www/class/centreonDB.class.php on line 39
Another question please : when I run this command , i can't see nagios .is this normal?
Hi,
I installed Nagios and centreon , but when i finish the installation of centreon , i get a white page.
WHen i restart the httpd service ( service httpd restart ) and i check the error_log file of httpd , i get those lines, do u thing is there any errors ? please help me .
Code:
[Sun Mar 24 18:57:55 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Mar 24 18:57:55 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Mar 24 18:57:55 2013] [notice] Digest: done
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/msql.so' - /usr/lib64/php/modules/msql.so: cannot open shared obje$
PHP Warning: Module 'ldap' already loaded in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules//usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules//usr/lib$
[Sun Mar 24 18:57:55 2013] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Sun Mar 24 19:02:22 2013] [error] [client @] PHP Warning: require_once(DB.php) [<ahref='function.require-once'>function.require-once<$$-once</a>]: failed to open stream: No such file or directory in /usr/local/centreon/www/class/centreonDB.class.php on line 39
[Sun Mar 24 19:02:22 2013] [error] [client @] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed$ opening required 'DB.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/centreon/www/class/centreonDB.class.php on line 39
When you extracted the tar.gz did you check to ensure the files integrity?
If the problem persists you could re-down load it, extract it, but this time pay close attention to the "Read Me" file or the "Install " file-
I think I don't have the package php-pear and perl-rddtool ( I don't know how can i check if i have it )
It should be in /usr/share/doc
Or you can open the terminal and run:
Code:
locate pear
locate perl
Some Linux distributions (e.g. Redhat) seem to be using links instead of lynx as the name for their command line browser. If this is the case for you, you need to change the above line correspondingly.
when i do locate pear, i have to many files ,i have this too
Code:
/usr/lib64/php/pear
... Do you think is ok ?
and also many perl files on :
Code:
/usr/share/doc/
Thank you so much for your replies .
Quote:
Originally Posted by Ztcoracat
It should be in /usr/share/doc
Or you can open the terminal and run:
Code:
locate pear
locate perl
Some Linux distributions (e.g. Redhat) seem to be using links instead of lynx as the name for their command line browser. If this is the case for you, you need to change the above line correspondingly.
I found the Red Hat Instructions for the Install of Centreon, Nagios and etc.
I would follow this exactly and this way there won't be anymore confusion and you wondering if things are there or not.
The fact that you have:
/usr/lib64/php/pear is good.
Not sure about Perl.
I will consult with another Member and do my best to find out.
Another way to check that Centreon is installed is to run:
Code:
locate Centreon
If indeed this application is installed you will see the files and the libraries that support it.
I didn't include all the depend packages as it would be to big to post.
Like in my (example) as I have [B]GIMP[/B installed-
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.