Hi,<br>
<br>No iam not using a precompiled package, i complied it myself.<br>
<br>
According to ur suggestion i edited the openser_mysql script and
specify the correct location of the openser_gen_ha1 tool, but this time
when i tried to create the table it gave me error <br>
<br>
/sbin/openser_mysql.sh create<br>
MySql password for root:<br>
Domain (realm) for the default user 'admin': admin<br>
&nbsp;<br>
creating database openser ...<br>
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)<br>
<br>
Iam using Linux version 2.6.9-1.667 (Red Hat 3.4.2-6.fc3).<br>
<br>
regards,<br>
naveen<br>
<br><div><span class="gmail_quote">On 12/15/05, <b class="gmail_sendername">Bogdan-Andrei Iancu</b> &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>please remember that if you use a PREFIX during&nbsp;&nbsp;&quot;make install&quot;, you<br>also need to add to PATH the PREFIX/sbin<br><br>regards,<br>bogdan<br><br>Klaus Darilion wrote:<br><br>&gt; are you using a precompiled package (which distro? rpm? deb?) or do
<br>&gt; you complied it yourself?<br>&gt;<br>&gt; the openser_mysql script can not find the openser_gen_ha1<br>&gt; tool. This can happen /usr/local/sbin is not included in the PATH.<br>&gt;<br>&gt; You can edit the openser_mysql script and specify the correct location
<br>&gt; of the openser_gen_ha1 tool<br>&gt;<br>&gt; klaus<br>&gt;<br>&gt;<br>&gt; Neil wrote:<br>&gt;<br>&gt;&gt; Hi all,<br>&gt;&gt;<br>&gt;&gt; I am having problem in creating MySQL database, I followed the given<br>&gt;&gt; below instruction
<br>&gt;&gt;<br>&gt;&gt; create MySQL tables<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; - if you have a previously installed OpenSER on your system, use<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/usr/sbin/openser_mysql.sh
reinstall&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to convert your<br>&gt;&gt; OpenSER database into new structures<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; - otherwise, if this is your very first installation, use<br>&gt;&gt;<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/sbin/openser_mysql.sh create
<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; to create OpenSER database structures<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;(you will be prompted for password of MySql &quot;root&quot; user)<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; but when i tried to create it, this is what happened
<br>&gt;&gt; /sbin/openser_mysql.sh create<br>&gt;&gt; MySql password for root:<br>&gt;&gt; Domain (realm) for the default user 'admin': admin<br>&gt;&gt;<br>&gt;&gt; /sbin/openser_mysql.sh: line 201: openser_gen_ha1: command not found
<br>&gt;&gt; HA1 calculation failed<br>&gt;&gt;<br>&gt;&gt; any help regarding this would be favourable<br>&gt;&gt;<br>&gt;&gt; thanks<br>&gt;&gt; naveen<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; ------------------------------------------------------------------------
<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Users mailing list<br>&gt;&gt; <a href="mailto:Users@openser.org">Users@openser.org</a><br>&gt;&gt; <a href="http://openser.org/cgi-bin/mailman/listinfo/users">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a href="mailto:Users@openser.org">Users@openser.org
</a><br>&gt; <a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a><br>&gt;<br><br></blockquote></div><br>