postgresql server cannot shut down and cannot restart
Bug #172840 reported by
Rick Graves
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postgresql
If you shut down the computer, you see a message "error PID file is invalid, please manually kill the stale server process" (maybe not an exact quote), along with Fail in red. You get exactly the same message if you try shutting down the database server or restarting the database server. I have this problem both in ubuntu 6.06 LTS and 7.10.
To post a comment you must log in.
Actually, I discovered that the problem (postgresql
server cannot shut down and cannot restart) is only a
problem with a non-default data location.
The postgresql.conf file has a data_directory value,
and if you set that to a non-default location, some
but not all of the data goes to that location. There
is also a pgdata soft link in the same directory as
the conf file, and some of the data follows that soft
link, no matter the value of data_directory in
postgresql.conf.
I would call the feature of using a non-default data
location as "broken", unless there is documentation
somewhere that I have overlooked.
I have given up on trying to use /srv/postgresql for postgresql, as use of a non-default
the data directory, and instead I am going with the
default, /var/lib/
location is not currently supported as far as I know.
Thanks,
--- Rick Graves <email address hidden> wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 172840
>
> Binary package hint: postgresql
>
> If you shut down the computer, you see a message
> "error PID file is
> invalid, please manually kill the stale server
> process" (maybe not an
> exact quote), along with Fail in red. You get
> exactly the same message
> if you try shutting down the database server or
> restarting the database
> server. I have this problem both in ubuntu 6.06 LTS
> and 7.10.
>
> ** Affects: postgresql (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> postgresql server cannot shut down and cannot
> restart
> https:/
> You received this bug notification because you are a
> direct subscriber
> of the bug.
>