Обсуждение: problem with cygipc

Поиск
Список
Период
Сортировка

problem with cygipc

От
Giuliano Castelli
Дата:
I have a problem with the installation of
postgresql caused by cygipc in windows 2000
environment.

This is the config.log file:
----------------------------------------------------
This file contains any messages produced by compilers
while
running configure, to aid debugging if configure makes
a mistake.

configure:629: checking host system type
configure:655: checking which template to use
configure:818: checking whether to build with locale
support
configure:847: checking whether to build with recode
support
configure:877: checking whether to build with
multibyte character support
configure:929: checking whether to build with Unicode
conversion support
configure:960: checking for default port number
configure:994: checking for default soft limit on
number of connections
configure:1118: checking for gcc
configure:1231: checking whether the C compiler (gcc
) works
configure:1247: gcc -o conftest    conftest.c  1>&5
configure:1273: checking whether the C compiler (gcc
) is a cross-compiler
configure:1278: checking whether we are using GNU C
configure:1287: gcc -E conftest.c
configure:1306: checking whether gcc accepts -g
configure:1349: checking whether the C compiler (gcc
-O2 ) works
configure:1365: gcc -o conftest -O2   conftest.c
-lcygipc 1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -lcygipc
collect2: ld returned 1 exit status
configure: failed program was:

#line 1360 "configure"
#include "confdefs.h"

main(){return(0);}
----------------------------------------------------

What command must I give for correctly running
ipc-daemon of cygipc? I am in the directory where
ipc-daemon.exe is, in a MSDOS window. What must I
write now?

What is the service manager from which ipc-daemon
should be started as written in the README file
of cygipc that I attach:
---------------------------------------------------
  *** Windows NT/2K ***
  Under NT/W2K ipc-daemon should be started from
service
  manager. It must not be started via SRVANY but it
has
  two new options to install or remove it as service
  (but these commands can only be run as
Administrator):

        ipc-daemon --install-as-service
        ipc-daemon --remove-as-service

  When you already have an older version of ipc-daemon
installed,
  please remove the service before installing the new
one.  Note
  that when running `ipc-deamon --install-as-service'
it WILL
  honor other options; for instance:

        ipc-daemon --install-as-service --debug

  will install the ipc-daemon as a service with
appropriate
  registry settings so that the daemon will always
start using
  the `--debug' option.  Ditto the `--tight-security'
option: see
  SECURITY section for more info.

  Remember, if you are calling ipc-daemon from a
`naked'
  dosbox, you'll need to use the `2>&1 | cat'
workaround in order
  to see the output of the above commands -- see the
W9X discussion
  above.

  If you don't start ipc-daemon as service under
LocalSystem but under
  another account, you have to care that that account
has several
  user rights set in the user manager resp.
local/domain security
  policy mmc snap in:
        "Logon as a service" (currently required)
        "Act as part of the operating system" (not
necessary yet...)
        "Replace process level token" (not necessary
yet...)
        "Increase quotas" (not necessary yet...)
  Note that administrators do not have all that user
rights set
  by default!

  I created a user called "services" on my machine, to
which
  I added these rights.  Then, I start sshd, inetd,
and ipc-daemon
  under that account.
----------------------------------------------------

Thanks, best regards,

Giuliano Castelli

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Re: problem with cygipc

От
"Russell Black"
Дата:
----- Original Message -----
From: "Giuliano Castelli" <giulcast@yahoo.com>

> This is the config.log file:
> ----------------------------------------------------
> This file contains any messages produced by compilers
> while
> running configure, to aid debugging if configure makes
> a mistake.
> ....

Why are you trying to build ipc-daemon?  Why don't you just use the
pre-built binary?

> What command must I give for correctly running
> ipc-daemon of cygipc? I am in the directory where
> ipc-daemon.exe is, in a MSDOS window. What must I
> write now?

As stated in your attached readme file, you just need to run

ipc-daemon --install-as-service

This will install the service so that it will automatically start when your
machine is started.  If you don't want to reboot your machine, you can start
the service manually by typing

net start ipc-daemon

after installing it as a service.

Russell



Re: problem with cygipc

От
"Russell Black"
Дата:
Renyu,

In the future, please reply to the entire group, so that others can benefit
(and help), too.

----- Original Message -----
From: "renyu teng" <renyu_teng@yahoo.com>
> > > What command must I give for correctly running
> > > ipc-daemon of cygipc? I am in the directory where
> > > ipc-daemon.exe is, in a MSDOS window. What must I
> > > write now?
> >
> > As stated in your attached readme file, you just
> > need to run
> >
> > ipc-daemon --install-as-service
> I have done this command, but after login to the
> system, I can't see the ipc-daemon started, no idea
> why. I use win 2k.

Does the Cygwin IPC Daemon show up in Start | Settings | Control Panel |
Administrative Tools | Services?  If so, it's been installed.  Can you start
it from there?




Re: problem with cygipc

От
renyu teng
Дата:
--- Russell Black <rblack@iarchives.com> wrote:
> Renyu,
>
> In the future, please reply to the entire group, so
> that others can benefit

sure, I will do that.
> (and help), too.
>
> ----- Original Message -----
> From: "renyu teng" <renyu_teng@yahoo.com>
> > > > What command must I give for correctly running
> > > > ipc-daemon of cygipc? I am in the directory
> where
> > > > ipc-daemon.exe is, in a MSDOS window. What
> must I
> > > > write now?
> > >
> > > As stated in your attached readme file, you just
> > > need to run
> > >
> > > ipc-daemon --install-as-service
> > I have done this command, but after login to the
> > system, I can't see the ipc-daemon started, no
> idea
> > why. I use win 2k.
>
> Does the Cygwin IPC Daemon show up in Start |
> Settings | Control Panel |
> Administrative Tools | Services?

No, it doesn't show up there. but I am sure I have
issued the following command:

ipc-daemon -install-as-service

could you please tell me where I should check and fix
the problem?

thank you.

regards
teng


 If so, it's been
> installed.  Can you start
> it from there?
>
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com