Hi Markus,

I am glad to hear that you got it working.
- opensipsctlrc is not related to OpenSIPS CP in any way (I mean changing things there will not affect OpenSIPS CP in any way) - regarding the firewall (iptables): sure, you can protect OpenSIPS, usually you need to open the firewall port 5060 (both inbound and outbound for everybody or just for your trusted peers);

Regards,
Alex Ionescu

On 01/13/2015 06:42 PM, Markus Klaus Schäffauer wrote:
Hi all,

thanks to your help, the opsensips control panel is working now - so far
as I can see!

What was the problem? I still do not know it.

I followed the recomendation and echoed the values of $dns - there
everything was correct.

Then I changed the name of the opensips database to ___opensips as
recomended, too. The error message was the same.

So I gave up until a few minutes ago, when I simply changed the name
back to opensips for trying another thing.

Only for curiosity I wanted to see wether I could login or not. I
couldn't in the first attempt, but got a "wrong password" message. And
when I repeated the login with the right password admin, voilà, the menu
is there and I succeded finally to login.

What was the matter? No idea. May be I had written wrong the name of the
database? But in the script of opensipsctlrc I can verify that there is
correctly indicated "DBNAME=opensips"...

So I still have no idea, what was going wrong, but I adored your help!
And it helped me to get the thing working.

One last question: Do I have to open a particular firewall-port (I am
using IPTABLES) and do speciall stuff for securing opensips?

Thanks a lot to you all!

Regards,
Markus



Am 13.01.2015 um 11:07 schrieb Alex Ionescu:
Hi,

One last thought. If you use "localhost" as hostname try replacing it
with 127.0.0.1 and creating the appropriate user for mysql.
It might be just a DNS problem.

Regards,
Alex

On 01/13/2015 10:33 AM, Markus Klaus Schäffauer wrote:
Hello,

I changed the name of the database opensips to ___opensips.

The message I got after trying to login is still the same:

"Error while connecting : MDB2 Error: connect failed"

Isn't this substantiating my suspicion that the MDB2-driver is wrong?

Regards,
Markus

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to