Re: Slow manipulation of network-shared files

2010-02-06 Thread Chap Harrison
Reini Urban wrote: > > 5s looks more like a race. But I have no idea what could cause the race. > Could be that Java is still holding the handle until the gc frees it. > Interesting thought. I just tried a one-second delay before my first attempt to move the file after having seen the log mess

Slow manipulation of network-shared files

2010-02-05 Thread Chap Harrison
This is wordy but I've tried to make it clear :-) I have a Perl app running in Cygwin 1.7.1, whose job is to monitor the log files being written by a Java program on another Windows Server 2003 box elsewhere on the LAN. (I'm using the CPAN File::Tail module, which provides 'tail -f' functionalit

Re: OpenSSH login failing thru PuTTY/plink

2009-07-15 Thread Chap Harrison
Jurriaan Kalkman wrote: > > any messages in the ssh logs on the servers? Any difference if you run > sshd with debug on on the servers? > This probably isn't what you mean, but -- I looked in /var/log/. sshd.log is length 0 and hasn't been touched in several weeks. The only file with a curre

Re: Sending data to a script over SSH

2009-07-15 Thread Chap Harrison
defaria wrote: > > Why are you trying to deal with a very manual, step by step, point and > click method of thinking and doing? The basic task here is to get data > from an Excel worksheet (which is not a good input method to start with) > to a text file. There are programmatic ways to do thi

OpenSSH login failing thru PuTTY/plink

2009-07-15 Thread Chap Harrison
Hi, I've installed and configured OpenSSH on two Windows 2003 Server / Cygwin machines ("chaplab1" and "chaplab2"). I've tried, with PuTTY and plink.exe on a Windows 2003 machine on the same LAN, to connect chaplab2, and get "failed to authenticate". But I *can* PuTTY to chaplab1/Cygwin, and fr

Sending data to a script over SSH

2009-06-30 Thread Chap Harrison
uot; per se, but rather any input stream. Thanks, Chap Harrison -- 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

Installing Tidyview.pl on Cygwin

2009-06-27 Thread Chap Harrison
I've been wrestling with this all day. Everything that tidyview depends upon has had trouble installing on Cygwin. Tk.pm, Perl-Tidy, Log::Log4perl. 'install tidyview' itself failed during tests (not surprisingly, since its dependencies are in an unknown, probably broken state). Far fro

Re: Grief: installing OpenSSH on Cygwin / WindowsServer2003

2009-06-26 Thread Chap Harrison
Christensen wrote: Chap Harrison wrote: Trying to connect with PuTTY gives a "server unexpectedly closed connectin" error. Have you run ssh-host-config? ssh-user-config? Have you opened up port 22 in your firewall? Have you tried telnet to port 22 from localhost and from another host? H

Grief: installing OpenSSH on Cygwin / WindowsServer2003

2009-06-26 Thread Chap Harrison
Hi, I followed directions (/usr/share/doc/Cygwin/openssh.README) as best I could, helped out by a couple of other web sources along the way. I know almost nothing about Windows administration. Trying to connect with PuTTY gives a "server unexpectedly closed connectin" error. Here is wh

'emacs' command becomes a no-op

2009-06-23 Thread Chap Harrison
After bringing everything up-to-date in Cygwin (Windows Server 2003), emacs won't run. I give the command, it thinks for half a second, and then gives me the command prompt. I'm also noticing different behavior from readline in a Perl script. I'm using mintty, which got upgraded in the proc

Remote execution of shell script from DOS .bat file

2009-06-10 Thread Chap Harrison
I've written a Perl program that runs in Cygwin on a Windows Server 2003 box. I now need to make this program invokable from a DOS prompt on another WS2003 box. The program is not interactive. You give it the args on the command line, and off it goes. Output is a text file in some network-shar

Selling management on Cygwin

2009-05-12 Thread Chap Harrison
any so far). In some ways this is more of an issue about open source software in general, but I'm sure there will be questions specifically about Cygwin and the extent to which it "touches" Windows OS innards. Any guidance would be helpful! Thanks, Chap Harrison -- Unsubs

Re: cpan has a problem Writing Makefile

2008-04-29 Thread Chap Harrison
Reini Urban wrote: > > A suggestion would be to install CPAN::Reporter and report the failure > automatically, since you are not able to follow README's and submit > proper bugreports. > -- > Reini Urban > Dude, I don't know what your problem is. I just came in here looking for help. Glad to

Re: cpan has a problem Writing Makefile

2008-04-28 Thread Chap Harrison
Reini Urban wrote: > > > Well, then the error is fixed. > You reported that the Makefile could not be written. > Now it is written, and you can proceed installing it. > Reading the README would have helped. > http://search.cpan.org/src/HMBRAND/Text-CSV_XS-0.45/README > Perhaps I should have s

Re: cpan has a problem Writing Makefile

2008-04-27 Thread Chap Harrison
Reini Urban wrote: > Do > > cd ~/.cpan/build/Text-CSV_XS-0.45/ > perl -d Makefile.PL > > and step until the error appears and send me the output. > I didn't get the error doing this. Any other suggestions? ...r/.cpan/build/Text-CSV_XS-0.45$ perl -d Makefile.PL Loading DB routines from p

cpan has a problem Writing Makefile

2008-04-25 Thread Chap Harrison
Hi, I'm new to cygwin. Using setup.exe, I have installed the default cygwin installlation on XP, as well as the entire devel section. I'm trying to use cpan to install a Perl module (Text::CSV_XS) but it gives the following error message: Checking to see if your kit is complete... Looks good.