[Serusers] Using ser_mysql.sh failed

Lin-Kai Cheng rap1 at ms76.hinet.net
Thu May 27 05:27:43 CEST 2004


I tried to use "/usr/sbin/ser_mysql.sh" to create SER database in MySQL.
I typed the password of MySQL and entered the realm 
But the result showed that 

/usr/sbin/ser_mysql.sh: line 1: gen_ha1: command not found
HA1 calculation failed

I've tried to type config variable CMD under command line to see whether I can enter MySQL or not.
Yes! The CMD works fine.
Then I have no idea about the gen_ha1.

Please give me some suggestions. 
Thanks.

My config vars are as follows,

DBNAME=ser
DBHOST=mymachine
USERNAME=ser
DEFAULT_PW=heslo
ROUSER=serro
RO_PW=47serro11
SQL_USER="root"

CMD="mysql -u$SQL_USER -h $DBHOST "
DUMP_CMD="mysqldump -h $DBHOST -u$SQL_USER -c -t "
BACKUP_CMD="mysqldump -h $DBHOST -u$SQL_USER -c "
TABLE_TYPE="TYPE=MyISAM"
# user name column
USERCOL="username"
GENHA1='gen_ha1'








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20040527/df718acf/attachment.htm>


More information about the sr-users mailing list