Re: No server after starting

From: Decibel! <decibel(at)decibel(dot)org>
To: Bayless Kirtley <bkirt(at)cox(dot)net>
Cc: "List, Postgres" <pgsql-general(at)postgresql(dot)org>
Subject: Re: No server after starting
Date: 2008-04-19 17:41:41
Message-ID: 2678E72C-D039-4D89-95BA-8F555021F3FF@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Apr 18, 2008, at 2:00 PM, Bayless Kirtley wrote:
> First, I am new to Postgres. I am hoping to migrate an existing
> Java application from a couple of tried but unreliable open source
> Java databases. I have a fair amount of experience with Oracle,
> Informix and DB2 but it has been a few years. No on to my problem.
>
> I finally got PostgreSQL installed on Windows XP as a service.
> After restarting the computer, the Task Manager shows 5
> postgres.exe processes running. From a CMD window, I issue a pg_ctl
> status command and get the response: "No server running." What am I
> doing wrong. I took all the defaults on installation except for
> assigning a password rather than a random generated one.
>
> Earlier today, I had it installed as a program and all worked fine
> after creating and initializing the database cluster. I was able to
> start the database from a non-admin user. Then I could check status
> and even shutdown as an admin user. I have added the ...\bin
> directory to the PATH and added the PGDATA environment variable.
> After this, I decided to remove Postgres and reinstall it as a
> service.

I suspect that PGDATA might be set incorrectly; you should verify
that. You can see what directory it's actually using by connecting
and doing a SHOW data_directory;
--
Decibel!, aka Jim C. Nasby, Database Architect decibel(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Decibel! 2008-04-19 17:47:00 Re: In the belly of the beast (MySQLCon)
Previous Message Oleg Bartunov 2008-04-19 17:10:38 Re: Initial ugly reverse-translator