This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cygserver won't start after update


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Forgive me if this is a FAQ; I checked the FAQ, the User's Guide, and
the mailiing list archive without turning up anything that looked
promising.

,----[ Problem Summary ]
| I updated my cygwin installation on 2004-11-15; since then, I can't run
| PostgreSQL because cygserver is hung in a starting state.
`----

I had updated my Windows XP Pro system previously on 2004-11-03, and all
seemed okay (even if I don't run PostgreSQL daily, I do a backup every
day or two, and the backup runs pgdumpall).

On 2004-11-15, I ran setup.exe, and it wanted to update (IIRC) three
groups: cygwin base, cygwin1, and postgresql.  I selected "keep" for
postgresql (I didn't have time to do a backup in case I needed to
restore), and I let it update the other two.  I seem to recall a popup
window saying it couldn't install cygwin1.dll or some such, but I was
busy and just closed it.  I then rebooted, as requested (and have done
so 1 or 2 more times since then).

Here is the (hopefully) pertinent section from setup.log:

......................................................................
2004/11/15 19:51:14 site: http://mirrors.rcn.net/pub/sourceware/cygwin
2004/11/15 19:51:57 Downloaded C:\Documents and Settings\Bill Harris\Desktop/http%3a%2f%2fmirrors.rcn.net%2fpub%2fsourceware%2fcygwin/release/base-files/base-files-3.1-4.tar.bz2
2004/11/15 19:52:11 Downloaded C:\Documents and Settings\Bill Harris\Desktop/http%3a%2f%2fmirrors.rcn.net%2fpub%2fsourceware%2fcygwin/release/cygwin/cygwin-1.5.12-1.tar.bz2
2004/11/15 19:52:11 Uninstalling base-files
2004/11/15 19:52:11 running: C:\cygwin\bin\sh.exe -c /etc/preremove/base-files.sh
2004/11/15 19:52:13 Uninstalling cygwin
2004/11/15 19:52:15 Installing file://C:\Documents and Settings\Bill Harris\Desktop/http%3a%2f%2fmirrors.rcn.net%2fpub%2fsourceware%2fcygwin/release/base-files/base-files-3.1-4.tar.bz2
2004/11/15 19:52:15 Installing file://C:\Documents and Settings\Bill Harris\Desktop/http%3a%2f%2fmirrors.rcn.net%2fpub%2fsourceware%2fcygwin/release/cygwin/cygwin-1.5.12-1.tar.bz2
2004/11/15 19:52:16 Failed to open cygfile:///usr/bin/cygwin1.dll for writing.
2004/11/15 19:52:17 Scheduled reboot replacement of file C:\cygwin/bin//cygwin1.dll with C:\cygwin/bin//cygwin1.dll.new
2004/11/15 19:52:21 Failed to open cygfile:///usr/sbin/cygserver.exe for writing.
2004/11/15 19:52:21 Scheduled reboot replacement of file C:\cygwin/usr/sbin/cygserver.exe with C:\cygwin/usr/sbin/cygserver.exe.new
2004/11/15 19:52:22 mbox note: In-use files have been replaced. You need to reboot as soon as possible to activate the new versions. Cygwin may operate incorrectly until you reboot.
2004/11/15 19:52:27 Visited: 120 nodes out of 533.
......................................................................

Later I tried to run a backup, and it failed.  Postmaster was not
running; when I tried to start it with Windows Services, it said
postmaster couldn't run because cygserver was starting (error 1068).  I
checked: CYGWIN cygserver and CYGWIN cron were the only two processes
with a Starting status, and cygserver was in its dependency group.  If I
right-click on cygserver, all of the Start, Stop, ... Restart options
are grayed out.  It's set to Automatic startup, path is
C:\cygwin\bin\cygrunsrv.exe, it will log on as Local System account, and
the only component depending upon it is postmaster.

Cygwin bash shell starts up fine today, and setup can run just fine
(I again set postgresql to "keep"), but cygserver won't finish
starting.  I made my last backup 2004-11-10, so that's the last time I
can easily prove postmaster was running, although I may have been
running it at least one day later.   The CYGWIN variable is set to
server, as required.  /etc/cygserver.conf has only one option
uncommented: kern.ipc.semmns 100

Any thoughts about anything that changed in the last few days which
could account for this?  Any data I should check to research this more?

Thanks,

Bill
- -- 
Bill Harris
Facilitated Systems
http://facilitatedsystems.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: For more information, see http://www.gnupg.org

iD8DBQFBmivS3J3HaQTDvd8RAvHhAJ9JVaJgc/tzJQdKFDFbn/WH/l0ztwCfTh7d
BRKe6PXOMfQBWZyQzJJVHyA=
=z+Th
-----END PGP SIGNATURE-----



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]