I ran into this same problem following the &quot;INSTALL&quot; file which was included with the opensips-cp 4.0 tar file.<div><br></div><div>I believe this INSTALL file needs to be updated.  I am currently making notes of all of the areas that need correction and will submit it here when I am done.</div>
<div><br></div><div>Karl<br><br><div class="gmail_quote">On Mon, Apr 5, 2010 at 10:36 AM, Alex Ionescu <span dir="ltr">&lt;<a href="mailto:alex@opensips.org">alex@opensips.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



  
  

<div bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I think you&#39;ve read an old documentation. This is what you must do :<br>
<br>
* For the admin tool you must add a table.
<p class="MsoNormal"> </p>
<p class="MsoNormal">    Follow these steps:</p>
<p class="MsoNormal">            </p>
<p class="MsoNormal">            1. install the ocp_admin_privileges
table schema
ocp_admin_privileges.mysql/ocp_admin_privileges.pgsql</p>
<p class="MsoNormal">           
(config/tools/admin/add_admin/ocp_admin_privileges.mysql)</p>
<p class="MsoNormal">        mysql -Dopensips -p &lt;
ocp_admin_privileges.mysql</p>
<p class="MsoNormal">                or</p>
<p class="MsoNormal">        psql -h host_name -U postgres_username -d
opensips
&lt; ocp_admin_privileges.pgsql</p>
<p class="MsoNormal">            </p>
<p class="MsoNormal">            2. For being able to login create an
admin
account with the following username and password: admin/admin. Add it
into the
database:</p>
<p class="MsoNormal">            INSERT INTO ocp_admin_privileges
(username,password,ha1,available_tools,permissions) values
(&#39;admin&#39;,&#39;admin&#39;,md5(&#39;admin:admin&#39;),&#39;all&#39;,&#39;all&#39;);                 </p>
<br>
This is from <a href="http://opensips-cp.sourceforge.net" target="_blank">http://opensips-cp.sourceforge.net</a> (see Documentation
-&gt; Install Guide)<br>
<br>
Regards,<br>
Alex<div><div></div><div class="h5"><br>
On 4/5/2010 16:30, Andy Thomas wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">
  
  
  

  <div>
  <p class="MsoNormal"> </p>
  <p class="MsoNormal">Im trying to install opensips-cp 4 according to
the install
document.</p>
  <p class="MsoNormal"> </p>
  <p class="MsoNormal">Everything is fine until I reach this point-</p>
  <p class="MsoNormal"> </p>
  <p class="MsoNormal"> </p>
  <p class="MsoNormal">  * For the add_user module : you must add one
table to
the OpenSIPS database .</p>
  <p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Follow
these
steps:</span></p>
  <p style="margin-left:42pt"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"><span>1.<span style="font-family:&quot;Times New Roman&quot;;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-size-adjust:none;font-stretch:normal">     
  </span></span></span><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">Install
the
table.mysql or table.pgsql.</span></p>
  <p class="MsoNormal" style="margin-left:24pt"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">You
will find them them :</span></p>
  <p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">        
opensips-cp/config/tools/admin/add_admin/table.mysql</span></p>
  <p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">               
or</span></p>
  <p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">       
opensips-cp/config/tools/admin/add_admin/table.pgsql</span></p>
  <p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">       
This
is where the admins are being stored data.</span></p>
  <p class="MsoNormal"> </p>
  <p class="MsoNormal">I have looked everywhere for the file,</p>
  <p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">opensips-cp/config/tools/admin/add_admin/table.mysql 
doesn’t
exist in the tarball!</span></p>
  <p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></p>
  <p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></p>
  <p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;"> </span></p>
  <p class="MsoNormal">Regards</p>
  <p class="MsoNormal">Andy T</p>
  </div>
  </div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
  </pre>
</blockquote>
<br><font color="#888888">
<br>
<pre cols="72">-- 
Alex Ionescu
<a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a> </pre>
</font></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">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></div><br><br clear="all"><br>-- <br>Karl Harris<br><br>
</div>