X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E401F475A45 for ; Sat, 29 Mar 2003 10:08:43 -0500 (EST) Received: from proteus.affordablehost.com (unknown [216.46.203.177]) by postgresql.org (Postfix) with SMTP id 0C03E474E42 for ; Sat, 29 Mar 2003 10:08:40 -0500 (EST) Received: (qmail 323 invoked from network); 29 Mar 2003 15:08:35 -0000 Received: from unknown (HELO Laptop) (66.31.57.228) by 216.46.203.177 with SMTP; 29 Mar 2003 15:08:35 -0000 From: Andrew Biagioni To: pgsql-admin@postgresql.org, "Tamir Halperin" Date: Sat, 29 Mar 2003 10:08:38 -0500 X-Priority: 3 (Normal) Organization: E-Greek, llc In-Reply-To: <985DF46E87E0C047A3670048DBCAD0556BE6@andrew.brobus.net> Message-Id: Subject: Re: Hope it's ok to post a pgAdmin request for help in this list... MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Opera 6.05 build 1140 X-Spam-Status: No, hits=-26.0 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200303/487 X-Sequence-Number: 8127 I'm not familiar with FreeBSD, but there is another way: specify a parameter for pc_ctl, "-D", which sets the PGDATA path overriding the $PGDATA variable: pg_ctl -D /usr/local/pgctl/data reload Substitute "/usr/local/pgctl/data" with the path to YOUR data directory, the one you created at the end of the installation process. Once you find how to set environment variables in FreeBSD (maybe try "man env"? Just a guess), you can set $PGDATA to that same path, and you won't need to specify it again. Andrew 3/29/03 3:53:28 AM, "Tamir Halperin" wrote: >I think I diagnosed the problem to be access restrictions in the pg_hba.conf file. > >I made the changes but I can't run pg_ctl reload without first setting a $PGDATA environment variable. Can someone please tell me how to do this properly for PostgreSQL on my FreeBSD 4.6 system? > >> -----Original Message----- >> From: Tamir Halperin >> Sent: Saturday, March 29, 2003 3:19 AM >> To: pgsql-admin@postgresql.org >> Subject: [ADMIN] Hope it's ok to post a pgAdmin request for >> help in this >> list... >> >> >> Just installed pgAdmin II and received no errors. I can >> connect to a database that I created from the command prompt >> on the database server but I cannot create a database >> properly from the pgadmin II client/workstation. >> >> The database is created but it has a red X on the icon. Allow >> connections is Yes but connection status is inaccessible. I >> can create users without a problem. >> >> >> ---------------------------(end of >> broadcast)--------------------------- >> TIP 6: Have you searched our list archives? >> >> http://archives.postgresql.org >> > > >---------------------------(end of broadcast)--------------------------- >TIP 4: Don't 'kill -9' the postmaster > >