X-Spam-Check-By: sourceware.org X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAOjdekaC1Apk/2dsb2JhbAA Date: Thu, 21 Jun 2007 20:27:27 -0700 (PDT) From: KAYVEN RIESE To: gga cc: cygwin AT cygwin DOT com Subject: Re: cygrunsrv -S sshd fails not started In-Reply-To: <467B3A25.6020706@advancedsl.com.ar> Message-ID: References: <1182469846 DOT 20350 DOT ezmlm AT cygwin DOT com> <467B3A25 DOT 6020706 AT advancedsl DOT com DOT ar> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-959030623-1182482847=:11135" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ---559023410-959030623-1182482847=:11135 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed On Thu, 21 Jun 2007, gga wrote: > KAYVEN RIESE wrote: >> On Thu, 21 Jun 2007, KAYVEN RIESE wrote: >> >>> >>> kayve AT kayve-PC ~ >>> $ cygrunsrv -S sshd >>> cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error >>> 1062: >>> The service has not been started. >>> > > Check /var/log/sshd.log. There's probably more info why it failed there. > You can also try starting the daemon manually for testing, as an > administrator like (this will output more verbose info to the console): > > /usr/sbin/sshd -d -d -d -D kayve AT kayve-PC /var/log $ cat 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. /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. /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. /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. kayve AT kayve-PC /var/log $ /usr/sbin/sshd -d -d -d -D debug2: load_server_config: filename /etc/sshd_config debug2: load_server_config: done config len =3D 196 debug2: parse_server_config: config /etc/sshd_config len 196 debug3: /etc/sshd_config:13 setting Port 22 debug3: /etc/sshd_config:38 setting StrictModes no debug3: /etc/sshd_config:92 setting UsePrivilegeSeparation yes debug3: /etc/sshd_config:106 setting Subsystem sftp=20 /usr/sbin/sftp-server debug1: sshd version OpenSSH_4.6p1 debug1: private host key: #0 type 0 RSA1 debug3: Not a RSA1 key file /etc/ssh_host_rsa_key. debug1: read PEM private key done: type RSA debug1: private host key: #1 type 1 RSA debug3: Not a RSA1 key file /etc/ssh_host_dsa_key. debug1: read PEM private key done: type DSA debug1: private host key: #2 type 2 DSA debug1: rexec_argv[0]=3D'/usr/sbin/sshd' debug1: rexec_argv[1]=3D'-d' debug1: rexec_argv[2]=3D'-d' debug1: rexec_argv[3]=3D'-d' debug1: rexec_argv[4]=3D'-D' debug2: fd 3 setting O_NONBLOCK debug1: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. Generating 768 bit RSA key. RSA key generation complete. interestingly, a vista dialog came up about blocking, unblocking.. i told it to unblock. i am thinking of trying a localhost connect now > > A common cause for that query problem is one of your config files having > a wrong configuration, for example. > > P.S. Installing openssh on cygwin has been nothing but a huge pain for > me, as the docs are mostly worthless. > > --=20 > Gonzalo Garramu=F1o > ggarra AT advancedsl DOT com DOT ar > > AMD4400 - ASUS48N-E > GeForce7300GT > Kubuntu Edgy > > -- > 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/ > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------* ---559023410-959030623-1182482847=:11135 Content-Type: text/plain; charset=us-ascii -- 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/ ---559023410-959030623-1182482847=:11135--