gen_ha1 is a part of SER and by default it gets installed into /usr/local/sbin (when istalling from sources) or /usr/sbin (when installing from a package).
Jan.
On 27-05 11:27, Lin-Kai Cheng wrote:
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'
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers