[OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0

Do Nguyen Ha haloha201 at yahoo.com
Fri Mar 12 11:41:46 CET 2010


HI Alex

i have the same issue : Invalid Username / Password
do i miss something to do

Please help

Thank you
Ha`

and the step i did:
   step 1.  apt-get install apache2 php5
   step 2.  apt-get install php5-mysql php5-xmlrpc php-pear
   step 3.  pear install MDB2
   step 4.  pear install MDB2#mysql
   step 5.  pear install log
   step 6.    vi /etc/apache2/httpd.conf - add Alias /cp "/var/www/opensips-cp/web"
   step 7.    vi /etc/apache2/apache2.conf - add Alias /cp "/var/www/opensips-cp/web"
   step 8.  chown www-data:www-data opensips-cp -R
   step 9.    vi /etc/php5/apache2/php.ini - insert extension=mysql.so + extension=xmlrpc.so
   step 10. mysql -Dopensips -p < ocp_admin_privileges.mysql
   step 11. INSERT INTO ocp_admin_privileges (username,password,ha1,available_tools,permissions) values ('admin','admin','admin:admin','all','all');


--- On Thu, 3/11/10, Alex Ionescu <alex at opensips.org> wrote:

From: Alex Ionescu <alex at opensips.org>
Subject: Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0
To: "OpenSIPS users mailling list" <users at lists.opensips.org>
Date: Thursday, March 11, 2010, 5:15 AM





  
Hi,



Did you add the first admin account using the query provided in the
INSTALL file ?

Because if you did it should have worked without changing the value of $config->admin_passwd_mode
from 1 to 0.



Regards,



Alex Ionescu



On 3/11/2010 13:51, TCB wrote:
Hi, 

  

Had the same problem, change $config->admin_passwd_mode=1; to
$config->admin_passwd_mode=0;

in opensips-cp/config/globals.php and it worked. I dont know is this is
the right way. 

  

regards

  

  

  On Thu, Mar 11, 2010 at 2:29 AM, <erick at netcrc.net>
wrote:

  
    > I have the following problem

>

> With install OpenSIPS  1.6 and  Control Panel 4.0.

>

> When try the access the Control Panel didn't accept the user o
password

> (Invalid Username / Password)

>

> With the  commands opensips-c, monit-t said  that the
configuration files

> are fine.

>

>  I can register phone.

>

> The question is how do I know the password to the web interface,
try to

> file

> db.inc.php, boxes.global.inc.php, or  if I have to change
something in the

> database

>

> The reference for the installation of the control panel are Book
OpenSIPS

> 1.6 and the link  http://opensips-cp.sourceforge.net/
, but both have

> differences

>

> This is my first time with OpenSIPS

>

> I appreciate the help

>

> Thanks

>

> Erick Ch.

>

    

    

    

    
    
    _______________________________________________

Users mailing list

    Users at lists.opensips.org

    http://lists.opensips.org/cgi-bin/mailman/listinfo/users

    
    
  
  
  

  

  

-- 

TC

  
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
  





-- 
Alex Ionescu
www.voice-system.ro 
 

-----Inline Attachment Follows-----

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100312/3df5b96f/attachment-0001.htm 


More information about the Users mailing list