[Serusers] Using ser_mysql.sh failed
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'
make sure that gen_ha1 is under /usr/sbin, you can also modify the script and add the path of the gen_ha1. hope this helps. ----- Original Message ----- From: "Lin-Kai Cheng" <rap1@ms76.hinet.net> To: <serusers@lists.iptel.org> Sent: Thursday, May 27, 2004 12:28 PM Subject: [Serusers] Using ser_mysql.sh failed 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' -- www.bembang.com
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
participants (3)
-
Jan Janak -
Lin-Kai Cheng -
wiggler