[imp] IMP 2.2.7 unable to connect to remote postgres server

Brian Helman bhelman@salemstate.edu
Thu, 07 Feb 2002 14:30:37 -0500


I didn't edit .../horde-phplib/local.inc

oops


At 12:33 PM 2/7/02 -0500, you wrote:

>I tried unsuccessfully for over a week to get IMP 3.0 to work with our 
>IMAP server (Execmail).  It would connect and access the inbox fine, but I 
>was unable to get it to recognize other folders.
>
>Our 2.2.4 installation works fine.  Lately, we've been experiencing some 
>odd behavior on the server (RH7.0).  Since I couldn't get IMP3.0 to work, 
>I've decided for now to upgrade to RH7.2 and put IMP2.2.7 on it.
>
>I have install 2.2.7 on an RH7.2 installation on a spare computer.  I have 
>been unable to get the new 2.2.7 install (server name George) to access 
>the database on the 2.2.4 install (server name Bill).  If I issue "psql -h 
>bill.salemstate.edu -U newpguser -d horde" from George's command-line, it 
>works fine, so I am fairly confident that hba_conf is configured fine (oh 
>yeah, the database is Postgresql).  I have edited 
>.../imp/config/defaults.php3 :
>
>$default->use_db                         = true;
>$default->database_driver                = 'pgsql';
>$default->db_user_name                   = 'newpguser';
>$default->db_password                    = 'jefferson';
>$default->db_security_nag                = true;
>$default->db_name                        = 'horde';
>$default->db_server_name                 = 'bill.salemstate.edu';
>$default->db_pref_table                  = 'imp_pref';
>$default->db_address_table               = 'imp_addr';
>$default->db_connect_string              = '';
>$default->db_server_port                 = '';
>$default->db_server_options              = '';
>$default->db_server_tty                  = '';
>
>but I still get
>
>Warning: Unable to connect to PostgreSQL server: connectDBStart() -- 
>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
>
>when I try to fire up george.salemstate.edu/horde/imp .
>
>Any suggestions?
>
>BTW, before I made George a 2.2.7 server, it was running 2.2.4 accessing 
>the postgresql database off of Bill.
>
>thanks,
>brian
>
>
>
>--
>IMP mailing list: http://horde.org/imp/
>Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>


  ------------------------------------------------------
          __     ____         __   ____         __   __
         /\ \   /  \_\       / /\ /  \ \       / |\ / /\
        /  \_\ / /\ |_|     / / /| /\ \ \     /  ||/ / /
       / /\ | |\ \/ /_/_   / / / \ \/  \ \   /   |/ / /
      /  \/ |_| \  __ \_\ / / /   \  /\ \_\ / /|   / /
     / /\ ./_/   \ \ \/_// / /     \ \ \/_// / |  / /
     \ \/ |_|     \ \_\ /_/ /       \ \_\ /_/ /|_/ /
      \__/_/       \/_/ \_\/         \/_/ \_\/ \_\/


  Brian M Helman
  Director, Networking Services
  Salem State College

                     Voice: 978.542.7272
                       Fax: 978.542.6620
                    e-mail: bhelman@salemstate.edu
                snail-mail: 352 Lafayette St, MH207A
                            Salem, MA  01970-5353

  http://www.helman.nu/
  



>From dan@acucore.com Date: Thu,  7 Feb 2002 12:38:52 -0700
Return-Path: <dan@acucore.com>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 45072 invoked from network); 7 Feb 2002 19:35:51 -0000
Received: from softdnserror (HELO ryloth.acucore.com) (65.204.194.43)
  by clark.horde.org with SMTP; 7 Feb 2002 19:35:51 -0000
Received: (qmail 6261 invoked by uid 99); 7 Feb 2002 19:38:53 -0000
Received: from 207.135.57.77 ( [207.135.57.77])
	as user killroyboy@pop.mail.yahoo.com by webmail.acucore.com with HTTP;
	Thu,  7 Feb 2002 12:38:52 -0700
Message-ID: <1013110732.3c62d7cce2a3c@webmail.acucore.com>
Date: Thu,  7 Feb 2002 12:38:52 -0700
From: Dan Wilson <dan@acucore.com>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: JavaScript error when changing identities

I am getting a javascript error when changing identities within the compose 
window.

I have traced it to line # 145 of templates/compose/javascript.inc.  I believe 
it is a problem with the sent_mail_folder.  I am not using IMAP (I'm on POP) 
and therefore don't have a sent_mail_folder (or am unaware of how to specify 
it).

Is there an easy fix for this, or does this have to go to the IMP guru's?

Thanks for any help!

-Dan