<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Based on this thread (<a
href="http://www.pear-forum.org/topic1244.html">http://www.pear-forum.org/topic1244.html</a>)
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>, I added the following to  user_management.php <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>                $resultset = $link-&gt;prepare($sql);<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>##added this <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>                if (PEAR::isError($resultset)) {<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>                die($resultset-&gt;getMessage() . ', ' . 
$resultset-&gt;getDebugInfo());<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>}<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>##<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>                $resultset-&gt;execute();<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The error I got after trying to add user was this:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>MDB2 Error: no such field, _doQuery: [Error message: Could not
execute statement] [Last executed query: PREPARE
MDB2_STATEMENT_mysql_81a2b39d1bc2abeacb0359a975958e93 FROM 'INSERT INTO
subscriber (last_name, first_name, username,domain,password,email_address,ha1,ha1b,datetime_created)
VALUES
(\'\',\'\',\'1002\',\'10.32.0.97\',\'1002\',\'cvo@nvidia.com\',\'\',\'\',
NOW())'] [Native code: 1054] [Native message: Unknown column 'last_name' in
'field list']<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>mysql&gt; describe subscriber;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>+---------------+------------------+------+-----+---------+----------------+<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>| Field         | Type             | Null | Key | Default |
Extra          |<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>+---------------+------------------+------+-----+---------+----------------+<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>| id            | int(10) unsigned | NO   | PRI | NULL    |
auto_increment |<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>| username      | char(64)         | NO   | MUL |        
|                |<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>| domain        | char(64)         | NO   |     |        
|                |<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>| password      | char(25)         | NO   |     |        
|                |<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>| email_address | char(64)         | NO   |     |        
|                |<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>| ha1           | char(64)         | NO   |     |         |               
|<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>| ha1b          | char(64)         | NO   |     |        
|                |<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>| rpid          | char(64)         | YES  |     | NULL   
|                |<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>+---------------+------------------+------+-----+---------+----------------+<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>8 rows in set (0.00 sec)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>Not sure where last_name &amp; first_name come in here&#8230;?? <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> users-bounces@lists.opensips.org
[mailto:users-bounces@lists.opensips.org] <b>On Behalf Of </b>TCB<br>
<b>Sent:</b> Sunday, March 21, 2010 9:03 AM<br>
<b>To:</b> OpenSIPS users mailling list<br>
<b>Subject:</b> Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Tried running ocp and i'm
getting this error on adding users. <br>
<br>
Failed to issue query, error message : MDB2 Error: no such field<br>
I'm not getting any useful error to start tracing. <br>
<br>
TC.<o:p></o:p></p>

<div>

<p class=MsoNormal>On Sat, Mar 20, 2010 at 12:10 AM, Christian Vo &lt;<a
href="mailto:cvo@nvidia.com">cvo@nvidia.com</a>&gt; wrote:<o:p></o:p></p>

<p class=MsoNormal>Thanks Anca,<br>
<br>
I think that's fixed the problem with smonitor,<br>
I still can't add users though,<br>
<br>
Fatal error: &nbsp;Call to undefined method MDB2_Error::execute() in
/srv/www/htdocs/opensips-cp/web/tools/users/user_management/user_management.php
on line 223,...<o:p></o:p></p>

<div>

<p class=MsoNormal><br>
-----Original Message-----<br>
From: Anca Vamanu [mailto:<a href="mailto:anca@opensips.org">anca@opensips.org</a>]<br>
Sent: Friday, March 19, 2010 2:41 PM<br>
To: OpenSIPS users mailling list<o:p></o:p></p>

</div>

<div>

<div>

<p class=MsoNormal>Cc: Christian Vo<br>
Subject: Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0<br>
<br>
Forward from Alex:<br>
---<br>
<br>
Hi Christian,<br>
<br>
Please check the following :<br>
In the OpenSIPS config :<br>
- if you have loaded the mi_fifo module;<br>
loadmodule &quot;mi_fifo.so&quot;<br>
- if you have declared the correct fifo parameters (if the fifo file<br>
name is the same as in Control Panel boxes config and if it has right<br>
permissions set);<br>
- if I'm not wrong it should be something like this :<br>
modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;,
&quot;/tmp/opensips_fifo&quot;)<br>
modparam(&quot;mi_fifo&quot;, &quot;fifo_mode&quot;, 0666)<br>
<br>
Leave the db.inc.php commented as it was before and please check the<br>
stuff above and let me know.<br>
<br>
Regards,<br>
Alex<br>
<br>
---<br>
<br>
Christian Vo wrote:<br>
&gt;<br>
&gt; Forgot to add:<br>
&gt;<br>
&gt; I had smonitor's db.inc.php settings uncommented,<br>
&gt;<br>
&gt; Now getting this error instead<br>
&gt;<br>
&gt; [Fri Mar 19 09:59:50 2010] [error] [client 172.18.53.97] PHP Fatal<br>
&gt; error: Call to undefined method MDB2_Error::setFetchMode() in<br>
&gt; /srv/www/htdocs/opensips-cp/web/tools/system/smonitor/lib/db_connect.php<br>
&gt; on line 39, referer: <a href="http://10.32.0.97/cp/menu.php"
target="_blank">http://10.32.0.97/cp/menu.php</a><br>
&gt;<br>
&gt; I'm very sure I installed pear and the related parts as per the<br>
&gt; install guide..<br>
&gt;<br>
&gt; *From:* Christian Vo<br>
&gt; *Sent:* Friday, March 19, 2010 9:57 AM<br>
&gt; *To:* OpenSIPS users mailling list<br>
&gt; *Subject:* RE: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0<br>
&gt;<br>
&gt; Thx Alex,<br>
&gt;<br>
&gt; Confirming that these are my settings:<br>
&gt;<br>
&gt; // each server is a box<br>
&gt;<br>
&gt; $box_id=0;<br>
&gt;<br>
&gt; // mi host:port pair || fifo_file<br>
&gt;<br>
&gt; // $boxes[$box_id]['mi']['conn']=&quot;<a href="http://127.0.0.1:8080"
target="_blank">127.0.0.1:8080</a>&quot;;<br>
&gt;<br>
&gt; $boxes[$box_id]['mi']['conn']=&quot;/tmp/opensips_fifo&quot;;<br>
&gt;<br>
&gt; // monit host:port<br>
&gt;<br>
&gt; $boxes[$box_id]['monit']['conn']=&quot;<a href="http://127.0.0.1:2812"
target="_blank">127.0.0.1:2812</a>&quot;;<br>
&gt;<br>
&gt; $boxes[$box_id]['monit']['user']=&quot;admin&quot;;<br>
&gt;<br>
&gt; $boxes[$box_id]['monit']['pass']=&quot;monit&quot;;<br>
&gt;<br>
&gt; $boxes[$box_id]['monit']['has_ssl']=0;<br>
&gt;<br>
&gt; // description (appears in mi , monit )<br>
&gt;<br>
&gt; $boxes[$box_id]['desc']=&quot;SIP server&quot;;<br>
&gt;<br>
&gt; At this point, Monit seems to be working, but Statistics Monitor<br>
&gt; complains<br>
&gt;<br>
&gt; &quot;Cannot connect to OpenSIPS Server via Management Interface<br>
&gt; (<a href="http://127.0.0.1/8080" target="_blank">127.0.0.1/8080</a>)<br>
&gt;<br>
&gt; &quot;<br>
&gt;<br>
&gt; *From:* <a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a><br>
&gt; [mailto:<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>]
*On Behalf Of *Alex Ionescu<br>
&gt; *Sent:* Friday, March 19, 2010 1:42 AM<br>
&gt; *To:* OpenSIPS users mailling list<br>
&gt; *Subject:* Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0<br>
&gt;<br>
&gt; Hi Christian,<br>
&gt;<br>
&gt; Your boxes config must look like this :<br>
&gt;<br>
&gt; $box_id=0;<br>
&gt; // mi host:port pair || fifo_file<br>
&gt; //$boxes[$box_id]['mi']['conn']=&quot;<a href="http://127.0.0.1:8080"
target="_blank">127.0.0.1:8080</a>&quot;;<br>
&gt; //i guess you are using fifo, not xmlrpc so :<br>
&gt; $boxes[$box_id]['mi']['conn']=&quot;/tmp/opensips_proxy_fifo&quot;;<br>
&gt;<br>
&gt; // monit host:port =&gt; this is for monit to work ok<br>
&gt; $boxes[$box_id]['monit']['conn']=&quot;<a href="http://127.0.0.1:2812"
target="_blank">127.0.0.1:2812</a>&quot;;<br>
&gt; //you must take the username and password from the monit config file<br>
&gt; (monitrc).<br>
&gt; $boxes[$box_id]['monit']['user']=&quot;username&quot;;<br>
&gt; $boxes[$box_id]['monit']['pass']=&quot;password&quot;;<br>
&gt; // if you want to enable ssl<br>
&gt; $boxes[$box_id]['monit']['has_ssl']=1;<br>
&gt;<br>
&gt; Please re-check your config and let me know if it works now.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Alex<br>
&gt;<br>
&gt; On 3/19/2010 01:42, Christian Vo wrote:<br>
&gt;<br>
&gt; New problem:<br>
&gt;<br>
&gt; So under opensips-cp/config/boxes.global.inc.php<br>
&gt;<br>
&gt; I changed the following:<br>
&gt;<br>
&gt; $boxes[$box_id]['mi']['conn']=&quot;<a href="http://127.0.0.1:8080"
target="_blank">127.0.0.1:8080</a>&quot;;<br>
&gt;<br>
&gt; (previously was $boxes[$box_id]['mi']['conn']=&quot;/tmp/opensips_fifo&quot;;&quot;<br>
&gt;<br>
&gt; This seemed to resolve my issue with Systemā Monit<br>
&gt;<br>
&gt; However,<br>
&gt;<br>
&gt; System ā Statistics Monitor , Systemā SIP Trace , System ā MI<br>
&gt; Commands, and System ā Dispatcher all complain with the following<br>
&gt; on-screen message<br>
&gt;<br>
&gt; &quot;Cannot connect to OpenSIPS Server via Management Interface<br>
&gt; (<a href="http://127.0.0.1/8080" target="_blank">127.0.0.1/8080</a>)&quot;<br>
&gt;<br>
&gt; So I changed it back to<br>
&gt;<br>
&gt; $boxes[$box_id]['mi']['conn']=&quot;/tmp/opensips_fifo&quot;;<br>
&gt;<br>
&gt; But then<br>
&gt;<br>
&gt; I notice tools/monit/local.inc.php still doesn't contain any code..??<br>
&gt;<br>
&gt; *From:* <a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a><br>
&gt; &lt;mailto:<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>&gt;<br>
&gt; [mailto:<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>]
*On Behalf Of *Christian Vo<br>
&gt; *Sent:* Thursday, March 18, 2010 10:21 AM<br>
&gt; *To:* OpenSIPS users mailling list<br>
&gt; *Subject:* Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0<br>
&gt;<br>
&gt; Thx for the notice, I've just downloaded and re-installed the lastest<br>
&gt; 4.0 tarball.. (moved the old dir to backup, and replaced it with the<br>
&gt; new, re-adjusting config parameters along the way.)<br>
&gt;<br>
&gt; Not sure if I missed something, but I'm getting this error on-screen now:<br>
&gt;<br>
&gt; Under the Systemā Monit tab<br>
&gt;<br>
&gt; I see &quot;Primary Sip Server&quot; <a href="http://192.168.0.1:2812"
target="_blank">192.168.0.1:2812</a><br>
&gt;<br>
&gt; Followed by &quot;I can't Connect&quot;<br>
&gt;<br>
&gt; Something is wrong here, since I adjusted config/boxes.global.inc.php<br>
&gt; so that my only entry (Primary SIP Server) would be using<br>
&gt; <a href="http://127.0.0.1:2812" target="_blank">127.0.0.1:2812</a> for
monit<br>
&gt;<br>
&gt; And I don't know where else I'd find any entry for 192.168.0.1 related<br>
&gt; to this..<br>
&gt;<br>
&gt; This part was working for me back when I had the previous 4.0 tarball. odd<br>
&gt;<br>
&gt; *From:* <a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a><br>
&gt; &lt;mailto:<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>&gt;<br>
&gt; [mailto:<a href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>]
*On Behalf Of *Alex Ionescu<br>
&gt; *Sent:* Thursday, March 18, 2010 4:46 AM<br>
&gt; *To:* OpenSIPS users mailling list<br>
&gt; *Subject:* Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Actually there were a few issues that were found and solved the last<br>
&gt; few days. I hope you won't have anymore problems if you download the<br>
&gt; new 4.0 tarball.<br>
&gt;<br>
&gt; So, give it a try and let me know.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Alex<br>
&gt;<br>
&gt; On 3/18/2010 13:35, ha do wrote:<br>
&gt;<br>
&gt; HI Alex<br>
&gt;<br>
&gt; did you find new issue on opensips cp<br>
&gt;<br>
&gt; Thank you<br>
&gt;<br>
&gt; Ha`<br>
&gt;<br>
&gt; --- On *Sat, 3/13/10, Alex Ionescu /&lt;<a href="mailto:alex@opensips.org">alex@opensips.org</a>&gt;<br>
&gt; &lt;mailto:<a href="mailto:alex@opensips.org">alex@opensips.org</a>&gt;/*
wrote:<br>
&gt;<br>
&gt;<br>
&gt; From: Alex Ionescu &lt;<a href="mailto:alex@opensips.org">alex@opensips.org</a>&gt;
&lt;mailto:<a href="mailto:alex@opensips.org">alex@opensips.org</a>&gt;<br>
&gt; Subject: Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0<br>
&gt; To: &quot;OpenSIPS users mailling list&quot; &lt;<a
href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>&gt;<br>
&gt; &lt;mailto:<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>&gt;<br>
&gt; Date: Saturday, March 13, 2010, 9:21 AM<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I will investigate the problem and will let you know if I find any issue.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Alex<br>
&gt;<br>
&gt; On 3/13/2010 06:39, Do Nguyen Ha wrote:<br>
&gt;<br>
&gt;<br>
&gt; Hi Alex<br>
&gt;<br>
&gt; here is mysql query:<br>
&gt; mysql&gt; select * from ocp_admin_privileges\G;<br>
&gt; *************************** 1. row ***************************<br>
&gt; id: 58<br>
&gt; first_name:<br>
&gt; last_name:<br>
&gt; username: admin<br>
&gt; password: admin<br>
&gt; ha1: d2abaa37a7c3db1137d385e1d8c15fd2<br>
&gt; available_tools: all<br>
&gt; permissions: all<br>
&gt;<br>
&gt; so i am still getting the invalid username on opensips-cp version 4<br>
&gt; the i remove the folder opensips-cp version 4 and replace with<br>
&gt; opensips-cp version 3 and now it works without problem with<br>
&gt; opensips-cp version 3<br>
&gt;<br>
&gt; i dont change anything and step i do :<br>
&gt; step 1. cd /var/www<br>
&gt; step 2. delete folder opensips-cp<br>
&gt; step 3. download the opensips-cp_3.0.tar.gz<br>
&gt; step 4. untar the file opensips-cp_3.0<br>
&gt; step 5. chown www-data:www-data opensips-cp -R<br>
&gt;<br>
&gt; Thank you for your help<br>
&gt; Ha<br>
&gt;<br>
&gt; --- On *Fri, 3/12/10, Alex Ionescu /&lt;<a href="mailto:alex@opensips.org">alex@opensips.org</a>&gt;<br>
&gt; &lt;/mc/compose?to=<a href="mailto:alex@opensips.org">alex@opensips.org</a>&gt;/*
wrote:<br>
&gt;<br>
&gt;<br>
&gt; From: Alex Ionescu &lt;<a href="mailto:alex@opensips.org">alex@opensips.org</a>&gt;
&lt;/mc/compose?to=<a href="mailto:alex@opensips.org">alex@opensips.org</a>&gt;<br>
&gt; Subject: Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0<br>
&gt; To: &quot;OpenSIPS users mailling list&quot; &lt;<a
href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>&gt;<br>
&gt; &lt;/mc/compose?to=<a href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>&gt;<br>
&gt; Date: Friday, March 12, 2010, 9:02 AM<br>
&gt;<br>
&gt; Sorry,<br>
&gt;<br>
&gt; My mistake ... the MD5 should be applied on the value not on the field<br>
&gt; name ... So, it is :<br>
&gt;<br>
&gt; INSERT INTO ocp_admin_privileges<br>
&gt; (username,password,ha1,available_tools,permissions) values<br>
&gt; ('admin','admin',md5('admin:admin'),'all','all');<br>
&gt;<br>
&gt; On 3/12/2010 13:06, Alex Ionescu wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; The problem seems to be your &quot;step 11&quot; :<br>
&gt;<br>
&gt; step 11. INSERT INTO ocp_admin_privileges<br>
&gt; (username,password,ha1,available_tools,permissions) values<br>
&gt; ('admin','admin','admin:admin','all','all');<br>
&gt;<br>
&gt; You must encode the *ha1* field. So, I believe that the correct query<br>
&gt; would be :<br>
&gt;<br>
&gt; INSERT INTO ocp_admin_privileges<br>
&gt; (username,password,md5(ha1),available_tools,permissions) values<br>
&gt; ('admin','admin','admin:admin','all','all');<br>
&gt;<br>
&gt; Anyway, you can always check the INSTALL file (I think the query is<br>
&gt; located on line 102 or 103).<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Alex<br>
&gt;<br>
&gt; On 3/12/2010 12:41, Do Nguyen Ha wrote:<br>
&gt;<br>
&gt; step 11. INSERT INTO ocp_admin_privileges<br>
&gt; (username,password,ha1,available_tools,permissions) values<br>
&gt; ('admin','admin','admin:admin','all','all');<br>
&gt;<br>
&gt; --<br>
&gt; Alex Ionescu<br>
&gt; <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a>
&lt;<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
&lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Alex Ionescu<br>
&gt; <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a>
&lt;<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt; -----Inline Attachment Follows-----<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
&lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
&lt;/mc/compose?to=<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Alex Ionescu<br>
&gt; <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a>
&lt;<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt; -----Inline Attachment Follows-----<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
&lt;/mc/compose?to=<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.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@lists.opensips.org">Users@lists.opensips.org</a>
&lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Alex Ionescu<br>
&gt; <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a>
&lt;<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; This email message is for the sole use of the intended recipient(s)<br>
&gt; and may contain confidential information. Any unauthorized review,<br>
&gt; use, disclosure or distribution is prohibited. If you are not the<br>
&gt; intended recipient, please contact the sender by reply email and<br>
&gt; destroy all copies of the original message.<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
&lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Alex Ionescu<br>
&gt; <a href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a>
&lt;<a href="http://www.voice-system.ro" target="_blank">http://www.voice-system.ro</a>&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;<br>
<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><o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal><br>
<br clear=all>
<br>
-- <br>
TC<o:p></o:p></p>

</div>

</body>

</html>