Thread: Cygrunsrv error

Cygrunsrv error

From
"bsytko"
Date:
Hello,

I followed the guide that came with Cygwin to install PostegreSQL. It was at
/usr/share/doc/Cygwin/Postgre.

When I was running this command:

cygrunsrv -S ipc-daemon2

I get this error:

Cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
The service has not been started.

I am running XP Pro with SP1 and I just the latest version of Cygwin to
download and install the programs that the guide said I needed. I added the
path to Cygwin to the system path and rebooted and it still failed at that
error message. Thanks

-Ben Sytko



Re: Cygrunsrv error

From
Jason Tishler
Date:
Ben,

On Mon, Jan 19, 2004 at 04:12:17PM -0500, bsytko wrote:
> When I was running this command:
>
> cygrunsrv -S ipc-daemon2
>
> I get this error:
>
> Cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error
> 1062: The service has not been started.

Does the following from the README help?

    4. Cygwin PostgreSQL can fail to start or not function properly if
    certain files and directories have incorrect permissions.  The
    following usually solves these kinds of problems:

        $ chmod a+rwx /tmp
        $ chmod a+rx /usr/bin /usr/bin/*
        $ chmod a+rw /var/log # could adversely affect other daemons

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

Re: Cygrunsrv error

From
"Leeuw van der, Tim"
Date:
Type:

ipc-daemon2 --help


As one of it's options, it lists --install-as-service

It should work dat way.

regards,

--Tim

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.



-----Original Message-----
From: pgsql-cygwin-owner@postgresql.org
[mailto:pgsql-cygwin-owner@postgresql.org]On Behalf Of bsytko
Sent: maandag 19 januari 2004 22:12
To: pgsql-cygwin@postgresql.org
Subject: [CYGWIN] Cygrunsrv error


Hello,

I followed the guide that came with Cygwin to install PostegreSQL. It was at
/usr/share/doc/Cygwin/Postgre.

When I was running this command:

cygrunsrv -S ipc-daemon2

I get this error:

Cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
The service has not been started.

I am running XP Pro with SP1 and I just the latest version of Cygwin to
download and install the programs that the guide said I needed. I added the
path to Cygwin to the system path and rebooted and it still failed at that
error message. Thanks

-Ben Sytko



---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Re: Cygrunsrv error

From
"bsytko"
Date:
Jason,

I tried the CHMOD commands and they didn't help. I vaguely followed this
guide topic you covered here (thanks Google):

http://archives.postgresql.org/pgsql-cygwin/2003-10/msg00080.php

I couldn't keep up because the the next buttons just take me to the next
thread. Really confusing.. Anyway I will try a clean install of Cygwin and
see if that helps. Thanks.

-Ben Sytko

-----Original Message-----
From: pgsql-cygwin-owner@postgresql.org
[mailto:pgsql-cygwin-owner@postgresql.org] On Behalf Of Jason Tishler
Sent: Monday, January 19, 2004 5:47 PM
To: Pgsql-Cygwin
Subject: Re: [CYGWIN] Cygrunsrv error

Ben,

On Mon, Jan 19, 2004 at 04:12:17PM -0500, bsytko wrote:
> When I was running this command:
>
> cygrunsrv -S ipc-daemon2
>
> I get this error:
>
> Cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error
> 1062: The service has not been started.

Does the following from the README help?

    4. Cygwin PostgreSQL can fail to start or not function properly if
    certain files and directories have incorrect permissions.  The
    following usually solves these kinds of problems:

        $ chmod a+rwx /tmp
        $ chmod a+rx /usr/bin /usr/bin/*
        $ chmod a+rw /var/log # could adversely affect other daemons

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 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match



Re: Cygrunsrv error

From
Jason Tishler
Date:
On Tue, Jan 20, 2004 at 09:41:49AM -0600, Leeuw van der, Tim wrote:
> Type:
>
> ipc-daemon2 --help
>
>
> As one of it's options, it lists --install-as-service

Doh!  I read Ben's post as:

    cygrunsrv -S postmaster
                 ^^^^^^^^^^

Sorry, for the noise.

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