I've created a new server and i've installed ser 0.8.11 (ser and ser-mysql-0.8.11-0) with rpm.
When i use the command ./ser_mysql.sh create and it return this:
./ser_mysql.sh: line 1: gen_ha1: command not found HA1 calculation failed
any idea?
Bye, Andrea
On 10/1/2003 3:11 PM, giAndrea wrote:
I've created a new server and i've installed ser 0.8.11 (ser and ser-mysql-0.8.11-0) with rpm.
When i use the command ./ser_mysql.sh create and it return this:
./ser_mysql.sh: line 1: gen_ha1: command not found HA1 calculation failed
any idea?
gen_ha1 should be installed in the same directory as ser, serctl, ser,_mysql.sh and that should be /usr/sbin. Check if your shell is looking in this directory for commands (e.g., for bash, the PATH environment variable must contain the path to this directory).
}Daniel
Bye, Andrea
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
At 15.24 01/10/2003 +0200, you wrote:
On 10/1/2003 3:11 PM, giAndrea wrote:
I've created a new server and i've installed ser 0.8.11 (ser and ser-mysql-0.8.11-0) with rpm.
When i use the command ./ser_mysql.sh create and it return this:
./ser_mysql.sh: line 1: gen_ha1: command not found HA1 calculation failed
any idea?
gen_ha1 should be installed in the same directory as ser, serctl, ser,_mysql.sh and that should be /usr/sbin. Check if your shell is looking in this directory for commands (e.g., for bash, the PATH environment variable must contain the path to this directory).
}Daniel
yeah! i've installed by rpm but to resolve this provlem i've used the compiled executable in /usr/local/sbin.
if i would to replace the executable generated by executable with the recompiled executable, have i to use make prefix=/usr/local install ?
Bye, Andrea
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-------------------------------------------------------------------------------------- There is no world without Verona's walls but purgatory, torture, hell itself. Hence-banished is banished from the world, and world's exile is death
[Shakespeare: Romeo and Juliet - Act III - Scene III]
On 10/1/2003 4:07 PM, giAndrea wrote:
At 15.24 01/10/2003 +0200, you wrote:
On 10/1/2003 3:11 PM, giAndrea wrote:
I've created a new server and i've installed ser 0.8.11 (ser and ser-mysql-0.8.11-0) with rpm.
When i use the command ./ser_mysql.sh create and it return this:
./ser_mysql.sh: line 1: gen_ha1: command not found HA1 calculation failed
any idea?
gen_ha1 should be installed in the same directory as ser, serctl, ser,_mysql.sh and that should be /usr/sbin. Check if your shell is looking in this directory for commands (e.g., for bash, the PATH environment variable must contain the path to this directory).
Daniel
yeah! i've installed by rpm but to resolve this provlem i've used the compiled executable in /usr/local/sbin.
Why? Didn't you find the gen_ha1 into /usr/sbin?
if i would to replace the executable generated by executable with the recompiled executable, have i to use make prefix=/usr/local install ?
If you want to replace the version installed from RPM with one compiled from sources is better to uninstall the RPMs (backup your config file; rpm -e ser; rpm -e ser-mysql) and then do a clean installation from sources.
You can overwrite the binaries with new ones generated from sources but there may occur version mismatching, besides that, when installing from sources the target directories are different that when installing from packages. I think, by default, the prefix for a installation from sources is '/usr/local' and for packages is just '/usr'. Also, the config file is placed in different locations.
}Daniel
Andrea:
I was struggling this problem before. Thanks to Daniel give me some hints. I finally found out this is the bash enviroment setting problem. The script can not find the gen_ha1, which is in the same directory. Add in PATH=./;/usr/bin;/usr/sbin; etc, whatever the files are located, then you will get the result. Hope this helps.
Good luck!
Regards, John H.
-----Original Message----- From: serusers-bounces@iptel.org [mailto:serusers-bounces@lists.iptel.org] On Behalf Of giAndrea Sent: Wednesday, October 01, 2003 9:11 AM To: serusers@lists.iptel.org Subject: [Serusers] Problem with mySql (new thread)
I've created a new server and i've installed ser 0.8.11 (ser and ser-mysql-0.8.11-0) with rpm.
When i use the command ./ser_mysql.sh create and it return this:
./ser_mysql.sh: line 1: gen_ha1: command not found HA1 calculation failed
any idea?
Bye, Andrea
_______________________________________________ Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
At 15.11 01/10/2003 +0200, you wrote:
I've created a new server and i've installed ser 0.8.11 (ser and ser-mysql-0.8.11-0) with rpm.
When i use the command ./ser_mysql.sh create and it return this:
./ser_mysql.sh: line 1: gen_ha1: command not found HA1 calculation failed
any idea?
Bye, Andrea
sorry. Done, i did't put password and domain so gen_had1 can't genereta nothing.
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-------------------------------------------------------------------------------------- There is no world without Verona's walls but purgatory, torture, hell itself. Hence-banished is banished from the world, and world's exile is death
[Shakespeare: Romeo and Juliet - Act III - Scene III]