Postado originalmente por
goplex
Boa Tarde Amigo!
Estou tentando instalar o sistema porem o mesmo me reporta esse erro;
[root@localhost ~]# ./install.sh root_mysql gpx1405net_mysql
Parando o httpd: [ OK ]
Iniciando o httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName
[ OK ]
----------- Install Magnus Billing Server: ----------
Gerado cópia de trabalho para revisão 182.
chown: usuário inválido: "asterisk:asterisk"
ln: criando ligação simbólica "/etc/asterisk/sip_magnus_register.conf": Arquivo existe
ln: criando ligação simbólica "/etc/asterisk/sip_magnus.conf": Arquivo existe
ln: criando ligação simbólica "/etc/asterisk/sip_magnus_user.conf": Arquivo existe
ln: criando ligação simbólica "/var/lib/asterisk/agi-bin/magnus": Arquivo existe
ln: criando ligação simbólica "/var/www/html/billing/protected/commands/cron": Arquivo existe
magnus.php
ERROR 1045 (28000): Access denied for user 'root_mysql'@'localhost' (using password: YES)
ERROR 1045 (28000): Access denied for user 'root_mysql'@'localhost' (using password: YES)
chown: usuário inválido: "asterisk:asterisk"
chown: usuário inválido: "asterisk:asterisk"
chown: usuário inválido: "asterisk:asterisk"
chown: usuário inválido: "asterisk:asterisk"
Pulou 'https://subversion.assembla.com/svn/billing_svn'
Na revisão 182.
Summary of conflicts:
Skipped paths: 1
exception 'CDbException' with message 'CDbConnection failed to open the DB connection: SQLSTATE[28000] [1045] Access denied for user '$1'@'localhost' (using password: YES)' in /var/www/html/billing/lib/yii/db/CDbConnection.php:364
Stack trace:
#0 /var/www/html/billing/lib/yii/db/CDbConnection.php(313): CDbConnection->open()
#1 /var/www/html/billing/lib/yii/db/CDbConnection.php(291): CDbConnection->setActive(true)
#2 /var/www/html/billing/lib/yii/base/CModule.php(372): CDbConnection->init()
#3 /var/www/html/billing/lib/yii/base/CApplication.php(429): CModule->getComponent('db')
#4 /var/www/html/billing/lib/yii/db/ar/CActiveRecord.php(609): CApplication->getDb()
#5 /var/www/html/billing/lib/yii/db/ar/CActiveRecord.php(2275): CActiveRecord->getDbConnection()
#6 /var/www/html/billing/lib/yii/db/ar/CActiveRecord.php(372): CActiveRecordMetaData->__construct(Object(Configuration))
#7 /var/www/html/billing/protected/models/Configuration.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(6): CActiveRecord::model('Configuration')
#8 /var/www/html/billing/protected/components/LoadConfig.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(6): Configuration::model()
#9 /var/www/html/billing/protected/commands/UpdateMysqlCommand.php(9): Loadconfig->getConfig()
#1 0 /var/www/html/billing/lib/yii/console/CConsoleCommandRunner.php(63): UpdateMysqlCommand->run(Array)
#1 1 /var/www/html/billing/lib/yii/console/CConsoleApplication.php(88): CConsoleCommandRunner->run(Array)
#1 2 /var/www/html/billing/lib/yii/base/CApplication.php(158): CConsoleApplication->processRequest()
#1 3 /var/www/html/billing/cron.php(19): CApplication->run()
#1 4 {main}Você tem mensagem nova de correio em /var/spool/mail/root
Sendo que o usuario e senha root esta correto.. pois acesso o mysql normalmente ..
Obrigado...