/etc/init.d/postgresql status error

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема /etc/init.d/postgresql status error
Дата
Msg-id 48062690.1060301@gmail.com
обсуждение исходный текст
Список pgsql-hackers
I have just installed the rpm found at:

http://www.postgresql.org/ftp/binary/v8.2.7/linux/rpms/redhat/rhel-4-i386/

and the status option generates an error:

$ /etc/init.d/postgresql status
pidof: invalid options on command line!

pidof: invalid options on command line!

-p is stopped


I was able to fix it in the following mode:
 status)
#       status -p /var/run/postmaster.${PGPORT}.pid       status postmaster       script_result=$?       ;;

Commented the original line and replaced with the one just below.

Regards
Gaetano Mendola



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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Improving planner variable handling
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_terminate_backend() issues