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