are you able to access the db with 'psql' ? This looks like an access issue
in pg_hba.conf.
Most likely, the issue isn't opensips. Here's a quick ref for you..

http://developer.postgresql.org/pgdocs/postgres/auth-pg-hba-conf.html

-Brett


On Thu, Apr 23, 2009 at 2:28 AM, Harendra Pratap Singh <
[email protected]> wrote:

>  Hi All,
>
>
>
> I want to use opensips with postgresql when I create a database using the
> following command it is showing error.
>
>
>
> /usr/local/sbin/opensipsdbctl create
>
> INFO: creating database opensips ...
>
> psql: FATAL:  no pg_hba.conf entry for host "127.0.0.1", user "root",
> database "template1", SSL off
>
> ERROR: Creating database failed!
>
>
>
> Do anyone have anyidea why it is throwing errors?
>
>
>
> Thanks,
>
> Harendra
>
> _______________________________________________
> 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