Hello,

I haven't used the postgres in a long while, but I think it should ask only once.

Can you try by setting the password inside the kamctlrc file and see if works straight away?

Cheers,
Daniel

On 22/03/16 11:52, Barış Şekerciler wrote:
Hello,
I have one postgres server at one server and Kamailio at another server.
So I believe I did true configuration to the Kamailio. Actually I made some tests and I could create user and authenticated etc.

But I have a problem. When I tried to present "kamdbctl create" Kamailio asks password 50 times (almost, much or less idk certainly).
After 50 times Db created successfully and works.

And it looks like this:

root@bs-kamailio:/home/bs-kamailio# kamdbctl create

INFO: creating database kamailio ...

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 

Password for user postgres: 


So how can I solve this situation? I want Kamailio to asks password one time and handle it's job.


Regards.




_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com