Kanuri, Seshu (Company IT)
2005-May-11 12:33 UTC
[Asterisk-Users] AreskiCC - Install Problems
Nabeel, I am trying to install AreskiCC and I get the following errors. 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 Can you guide me as to what and where may be the problem? Seshu Kanuri Morgan Stanley | Technology 1633 Broadway | Floor 19 New York, NY 10019 Phone: +1 212 537-2849 seshu.kanuri@morganstanley.com <mailto:seshu.kanuri@morganstanley.com> -------------------------------------------------------- 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/3ad4af1c/attachment.htm
Well, the warnings say whats the problem. pg_connect is a PHP function, and it seems it cannot establish a connection with your database server. As the warning suggest, make sure that you have running the server in port 5432. Best Regards On 5/11/05, Kanuri, Seshu (Company IT) <Seshu.Kanuri@morganstanley.com> wrote:> > > Nabeel, > > I am trying to install AreskiCC and I get the following errors. > > 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 > > Can you guide me as to what and where may be the problem? > > Seshu Kanuri > Morgan Stanley | Technology > 1633 Broadway | Floor 19 > New York, NY 10019 > Phone: +1 212 537-2849 > seshu.kanuri@morganstanley.com > > ________________________________ > > > > 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 > >-- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"