Обсуждение: service not starting

Поиск
Список
Период
Сортировка

service not starting

От
Gary Stainburn
Дата:
Hi folks.

Got a wee small problem:

[root@eddie data]# service postgresql start
Starting postgresql service:                               [FAILED]
[root@eddie data]#

Can anyone point to things I need to look at to sort this.  Thank got
it's Sunday.
--
Gary Stainburn

This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000


SORTED - Re: service not starting

От
Gary Stainburn
Дата:
On Sunday 10 October 2004 7:56 pm, you wrote:
> Hi folks.
>
> Got a wee small problem:
>
> [root@eddie data]# service postgresql start
> Starting postgresql service:                               [FAILED]
> [root@eddie data]#
>
> Can anyone point to things I need to look at to sort this.  Thank got
> it's Sunday.

After spending ages checking disks, memory, etc. and other hardware
issues (problem occured after moving the computer dept into a new
building) finally tracked it down to a stale pid file.

--
Gary Stainburn

This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000



Re: service not starting

От
Gaetano Mendola
Дата:
Gary Stainburn wrote:
> Hi folks.
>
> Got a wee small problem:
>
> [root@eddie data]# service postgresql start
> Starting postgresql service:                               [FAILED]
> [root@eddie data]#
>
> Can anyone point to things I need to look at to sort this.  Thank got
> it's Sunday.

if you are sure that postmaster is down, try to start it manually and
see what it say:

<your_bin_path>/postmaster -D <path to your data directory>

if you are in a REDHAT or Fedora:

/usr/bin/postmaster -D /var/lib/pgsql/data

the command above suppose you already did an initdb...


Regards
Gaetano Mendola

Re: service not starting

От
Markus Bertheau
Дата:
В Вск, 10.10.2004, в 20:56, Gary Stainburn пишет:
> Hi folks.
>
> Got a wee small problem:
>
> [root@eddie data]# service postgresql start
> Starting postgresql service:                               [FAILED]
> [root@eddie data]#
>
> Can anyone point to things I need to look at to sort this.  Thank got
> it's Sunday.

Switch on logging by following the instructions in

http://www.redhat.com/archives/fedora-test-list/2004-March/msg01110.html

and look in the log file for the error message.

--
Markus Bertheau <twanger@bluetwanger.de>