Re: postgres at reboot

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: postgres at reboot
Дата
Msg-id dcc563d10809261344x6e23a7a7r773a1233d483a325@mail.gmail.com
обсуждение исходный текст
Ответ на Re: postgres at reboot  ("Tena Sakai" <tsakai@gallo.ucsf.edu>)
Список pgsql-admin
On Fri, Sep 26, 2008 at 2:38 PM, Tena Sakai <tsakai@gallo.ucsf.edu> wrote:
> Hi Scott,
>
> When I issue: /sbin/chkconfig --list | grep postgres
> it comes back with:
>
>  postgresql_ORG  0:off   1:off   2:off   3:off   4:off   5:off   6:off
>  postgresql      0:off   1:off   2:on    3:on    4:on    5:on    6:off
>
> I felt a bit strange that it says 'off' at run level 6.

Run level 6 is reboot, so that's normal.

> I went into /etc/rc.d and issued:
>  sudo find . -name \*postgresql\* -ls | grep S98postgresql
> and it came back with:
>
>  15618186    0 lrwxrwxrwx   1 root     root           20 Aug 21 17:00
> ./rc4.d/S98postgresql -> ../init.d/postgresql
>  15618294    0 lrwxrwxrwx   1 root     root           20 Aug 21 17:00
> ./rc3.d/S98postgresql -> ../init.d/postgresql
>  15618351    0 lrwxrwxrwx   1 root     root           20 Aug 21 17:00
> ./rc2.d/S98postgresql -> ../init.d/postgresql
>  15618024    0 lrwxrwxrwx   1 root     root           20 Aug 21 17:00
> ./rc5.d/S98postgresql -> ../init.d/postgresql
>
> Next, I went into /etc/rc.d/rc6.d and typed:
>  ls -l
> and it gave me this:
>      .       .  .    .      .  .   .   .         .              .        .
>      .       .  .    .      .  .   .   .         .              .        .
> lrwxrwxrwx   1 root root   20 Aug 21 17:00 S98postgresq ->
> ../init.d/postgresql
>
> There is an 'l' missing from the name!  I thought for a moment

It shouldn't  be there, sounds like someone added it by hand.

> I found the culprit, but then I issued the command below:
>  /sbin/chkconfig --list | grep '6:on'
> and it returned nothing.
>
> I am a bit confused.  As I understand, run level 6 means, in
> redhat context, shutdown and reboot.  But it seems in my case
> nothing is turned on for level 6.  Then that missing 'l'
> is really of no significance?

Right, nothing should be started for those run levels.

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Tena Sakai"
Дата:
Сообщение: Re: postgres at reboot
Следующее
От: "Tena Sakai"
Дата:
Сообщение: Re: postgres at reboot