11月26

解决安装spine时报数据库密码错误。

| |
15:04Linux  
[root@CentOS cacti-spine-0.8.7]# ./spine
SPINE: Using spine config file [spine.conf]
MYSQL: Connection Failed: Access denied for user 'cactiuser'@'localhost' (using password: YES)
MYSQL: Connection Failed: Access denied for user 'cactiuser'@'localhost' (using password: YES)
MYSQL: Connection Failed: Access denied for user 'cactiuser'@'localhost' (using password: YES)
MYSQL: Connection Failed: Access denied for user 'cactiuser'@'localhost' (using password: YES)
MYSQL: Connection Failed: Access denied for user 'cactiuser'@'localhost' (using password: YES)
11/25/2009 05:12:14 PM - SPINE: Poller[0] FATAL: Connection Failed: Access denied for user 'cactiuser'@'localhost' (using password: YES) (Spine init)

解决方法:
注意了,此时在/Install/cacti-spine-0.8.7e执行/usr/local/spine/bin/spine
它读取的是/Install/cacti-spine-0.8.7e/spine.conf
所以会提示数据库连接出错
我们rm -f /Install/cacti-spine-0.8.7e/spine.conf
再次执行/usr/local/spine/bin/spine,它读取/etc/spine.conf,这样就正常了。
阅读(254) | 评论(0) | 引用(0)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码  
网址   电邮   [注册]