<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
I think you'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 <
ocp_admin_privileges.mysql</p>
<p class="MsoNormal"> or</p>
<p class="MsoNormal"> psql -h host_name -U postgres_username -d
opensips
< 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
('admin','admin',md5('admin:admin'),'all','all'); </p>
<br>
This is from <a class="moz-txt-link-freetext" href="http://opensips-cp.sourceforge.net">http://opensips-cp.sourceforge.net</a> (see Documentation
-> Install Guide)<br>
<br>
Regards,<br>
Alex<br>
On 4/5/2010 16:30, Andy Thomas wrote:
<blockquote cite="mid:000001cad4c4$29313650$7b93a2f0$@co.uk" type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1007097062;
        mso-list-type:hybrid;
        mso-list-template-ids:2065364068 -1384854430 134807577 134807579 134807567 134807577 134807579 134807567 134807577 134807579;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:42.0pt;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level4
        {mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level7
        {mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</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]-->
<div class="Section1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Im trying to install opensips-cp 4 according to
the install
document.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Everything is fine until I reach this point-<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> * For the add_user module : you must add one
table to
the OpenSIPS database .<o:p></o:p></p>
<p class="MsoNormal" style=""><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">Follow
these
steps:<o:p></o:p></span></p>
<p class="MsoListParagraph"
style="margin-left: 42pt; text-indent: -18pt;"><!--[if !supportLists]--><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><span
style="">1.<span
style="font-family: "Times New Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;">
</span></span></span><!--[endif]--><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">Install
the
table.mysql or table.pgsql.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 24pt;"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">You
will find them them :<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">
opensips-cp/config/tools/admin/add_admin/table.mysql<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">
or<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">
opensips-cp/config/tools/admin/add_admin/table.pgsql<o:p></o:p></span></p>
<p class="MsoNormal" style=""><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">
This
is where the admins are being stored data.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have looked everywhere for the file,<o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">opensips-cp/config/tools/admin/add_admin/table.mysql
doesn’t
exist in the tarball!<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";"><o:p> </o:p></span></p>
<p class="MsoNormal">Regards<o:p></o:p></p>
<p class="MsoNormal">Andy T<o:p></o:p></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Alex Ionescu
<a class="moz-txt-link-abbreviated" href="http://www.voice-system.ro">www.voice-system.ro</a> </pre>
</body>
</html>