RE: SFTP error 128

2007-12-25 Thread Mr Webber
You need both local and domain accounts in Cygwin.
Restore your local accounts (especially root) by re-running
"/etc/postinstall/passwd-grp.sh.done".

Then add your domain accounts by APPENDING (>>) to the passwd and group
files.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Neil Aggarwal
Sent: Tuesday, December 25, 2007 9:59 AM
To: cygwin@cygwin.com
Subject: RE: SFTP error 128

Hello:

I set read & execute permission on C:\ for Domain Usera and set modify for
Domain Users on C:\Cygwin but I am still getting this error.

Any ideas?

Thanks,
  Neil


--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email
and reclaim your inbox.
Visit http://www.spammilter.com for details. 

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Neil Aggarwal
> Sent: Sunday, December 23, 2007 11:22 AM
> To: cygwin@cygwin.com
> Subject: SFTP error 128
> 
> Hello:
> 
> I have a Windows 2003 SBS server.
> 
> I have set up cygwin SSHD so I can connect to it remotely.
> 
> I can SSH and SFTP to the machine successfully using the Administrator 
> account.
> 
> I want to set up a couple Domain Users to be able to SFTP files up to 
> the server.
> 
> The users are in Active Directory so I first changed the security 
> policy to allow users to log on locally.
> 
> I then created the password and group files using these commands from 
> the Cygwin shell using the Administrator account.
>   mkpasswd -l -d > /etc/passwd
>   mkgroup -l -d > /etc/group
> 
> Next, I logged in as one of the users, ran the cygwin shell and ran 
> ssh-user-config
> 
> Now, from remote, I can ssh to the machine using the domain user's 
> account.
> 
> But, when I try top SFTP, I get error 128.
> 
> According to something I read on the Internet, this means the domain 
> user cannot execute the SFTP subsystem.
> 
> I set permissions of read and execute for Domain Users on the entire 
> C:\Cygwin heirarchy to no avail.
> 
> Any ideas what went wrong?
> 
> Thanks,
>   Neil
> 
> --
> Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk 
> email and reclaim your inbox.
> Visit http://www.spammilter.com for details.
> 


--
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/



RE: SFTP error 128

2007-12-27 Thread Mr Webber

 Very good for one with such a bad attitude!

Now it is time to setup ssh to accept the connection you are trying to make.
Anything you can do with ssh you can do with sftp. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Neil Aggarwal
Sent: Thursday, December 27, 2007 1:51 PM
To: 'Mr Webber'; cygwin@cygwin.com
Subject: RE: SFTP error 128

Mr Webber:

I thought mkpasswd -l -d would process all local and domain accounts
already.  But, I tried what you suggested anyway.

I executed these commands:

/etc/postinstall/passwd-grp.sh.done
mkpasswd -l -d >> /etc/passwd
mkgroup -l -d >> /etc/group

I still get SFTP error 128 when I try to connect using a domain user
account.

Any other ideas?

Thanks,
Neil

--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email
and reclaim your inbox.
Visit http://www.spammilter.com for details. 

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Mr Webber
> Sent: Tuesday, December 25, 2007 3:03 PM
> To: cygwin@cygwin.com
> Subject: RE: SFTP error 128
> 
> You need both local and domain accounts in Cygwin.
> Restore your local accounts (especially root) by re-running 
> "/etc/postinstall/passwd-grp.sh.done".
> 
> Then add your domain accounts by APPENDING (>>) to the passwd and 
> group files.
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Neil Aggarwal
> Sent: Tuesday, December 25, 2007 9:59 AM
> To: cygwin@cygwin.com
> Subject: RE: SFTP error 128
> 
> Hello:
> 
> I set read & execute permission on C:\ for Domain Usera and set modify 
> for Domain Users on C:\Cygwin but I am still getting this error.
> 
> Any ideas?
> 
> Thanks,
>   Neil
> 
> 
> --
> Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk 
> email and reclaim your inbox.
> Visit http://www.spammilter.com for details. 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Neil Aggarwal
> > Sent: Sunday, December 23, 2007 11:22 AM
> > To: cygwin@cygwin.com
> > Subject: SFTP error 128
> > 
> > Hello:
> > 
> > I have a Windows 2003 SBS server.
> > 
> > I have set up cygwin SSHD so I can connect to it remotely.
> > 
> > I can SSH and SFTP to the machine successfully using the
> Administrator
> > account.
> > 
> > I want to set up a couple Domain Users to be able to SFTP
> files up to
> > the server.
> > 
> > The users are in Active Directory so I first changed the security 
> > policy to allow users to log on locally.
> > 
> > I then created the password and group files using these
> commands from
> > the Cygwin shell using the Administrator account.
> >   mkpasswd -l -d > /etc/passwd
> >   mkgroup -l -d > /etc/group
> > 
> > Next, I logged in as one of the users, ran the cygwin shell and ran 
> > ssh-user-config
> > 
> > Now, from remote, I can ssh to the machine using the domain user's 
> > account.
> > 
> > But, when I try top SFTP, I get error 128.
> > 
> > According to something I read on the Internet, this means
> the domain
> > user cannot execute the SFTP subsystem.
> > 
> > I set permissions of read and execute for Domain Users on
> the entire
> > C:\Cygwin heirarchy to no avail.
> > 
> > Any ideas what went wrong?
> > 
> > Thanks,
> >   Neil
> > 
> > --
> > Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk 
> > email and reclaim your inbox.
> > Visit http://www.spammilter.com for details.
> > 
> 
> 
> --
> 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/


--
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/



--
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/



RE: Squid use and configuration on cygwin

2007-12-29 Thread Mr Webber

 
One should not blame the world for one's inability to express one's self.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Dave Korn
Sent: Saturday, December 29, 2007 6:08 AM
To: cygwin@cygwin.com
Subject: RE: Squid use and configuration on cygwin

On 26 December 2007 15:49, Kevin Hilton wrote:

> The official squid documentation keeps talking of a Cygwin users 
> guide, however I cant find any link to this guide.

On 29 December 2007 02:38, Kevin Hilton wrote:

> So any of you geniuses that pointed me to the Cygwin users guide want
> to tell me specifically where the squid section is located??   Thanks
> for no help at all.  I asked specifically about squid as it related to 
> cygwin, or perhaps you guys were too busy to show me how smart you 
> were.

  You have misunderstood what the "official squid documentation" was talking
about when it referred to the "cygwin users guide"; it was referring to the
cygwin users guide, which is the general cygwin operating instructions that
you got referred to, and not to any specific cygwin *squid* users guide.

  Being an ass about it will not resolve the situation, although it might
make you feel better.

  I don't run squid myself, but I took a look at the package listing.  Have
you read /usr/share/doc/Cygwin/squid-2.6.STABLE17.README and everything in
/usr/share/doc/squid-2.6.STABLE17/?  Those are the first places to start.

cheers,
  DaveK
--
Can't think of a witty .sigline today


--
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/



--
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/



RE: 'makewhatis' coughs on 'wput.1.gz' (on Vista)

2007-12-29 Thread Mr Webber

 
Checked it with winrar

 D:\cygwin\usr\share\man\man1\wput.1.gz: CRC failed in wput.1. The file is
corrupt

It's cooked!
I tried to reinstall from Georgia Tech Mirror.  It is cooked too.

You could you ftp drive by a script, until this gets fixed.

This is one of those cygwin commands I was completely unaware of.  I have
always used script-drive ftp.

I don't like to get too dependent on non-standard commands.  But if you must
use wput, you can get the source at
http://sourceforge.net/search/?type_of_search=soft&type_of_search=soft&words
=wput

and recreate the garbled man page.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Dave Korn
Sent: Saturday, December 29, 2007 10:16 AM
To: 'Cygwin'
Subject: RE: 'makewhatis' coughs on 'wput.1.gz' (on Vista)

On 28 December 2007 05:03, Lee D. Rothstein wrote:

> 'makewhatis ('whereis' and 'apropos' database setup script) generates 
> the following errors:
> 
> $ makewhatis
> 
> gzip: /usr/share/man/man1/./wput.1.gz: invalid compressed data--crc 
> error
> 
> gzip: /usr/share/man/man1/./wput.1.gz: invalid compressed data--length 
> error
> 
> Reinstall of 'man' and 'wput' does not help.
> 
> Anybody know what the problem is?

  The man page shipped with the package is buggy (appears to have been
truncated).  It's a new package, this was the first version; I expect the
maintainer will prepare a new one once all the christmas/new year stuff is
out of the way.  In the meantime, you can get a fresh upstream version by
running these commands in a bash shell:

cd /tmp
wget 'http://ftp.de.debian.org/debian/pool/main/w/wput/wput_0.6.orig.tar.gz'
tar xfvz wput_0.6.orig.tar.gz  wput/doc/wput.1.gz mv wput/doc/wput.1.gz
/usr/share/man/man1/wput.1.gz rm -rf wput wput_0.6.orig.tar.gz




  Ah, I think I've worked out how the file got mangled:

/tmp/wput/wput/doc $ od -tx1 -Ax /usr/share/man/man1/wput.1.gz >bad
@___. .
(   /"\
 ||--||(___)
 '"  '"'---'
/tmp/wput/wput/doc $ od -tx1 -Ax wput.1.gz >good @___. .
(   /"\
 ||--||(___)
 '"  '"'---'
/tmp/wput/wput/doc $ diff -pu good bad
--- good2007-12-29 15:12:55.502729600 +
+++ bad 2007-12-29 15:12:50.575644800 +
@@ -31,7 +31,7 @@
 0001e0 36 22 e2 04 1c c8 19 4f c3 11 2a bb 29 eb 60 53  0001f0 aa a7 8e f5
7a ed fc 18 72 24 e9 4d 09 31 d2 fc  000200 f2 bd 1e 3d f5 f6 2c 59 ba c2 f9
b5 32 97 56 b5 -000210 4b f3 c0 9b 55 55 0d 09 a4 27 72 7c 08 6d af d6
+000210 4b f3 c0 9b 55 55 0a 09 a4 27 72 7c 08 6d af d6
 000220 38 59 f9 09 3a 1c 1b 08 a5 dc 71 3f 9e 82 72 f7  000230 96 42 73 05
98 4f 6c f1 e0 aa b2 d8 50 95 72 54  000240 1e 33 5d 2c ac f7 c2 82 8b 5e 55
16 e0 f2 c1 a5 @@ -81,7 +81,7 @@  000500 14 4b c0 0f 2e 00 d0 08 9c f1 2b 2f
9f 4c 87 37  000510 98 76 7f 88 ea a7 e7 21 b2 51 4c d7 82 92 66 84  000520
6e 6b 33 ba 4c bd 5b 98 59 8d 84 d8 6c cd b5 e0 -000530 30 8f 77 57 37 66 74
b7 bc bc 9b fc 0d 8a 1c 99
+000530 30 8f 77 57 37 66 74 b7 bc bc 9b fc 0a 8a 1c 99
 000540 af f1 e4 47 c0 1b bb 31 a3 c9 df f0 fe e6 a5 79  000550 d2 5b 75 37
41 e2 f1 8a e1 3e 5b 1d df c8 47 c9  000560 4b e7 b7 79 aa ca 0c 2f 68 cf 94
db b4 47 6f 7d @@ -105,10 +105,10 @@  000680 37 2c 4c 78 18 37 34 b7 eb 60
db 1e 70 6b 13 f2  000690 a8 2b 10 02 37 12 83 99 de 69 f1 11 87 25 59 89
0006a0 4c 43 17 61 5a 8c 29 91 25 82 59 e6 29 f0 c1 ce -0006b0 2d 10 27 f9
12 a5 2a 42 c0 bc 59 0d 9c ae 18 38
+0006b0 2d 10 27 f9 12 a5 2a 42 c0 bc 59 0a 9c ae 18 38
 0006c0 5e 31 78 3e 64 25 ff 5b a7 e4 fb c3 a3 5e 22 bf  0006d0 33 af 84 87
3c 23 98 67 71 c4 fc 97 35 0b 7a d7 -0006e0 81 dc b5 46 45 79 e6 36 0d b2 ce
4c d1 09 51 6f
+0006e0 81 dc b5 46 45 79 e6 36 0a b2 ce 4c d1 09 51 6f


  It's been d2u'd, which isn't the right thing to do with a compressed file!

cheers,
  DaveK
--
Can't think of a witty .sigline today


--
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/



--
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/



RE: Base packages appear to be missing from fresh setup install

2008-01-03 Thread Mr Webber

 
Just a guess here.

The relative location of the setup.exe and the download directory must be
the same.  Check the .ini file for proof of this. And make sure the download
folder name maintains the escape codes.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Larry Hall (Cygwin)
Sent: Friday, January 04, 2008 12:48 AM
To: cygwin@cygwin.com
Subject: Re: Base packages appear to be missing from fresh setup install

[EMAIL PROTECTED] wrote:
> Base packages appear to be missing from fresh setup install
> 
> The problem in short:
> 
> I run setup and download everything onto a removable hard disk; I move 
> the disk to a computer without network for a clean install; I run 
> setup from local directory, using default choices;
> OUTCOME: nothing gets installed
> EXPECTED OUTCOME: the base stuff would get installed APPARENT REASON: 
> the "base" category is missing from what I downloaded OTHER THINGS I 
> TRIED: re-downloading everything from other mirrors too
> QUESTION: is there a known problem with the distribution sites?

No.




> QUESTIONS:
> 
> Is anyone else experiencing the problem? IE you download a full set 
> and notice it's incomplete and won't install?
> 
> If three mirrors all serve a download set that doesn't work, is the 
> problem possibly at the root distribution site?


No.  I suggest trying the mirrors when connected to the Internet, inspecting
their contents directly, using 'wget' or 'curl' to mirror the site you want,
or just trying another mirror.  mirrors.xmission.com works fine for me.  A
quick look at ftp.mirrorservice.org suggests it is OK too though.


> Would it be possible for the cygwin team to publish the list of 
> packages of the full distribution on their web site, so that one could 
> check whether what one is getting contains everything that it should?


Already done.  See .



-- 
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?

--
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/



--
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/



RE: Does clock() work?

2008-01-08 Thread Mr Webber
CLOCKS_PER_SEC is a machine dependent macro, but not so machine dependent to
recognize that my 32-bit windows box has dual processors.  Not useful for
benchmarking, is it.

clock is not the way to go. It is a crude estimation of processor time.  On
regular UNIX times(2) is the function to use -- cygwin does not seem to have
it.

 I don't know if this helps, but:

My cygwin reports
$ ./chktime
CLOCKS_PER_SEC = 1000
clock() = 31
clock() = 31
clock() = 31
clock() = 31
clock() = 31
clock() = 31
clock() = 31
clock() = 31

My 64-bit Fedora/Linux reports
# ./chktime
CLOCKS_PER_SEC = 100
clock() = 0
clock() = 0
clock() = 0
clock() = 0
clock() = 0
clock() = 0
clock() = 0
clock() = 0

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Norton Allen
Sent: Tuesday, January 08, 2008 12:57 PM
To: cygwin@cygwin.com
Subject: Does clock() work?

I am trying to write a benchmark application, and figured I'd use
clock() for sub-second resolution timing, but I got non-sensical results. I
check the cygwin archives, but the only mention I saw was that clock()
didn't work on Win98. Here's my test code, chktime.c:

#include 
#include 
#include 

int main( int argc, char **argv ) {
  clock_t cur_time, cps = CLOCKS_PER_SEC;
  int i;
 
  printf( "CLOCKS_PER_SEC = %ld\n", cps );
  for ( i = 0; i < 8; i++ ) {
sleep(1);
cur_time = clock();
printf( "clock() = %ld\n", cur_time );
  }
  return 0;
}

and here's the output I get:

Cygwin> ./chktime
CLOCKS_PER_SEC = 1000
clock() = 171
clock() = 171
clock() = 171
clock() = 171
clock() = 171
clock() = 171
clock() = 171
clock() = 171
Cygwin>

I would expect the clock() values to increase by approximately 1000 on each
iteration. (Yes, the sleep() seems to be working, as the lines come out at
about 1 Hz.)

Is this a known problem? Do others get this result, or do I have a corrupted
library?

-Norton Allen


--
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/



--
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/



RE: Does clock() work?

2008-01-08 Thread Mr Webber

 
Took another look and found that times(2), though not documented, is
available in Cygwin (as a macro in ). Try it.  You should be
able to get "real" granular time with it, since it also returns a clock_t,
without massaging the data returned with any magic CONSTANTS that vary from
mach to mach, skewing the results.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Norton Allen
Sent: Tuesday, January 08, 2008 1:40 PM
To: Mr Webber; cygwin@cygwin.com
Subject: Re: Does clock() work?

Mr Webber wrote:
> CLOCKS_PER_SEC is a machine dependent macro, but not so machine 
> dependent to recognize that my 32-bit windows box has dual processors.  
> Not useful for benchmarking, is it.
>   
It's not quite clear to me why multiple processors would affect the
interpretation of CLOCKS_PER_SEC, or why such a simple model would not work
in a single-threaded app for basic benchmarking. I'm not talking about a
utility to launch commercial apps (which might be multithreaded, etc.),
just:

* record the current time
* do something single-threaded
* record the current time and calculate elapsed time

> clock is not the way to go. It is a crude estimation of processor 
> time.  On regular UNIX times(2) is the function to use -- cygwin does 
> not seem to have it.
>   
Any other suggestions for timing resolution better than one second on
cygwin?

-Norton


--
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/



RE: imake on vista with admin rights

2008-01-26 Thread Mr Webber
Try it from a cygwin shell.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Joey Chestnut
Sent: Saturday, January 26, 2008 3:56 AM
To: cygwin@cygwin.com
Subject: imake on vista with admin rights


I installed cygwin 1.5.24-2 last week on vista (ultimate). UAC is disabled
and I'm a user in the admin group (hence an admin). When I try to run imake
in an administrator dos shell I get the following:

C:\>imake
imake: Permission denied
imake: Cannot create temporary file Makefile.
  Stop.

Any ideas on why permission is denied still? Could there be an installation
problem? make,ls etc. run fine in the dos shell.

Thanks,

JC

_
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008

--
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/



--
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/



RE: When sshd is started at /etc/rc.d/init.d .. how to start with windows at bootup

2008-01-28 Thread Mr Webber
When setting up my init, I found lots of good information by having rsyslogd
running as a service, prior to and a dependent of the other cygwin services.


Those services that can be started via init scripts need not run as NT
services.

By examining both the eventlog and /var/log/messages, you will find which
services have to be configured to allow user aliasing, etc.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Bayu
Sent: Monday, January 28, 2008 12:26 PM
To: Harry Putnam
Cc: cygwin@cygwin.com
Subject: Re: When sshd is started at /etc/rc.d/init.d .. how to start with
windows at bootup

Harry Putnam wrote:
> In the course of just kind of following my nose during cygwin install
> I managed to get sshd setup to start restart etc at 
>
> /etc/rc.d/init.d cmd
>
> I like that setup but it seems not to be conducive to working with
> cygrunsrv or windows native  `net start cmd'  both of those approaches
> fail.
>
>C:\>net start sshd
>The CYGWIN sshd service is starting.
>The CYGWIN sshd service could not be started.
>The service did not report an error.
>More help is available by typing NET HELPMSG 3534
>
>cygrunsrv -S sshd
>cygrunsrv: Error starting a service: QueryServiceStatus:  Win32   
>error 1062:
>The service has not been started.
>
> But it starts just fine this way:
>
>/etc/rc.d/init.d/sshd start
>   Starting sshd: [  OK  ]
>
> That is all fine with me except that I want sshd started on bootup
> So that I can connect via ssh without having to go to the machine to
> start sshd.
>
> So what kind of mechanism is available to do this?  A batch file
> maybe?  If so I may need a little coaching with that too.  I think I
> could probably get close but I don't really know what commands might
> be requred to get to `/etc/rc.d/init.d/sshd start' starting from a
> windows dos prompt or at least initially from outside bash.
>
>   

use /bin/ssh-host-config script to install ssh as services, its work
fine with me

--
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/



--
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/



RE: Cronjobs not running

2008-01-28 Thread Mr Webber
What does your syslog tell you?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Gabe Green
Sent: Monday, January 28, 2008 1:52 PM
To: cygwin@cygwin.com
Subject: Cronjobs not running

$ps -W|grep cron
141213841600con 18  Jan 17
/usr/sbin/cron

0 1 * * mon /home/Administrator/monday.sh
0 1 * * tue /home/Administrator/tuesday.sh
0 1 * * wed /home/Administrator/wednesday.sh
0 1 * * thu /home/Administrator/thursday.sh
0 1 * * fri /home/Administrator/friday.sh
0 1 * * sat /home/Administrator/saturday.sh

example contents of monday.sh (755):
#!/bin/sh
rm -rf /cygdrive/M/ # M is a persistent, network mapped drive
cp -Rv /cygdrive/D/IBM /cygdrive/M/
cp -Rv /cygdrive/D/ar /cygdrive/M/

When I login the next morning, there is nothing in M:\

However, if I run these scripts manually, they work just fine.

Any ideas?

Thanks - 
Gabe


--
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/



--
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/



RE: bash's builtin "test" command kills bash on Windows Server 2003 R2

2008-01-30 Thread Mr Webber
That was my thought. I get:

[EMAIL PROTECTED] ~
$ type -a test
test is a shell builtin
test is /usr/bin/test

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Larry Hall (Cygwin)
Sent: Wednesday, January 30, 2008 2:15 PM
To: cygwin@cygwin.com
Subject: Re: bash's builtin "test" command kills bash on Windows Server 2003
R2

Brian J. Johnson wrote:
> Larry Hall (Cygwin) wrote:
>> Brian J. Johnson wrote:



>>> Cygcheck output is below.  Strace output available on request.  (Note 
>>> that cygcheck shows Microsoft's SUA is installed.  It failed the same 
>>> way before and after I installed SUA.)
>>>
>>> Thanks,
>>
>> What does 'type -a test' say?  Are you sure you're not getting something
>> from SUA?
>>
> 
> bash-3.2$ type -a test
> test is a shell builtin
> 
> It also failed before installing SUA.

Ah, yes.  You mentioned that.  Sorry for my poor reading skills. ;-)

I currently don't have access to a 64-bit Windows (anything) but I find
it curious that "type -a" doesn't show you the 'test.exe' that you have
in '/bin' (and technically '/usr/bin') like I get when I do this (from
XP32).  I don't know what this really means.  I'm just throwing it out
as a peculiar difference.

-- 
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?

--
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/



--
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/



RE: Section 508 Compliance

2008-02-01 Thread Mr Webber


Let me start by declaring that I am not a lawyer; But:

If the following is correct, CYGWIN does not qualify as an application nor
is it an operating system and would (should) not be subject to Section 508.

Cygwin is an environment emulator.

--
Summary of Section 508 technical standards

Software Applications and Operating Systems: includes usability for people
that are visually impaired, such as alternative keyboard navigation. 
Web-based Intranet and Internet Information and Applications: assures
accessibility to web page graphics by the visually impaired using assistive
technology such as screen readers and refreshable Braille displays. This is
accomplished by using text labels and descriptors for graphics. 
Telecommunications Products: addresses accessibility for people who are deaf
or hard of hearing. This includes technology compatibility with hearing
aids, assistive listening devices, and TTYs. 

Videos or Multimedia Products: includes requirements for captioning of
multimedia products such as training or informational multimedia
productions. Captioning or video descriptors must be able to be turned on or
off. 

Self Contained, Closed Products: products with embedded software, such as
information kiosks, copiers, and fax machines, often cannot be used with
assistive technology. This standard requires that access features be built
into these systems. 
Desktop and Portable Computers: discusses accessibility related to
mechanically operated controls such as keyboards and touch screens.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Heaney, Robin G
Sent: Friday, February 01, 2008 2:09 PM
To: cygwin@cygwin.com
Cc: Heaney, Robin G; Carrington-Duckett, Laura B.
Subject: Section 508 Compliance

I checked the FAQ and did numerous searches both on your website and
Google, but could not find any mention of Cygwin being section 508
compliant.  

Can you please let us know if the latest version of Cygwin is compliant
with Section 508 of the Rehabilitation Act?  If possible, please provide
us a completed Voluntary Product Accessibility Template (VPAT).


Regards,
Robin Heaney
SAIC, NBIS CM Specialist
865-481-2810

Confidentiality Notice: This communication and any attachments may
contain information that is proprietary to SAIC and/or its customers. It
may be used by the intended recipient only for the purpose for which it
was transmitted. If you received this message in error, please return it
to the sender and delete this copy from your system.

 


--
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/



--
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/



RE: Section 508 Compliance

2008-02-01 Thread Mr Webber
Cygwin uses windows display libraries.  So, it would seem that Windows
usability or accessibility tools might work on the Cygwin Console or an
X-Cygwin window.

Have you tried any of them? I just tried the Magnifier and it works just
fine.

-Original Message-
From: Heaney, Robin G [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 01, 2008 2:44 PM
To: Mr Webber
Cc: Carrington-Duckett, Laura B.
Subject: RE: Section 508 Compliance

Thank you for your email.  Can you let me know if Cygwin has any
user-interface that could be affected?

Thanks,
Robin Heaney
SAIC

-Original Message-
From: Mr Webber [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 01, 2008 2:40 PM
To: Heaney, Robin G; cygwin@cygwin.com
Cc: Carrington-Duckett, Laura B.
Subject: RE: Section 508 Compliance



Let me start by declaring that I am not a lawyer; But:

If the following is correct, CYGWIN does not qualify as an application
nor
is it an operating system and would (should) not be subject to Section
508.

Cygwin is an environment emulator.

--
Summary of Section 508 technical standards

Software Applications and Operating Systems: includes usability for
people
that are visually impaired, such as alternative keyboard navigation. 
Web-based Intranet and Internet Information and Applications: assures
accessibility to web page graphics by the visually impaired using
assistive
technology such as screen readers and refreshable Braille displays. This
is
accomplished by using text labels and descriptors for graphics. 
Telecommunications Products: addresses accessibility for people who are
deaf
or hard of hearing. This includes technology compatibility with hearing
aids, assistive listening devices, and TTYs. 

Videos or Multimedia Products: includes requirements for captioning of
multimedia products such as training or informational multimedia
productions. Captioning or video descriptors must be able to be turned
on or
off. 

Self Contained, Closed Products: products with embedded software, such
as
information kiosks, copiers, and fax machines, often cannot be used with
assistive technology. This standard requires that access features be
built
into these systems. 
Desktop and Portable Computers: discusses accessibility related to
mechanically operated controls such as keyboards and touch screens.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
Heaney, Robin G
Sent: Friday, February 01, 2008 2:09 PM
To: cygwin@cygwin.com
Cc: Heaney, Robin G; Carrington-Duckett, Laura B.
Subject: Section 508 Compliance

I checked the FAQ and did numerous searches both on your website and
Google, but could not find any mention of Cygwin being section 508
compliant.  

Can you please let us know if the latest version of Cygwin is compliant
with Section 508 of the Rehabilitation Act?  If possible, please provide
us a completed Voluntary Product Accessibility Template (VPAT).


Regards,
Robin Heaney
SAIC, NBIS CM Specialist
865-481-2810

Confidentiality Notice: This communication and any attachments may
contain information that is proprietary to SAIC and/or its customers. It
may be used by the intended recipient only for the purpose for which it
was transmitted. If you received this message in error, please return it
to the sender and delete this copy from your system.

 


--
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/



--
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/



Need info on removing corrupted parrot 7.1

2009-02-25 Thread Mr Webber
I get an error with setup trying to access memory loc #0 when attempting to
remove or update parrot 7.1.  I tried editing setup files and removing
manually, with negative results.  Anyone have any ideas?


--
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/