Skip site navigation (1) Skip section navigation (2)

Re: error in cygwin - please help me

From: "Phil Shaw" <phil(at)codestyle(dot)org>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: error in cygwin - please help me
Date: 2004-10-16 10:13:49
Message-ID: 4171026D.21339.881C84@localhost (view raw or flat)
Thread:
Lists: pgsql-cygwin
I just wanted to follow up this post, which solved upgrade issues for 
me with the same symptoms.

http://archives.postgresql.org/pgsql-cygwin/2004-10/msg00020.php

Setting up cygserver fixed the problem and I suggest the PostgreSQL 
install notes should include this dependency. There are notes on 
cygserver set up in the system documentation, but I thought these 
summary points might be helpful to others searching the mail archive.

First, you must be logged in as a Windows Administrator. In a Cygwin 
console run the cygserver configuration script:

% bin/cygserver-config

Overwrite existing /etc/cygserver.conf file? (yes/no) yes
Generating /etc/cygserver.conf file
chown: `system.544': invalid user


Warning: The following function requires administrator privileges!

Do you want to install cygserver as service?
(Say "no" if it's already installed as service) (yes/no) yes

The service has been installed under LocalSystem account.
To start it, call `net start cygserver' or `cygrunsrv -S cygserver'.
chown: `system.544': invalid user

Further configuration options are available by editing the 
configuration
file /etc/cygserver.conf.  Please read the inline information in that
file carefully. The best option for the start is to just leave it 
alone.

Please keep in mind, that a client application which wants to use
the services provided by cygserver *must* have the environment 
variable
CYGWIN set so that it contains the word "server".  So, if you don't
need any other special CYGWIN setting, just set it to "server".

It is advisable to add this setting to the Windows system environment.

Basic Cygserver configuration finished. Have fun!

===========================================================

Then go to Start > Settings > Control Panel > System.

Choose the Advanced tab and select Environment Variables.

In the System Variables section, select New... and enter these 
settings:

Variable Name: CYGWIN
Variable Value: server

Close any active Cygwin console, open a fresh one and enter:

% env | less

This list should include the line:

CYGWIN=server

Press Q to exit less.

Now when you want to start cygserver manually, type:

$ net start cygserver

You will see two processes in the Windows Task Manager:

cygserver.exe and
cygrunsrv.exe

Hope this helps.

Phil

--
<URL:http://www.codestyle.org/>

pgsql-cygwin by date

Next:From: fleiraDate: 2004-10-16 19:05:48
Subject: how to install postgresql on windows 98 SE ?
Previous:From: Reini UrbanDate: 2004-10-16 06:22:54
Subject: Re: [PATCHES] postgresql 8.0 with cygwin - success

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group