[OpenSIPS-Users] Opensips-cp 4.0

Alex Ionescu alex at opensips.org
Mon Apr 5 16:36:36 CEST 2010


Hi,

I think you've read an old documentation. This is what you must do :

* For the admin tool you must add a table.

     Follow these steps:

             1. install the ocp_admin_privileges table schema 
ocp_admin_privileges.mysql/ocp_admin_privileges.pgsql

             (config/tools/admin/add_admin/ocp_admin_privileges.mysql)

         mysql -Dopensips -p < ocp_admin_privileges.mysql

                 or

         psql -h host_name -U postgres_username -d opensips < 
ocp_admin_privileges.pgsql

             2. For being able to login create an admin account with the 
following username and password: admin/admin. Add it into the database:

             INSERT INTO ocp_admin_privileges 
(username,password,ha1,available_tools,permissions) values 
('admin','admin',md5('admin:admin'),'all','all');


This is from http://opensips-cp.sourceforge.net (see Documentation -> 
Install Guide)

Regards,
Alex
On 4/5/2010 16:30, Andy Thomas wrote:
>
> Im trying to install opensips-cp 4 according to the install document.
>
> Everything is fine until I reach this point-
>
>   * For the add_user module : you must add one table to the OpenSIPS 
> database .
>
> Follow these steps:
>
> 1. Install the table.mysql or table.pgsql.
>
> You will find them them :
>
>          opensips-cp/config/tools/admin/add_admin/table.mysql
>
>                 or
>
>         opensips-cp/config/tools/admin/add_admin/table.pgsql
>
>         This is where the admins are being stored data.
>
> I have looked everywhere for the file,
>
> opensips-cp/config/tools/admin/add_admin/table.mysql  doesn't exist in 
> the tarball!
>
> Regards
>
> Andy T
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>    


-- 
Alex Ionescu
www.voice-system.ro

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100405/7ff510d1/attachment.htm 


More information about the Users mailing list