Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XWnO5-0004GK-QP for pgsql-admin@arkaria.postgresql.org; Wed, 24 Sep 2014 14:17:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XWnO5-0007ri-AI for pgsql-admin@arkaria.postgresql.org; Wed, 24 Sep 2014 14:17:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XWnO4-0007rc-G1 for pgsql-admin@postgresql.org; Wed, 24 Sep 2014 14:17:44 +0000 Received: from mail-qc0-x234.google.com ([2607:f8b0:400d:c01::234]) by makus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XWnO0-0004Ik-Pu for pgsql-admin@postgresql.org; Wed, 24 Sep 2014 14:17:42 +0000 Received: by mail-qc0-f180.google.com with SMTP id l6so3079761qcy.39 for ; Wed, 24 Sep 2014 07:17:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=JKyRYvN8XM9XzDglI0Xf3yoAjr/5jpbdkz88vwc9X7s=; b=Em4OWVF1H+SYOinpTwfy/xwy2sQjLrvcnrJHMeHhZ2gY1AZ1PDBVoT4DvjQPeU5JR8 fz8796wj+9uSIdRMtHSdecDI/AKF5HWvGA4dhPoQGlDBtKOvG24yUcGU4yhUnyR2D/gb gOm0NBDXwPpcfjtX6twe8F1r/4ig3iUDlRbZwGzKTLzT9QhekYeGJ7O231NB8CYS0NOZ b0zKmGKkIa0FN9emisJx7rEzLecrctV5B7sYyeTmel7qHzhJRru+7UeIuQliNFsHmXmF OttIXLnlSEhM5xpjOgYMSTbIn0yUYgTOL3HEc9UuUdKaJBuaWI25ItkZpMNZYAniyucr ttQw== X-Received: by 10.140.82.202 with SMTP id h68mr9560974qgd.51.1411568259915; Wed, 24 Sep 2014 07:17:39 -0700 (PDT) Received: from [192.168.254.2] (h77.89.102.166.static.ip.windstream.net. [166.102.89.77]) by mx.google.com with ESMTPSA id f6sm12921386qaq.38.2014.09.24.07.17.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 24 Sep 2014 07:17:39 -0700 (PDT) References: <2BC18916DE4BF141AC1EFC55CE2CAE7D580122@NAEANRFKXM01V.nadsusea.nads.navy.mil> <2BC18916DE4BF141AC1EFC55CE2CAE7D5804C1@NAEANRFKXM01V.nadsusea.nads.navy.mil> Mime-Version: 1.0 (1.0) In-Reply-To: <2BC18916DE4BF141AC1EFC55CE2CAE7D5804C1@NAEANRFKXM01V.nadsusea.nads.navy.mil> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: Cc: "pgsql-admin@postgresql.org" X-Mailer: iPad Mail (11D257) From: jayknowsunix@gmail.com Subject: Re: Removing a Database Server Date: Wed, 24 Sep 2014 10:17:39 -0400 To: "Ferrell, Denise CTR NSWCDD, Z11" X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Try "rm -fr" for what you're trying to remove. I'm guessing you need "rm -f= r /var/lib/pgsql/black" Sent from my iPad > On Sep 24, 2014, at 10:08 AM, "Ferrell, Denise CTR NSWCDD, Z11" wrote: >=20 > This is not working. The problem stems from my SA creating the a databas= e server prior...I'm guessing. >=20 > I'm having issues with the rm command...getting "Is a directory" >=20 > Process I used... >=20 > initdb -D /var/lib/pgsql/black > The files belonging to this database system will be owned by user 'postgr= es'. > This user must also own the server process. >=20 > The database cluster will be initialized with locale en_US.UTF-8. > The default database encoding.... > The default text search..... >=20 > Creating directory /var/lib/pgsql/black . . . ok > Creating subdirectories . . . ok > ... >=20 >=20 > Success. You can now start the database server using: >=20 > Postgres -D /var/lib/pgsql/black > Or > Pg_ctl -D /var/lib/pgsql/black -l logfile start (which I used) >=20 > Thank you in advance. >=20 > -----Original Message----- > From: jayknowsunix@gmail.com [mailto:jayknowsunix@gmail.com]=20 > Sent: Monday, September 22, 2014 3:37 PM > To: Ferrell, Denise CTR NSWCDD, Z11 > Cc: pgsql-admin@postgresql.org > Subject: Re: [ADMIN] Removing a Database Server >=20 > service postgresql-9.3 stop > rm /var/lib/pgsql/9.3/data >=20 > Unless, of course, you built the database in some other location. That wo= uld get rid of it completely. >=20 > Sent from my iPad >=20 >> On Sep 22, 2014, at 2:59 PM, "Ferrell, Denise CTR NSWCDD, Z11" wrote: >>=20 >> Using Linux Red-Hat & PostgreSQL v9.3.4 >>=20 >> What would be the easiest way to remove a Database Server that shouldn't= have been created? >>=20 >> Thank you in advance for any assistance.=20 --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin