免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8836 | 回复: 1
打印 上一主题 下一主题

[其他] centreon+nagios安装完后,无法启动centstorage服务。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-03-27 14:58 |只看该作者 |倒序浏览
有人使用centreon+nagios的吗?这个centstorage服务无法启动是什么原因?
装2.4和2.5都是一样,无法启动这个服务。(centos 6.3   64bit)

这个服务不能启动,是否就不会绘图了?是这样吗?


安装过程如下,都是ok的。

Do you accept GPL license ?
[y/n], default to [n]:
> y
------------------------------------------------------------------------
        Please choose what you want to install
------------------------------------------------------------------------

Do you want to install : Centreon Web Front
[y/n], default to [n]:
> y

Do you want to install : Centreon CentCore
[y/n], default to [n]:
> y

Do you want to install : Centreon Nagios Plugins
[y/n], default to [n]:
> y

Do you want to install : Centreon Snmp Traps process
[y/n], default to [n]:
> y

------------------------------------------------------------------------
        Start CentWeb Installation
------------------------------------------------------------------------

Where is your Centreon directory?
default to [/usr/local/centreon]
>

Do you want me to create this directory ? [/usr/local/centreon]
[y/n], default to [n]:
> y
Path /usr/local/centreonOK

Where is your Centreon log directory
default to [/usr/local/centreon/log]
>

Do you want me to create this directory ? [/usr/local/centreon/log]
[y/n], default to [n]:
> y
Path /usr/local/centreon/logOK

Where is your Centreon etc directory
default to [/etc/centreon]
> /usr/local/centreon/etc

Do you want me to create this directory ? [/usr/local/centreon/etc]
[y/n], default to [n]:
> y
Path /usr/local/centreon/etcOK

Where is your Centreon binaries directory
default to [/usr/local/centreon/bin]
>

Do you want me to create this directory ? [/usr/local/centreon/bin]
[y/n], default to [n]:
> y
Path /usr/local/centreon/binOK

Where is your Centreon data informations directory
default to [/usr/local/centreon/data]
>

Do you want me to create this directory ? [/usr/local/centreon/data]
[y/n], default to [n]:
> y
Path /usr/local/centreon/dataOK

Where is your Centreon generation_files directory?
default to [/usr/local/centreon]
>
Path /usr/local/centreonOK

Where is your Centreon variable library directory?
default to [/var/lib/centreon]
> /usr/local/centreon/var/lib

Do you want me to create this directory ? [/usr/local/centreon/var/lib]
[y/n], default to [n]:
> y
Path /usr/local/centreon/var/libOK

Where is your CentPlugins Traps binary
default to [/usr/local/centreon/bin]
>
Path /usr/local/centreon/binOK

Where is the RRD perl module installed [RRDs.pm]
default to [/usr/lib/perl5/RRDs.pm]
> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/RRDs.pm
Path /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multiOK
/usr/bin/rrdtoolOK
/bin/mailOK
/usr/bin/phpOK
/usr/bin/perlOK
Finding Apache user :apache
Finding Apache group :apache

What is the Centreon group ? [centreon]
default to [centreon]
>

Do you want me to create this group ? [centreon]
[y/n], default to [n]:
> y

What is the Centreon user ? [centreon]
default to [centreon]
>

Do you want me to create this user ? [centreon]
[y/n], default to [n]:
> y

What is the Monitoring engine user ?
> nagios  

What is the Broker user ? (optional)
> nagios

What is the Monitoring engine log directory ?
> /usr/local/nagios/var

Where is your monitoring plugins (libexec) directory ?
default to [/usr/lib/nagios/plugins]
> /usr/local/nagios/libexec
Path /usr/local/nagios/libexecOK
Add group centreon to user apacheOK
Add group centreon to user nagiosOK
Add group nagios to user apacheOK
Add group nagios to user centreonOK

------------------------------------------------------------------------
        Configure Sudo
------------------------------------------------------------------------

Where is sudo configuration file
default to [/etc/sudoers]
>
/etc/sudoersOK

What is the Monitoring engine init.d script ?
> /etc/init.d/nagios

What is the Monitoring engine binary ?
> /usr/local/nagios/bin/nagios

What is the Monitoring engine configuration directory ?
> /usr/local/nagios/etc

Where is the configuration directory for broker module ?
> /usr/local/nagios/etc

Where is the init script for broker module daemon ?
> /etc/init.d/ndo2db
Your sudo is not configured

Do you want me to configure your sudo ? (WARNING)
[y/n], default to [n]:
> y
Configuring SudoOK

------------------------------------------------------------------------
        Configure Apache server
------------------------------------------------------------------------

Do you want to add Centreon Apache sub configuration file ?
[y/n], default to [n]:
> y
Create '/etc/httpd/conf.d/centreon.conf'OK
Configuring ApacheOK

Do you want to reload your Apache ?
[y/n], default to [n]:
> y
Reloading Apache serviceOK
Preparing Centreon temporary files
Change right on /usr/local/centreon/logOK
Change right on /usr/local/centreon/etcOK
Change macros for insertBaseConf.sqlOK
Change macros for sql update filesOK
Change macros for php filesOK
Change right on /usr/local/nagios/etcOK
Add group nagios to user apacheOK
Add group nagios to user nagiosOK
Add group centreon to user nagiosOK
Copy CentWeb in system directory
Install CentWeb (web front of centreon)OK
Change right for install directory
Change right for install directoryOK
Install librariesOK
Write right to Smarty CacheOK
Copying libinstallOK
Change macros for centreon.cronOK
Install Centreon cron.d fileOK
Change macros for centAcl.phpOK
Change macros for downtimeManager.phpOK
Change macros for eventReportBuilder.plOK
Change macros for dashboardBuilder.plOK
Install cron directoryOK
Change right for eventReportBuilder.plOK
Change right for dashboardBuilder.plOK
Change macros for centreon.logrotateOK
Install Centreon logrotate.d fileOK
Prepare export-mysql-indexesOK
Install export-mysql-indexesOK
Prepare import-mysql-indexesOK
Install import-mysql-indexesOK
Prepare indexes schemaOK
Install indexes schemaOK

------------------------------------------------------------------------
Pear Modules
------------------------------------------------------------------------
Check PEAR modules
PEAR1.4.91.9.4OK
DB1.7.6NOK
DB_DataObject1.8.4NOK
DB_DataObject_FormBuilder1.0.0RC4NOK
MDB22.0.0NOK
Date1.4.6NOK
HTML_Common1.2.2NOK
HTML_QuickForm3.2.5NOK
HTML_QuickForm_advmultiselect1.1.0NOK
HTML_Table1.6.1NOK
Archive_Tar1.11.3.11OK
Auth_SASL1.0.1NOK
Console_Getopt1.21.3.1OK
Net_SMTP1.2.8NOK
Net_Socket1.0.1NOK
Net_Traceroute0.21NOK
Net_Ping2.4.1NOK
Validate0.6.2NOK
XML_RPC1.4.51.5.5OK
SOAP0.10.1NOK
Log1.9.11NOK
Archive_Zip0.1.2NOK

Do you want me to install/upgrade your PEAR modules
[y/n], default to [y]:
> y
Upgrading PEAR modules
Installing PEAR modules
DB1.7.61.7.14OK
DB_DataObject1.8.41.11.2OK
DB_DataObject_FormBuilder1.0.0RC41.0.2OK
MDB22.0.02.4.1OK
HTML_QuickForm_advmultiselect1.1.01.5.1OK
HTML_Table1.6.11.8.3OK
Auth_SASL1.0.11.0.6OK
Net_SMTP1.2.81.6.2OK
Net_Traceroute0.210.21.3OK
Net_Ping2.4.12.4.5OK
Validate0.6.20.8.5OK
SOAP0.10.10.13.0OK
Log1.9.111.12.7OK
Archive_Zip0.1.20.1.2OK
Check PEAR modules
PEAR1.4.91.9.4OK
DB1.7.61.7.14OK
DB_DataObject1.8.41.11.2OK
DB_DataObject_FormBuilder1.0.0RC41.0.2OK
MDB22.0.02.4.1OK
Date1.4.61.4.7OK
HTML_Common1.2.21.2.5OK
HTML_QuickForm3.2.53.2.13OK
HTML_QuickForm_advmultiselect1.1.01.5.1OK
HTML_Table1.6.11.8.3OK
Archive_Tar1.11.3.11OK
Auth_SASL1.0.11.0.6OK
Console_Getopt1.21.3.1OK
Net_SMTP1.2.81.6.2OK
Net_Socket1.0.11.0.14OK
Net_Traceroute0.210.21.3OK
Net_Ping2.4.12.4.5OK
Validate0.6.20.8.5OK
XML_RPC1.4.51.5.5OK
SOAP0.10.10.13.0OK
Log1.9.111.12.7OK
Archive_Zip0.1.20.1.2OK
All PEAR modulesOK

------------------------------------------------------------------------
                Centreon Post Install
------------------------------------------------------------------------
Create /usr/local/centreon/www/install/install.conf.phpOK
Create /usr/local/centreon/etc/instCentWeb.conf OK

------------------------------------------------------------------------
        Start CentStorage Installation
------------------------------------------------------------------------

Where is your Centreon Run Dir directory?
default to [/var/run/centreon]
> /usr/local/centreon/var/run   

Do you want me to create this directory ? [/usr/local/centreon/var/run]
[y/n], default to [n]:
> y
Path /usr/local/centreon/var/runOK

Where is your CentStorage binary directory
default to [/usr/local/centreon/bin]
>
Path /usr/local/centreon/binOK

Where is your CentStorage RRD directory
default to [/var/lib/centreon]
> /usr/local/centreon/var/lib
Path /usr/local/centreon/var/libOK
Preparing Centreon temporary files
/tmp/centreon-setup exists, it will be moved...
install www/install/createTablesCentstorage.sqlOK
Creating Centreon Directory '/usr/local/centreon/var/lib/status'OK
Creating Centreon Directory '/usr/local/centreon/var/lib/metrics'OK
Change macros for centstorage binaryOK
Install CentStorage binaryOK
Install library for centstorageOK
Change right : /usr/local/centreon/var/runOK
Change macros for centstorage init scriptOK

Do you want me to install CentStorage init script ?
[y/n], default to [n]:
> y
CentStorage init script installedOK

Do you want me to install CentStorage run level ?
[y/n], default to [n]:
> y
Change macros for logAnalyserOK
Install logAnalyserOK
Change macros for logAnalyser-cbrokerOK
Install logAnalyser-cbrokerOK
Change macros for nagiosPerfTraceOK
Install nagiosPerfTraceOK
Change macros for purgeLogsOK
Install purgeLogsOK
Change macros for purgeCentstorageOK
Install purgeCentstorageOK
Change macros for centreonPurge.shOK
Install centreonPurge.shOK
Change macros for centstorage.cronOK
Install CentStorage cronOK
Change macros for centstorage.logrotateOK
Install Centreon Storage logrotate.d fileOK
Create /usr/local/centreon/etc/instCentStorage.conf OK

------------------------------------------------------------------------
        Start CentCore Installation
------------------------------------------------------------------------

Where is your CentCore binary directory
default to [/usr/local/centreon/bin]
>
Path /usr/local/centreon/binOK
/usr/bin/sshOK
/usr/bin/scpOK
Preparing Centreon temporary files
/tmp/centreon-setup exists, it will be moved...
Change CentCore MacroOK
Copy CentCore in binary directoryOK
Change right : /usr/local/centreon/var/runOK
Change right : /usr/local/centreon/var/libOK
Change macros for centcore.logrotateOK
Install Centreon Core logrotate.d fileOK
Replace CentCore init script MacroOK

Do you want me to install CentCore init script ?
[y/n], default to [n]:
> y
CentCore init script installedOK

Do you want me to install CentCore run level ?
[y/n], default to [n]:
> y
Create /usr/local/centreon/etc/instCentCore.conf OK

------------------------------------------------------------------------
        Start CentPlugins Installation
------------------------------------------------------------------------

Where is your CentPlugins lib directory
default to [/var/lib/centreon/centplugins]
> /usr/local/centreon/var/lib/centplugins

Do you want me to create this directory ? [/usr/local/centreon/var/lib/centplugins]
[y/n], default to [n]:
> y
Path /usr/local/centreon/var/lib/centpluginsOK
Preparing Centreon temporary files
/tmp/centreon-setup exists, it will be moved...
Change macros for CentPluginsOK
Installing the pluginsOK
Change right on centreon.confOK
CentPlugins is installed

------------------------------------------------------------------------
        Start CentPlugins Traps Installation
------------------------------------------------------------------------

Where is your SNMP configuration directory
default to [/etc/snmp]
>
/etc/snmpOK

Where is your SNMPTT binaries directory
default to [/usr/local/centreon/bin/]
>
/usr/local/centreon/bin/OK
Finding Apache user :apache
Preparing Centreon temporary files
/tmp/centreon-setup exists, it will be moved...
Change macros for CentPluginsTrapsOK
Change macros for init scriptsOK
Installing the plugins Trap binaries OK
Change macros for snmptrapd.confOK
Change macros for snmptt.iniOK
SNMPTT init script installedOK
Install : snmptrapd.confOK
Install : snmp.confOK
Install : snmptt.iniOK
Install : snmpttOK
Install : snmptthandlerOK
Install : snmpttconvertmibOK
Create /usr/local/centreon/etc/instCentPlugins.conf OK
###############################################################################
#                                                                             #
#                 Go to the URL : http://centreon/centreon/                    #
#                            to finish the setup                              #
#                                                                             #
#                  Report bugs at http://forge.centreon.com                   #
#                                                                             #
#                         Thanks for using Centreon.                          #
#                          -----------------------                            #
#                        Contact : infos@centreon.com                         #
#                          http://www.centreon.com                            #
#                                                                             #
###############################################################################
[root@centreon centreon-2.4.0]# vi /etc/my.cnf

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
innodb_file_per_table = 1
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
"/etc/my.cnf" 10L, 276C written
[root@centreon centreon-2.4.0]# service mysqld restart

论坛徽章:
17
2015年辞旧岁徽章
日期:2015-03-03 16:54:152017金鸡报晓
日期:2017-02-08 10:39:422017金鸡报晓
日期:2017-01-10 15:19:56JAVA
日期:2016-11-01 13:25:46C
日期:2016-10-25 16:01:4715-16赛季CBA联赛之八一
日期:2016-06-21 23:38:0815-16赛季CBA联赛之山东
日期:2016-05-12 12:49:54IT运维版块每日发帖之星
日期:2016-04-20 06:20:00IT运维版块每日发帖之星
日期:2016-03-22 06:20:00黄金圣斗士
日期:2015-11-24 10:43:13IT运维版块每日发帖之星
日期:2015-08-25 06:20:002015亚冠之德黑兰石油
日期:2015-08-22 22:55:54
2 [报告]
发表于 2016-04-17 18:34 |只看该作者
回复 1# zerostudy

问题解决了吗?遇到了同样的问题。(用centreon-2.3.8启动正常)
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP