Kanuri, Seshu (Company IT)
2005-May-11 12:39 UTC
[Asterisk-Users] AreskiCC Install Problems
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050511/9cef5ef6/attachment.htm
Make sure postgresql is running and the database username/passwords are correct. --- "Kanuri, Seshu (Company IT)" <Seshu.Kanuri@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@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersJulius Igugu SouthWork Co. Ltd. __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail
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@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@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 > >
Maybe Matching Threads
- Seshu, on April 20, you said this about the Astcc & AreskiCC --> http://lists.digium.com/pipermail/asterisk-users/2005-April/102710.html Re: AreskiCC installing assistance for seshu.kanuri @ MorganStanley.com
- AreskiCC Installation -- Please Help
- AreskiCC - DOES IT REALLY WORK??????
- Features you'd like to see in a GUI?
- Areskicc installation problems