[imp] postgresql configuration with Horde/Imp
Nuno Silva
nuno_silva@websolut.net
Thu, 22 Mar 2001 16:27:41 +0000
Hi,
have you installed postgresql from stock RedHat RPM's?
if so all you have to do to start postgresql is:
/etc/rc.d/init.d/postgresql start
then you must create the horde tables with "pgsql"; to do this:
#su - postgres
$psql
[and from here follow the instructions on horde/imp to create the
database and the default tables]
Good luck,
Nuno
Abid Ghufran wrote:
>
> well the follwing errors show that it is not running. when i try to run
> the command "postmaster" under the bin directory (linux redhat 7) it
> says that i cant run it with the "root" username, which means as being
> root. it then says to check the INSTALL file for the information
> regarding the username under which to run it. i cant seem to find the
> INSTALL file it is talking about.
>
> how to run it then.
>
> abid ghufran.
>
> ----Original Message Follows----
> From: Jeff Rebeiro <nix@innocent.com>
> Reply-To: imp@lists.horde.org
> To: imp@lists.horde.org
> Subject: Re: [imp] postgresql configuration with Horde/Imp
> Date: Thu, 22 Mar 2001 12:29:30 -0500
>
> to find out if the server is running why not just run the client... if it
> connects its running.
>
> ----- Original Message -----
> From: "Abid Ghufran" <abidghufran@hotmail.com>
> To: <imp@lists.horde.org>
> Sent: Thursday, March 22, 2001 12:19 PM
> Subject: [imp] postgresql configuration with Horde/Imp
>
>
> > I am shifting to PostgreSql from MySql. I am getting the follwing errors
> > when i access the test.php3 file at my website. I am trying to verify
> > whether the Postgresql server is running or not (as i thnk it isnt).
> I am
> > unable to find the server file under "/etc".
> >
> > Thank you very much.
> >
> > Abid Ghufran.
> >
> > --------------------------------------------------------------------
> > Warning: Unable to connect to PostgreSQL server: PQconnectPoll() --
> > connect() failed: Connection refused Is the postmaster running (with -i)
> at
> > 'localhost' and accepting connections on TCP/IP port '5432'? in
> > /var/www/horde-phplib/db_pgsql.inc on line 40
> >
> > Warning: Supplied argument is not a valid PostgreSQL link resource in
> > /var/www/horde-phplib/db_pgsql.inc on line 52
> >
> > Warning: Supplied argument is not a valid PostgreSQL link resource in
> > /var/www/horde-phplib/db_pgsql.inc on line 55
> >
> > Warning: Supplied argument is not a valid PostgreSQL link resource in
> > /var/www/horde-phplib/db_pgsql.inc on line 67
> > Reload this page to see the counters increment.
> > Go back to the test.php3 page.
> > View the output of phpinfo().
> >
> > Per Session Data: 1
> > Session ID: 2131237bd7ac2564da44998514305851
> > If this page works correctly, then you have a correctly configured
> > HordeSession class. You should be done with PHPLIB setup.
> > Warning: Unable to connect to PostgreSQL server: PQconnectPoll() --
> > connect() failed: Connection refused Is the postmaster running (with -i)
> at
> > 'localhost' and accepting connections on TCP/IP port '5432'? in
> > /var/www/horde-phplib/db_pgsql.inc on line 40
> >
> > Warning: Supplied argument is not a valid PostgreSQL link resource in
> > /var/www/horde-phplib/db_pgsql.inc on line 52
> >
> > Warning: Supplied argument is not a valid PostgreSQL link resource in
> > /var/www/horde-phplib/db_pgsql.inc on line 55
> >
> > Warning: Supplied argument is not a valid PostgreSQL result resource in
> > /var/www/horde-phplib/db_pgsql.inc on line 122
> >
> > Warning: Unable to connect to PostgreSQL server: PQconnectPoll() --
> > connect() failed: Connection refused Is the postmaster running (with -i)
> at
> > 'localhost' and accepting connections on TCP/IP port '5432'? in
> > /var/www/horde-phplib/db_pgsql.inc on line 40
> >
> > Warning: Supplied argument is not a valid PostgreSQL link resource in
> > /var/www/horde-phplib/db_pgsql.inc on line 52
> >
> > Warning: Supplied argument is not a valid PostgreSQL link resource in
> > /var/www/horde-phplib/db_pgsql.inc on line 55
> >
> > ---------------------------------------------------------------
> >
> >
> >
> _________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
> >
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> >
> >
>
>
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.