Hello,<br><br>Thanks for the quick reply!<br><br>I have edited my file: /etc/openser/openserctlrc and using the command openserdbctl create, I am able to create the database.<br><br>But if I run the command : /usr/local/sbin/openserctl moni<br>
I am getting error: <br>database engine 'MYSQL' loaded<br>Control engine 'FIFO' loaded<br>ERROR: Error opening OpenSER's FIFO /tmp/openser_fifo<br>ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")' in your config<br>
ERROR: and also have loaded the mi_fifo module.<br><br>I have checked openser.cfg file and checked that I have included necessary lines in it for fifo module, i.e. I have loaded the module as well as included the line: 'modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")' in openser.cfg file.<br>
<br>I dont know where I am doing the mistake. Please help me if you are able to run openser successfully and also register the user client on it. <br><br>Also, I dotn know how to de-install the existing version of openser so that I can re-install the fedora version of openser as said by you. However, since I am able to run this version from /etc/init.d/openser start and also able to create databases and add users, should I proceed with this only?<br>
<br>I get the mysql.sock error only when I try to start openser from /usr/local/sbin/openser start. Why is it so? <br><br>When I run start openser and have created the users and I try to register them, I get problem that: Destination unreachable. Is it due to that UDP sockets are not in LISTEN mode initially and only TCP ports are?<br>
<br>Please help me with whatever knowledge you have. I am really stucked. :(<br><br>Thanks again<br>Megha<br>
<br><div class="gmail_quote">On Mon, Mar 17, 2008 at 3:09 PM, Jan ONDREJ (SAL) <<a href="mailto:ondrejj@salstar.sk" target="_blank">ondrejj@salstar.sk</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<div><br>
On Mon, Mar 17, 2008 at 11:18:50AM +0530, Megha Saini wrote:<br>
> Hi,<br>
><br>
> I have installed OpenSER, openser-1.3.1-notls from:<br>
> <a href="http://openser.org/pub/openser/1.3.1/src/" target="_blank">http://openser.org/pub/openser/1.3.1/src/</a> on Fedora Core 8.<br>
<br>
</div>Why you don't use Fedora packages?<br>
You can install openser-1.3.0 from fedora updates or openser-1.3.1 from<br>
updates-testing using yum:<br>
yum install --enablerepo=updates-testing openser openser-mysql<br>
<div><br>
> However, when i try to create database: /usr/local/sbin/openserdbctl<br>
> create<br>
> I get the error as:<br>
><br>
> database engine 'mysql' loaded<br>
> INFO: test server charset<br>
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket<br>
> '/var/lib/mysql/mysql.socket' (2)<br>
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket<br>
> '/var/lib/mysql/mysql.socket' (2)<br>
> Usage: egrep [OPTION]... PATTERN [FILE]...<br>
> Try `egrep --help' for more information.<br>
> /usr/local/lib/openser/openserctl/openserdbctl.mysql: line 112: [: =: unary<br>
> operator expected<br>
> INFO: creating database openser ...<br>
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket<br>
> '/var/lib/mysql/mysql.socket' (2)<br>
> ERROR: Creating core database and grant privileges failed!<br>
<br>
</div>Looks like your mysql root passowrd is wrong.<br>
Please do not set openser RO and RW user to root. This script does not like<br>
it. Please edit /etc/openser/openserctlrc file and set your options and then<br>
try to run:<br>
openserdbctl create<br>
again.<br>
<br>
Works for me, but not for UTF8 engoding (keys are too long here).<br>
<font color="#888888"><br>
SAL<br>
</font></blockquote></div><br>