Those files I indicated to check : /var/lib/pgsql/data (on a redhat flavor)
pg_hba.conf - This one needs lines similar to local all all password host all all 0.0.0.0 0.0.0.0 password (not you probably want a more restrictive ip range / net mask here!!) postgresql.conf make sure it has a line tcpip_sockets=true Make sure you have the following packages rh-postgres-server php-pgsql or the files containted within Finally, if you haven't, make sure you restart both postgres and apache to ensure they have seen the changes to the config (apache needs to see the "updates" containted within php-pgsql as an after thought, it is required that php-globals=on, I have never had to set that and am not sure which file its in (I do belive however that it refers to an apache config file not an areski one) As a hope thought - I have sucsessfuly got both versions of areskicc working at some point, so its not flawed code. On 5/11/05, Julius Igugu <[EMAIL PROTECTED]> wrote: > Make sure postgresql is running and the database username/passwords are > correct. > > --- "Kanuri, Seshu (Company IT)" <[EMAIL PROTECTED]> 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 > > [email protected] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > Julius Igugu > SouthWork Co. Ltd. > > > __________________________________ > Do you Yahoo!? > Read only the mail you want - Yahoo! Mail SpamGuard. > http://promotions.yahoo.com/new_mail > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
