<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>HI Alex<br><br>i have the same issue : Invalid Username / Password<br>do i miss something to do<br><br>Please help<br><br>Thank you<br>Ha`<br><br>and the step i did:<br>&nbsp;&nbsp; step 1.&nbsp; apt-get install apache2 php5<br>&nbsp;&nbsp; step 2.&nbsp; apt-get install php5-mysql php5-xmlrpc php-pear<br>&nbsp;&nbsp; step 3.&nbsp; pear install MDB2<br>&nbsp;&nbsp; step 4.&nbsp; pear install MDB2#mysql<br>&nbsp;&nbsp; step 5.&nbsp; pear install log<br>&nbsp;&nbsp; step 6.&nbsp;&nbsp;&nbsp; vi /etc/apache2/httpd.conf - add Alias /cp "/var/www/opensips-cp/web"<br>&nbsp;&nbsp; step 7.&nbsp;&nbsp;&nbsp; vi /etc/apache2/apache2.conf - add Alias /cp "/var/www/opensips-cp/web"<br>&nbsp;&nbsp; step 8.&nbsp; chown www-data:www-data opensips-cp -R<br>&nbsp;&nbsp; step 9.&nbsp;&nbsp;&nbsp; vi /etc/php5/apache2/php.ini - insert extension=mysql.so +
 extension=xmlrpc.so<br>&nbsp;&nbsp; step 10. mysql -Dopensips -p &lt; ocp_admin_privileges.mysql<br>&nbsp;&nbsp; step 11. INSERT INTO ocp_admin_privileges (username,password,ha1,available_tools,permissions) values ('admin','admin','admin:admin','all','all');<br><br><br>--- On <b>Thu, 3/11/10, Alex Ionescu <i>&lt;alex@opensips.org&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Alex Ionescu &lt;alex@opensips.org&gt;<br>Subject: Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0<br>To: "OpenSIPS users mailling list" &lt;users@lists.opensips.org&gt;<br>Date: Thursday, March 11, 2010, 5:15 AM<br><br><div id="yiv1158929012">



  
Hi,<br>
<br>
Did you add the first admin account using the query provided in the
INSTALL file ?<br>
Because if you did it should have worked without changing the value of <b>$config-&gt;admin_passwd_mode</b>
from 1 to 0.<br>
<br>
Regards,<br>
<br>
Alex Ionescu<br>
<br>
On 3/11/2010 13:51, TCB wrote:
<blockquote type="cite">Hi, <br>
  <br>
Had the same problem, change $config-&gt;admin_passwd_mode=1; to
$config-&gt;admin_passwd_mode=0;<br>
in opensips-cp/config/globals.php and it worked. I dont know is this is
the right way. <br>
  <br>
regards<br>
  <br>
  <br>
  <div class="gmail_quote">On Thu, Mar 11, 2010 at 2:29 AM, <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:erick@netcrc.net" target="_blank" href="/mc/compose?to=erick@netcrc.net">erick@netcrc.net</a>&gt;</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;">
    <div class="im">&gt; I have the following problem<br>
&gt;<br>
&gt; With install OpenSIPS &nbsp;1.6 and &nbsp;Control Panel 4.0.<br>
&gt;<br>
&gt; When try the access the Control Panel didn't accept the user o
password<br>
&gt; (Invalid Username / Password)<br>
&gt;<br>
&gt; With the &nbsp;commands opensips-c, monit-t said &nbsp;that the
configuration files<br>
&gt; are fine.<br>
&gt;<br>
&gt; &nbsp;I can register phone.<br>
&gt;<br>
&gt; The question is how do I know the password to the web interface,
try to<br>
&gt; file<br>
&gt; db.inc.php, boxes.global.inc.php, or &nbsp;if I have to change
something in the<br>
&gt; database<br>
&gt;<br>
&gt; The reference for the installation of the control panel are Book
OpenSIPS<br>
&gt; 1.6 and the link &nbsp;<a rel="nofollow" target="_blank" href="http://opensips-cp.sourceforge.net/">http://opensips-cp.sourceforge.net/</a>
, but both have<br>
&gt; differences<br>
&gt;<br>
&gt; This is my first time with OpenSIPS<br>
&gt;<br>
&gt; I appreciate the help<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Erick Ch.<br>
&gt;<br>
    <br>
    <br>
    <br>
    </div>
    <div>
    <div class="h5">_______________________________________________<br>
Users mailing list<br>
    <a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a><br>
    <a rel="nofollow" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
TC<br>
  <pre><fieldset class="mimeAttachmentHeader"></fieldset><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" class="moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="/mc/compose?to=Users@lists.opensips.org">Users@lists.opensips.org</a><br><a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature">-- <br>Alex Ionescu<br><a rel="nofollow" class="moz-txt-link-abbreviated" target="_blank" href="http://www.voice-system.ro">www.voice-system.ro</a> </pre>
 
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="/mc/compose?to=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></div></blockquote></td></tr></table><br>