Brezee
Новичок
Postgres on w2k
Поставил постгрес по 2000, нашел ридмишку по инсталу, дошел до 4 пуекта (ниже привожу), и тут началась лажа, 4 тый пункт не инсталит службу, выдает следующе:
cygrunsrv: given path doesn't point to a valid executable
Кто сталкивался подскажите как проставить эту службу!!!
1. Install the cygipc ipc-daemon as a NT service:
# ipc-daemon --install-as-service
2. Create the "postgres" user account:
# net user postgres /add /fullname
ostgres /comment:'PostgreSQL user account' /homedir:"$(cygpath -w /home/postgres)"
# mkpasswd -l -u postgres >>/etc/passwd
3. Grant the "postgres" user the "Log on as a service" user right:
# cmd /c secpol.msc # [3] [4] [5]
4. Install postmaster as a NT service:
# cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D /usr/share/postgresql/data -i" --dep ipc-daemon --termsig INT --user postgres --shutdown # [6]
Поставил постгрес по 2000, нашел ридмишку по инсталу, дошел до 4 пуекта (ниже привожу), и тут началась лажа, 4 тый пункт не инсталит службу, выдает следующе:
cygrunsrv: given path doesn't point to a valid executable
Кто сталкивался подскажите как проставить эту службу!!!
1. Install the cygipc ipc-daemon as a NT service:
# ipc-daemon --install-as-service
2. Create the "postgres" user account:
# net user postgres /add /fullname

# mkpasswd -l -u postgres >>/etc/passwd
3. Grant the "postgres" user the "Log on as a service" user right:
# cmd /c secpol.msc # [3] [4] [5]
4. Install postmaster as a NT service:
# cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D /usr/share/postgresql/data -i" --dep ipc-daemon --termsig INT --user postgres --shutdown # [6]