Bug 15269 - Ошибка проверки версии в /etc/init.d/postgresql
Summary: Ошибка проверки версии в /etc/init.d/postgresql
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: postgresql8.3-server (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Michael Bochkaryov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 15:24 MSD by Sergey N. Yatskevich
Modified: 2008-05-12 14:32 MSD (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey N. Yatskevich 2008-04-08 15:24:57 MSD
Ошибка проверки версии в скрипте запуска сервера postgresql из-за чего сервер не
запускается.

Есть:
if [ `cat "$PG_CHROOT_DIR$PGDATA/PG_VERSION"` != '8.2' ];<->then
    msg_starting postgresql
    failure "Old version. Need to Upgrade. See /usr/share/doc/postgresql-8.2/
    echo
    return 1
fi

Должно быть:
if [ `cat "$PG_CHROOT_DIR$PGDATA/PG_VERSION"` != '8.3' ];<->then
    msg_starting postgresql
    failure "Old version. Need to Upgrade. See /usr/share/doc/postgresql-8.3/
    echo
    return 1
fi
Comment 1 Michael Bochkaryov 2008-04-08 15:53:50 MSD
Действительно, в проверке ошибка есть.
Сегодня постараюсь залить исправленный вариант.
Comment 2 Michael Bochkaryov 2008-04-10 19:12:47 MSD
Пакет исправлен и уехал в Сизиф с версией 8.3.1-alt3.