[Asterisk-Users] AreskiCC Install Problems

David John Walsh davidjohnwalsh at gmail.com
Wed May 11 15:10:27 MST 2005


I haven't done this for ages, but those errors if i recall mean that
you either haven't got postgres listening for the tcp connections, or
its being restricted by "host based authentication"

one of the files is something_hba.conf and the other is in the same directory,

in the HBA one, you have to set a line up for 127.0.0.1 to do
passwords.  In the other there is a #value tcp_connect=false.  You
have to unhash the value then change it to true (the line above talks
about ssh)

I will look at the servers tommorrow, it really has been months since
i did that.  The other issues is do you have pg_connect installed (and
again i cant for the life of me rember the package)

If no firmer response has come your way (its 23:00 here now) by
tommorow I will check the settings on the server in the office

David

On 5/11/05, Kanuri, Seshu (Company IT) <Seshu.Kanuri at morganstanley.com> wrote:
>  
> I have followed the Idiots' guide for installation, but still could not make
> it work. 
>   
> When I try to login at the web page coming from /var/www/html/areski , I get
> the following errors: 
>   
> Can some body give me some hints where and what to check for this error?. I
> am looking for info on the changes we have to make for 
> 1) the database name 
> 2) user name 
> 3) password 
> 4)connection name (server running postgresql) 
>   
> in all the files involved in the application, so that it works. 
>   
> Seshu 
> -------------------------------------------------------------------
> Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not
> connect to server: Connection refused Is the server running on host
> localhost and accepting TCP/IP connections on port 5432? . in
> /var/www/html/areskicc/lib/DB-modules/phplib_postgres.php
> on line 68
> Database error: Link-ID == false, pconnect failed
> PostgreSQL Error: 0 ()
> 
> Warning: pg_pconnect(): Unable to connect to PostgreSQL server: could not
> connect to server: Connection refused Is the server running on host
> localhost and accepting TCP/IP connections on port 5432? . in
> /var/www/html/areskicc/lib/DB-modules/phplib_postgres.php
> on line 68
> Database error: Link-ID == false, pconnect failed
> PostgreSQL Error: 0 ()
> 
> Warning: pg_errormessage(): supplied argument is not a valid PostgreSQL link
> resource in
> /var/www/html/areskicc/lib/DB-modules/phplib_postgres.php
> on line 101
> 
> Warning: Cannot modify header information - headers already sent by (output
> started at
> /var/www/html/areskicc/lib/DB-modules/phplib_postgres.php:68)
> in /var/www/html/areskicc/lib/module.access.php on line 66
> 
> Warning: Cannot modify header information - headers already sent by (output
> started at
> /var/www/html/areskicc/lib/DB-modules/phplib_postgres.php:68)
> in /var/www/html/areskicc/lib/module.access.php on line 67
>  
>   
> ________________________________
>  
> 
> 
> NOTICE: If received in error, please destroy and notify sender. Sender does
> not waive confidentiality or privilege, and use is prohibited. 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 
>



More information about the asterisk-users mailing list