www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <BLU102-W1264B16F084C75829C08D4A3DC0@phx.gbl> |
From: | Kyle Stanek <kstanek54 AT hotmail DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | =?iso-8859-1?Q?RE:_Can't_?= =?iso-8859-1?Q?get_SSHD_s?= =?iso-8859-1?Q?tarted_aft?= =?iso-8859-1?Q?er_success?= =?iso-8859-1?Q?fully_runn?= =?iso-8859-1?Q?ing_sshd-h?= =?iso-8859-1?Q?ost-config?= =?iso-8859-1?Q?=E2?= |
Date: | Tue, 22 Sep 2009 12:04:33 -0400 |
In-Reply-To: | <4AB8E8B8.1080309@cygwin.com> |
References: | <BLU102-W2C32F4F68B08E3E52C793A3DC0 AT phx DOT gbl> <299759 DOT 78385 DOT qm AT web25506 DOT mail DOT ukl DOT yahoo DOT com> <BLU102-W79BB2BF96D9A0DEC693FCA3DC0 AT phx DOT gbl> <4AB8E8B8 DOT 1080309 AT cygwin DOT com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--_933320fb-d5e5-43a9-a2e2-e18e35fcda6f_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Thanks a lot for the help. I did the following and sshd now runs successfu= lly: 0. I did some grepping to try and find permissions to reset after my erron= eous direct call to /usr/sbin/sshd. I saved these permissions in a script = which I ran. I'm not sure if this contributed to the fix or not. However,= I have attached the script. 1. I clicked "Keep" until it showed "Reinstall" next to OpenSSH using setu= p.exe. 2. I ran ssh-host-config 3. I ran cygrunsrv --start sshd 4. Got the same error as before, but checked /var/logs/sshd.log and saw: [fido ~]$ cat /var/log/sshd.log /var/empty must be owned by root and not group or world-writable. /var/empty must be owned by root and not group or world-writable. [fido ~]$ ls -ld /var/empty drwxr-xr-x+ 2 sshd Administrators 0 Sep 21 14:20 /var/empty/ 5. So I changed the owner of /var/empty to SYSTEM [fido ~]$ chown SYSTEM /var/empty [fido ~]$=20 6. Then I ran cygrunsrv --start sshd again and sshd started successfully ---------------------------------------- > Date: Tue, 22 Sep 2009 11:09:44 -0400 > From: reply-to-list-only-lh AT cygwin DOT com > To: cygwin AT cygwin DOT com > Subject: Re: Can't get SSHD started after successfully running sshd-host-= config=E2 > > On 09/22/2009 11:07 AM, Kyle Stanek wrote: >> >> Ahh...Thanks for the pointer. Here's the output now: >> >> [fido ~]$ cygcheck /usr/sbin/sshd >> C:\cygwin\usr/sbin/sshd.exe >> C:\cygwin\bin\cygcrypt-0.dll >> C:\cygwin\bin\cygwin1.dll >> C:\WINDOWS\system32\ADVAPI32.DLL >> C:\WINDOWS\system32\KERNEL32.dll >> C:\WINDOWS\system32\ntdll.dll >> C:\WINDOWS\system32\RPCRT4.dll >> C:\WINDOWS\system32\Secur32.dll >> C:\cygwin\bin\cygcrypto-0.9.8.dll >> Error: could not find cygwrap-0.dll >> C:\cygwin\bin\cygz.dll >> [fido ~]$ >> >> Seems suspicious, know where I can get that missing driver? > >=20 > > Install 'libwrap0' using 'setup.exe'. If it says it's already installed, > try re-installing > it. > > -- > Larry Hall http://www.rfk.com > RFK Partners, Inc. (508) 893-9779 - RFK Office > 216 Dalton Rd. (508) 893-9889 - FAX > Holliston, MA 01746 > > _____________________________________________________________________ > > A: Yes. >> Q: Are you sure? >>> A: Because it reverses the logical flow of conversation. >>>> Q: Why is top posting annoying in email? > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > _________________________________________________________________ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/171222985/direct/01/ --_933320fb-d5e5-43a9-a2e2-e18e35fcda6f_ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="resetPermissions.bash" IyEvYmluL2Jhc2gNCnJ1bl9zZXJ2aWNlX2FzPXNzaGQNClNZU0NPTkZESVI9 L2V0Yw0KTE9DQUxTVEFURURJUj0vdmFyDQoNCiMgRm91bmQgdXNpbmc6IGVn cmVwICJjaG93bnxjaGdycHxjaG1vZCIgL2Jpbi9zc2gtaG9zdC1jb25maWcN CmNob3duICIke3J1bl9zZXJ2aWNlX2FzfSIgJHtTWVNDT05GRElSfS9zc2gq DQpjaG93biAiJHtydW5fc2VydmljZV9hc30iLjU0NCAke0xPQ0FMU1RBVEVE SVJ9L2VtcHR5DQpjaG93biAiJHtydW5fc2VydmljZV9hc30iLjU0NCAke0xP Q0FMU1RBVEVESVJ9L2xvZy9sYXN0bG9nDQpjaG93biAiJHtydW5fc2Vydmlj ZV9hc30iLjU0NCAke0xPQ0FMU1RBVEVESVJ9L2xvZy9zc2hkLmxvZw0KY2ht b2QgNzc1ICIke1NZU0NPTkZESVJ9Ig0KY2htb2QgNzc1ICIke0xPQ0FMU1RB VEVESVJ9L2xvZyINCmNobW9kIDY0NCAke0xPQ0FMU1RBVEVESVJ9L2xvZy9s YXN0bG9nDQpjaG1vZCA3NTUgIiR7TE9DQUxTVEFURURJUn0vZW1wdHkiDQoN CiMgRm91bmQgdXNpbmc6IC91c3Ivc2hhcmUvY3NpaC9jeWd3aW4tc2Vydmlj ZS1pbnN0YWxsYXRpb24taGVscGVyLnNoDQpjaG1vZCAxNzc3ICIke0xPQ0FM U1RBVEVESVJ9L3J1biINCg0KIyBUaGVzZSBhcmUgcmVkdW5kYW50IG9yIGNv bmZsaWN0aW5nIHdpdGggcHJldmlvdXMgc2V0dGluZ3MNCiNjaG1vZCAxNzc3 ICIke0xPQ0FMU1RBVEVESVJ9L2xvZyINCiNjaG1vZCA3NTUgIiR7TE9DQUxT VEFURURJUn0vZW1wdHkiDQojY2htb2QgNzU1ICIke1NZU0NPTkZESVJ9Ig0K --_933320fb-d5e5-43a9-a2e2-e18e35fcda6f_ Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple --_933320fb-d5e5-43a9-a2e2-e18e35fcda6f_--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |