Hi,
please keep list in CC to enable other users to learn from the results.
On Thursday 04 December 2003 15:20, Franz Edler wrote:
From: Nils Ohlmeier Sent: Thursday, December 04, 2003 2:32 PM
Ohh, sorry. Seems i read not carefully enough. But what was the output of '/usr/sbin/ser_mysql.sh create'? If there is no Ser database after this command, i assume that there was some kind of error message as result of the command.
This is the dialog, that happens at '/usr/sbin/ser_mysql.sh create´':
MySql password for root: <my Linux root password> Doamin (realm) for the default user 'admin': < value of variable SIP_DOMAIN>
/usr/sbin/ser_mysql.sh: line 1: gen_ha1: command not found HA1 calculation failed.
This is very strange because the gen_ha1 is included in the ser-0.8.11-0.i386.rpm as /usr/sbin/gen_ha1. Did you installed the basic ser rpm? It is a dependency for the ser-mysql rpm, so i guess yes. In that case my only assumption is that for some very strange reason /usr/sbin/ is not included in your PATH.
Regards Nils
On Thursday 04 December 2003 15:28, Nils Ohlmeier wrote:
On Thursday 04 December 2003 15:20, Franz Edler wrote:
From: Nils Ohlmeier Sent: Thursday, December 04, 2003 2:32 PM
This is the dialog, that happens at '/usr/sbin/ser_mysql.sh create´':
MySql password for root: <my Linux root password> Doamin (realm) for the default user 'admin': < value of variable SIP_DOMAIN>
/usr/sbin/ser_mysql.sh: line 1: gen_ha1: command not found HA1 calculation failed.
This is very strange because the gen_ha1 is included in the ser-0.8.11-0.i386.rpm as /usr/sbin/gen_ha1. Did you installed the basic ser rpm? It is a dependency for the ser-mysql rpm, so i guess yes. In that case my only assumption is that for some very strange reason /usr/sbin/ is not included in your PATH.
Forgot to mention: the first choice IMHO is to fix your PATH variable, so that it includes /usr/sbin/. If that is for whatever reason not acceptable for you, you can edit the /usr/sbin/ser_mysql.sh script and give the complete path for the gen_ha1 command (GEN_HA1='/usr/sbin/gen_ha1').
Regards Nils
From: Nils Ohlmeier Sent: Thursday, December 04, 2003 3:29 PM
This is very strange because the gen_ha1 is included in the ser-0.8.11-0.i386.rpm as /usr/sbin/gen_ha1. Did you installed the basic ser rpm?
Yes, I have it installed.
It is a dependency for the ser-mysql rpm, so i guess yes. In that case my only assumption is that for some very strange reason /usr/sbin/ is not included in your PATH.
Indeed, it is was not included. I now added /usr/sbin/ into PATH. But when calling now 'ser_mysql.sh create' after input of root-password and domain I get now: ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES).
Franz
On Thursday 04 December 2003 15:53, Franz Edler wrote:
From: Nils Ohlmeier Sent: Thursday, December 04, 2003 3:29 PM It is a dependency for the ser-mysql rpm, so i guess yes. In that case my only assumption is that for some very strange reason /usr/sbin/ is not included in your PATH.
Indeed, it is was not included. I now added /usr/sbin/ into PATH. But when calling now 'ser_mysql.sh create' after input of root-password and domain I get now: ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES).
You wrote, that you entered your root Password at the password prompt. This is probably not correct, because normaly the MySql root password is different then the login password for root. On a fresh SuSE Mysql installation i gues it is empty (just hit return), which is a real security problem.
Regards Nils
From: Nils Ohlmeier Sent: Thursday, December 04, 2003 4:01 PM
You wrote, that you entered your root Password at the password prompt. This is probably not correct, because normaly the MySql root password is different then the login password for root. On a fresh SuSE Mysql installation i gues it is empty (just hit return), which is a real security problem.
Yes, when I now used the "empty" password the ser database was created!
Thanx a lot, Nils. I know, I have to dig a little bit deeper into MySQL (it was my first installation of MySQL).