Re: error in cygwin - please help me
От | Phil Shaw |
---|---|
Тема | Re: error in cygwin - please help me |
Дата | |
Msg-id | 4171026D.21339.881C84@localhost обсуждение исходный текст |
Ответ на | error in cygwin - please help me (Caroline Perlin <carolineperlin@gmail.com>) |
Список | 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 по дате отправления: