Re: Problem with initdb failing

Поиск
Список
Период
Сортировка
От Paul R. Sand
Тема Re: Problem with initdb failing
Дата
Msg-id 00b701c3a23b$7a0d2d80$6402090a@mVerify.local
обсуждение исходный текст
Ответ на Re: Problem with initdb failing  (Jason Tishler <jason@tishler.net>)
Ответы Re: Problem with initdb failing  (Jason Tishler <jason@tishler.net>)
Список pgsql-cygwin
Jason,

Thanks again for your help.  I have gotten further, I configured the group
and password files. Now I do get a log file produces when I try to start
ipc-daemon2 as a service -- a transcript of my session follows:

paul_sand@mverify3 ~
$ cygrunsrv -S ipc-daemon2
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

paul_sand@mverify3 ~
$ ls /var/log
apache  exim  ipc-daemon2.log  setup.log  setup.log.full  wtmp

paul_sand@mverify3 ~
$ cat /var/log/ipc-daemon2.log
(ipc-daemon2) Unable to open "Sem" file: Permission denied
(ipc-daemon2) Unable to start IPC-daemon !

Also, I am running Windows XP Professional as my OS.

Regards,

Paul

-----Original Message-----
From: pgsql-cygwin-owner@postgresql.org
[mailto:pgsql-cygwin-owner@postgresql.org] On Behalf Of Jason Tishler
Sent: Monday, November 03, 2003 7:57 AM
To: Paul R. Sand
Cc: Pgsql-Cygwin
Subject: Re: [CYGWIN] Problem with initdb failing

Paul,

Please keep you replies on-list.

On Fri, Oct 31, 2003 at 04:18:48PM -0600, Paul R. Sand wrote:
> Thanks again, please bear with me see my additions below

You are welcome, but see above...

> >-----Original Message-----
> >From: Jason Tishler [mailto:jason@tishler.net]
> >Sent: Friday, October 31, 2003 3:49 PM
> >o: Paul R. Sand
> >Cc: pgsql-cygwin@postgresql.org
> >Subject: Re: [CYGWIN] Problem with initdb failing
> >
> >Paul,
> >
> >On Fri, Oct 31, 2003 at 02:33:04PM -0600, Paul R. Sand wrote:
> >> I changed the group ownership of the files to "Administrators". Is
> >> this what you meant by run mkgroup? Or, do I need to do anything else?
> >
> >Yes, I meant run mkgroup:
> >
> >    $ mkgroup --help
> >    Usage: mkgroup [OPTION]... [domain]...
> >    Print /etc/group file to stdout
> >    [snip]
> >
>
> What is mkgroup suppose to do .. the help description says it just prints
> the /etc/group file?  I can't figure out what mkgroup will do for me.

Cygwin requires a properly constructed /etc/group (and /etc/passwd) file
to function properly.  See the following for the details:

    http://cygwin.com/cygwin-ug-net/using-utils.html#MKGROUP

> >> I still get the following when I tried to start ipc-daemon2 and
> >> postmaster:
> >>
> >> paul_sand@mverify3 /var/log
> >> $ cygrunsrv -S ipc-daemon2
> >> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32
> >> error 1062:
> >> The service has not been started.

Once again, are there any interesting events in the Event Log?

What version of Windows are you using?

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@postgresql.org so that your
      message can get through to the mailing list cleanly


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

Предыдущее
От: Jason Tishler
Дата:
Сообщение: Re: Ask about configuation Cygwin for uPortal
Следующее
От: Jason Tishler
Дата:
Сообщение: Re: Problem with initdb failing