[Spce-user] Duplicating Sipwise question
Kevin Masse
kmasse at questblue.com
Wed May 29 16:33:57 EDT 2013
Hello Andreas, this time I copied everything from the mysql server. Not
just the original databases I first mentioned. That did away with the
connectivity error and aligned everything in mysql just like the
original server.
I will double check the password for the sipwise user just as you
suggested below and then update the post.
Thank you
Kevin
-----Original Message-----
From: Andreas Granig [mailto:agranig at sipwise.com]
Sent: Wednesday, May 29, 2013 4:31 PM
To: Kevin Masse
Cc: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Duplicating Sipwise question
Hi,
On 05/29/2013 09:29 PM, Kevin Masse wrote:
> Copying over the constants.yml proved to make the system inoperable.
> There are database access errors for every part of the sipwise that
> requires a connection.
>
> It was my understanding that the constants we built and set from the
> installation. They were not user set. In return what happened is the
> constants from the original server would not match up to a newly
> installed 2.7.
>
> I will have to start this again from the beginning.
Not really. The files are managed via git, so you can revert it at any
time to a previous version (the git repo is in /etc/ngcp-config/, you
can do "git log" and "git checkout <commit-id from git log>
constants.yml".
In any case, did you also copy over the mysql database (like, literally,
"mysql", along with "kamailio" etc), as I said in my last email?
Another thing you might want to check is if the password for the sipwise
user in /etc/mysql/sipwise.cnf is still valid (execute ".
/etc/mysql/sipwise.cnf && mysql -usipwise -p$SIPWISE_DB_PASSWORD" and
don't forget the dot in front).
Andreas
More information about the Spce-user
mailing list