Hi Bogdan,<br><br>I am using MySQL as the backend DB and I am trying to run the following commands:<br><br>1) /usr/local/sbin/opensipsctl domain add "<a href="http://opensips.net">opensips.net</a>" - To add domain. Also I found that adding domain command does not exist anymore. <br>
2) /usr/local/sbin/opensipsctl add alice alice - To add subscriber "alice" with password "alice"<br><br>But previous to the below mentioned errors I was getting another error saying that the DBENGINELOADED cannot be read so I did a hardcode in the opensipsctl file with "DBENGINELOADED=1".<br>
<br>Please correct me if I am doing something wrong.<br><br>Regards,<br>Ranga<br><br><br><div class="gmail_quote">On Tue, Feb 17, 2009 at 10:26 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Ranga,<br>
<br>
What DB backend are you using ? MySQL.? Postgres?<br>
<br>
Also, what is the exact command you are running?<br>
<br>
Regard,<br>
Bogdan<br>
<br>
Ranganath B wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
<br>
Hi,<br>
<br>
I installed the opensips version 1.4.4 and when I try to add<br>
subscribers or domain in the database I get the following error<br>
messages respectively:<br>
<br>
/usr/local/sbin/opensipsctl: line 197: select count(*) from<br>
subscriber where username='alice' and domain='<a href="http://opensips.net" target="_blank">opensips.net</a><br></div>
<<a href="http://opensips.net" target="_blank">http://opensips.net</a>>';: command not found<div class="Ih2E3d"><br>
INFO: user 'alice' already exists<br>
<br>
/usr/local/sbin/opensipsctl: line 215: select count(*) from domain<br></div>
where domain='<a href="http://opensips.net" target="_blank">opensips.net</a> <<a href="http://opensips.net" target="_blank">http://opensips.net</a>>';: command not found<br>
INFO: <a href="http://opensips.net" target="_blank">opensips.net</a> <<a href="http://opensips.net" target="_blank">http://opensips.net</a>> already in domain table<div class="Ih2E3d"><br>
<br>
I am not able to proceed with the testing, kindly help me in<br>
resolving the issue with opensips.<br>
<br>
For your kind reference I have attached the opensipsctl file too.<br>
<br>
Thanks in advance,<br>
Ranga<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br>