[Spce-user] Reset to default with ngcp-reset-db
aruizmorillas
aruizmorillas at gmail.com
Tue Feb 4 02:50:13 EST 2014
Good morning,
I am trying to reset all SPCE config's with ngcp-reset-db. I changed the
root password for mysql and now to execute ngcp-reset-db I change it
again to blank password.
All task seems ok, but when I loggin on ngcp-panel all settings are
there: domains, subscribers, customers, cdr, etc...
I am using 3.1 SPCE.
What happen ?
greetings
root at sipwise-64:~# ngcp-reset-db
This will wipe out all existing data. Are you sure (y/n)? yCE system
detected, setting static configuration for MySQL innodb_pool_size:
64M
OK
[ ok ] Stopping MySQL database server: mysqld.
[ ok ] Starting MySQL database server: mysqld ..
[info] Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
[ ok ] Starting MySQL database server: mysqld already running.
Running in automated installation mode, ignoring check for empty db_schema.
Synchronizing passwords with MySQL
Generating /etc/apache2/conf.d/ngcp-handbook: OK
Generating /etc/apache2/ports.conf: OK
Generating /etc/apache2/sites-available/ngcp-ossbss: OK
Generating /etc/apt/apt.conf.d/71_no_recommended: OK
Generating /etc/asterisk/asterisk.conf: OK
Generating /etc/asterisk/extconfig.conf: OK
Generating /etc/asterisk/extensions.conf: OK
Generating /etc/asterisk/func_odbc.conf: OK
Generating /etc/asterisk/iax.conf: OK
Generating /etc/asterisk/logger.conf: OK
Generating /etc/asterisk/modules.conf: OK
Generating /etc/asterisk/res_odbc.conf: OK
Generating /etc/asterisk/rtp.conf: OK
Generating /etc/asterisk/sip.conf: OK
Generating /etc/asterisk/voicemail.conf: OK
Generating /etc/collectd/collectd.conf: OK
Generating /etc/cron.d/ngcp-cdr-exporter: OK
Generating /etc/cron.d/ngcp-credit-warning: OK
Generating /etc/cron.d/ngcp-fraud-auto-lock: OK
Generating /etc/cron.d/ngcp-fraud-daily-lock: OK
Generating /etc/cron.d/reminder: OK
Generating /etc/crontab: OK
Generating /etc/default/kamailio.lb: OK
Generating /etc/default/kamailio.proxy: OK
Generating /etc/default/kamailio: OK
Generating /etc/default/mediator: OK
Generating /etc/default/ngcp-mediaproxy-ng-daemon: OK
Generating /etc/default/ngcp-panel: OK
Generating /etc/default/ngcp-rate-o-mat: OK
Generating /etc/default/ngcp-roles: OK
Generating /etc/default/ngcp-www-csc: OK
Generating /etc/default/sems: OK
Generating /etc/init.d/apache2: OK
Executing postbuild for /etc/init.d/apache2
Generating /etc/init.d/collectd: OK
Executing postbuild for /etc/init.d/collectd
Generating /etc/init.d/cron: OK
Executing postbuild for /etc/init.d/cron
Generating /etc/init.d/kamailio-lb: OK
Executing postbuild for /etc/init.d/kamailio-lb
Generating /etc/init.d/kamailio-proxy: OK
Executing postbuild for /etc/init.d/kamailio-proxy
Generating /etc/init.d/mediator: OK
Executing postbuild for /etc/init.d/mediator
Generating /etc/init.d/ngcp-mediaproxy-ng-daemon: OK
Executing postbuild for /etc/init.d/ngcp-mediaproxy-ng-daemon
Generating /etc/init.d/ngcp-panel: OK
Executing postbuild for /etc/init.d/ngcp-panel
Generating /etc/init.d/ngcp-rate-o-mat: OK
Executing postbuild for /etc/init.d/ngcp-rate-o-mat
Generating /etc/init.d/ngcp-www-csc: OK
Executing postbuild for /etc/init.d/ngcp-www-csc
Generating /etc/init.d/nginx: OK
Executing postbuild for /etc/init.d/nginx
Generating /etc/init.d/prosody: OK
Executing postbuild for /etc/init.d/prosody
Generating /etc/init.d/sems: OK
Executing postbuild for /etc/init.d/sems
Generating /etc/kamailio/lb/db/dispatcher: OK
Generating /etc/kamailio/lb/db/version: OK
Generating /etc/kamailio/lb/kamailio.cfg: OK
Generating /etc/kamailio/lb/kamctlrc: OK
Generating /etc/kamailio/lb/xmlrpc.cfg: OK
Generating /etc/kamailio/proxy/impresence.cfg: OK
Generating /etc/kamailio/proxy/kamailio.cfg: OK
Generating /etc/kamailio/proxy/kamctlrc: OK
Generating /etc/kamailio/proxy/prefs.lua: OK
Generating /etc/kamailio/proxy/proxy.cfg: OK
Generating /etc/kamailio/proxy/registrar.cfg: OK
Generating /etc/kamailio/proxy/xmlrpc.cfg: OK
Generating /etc/logrotate.d/ngcp: OK
Generating /etc/mysql/my.cnf: OK
Generating /etc/ngcp-cdr-exporter/cdr-exporter.conf: OK
Generating /etc/ngcp-check-tools/check-tools.conf: OK
Generating /etc/ngcp-check-tools/collectd-ngcp.conf: OK
Generating /etc/ngcp-cleanup-tools/acc-cleanup.conf: OK
Generating /etc/ngcp-ossbss/logging.conf: OK
Executing postbuild for /etc/ngcp-ossbss/logging.conf
Generating /etc/ngcp-ossbss/mysql_values.cfg: OK
Generating /etc/ngcp-ossbss/provisioning.conf: OK
Executing postbuild for /etc/ngcp-ossbss/provisioning.conf
Generating /etc/ngcp-ossbss/provisioning.htpasswd: OK
Generating /etc/ngcp-panel/ngcp_panel.conf: OK
Generating /etc/ngcp-reminder/reminder.conf: OK
Generating /etc/ngcp-vmnotify/mwi.sip: OK
Generating /etc/ngcp-vmnotify/vmnotify.conf: OK
Generating /etc/ngcp-www-csc/csc.conf: OK
Generating /etc/nginx/fastcgi_params: OK
Generating /etc/nginx/mime.types: OK
Generating /etc/nginx/nginx.conf: OK
Generating /etc/nginx/sites-available/kamailio-presence: OK
Executing postbuild for /etc/nginx/sites-available/kamailio-presence
Generating /etc/nginx/sites-available/ngcp-panel: OK
Generating /etc/nginx/sites-available/ngcp-www-csc: OK
Generating /etc/nginx/sites-available/nginx-status: OK
Generating /etc/ntp.conf: OK
Generating /etc/odbc.ini: OK
Generating /etc/odbcinst.ini: OK
Generating /etc/prosody/prosody.cfg.lua: OK
Generating /etc/rsyslog.conf: OK
Generating /etc/sems/dsm/early_dbprompt.conf: OK
Generating /etc/sems/dsm/early_dbprompt.dsm: OK
Generating /etc/sems/etc/click2dial.conf: OK
Generating /etc/sems/etc/conference.conf: OK
Generating /etc/sems/etc/db_reg_agent.conf: OK
Generating /etc/sems/etc/di_dial.conf: OK
Generating /etc/sems/etc/dsm.conf: OK
Generating /etc/sems/etc/ngcp.sbcprofile.conf: OK
Generating /etc/sems/etc/ngcp_cf.sbcprofile.conf: OK
Generating /etc/sems/etc/reg_agent.conf: OK
Generating /etc/sems/etc/sbc.conf: OK
Generating /etc/sems/etc/stats.conf: OK
Generating /etc/sems/etc/sw_vsc.conf: OK
Generating /etc/sems/etc/xmlrpc2di.conf: OK
Generating /etc/sems/sems.conf: OK
Executing action for /etc/ngcp-config/templates/etc/mysql/ngcpcfg.services
[ ok ] Stopping MySQL database server: mysqld.
[ ok ] Starting MySQL database server: mysqld . ..
[info] Checking for tables which need an upgrade, are corrupt or were
not closed cleanly..
OK: nothing to commit.
Synchronizing data from /etc/ngcp-config/constants.yml
Checking state of /etc files
OK: nothing to commit.
mysql ... OK
rsyslog ... OK
asterisk ... OK
mediator ... OK
sems ... OK
ngcp-mediaproxy-ng-daemon ... OK
nginx ... OK
apache2 ... OK
ngcp-rate-o-mat ... OK
collectd ... OK
kamailio-proxy ... OK
kamailio-lb ... OK
ngcp-panel ... OK
ngcp-www-csc ... OK
prosody ... OK
root at sipwise-64:~# reboot
More information about the Spce-user
mailing list