Ok, I've found the issue ... <br>Is not sufficient to restore database  ... you must restore all password as specified  into constants.yml file !<br><br>Sipwise Team ... please make us a little perl script to reset DB and password !<br>
<br>Thank you<br><br><div class="gmail_quote">2011/8/11 Sébastien Cramatte <span dir="ltr"><<a href="mailto:scramatte@gmail.com" target="_blank">scramatte@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


I got this message in  oss.log<br><br>Aug 11 11:09:02 sip3 /usr/sbin/apache2: ***Root::auto front page or login access granted.<br>Aug 11 11:09:02 sip3 /usr/sbin/apache2: ***login::index called<br>Aug 11 11:09:02 sip3 /usr/sbin/apache2: ***Provisioning::login called, authenticating...<br>



Aug 11 11:09:02 sip3 /usr/sbin/apache2: ***Provisioning::_get_admin failed to get admin 'administrator' from DB: Could not connect to database 'DBI:mysql:database=billing;host=localhost;port=3306'#012.<div>


<div></div><div><br>
<br><br><div class="gmail_quote">2011/8/11 Sébastien Cramatte <span dir="ltr"><<a href="mailto:scramatte@gmail.com" target="_blank">scramatte@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



After database reset, I'm unable to log into admin panel. Seems that user doesn't exists ....<br><br><br><div class="gmail_quote"><div><div></div><div>2011/8/10 Jon Bonilla <span dir="ltr"><<a href="mailto:jbonilla@sipwise.com" target="_blank">jbonilla@sipwise.com</a>></span><br>




</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>El Wed, 10 Aug 2011 00:32:40 +0200<br>
Daniel Tiefnig <<a href="mailto:dtiefnig@sipwise.com" target="_blank">dtiefnig@sipwise.com</a>> escribió:<br>
<div><br>
> On 08/09/2011 12:10 PM, Michael Schoepfer wrote:<br>
> > Hi,<br>
><br>
> Hi,<br>
><br>
> > is there a way to reset the database to its original state?<br>
><br>
> There are the create scripts in /usr/share/doc/ngcp-ossbss/ which you<br>
> could use to recreate the databases. They will drop all existing data.<br>
><br>
> br,<br>
> daniel<br>
><br>
<br>
</div>The order to run the scripts is:<br>
<br>
mysql  < create_bss.mysql<br>
mysql  < create_oss.mysql<br>
mysql  < create_kamailio_301.mysql<br>
mysql  < create_oss_triggers_kamailio.mysql<br>
mysql  < create_accounting.mysql<br>
mysql  < create_syslog.mysql<br>
mysql  < create_no_replicates.mysql<br>
mysql  < private_grants_dbs.mysql<br>
mysql  < private_grants_proxies_kamailio.mysql<br>
<br>
<br></div></div><div>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="http://lists.sipwise.com/listinfo/spce-user" target="_blank">http://lists.sipwise.com/listinfo/spce-user</a><br>
<br></div></blockquote></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br>