2012-04-30 21 views
0

Cactiを2台のdebianサーバーにインストールすることができました。それがaptが正しく機能する方法です。CactiデータベースのインストールがUbuntu 10.04で失敗しました

私たちのプロダクションサーバーにインストールする時間が来ていますが、それはまったく機能していません。それは、ユーザーとChown無効なユーザールート:スタッフのメッセージとエラーを報告する、サボテンデータベースを作成するという点を熟知しているようです。私は手動でコンパイルするのではなく、ダウンタイムを起こすことはできません。ここで

が/var/log/apt/term.logからの出力のほとんどがある:それはないとして、スタッフグループ:

Selecting previously deselected package cacti. 
(Reading database ... 152051 files and directories currently installed.) 
Unpacking cacti (from .../cacti_0.8.7e-2ubuntu0.2_all.deb) ... 
Setting up cacti (0.8.7e-2ubuntu0.2) ... 
dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf 
Creating config file /etc/dbconfig-common/cacti.conf with new version 
Creating config file /etc/cacti/debian.php with new version 
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/usr/bin/mysql' at line 1. 
unable to connect to mysql server. 
error encountered creating user: 
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/usr/bin/mysql' at line 1 
dbconfig-common: cacti configure: trying again. 
dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf 
Replacing config file /etc/cacti/debian.php with new version 
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/usr/bin/mysql' at line 1. 
unable to connect to mysql server. 
error encountered creating user: 
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/usr/bin/mysql' at line 1 
dbconfig-common: cacti configure: trying again. 
dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf 
Replacing config file /etc/cacti/debian.php with new version 
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/usr/bin/mysql' at line 1. 
dbconfig-common: cacti configure: aborted. 
dbconfig-common: flushing administrative password 
dpkg: error processing cacti (--configure): 
subprocess installed post-installation script returned error exit status 1 
Errors were encountered while processing: 
cacti 
Log ended: 2012-04-30 19:25:04 

Log started: 2012-04-30 19:26:57 
Setting up cacti (0.8.7e-2ubuntu0.2) ... 
dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf 
Replacing config file /etc/cacti/debian.php with new version 
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/usr/bin/mysql' at line 1. 
unable to connect to mysql server. 
error encountered creating user: 
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/usr/bin/mysql' at line 1 
dbconfig-common: cacti configure: ignoring errors from here forwards 
populating database via sql... done. 
dbconfig-common: flushing administrative password 

Creating config file /etc/cacti/apache.conf with new version 
chown: invalid group: `root:staff' 

Log ended: 2012-04-30 19:27:14 

私はルートを使用しようとしている理由はわからないんだけど存在する。 アイデア 乾杯 NS

ちょうど似て聞こえるいるこれを見つけた:これらのソリューションをしようと... http://ubuntuforums.org/showthread.php?p=11871002

答えて

0

を、私はこれが原因破損しているの/ etc /グループをファイルにしたと信じています。

最終的に問題を解決した新しいOSをインストールしました。

関連する問題