Hi I've installed openser dev 1.2 to test new acc module in my lab but cant create DB in mysql server using ist openser_mysql, please see this error:
]# openser_mysql.sh create MySql password for root: Domain (realm) for the default user 'admin': 10.0.1.231
creating database openser ... /usr/local/sbin/openser_mysql.sh: line 262: method: command not found /usr/local/sbin/openser_mysql.sh: line 262: from_uri: command not found /usr/local/sbin/openser_mysql.sh: line 262: from_tag: command not found /usr/local/sbin/openser_mysql.sh: line 262: to_uri: command not found /usr/local/sbin/openser_mysql.sh: line 262: to_tag: command not found /usr/local/sbin/openser_mysql.sh: line 262: callid: command not found /usr/local/sbin/openser_mysql.sh: line 262: cseq_no: command not found /usr/local/sbin/openser_mysql.sh: line 262: sip_code: command not found /usr/local/sbin/openser_mysql.sh: line 262: sip_reason: command not found
real 0m0.000s user 0m0.000s sys 0m0.000s /usr/local/sbin/openser_mysql.sh: line 262: callid: command not found /usr/local/sbin/openser_mysql.sh: line 262: method: command not found /usr/local/sbin/openser_mysql.sh: line 262: from_uri: command not found /usr/local/sbin/openser_mysql.sh: line 262: from_tag: command not found /usr/local/sbin/openser_mysql.sh: line 262: to_uri: command not found /usr/local/sbin/openser_mysql.sh: line 262: to_tag: command not found /usr/local/sbin/openser_mysql.sh: line 262: callid: command not found /usr/local/sbin/openser_mysql.sh: line 262: cseq_no: command not found /usr/local/sbin/openser_mysql.sh: line 262: sip_code: command not found /usr/local/sbin/openser_mysql.sh: line 262: sip_reason: command not found
real 0m0.000s user 0m0.000s sys 0m0.000s /usr/local/sbin/openser_mysql.sh: line 262: callid: command not found ERROR 1064 (42000) at line 80: You have an error in your SQL syntax; check the manual that corresponds to your MySQL serverversion for the right syntax to use near '=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wh'at line 2