Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: Teviot on October 03, 2010, 03:02:42 PM

Title: Help need to identify an error
Post by: Teviot on October 03, 2010, 03:02:42 PM
Could someone tell me what this means and what I'm doing wrong?

I'm using SME8b6 with the latest updates and sail-3.1.0-57

Code: [Select]
[Oct  4 00:00:28] ERROR[6877]: cdr_addon_mysql.c:159 mysql_log: cdr_mysql: cannot connect to database server localhost.
Is there a fix for this?



I think I have not set the database settings correctly.  This was a brand new install.

Install procedure was as follows
SME8b6
updates via server-manager twice to make sure got all
install asterisk as per http://sarkpbx.com/twiki/bin/view/Main/DocChapter03h (http://sarkpbx.com/twiki/bin/view/Main/DocChapter03h)


I did notice error occured while going thought the procedure

Code: [Select]
[root@test software]# perl /opt/sark/scripts/srkinsertdbdata.pl
Can't modify logical or (||) in scalar assignment at /opt/sark/scripts/srkinsertdbdata.pl line 174, near "'' ) "
Execution of /opt/sark/scripts/srkinsertdbdata.pl aborted due to compilation errors.
[root@test software]#

Also calls into this server fail. I think this is related to the database issue
Title: Re: Help need to identify an error
Post by: SARK devs on October 03, 2010, 06:11:33 PM
Hello

Thanks for the feedback.

-58 should solve these issues (it is available for download from the website now).

Kind Regards

S