Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-20 Thread Brett Serkez
On Thu, Nov 20, 2008 at 11:32 AM, Fred Kemp [EMAIL PROTECTED] wrote: Thanks to all who have replied so far - as Herb says, the cygwin+sshd+rsync combo is extremely useful, not least in that it allows my client PC's to simply run sshd as a very efficient (ie resource unintensive) background

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-19 Thread Brett Serkez
On Wed, Nov 19, 2008 at 6:54 AM, Fred Kemp [EMAIL PROTECTED] wrote: Hi Ged, Thanks for the info, due to being on a University campus, we are restricted in what we are allowed to set up and VPN's are one of those explicitly mentioned :-( However, since OsX has a built in VPN server, I will

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-19 Thread Brett Serkez
On Wed, Nov 19, 2008 at 9:54 AM, Christopher Faylor [EMAIL PROTECTED] wrote: Your analysis of the problem is likely incorrect. I think we are saying the same thing, if you like your explanation better, that is fine with me. Nevertheless, the problem is still there and as always PGA. I have

Re: Executables made by Linux is not running on Cygwin

2008-10-20 Thread Brett Serkez
On Mon, Oct 20, 2008 at 10:46 AM, Danilo Turina [EMAIL PROTECTED] wrote: The long answer is... well there are hundreds of brilliant persons in this list that can give you the long answer better than I could possibly do. Cygwin is source compatible, not binary compatible with Linux. This means

Re: Rsync

2008-05-06 Thread Brett Serkez
Ronald, you should post that to the cygwin mailing list. And be more specific. AFAIK, rsync is a cygwin package. Search the cygwin mail list archives. I discovered a long standing issue with rsync on Cygwin that to the best of my knowledge was never resolved, it fails under certain

Re: How to go through a company proxy with ssh ?

2006-10-26 Thread Brett Serkez
snip Thanks guys for all these informations ... In fact, I have tried both solutions connect and corkscrew but I haven't been able to connect through the proxy with neither utility. I am getting a forbidden message and if I turn debug option on when using connect, I get something like that:

Re: SSH: Cygwin-Linux is slow

2006-10-09 Thread Brett Serkez
snip that the time between typing a letter and viewing the response is of the order of 1-2 seconds. Are you running anit-virus software? Do you have active virus scanning turned on? If so, try turning it off to see if it changes this behavior. Brett -- Unsubscribe info:

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Brett Serkez
snip mkdir test cd test rmdir ../test does work in Linux but not under Windows and therefor not under Cygwin. This works under Linux/UNIX as the rmdir removes the directory entry, disassociating it from the inode, the files still exist as the OS is using the inode as the handle. When this

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Brett Serkez
NTFS and FAT file systems simply do not have the concept of inodes, Cygwin is dependent upon the facilities supplied by these file systems. Actually NTFS does have something like an inode. That's what Cygwin uses. Then why does this fail? Please enlighten us? Brett -- Unsubscribe info:

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Brett Serkez
NTFS and FAT file systems simply do not have the concept of inodes, Cygwin is dependent upon the facilities supplied by these file systems. Actually NTFS does have something like an inode. That's what Cygwin uses. Then why does this fail? Please enlighten us?

Re: bash and CSRSS consuming 100% of CPU

2006-06-16 Thread Brett Serkez
snip When I fire-up a cygwin bash window, everything is fine for a few minutes. Then the CPU utilization on my system suddenly jumps to 100%. Bash is typically grabbing about 80% of the CPU, with almost all the rest grabbed by Are you running any virus or spyware protection software? Brett

Re: Unable to delete directory in Cygwin

2006-06-16 Thread Brett Serkez
snip I' really am not interested in arguing with you. Then why are you! I simply clarified to the original poster what was happening under the hood on the UNIX/Linux side so they could understand, essentially defending why it isn't supported under Cygwin. I've noticed this before, you tend

Re: Cygwin Dimmension

2006-06-11 Thread Brett Serkez
Can anyone tell me how to increase the dimensions of the cygwin window? I would like it to come up as a full screen window. This is more of a Windows question. Right click on the top of the window and look in the properties. Brett -- Unsubscribe info:

Re: STARTXWIN.BAT Hanging Under Win2KPro

2006-06-10 Thread Brett Serkez
snip This is EXACTLY the behavior I'm getting am describing as a hang, except that I don't get a xterm. The reason I'm trying to track it down is that I would *really* like to drop a link to startxwin.bat into my startup folder and have it run at startup so I don't have to think about it.

Re: x doesn't start

2006-06-09 Thread Brett Serkez
how i can set the batch file?? can you give me a link for a tutorial?? thanks C:\cygwin\usr\X11R6\bin\startxwin.bat Just double click it in explorer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: STARTXWIN.BAT Hanging Under Win2KPro

2006-06-09 Thread Brett Serkez
STARTXWIN.BAT is hanging on the startup under Win2KPro. If I run it, it will stall out - I can't right-click on the X icon in the system tray to bring up the menu, and when I examine the processes, it appears that XWin.exe is running, as well as an xterm.exe process, but no XTerm ever pops up.

Re: rlogin or telnet from Unix to WinXP

2006-06-03 Thread Brett Serkez
Use secure shell (openssh), the r protocols are deprecated due to security concerns. Secure shell is a drop in replacement for the r protocols (mostly) with much better security and has become the standard. There is a secure shell deamon that can be run under Cygwin and should do what you want.

Re: Can't run graphical aplications

2006-05-19 Thread Brett Serkez
I've tried to start several graphical aplications, like xmgrace, twm or xpdf and I get always the same message Can't open display: It seems there is no display configured for the X server. On the other hand, Xwin starts the Xserver with no error messages. You must have the DISPLAY variable set

Re: Deleting cygwin

2006-05-19 Thread Brett Serkez
I am having a problem to remove the cygwin folder, it delete most files but mail in some! Looks like i dont have permitions to remove the folders :s I tryed to Chmod it, but it says that it cant change permission! So is there any other way to remove the folder and subfolders\files ( other than

Re: Rsync invalid?!?

2006-05-18 Thread Brett Serkez
I'm trying to get rsync to work, but I get this message: Rsync ver = 2.6.6 WARNING: The rsync program: '/bin/rsync' is not valid. Does anyone know why im getting this message? Rsync runs on the client and the server. This message means they our out of sync, no pun intended. The two

SSH X11 forwarding hang work around

2006-04-29 Thread Brett Serkez
There have been several posts in regard to the ssh -X/-Y hang, with no resolution. A simplistic work around is to simply not use xauth.exe. If the port that the X server is running on (i.e. 6000 by default) is only available via localhost, this should be reasonably secure vs. validating

Re: rsync over ssh hang issue understood

2006-04-29 Thread Brett Serkez
snip This is really a tricky problem. What I could do to circumvent this at least for connections over ssh is to upload an OpenSSH test version which uses socketpairs instead of pipes for the local connection to the applications. This avoids using pipes which are the culprit here, snip This

SSH X11 forwarding hang work around

2006-04-29 Thread Brett Serkez
There have been several posts in regard to the ssh -X/-Y hang, with no resolution. A simplistic work around is to simply not use xauth.exe. If the port that the X server is running on (i.e. 6000 by default) is only available via localhost, this should be reasonably secure vs. validating

Re: X-client on Cygwin/XP, X-server on 'Nix

2006-04-29 Thread Brett Serkez
snip X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). snip In theory you have credentials in a file called .Xauthority. These credentials are forwarded along with the display and need to be sent back to the

Re: rsync over ssh hang issue understood

2006-04-28 Thread Brett Serkez
This is really a tricky problem. What I could do to circumvent this at least for connections over ssh is to upload an OpenSSH test version which uses socketpairs instead of pipes for the local connection to the applications. This avoids using pipes which are the culprit here, apparently.I

Re: rsync over ssh hang issue understood

2006-04-27 Thread Brett Serkez
Corinna, snip rant The rsync hangs problem is not actually a new one. We had these reports already ages ago. However, *nobody* so far having that problem seem to be willing to actually debug this problem and track it down. Grrr. /rant This is exactly fair, several individuals did their

Re: rsync over ssh hang issue understood

2006-04-27 Thread Brett Serkez
snip Doesn't even run once for me. Creating all the files over ssh works fine but the rsync invocation fails with (Client) Protocol versions: remote=1919251285, negotiated=29 protocol version mismatch -- is your

Re: rsync over ssh hang issue understood

2006-04-27 Thread Brett Serkez
If there is something I can do in order to narrow down the problem, please let me know. This issue has already been discussed on the rsync list (https://bugzilla.samba.org/show_bug.cgi?id=2957) and Wayne from the rsync project was quite sure about what he called the Cygwin's pipe-data bug.

Re: ssh and a particular client

2006-04-19 Thread Brett Serkez
snip So, it almost seems as if the ^Q is the problem. Except that ^Q means start transmission, not stop, and no key presses get me out of being stuck, except for ^D to exit the session. Any ideas of where I should start looking? Try adding -v's to your ssh command line for more details.

Re: SSH X11 forwarding issues

2006-04-08 Thread Brett Serkez
ZoneAlarm, but I have the remote PC in my trusted list. Plus, both Cygwin/X/putty and X-Win32/StarnetSSH work fine, so this seems to be a Cygwin issue... The only way I've been able to use either the -X or -Y switches is to uninstall ZoneAlarm, shutting it down is insufficient. The problem,

Re: SSH X11 forwarding issues

2006-04-08 Thread Brett Serkez
Still sounds like a ZoneAlarm issue. It's worth another look. There was a time when this worked with ZoneAlarm, from the best I can recall, it was after a Cygwin update that it broke. My older system that I mentioned, is running almost the lastest ZA with an older Cygwin install and it works

Re: SSH X11 forwarding issues

2006-04-07 Thread Brett Serkez
Freezes: I type my password, hit enter, and I don't get any additional output. -vvv says that things are being sent to /dev/null What are you running for a firewall? ZoneAlarm, Norton... Brett -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: Xwin freezing on startup.

2006-03-22 Thread Brett Serkez
snip 1. I am not running Zone Alarm 5 and I have Windows firewall turned off. I have found that turning the firewall off in some cases isn't enough and/or is worse that leaving it on in diagnosing these types of problem. If you believe ZA is causing the problem, either turn it on and allow the

Re: newbie:Missing .bashrc and other startups

2006-03-20 Thread Brett Serkez
I installed cygwin but did not select enough tools. Took about 4 installs before I thought I got all the stuff I needed, x11, etc, etc. However, there is no .bashrc nor .bash_profile. cd /home/xxx does nothing except report home does not exist. echo $HOME does work. Is there a fix for

Re: How to run _X_ Session from RH8 via ssh -X?

2006-03-18 Thread Brett Serkez
But now I just realized the obvious: Only X GUIS work and not windows. Is this correct? Yes! I assume I can tunnel rdesktop the same way I tunnel vnc? I guess I'll try tunneling both vnc and rdesktop next. I've heard this works, but have not tried personally. If you get this working, can

Re: How to run X Session from RH8 via ssh -X? How to run vnc via ssh?

2006-03-17 Thread Brett Serkez
snip However, I cannot seem to start an X session from my ssh -X -p 892 [EMAIL PROTECTED] session. snip I have previously reported this behavior, and not seen a fix, it used to work. The problem is running xauth under the covers hangs. If you add -v -v -v to your line above, you'll see it

Re: bash and csrss using 100% of the CPU

2006-03-17 Thread Brett Serkez
snip If I boot in safe mode, I don't see this problem. Since SpySweeper doesn't start in safe mode, maybe SpySweeper is the culprit. I have no idea how to fix this though. I do not run with SpySweeper, and have experienced this problem. During my original attempt to diagnose, I turned off all

Re: cygrunsrv.exe Processor Util 100% on Windows Server

2006-03-14 Thread Brett Serkez
Chris, Hi Brett, if you might help me locate this posting, would greatly appreciate it; I'm not that familiar with forks, bash, and tcsh so I'm not totally clear on what to search on). Meanwhile I'll post to the guy just a few messages above with a similar problem and refer him this!

Re: cygrunsrv.exe Processor Util 100% on Windows Server

2006-03-14 Thread Brett Serkez
Corinna, snip I'm running sshd without the -r option all the time and I can't observer the high CPU load as reported. What's different on your system?!? I *believe* this primarily happens on Windows2000. I wasn't able to track down. The problem is that once the system gets in this state,

Re: FTPS client wanted

2006-03-12 Thread Brett Serkez
Can someone recommend a free, optionally GUI, FTP client with support for AUTH TLS that has been ported for Windows? Support for AUTH SSL, SSL connect and X.509 client auth is optional. This is off-topic for this list. Brett -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: windows services in CygWin

2006-03-08 Thread Brett Serkez
Emiel, The subject calls out services, the body talks about processes. Which is it? I want to monitor all the processes that are running on Windows 2003 and CygWin with a script (cobol). Cobol is a compiled language not a scripting language Are you looking for API calls from COBOL or

Re: windows processes in CygWin

2006-03-08 Thread Brett Serkez
Emiel, Please reply to the list and format so all can benefit/follow along. I slightly rearranged so this makes sense on the list. The subject calls out services, the body talks about processes. Which is it? I want to monitor all the processes that are running on Windows 2003 and

RE: OpenSSH for Non Administrators

2006-03-02 Thread Brett Serkez
snip Can cygwin ssh be used with VNC to open a VNC session on a remote server? I have successfully open a session using plain RealVNC server on the windows server (from red hat 8) and would like to do it securely with ssh. Yes, I do this daily, using OpenSSH on CygWin at either/both ends.

Re: Can't execute shell script as wish subprocess, exes work

2006-02-27 Thread Brett Serkez
I'm unable to run shell scripts in wish using open [list | my-shell-script] The error I get is couldn't execute my-shell-script: no such file or directory - the shell script is set as executable - it starts with #!/bin/sh - /bin/sh is executable - the directory where my-shell-script

Re: Can't execute shell script as wish subprocess, exes work

2006-02-27 Thread Brett Serkez
It appears your PATH doesn't include the directory for my-shell- script. As I said, my PATH _does_ include that directory (/cygdrive/c/users/bin). snip Yes, you did, but you are also not taking into account process inheritance. When you pipe a command, subprocesses are being created and

Re: Starting applications from Start | ... | Cygwin-X menu

2006-02-20 Thread Brett Serkez
snip For example, 'xeyes' starts (after startxwin.bat), but emacs does not! Emacs used to run reliably for me, but the last couple of releases simply consumes significant CPU and never displays. How many such applications have your tried and how many fail to display. In these cases, have you

Re: rsync fork/exec problem with odd twist for native windows programs

2006-02-18 Thread Brett Serkez
Scott, Thanks for the suggestion. Switching from socketpair() to pipe() does let ssh get going, but rsync later runs into problems. A few minutes into the transfer it just hangs. I've actually been able to run fine once past the initial hang, but I've seen reports of random

Re: default PATH

2006-02-06 Thread Brett Serkez
snip Try opening a cmd.com window in c:\cygwin\bin (or whatever it is named), then running 'bash --login -xv' to see every command executed by bash during startup. Maybe that will help you pinpoint the culprit. This really helps understand why it takes so long to open a bash shell, the login

Re: davfs for cygwin rsync?

2006-02-03 Thread Brett Serkez
snip Apparently not. According to the man page Once installed, you can use rsync to any machine that you can access via remote shell. For remote transfers, rsync uses ssh for its communications Yes, this is one way that rsync can communicate, in this mode, rsync uses ssh to start a copy

Re: Commands just hang, ZoneAlarm

2006-02-03 Thread Brett Serkez
snip I'm not very good at digging through archives, but I did eventually find http://sourceware.org/ml/cygwin/2006-01/msg00424.html which discusses a hang, (but no fix) Right, never found a fix. I did however find that ZoneAlarm treats localhost and 127.0.0.1 differently, atleast in

Re: bizarre g++ behavior after reinstalling cygwin

2006-01-29 Thread Brett Serkez
snip i=i++ is either a no-op or nonsense, depending on the interpretation. You should either use i=i+1 or i++ (those should be equivalent in modern compilers). The strick interpretation of i=i++ starts by evaluating the right side i++ to compute a r-value (right value). Since the ++ is after

RE: Calling shell script from DOS

2006-01-27 Thread Brett Serkez
I have installed Cygwin. I want to invoke a shell script from the DOS/Windows command prompt (instead of opening Cygwin Window first and calling it from there). How can I do this? Thanks for any help. The following seems the naive way -- someone else may offer other options:

Re: rpcgen question

2006-01-27 Thread Brett Serkez
snip Since yesterday, i have made some investigation, and i have found that rpcgen comes from the same package (both on RH and cygwin), but it's a problem of version: - RH: /* @(#)rpc.h2.4 89/07/11 4.0 RPCSRC; from 1.9 88/02/08 SMI */ - Cygwin: /* @(#)rpc.h2.3 88/08/10 4.0 RPCSRC;

Re: Cygwin Bash window disappear?!

2006-01-27 Thread Brett Serkez
I met a very strange problem as follows: After I finish installing the latest version of cygwin on my computer, I try to run C:\cygwin\cygwin.bat. The only thing I got is a black window splash for a second and then immediately disappear. Try running the script from a DOS command prompt so

Re: Coprocesses/piping problem

2006-01-25 Thread Brett Serkez
snip Adam, Unfortunately, the program appears to hang when compiled and run, though the child process is launched. What is really bizarre is that this code works fine when compiled under Linux. Are there any pitfalls to be particularly aware of when trying to use this construct? Is this

Re: AW: cygwin-1.5.19-4 very slow in pipes and compiling

2006-01-25 Thread Brett Serkez
snip Thanks for your reply. For me bash and piping is unavoidable. Is using an earlier version of cygwin a solution? And which version is known to not have the above mentioned problems? Roland, I haven't tested backwards to see when this may have worked better. My suggestion in regard to

Re: cygwin-1.5.19-4 very slow in pipes and compiling

2006-01-24 Thread Brett Serkez
I have just installed cygwin-1.5.19-4. A pipe like gzip ?cd | tar ?xf ? is very slow. Gzip and tar alone are working reasonable. Ok this can be avoided ;-) But than I tried g++, and again it takes ages before a simple file is compiled. All Virus Checking tools are off. What am I doing wrong?

Re: Install goes to network drive

2006-01-19 Thread Brett Serkez
I am installing cygwin on a XP box. I have downloaded the setup and files to my local c:/tmp/files When I run the setup, all appears good. I point to c:/cygwin and tell it to find files from c:/tmp/files. The install completes fine but when I type a cd ~ (show my home directory) the

RE: Intermittent cygwin heap allocation problem

2006-01-18 Thread Brett Serkez
[snip] I also find the sleep(2000) in heap.cc when the mapping error is detected rather suspicious - is this to avoid a race condition with the parent? Dunno, suspect it may have been something experimental. Take a look at when it arrived in the CVS and check the associated changelog

RE: cygwins setup hangs in installation

2006-01-17 Thread Brett Serkez
I DON'T have a hyperthreaded processor, and still see hangs with the current stable version of setup.exe (v. 2.510.2.2) It hangs indefinitely during update-info-dir.sh. My computer is a Pentium-M 1.4GHz, 760MB RAM. This is a known bug (which is known to have nothing to do with

Re: Install goes to network drive

2006-01-17 Thread Brett Serkez
I am installing cygwin on a XP box. I have downloaded the setup and files to my local c:/tmp/files When I run the setup, all appears good. I point to c:/cygwin and tell it to find files from c:/tmp/files. The install completes fine but when I type a cd ~ (show my home directory) the terminal

Re: Installing cygwin by manually copying c:\cygwin to another machine

2006-01-16 Thread Brett Serkez
[snip] I think the key word there is does not yet *support*. Run setup --help from a command prompt, and setup will output a list of its command line options into setup.log.full. This list currently contains an interesting switch: -A --disable-buggy-antivirus Disable known or

Re: Running php scripts under cygwin

2006-01-15 Thread Brett Serkez
You would think I could find lots of info on this subject, but for some reason I can't. I found info from googling the subject and some mention of building php with cygwin, but do not see PHP in cygwin setup. I tried to run a php script from a cygwin prompt using the php.exe installed into

RE: stat(2) triggers on-demand virus scan

2006-01-14 Thread Brett Serkez
The stat(2) system call runs very slowly because it is constantlt triggering the McAfee on-demand virus scanner to scan the file that is being stat'ed. This may not seem like a big thing but I frequently stat thousands of files at a batch. I find that the stat runs much faster when I

Re: stat(2) triggers on-demand virus scan

2006-01-14 Thread Brett Serkez
On Sat, Jan 14, 2006 at 03:35:17PM -0500, Brett Serkez wrote: I'm still researching, I was going to respond this is posting at a later time with more insight, but before things get out-of-hand, I wanted to jump in. I suppose I'm still hopeful that we can zero in on what precisely is causing

Re: stat(2) triggers on-demand virus scan

2006-01-14 Thread Brett Serkez
[snip] We are not going to visit the slippery slope of adding code to Cygwin to work around other third party software. I'm hoping and assuming it is going to be more a matter of making minor changes, if it requires a major change, then it is more likely Microsoft or some other vendor is at

Re: ZoneAlarm Suite popen hang (ssh ForwardX11)

2006-01-13 Thread Brett Serkez
[snip] Other than the usual issues with bash and sshd, I suddenly found that trying to use ssh with X forwarding hung. [snip] Have not made much progress, however did find a work around that others might find useful. Also interested if others are experiencing the issue. In summary, the

Re: Installing cygwin by manually copying c:\cygwin to another machine

2006-01-13 Thread Brett Serkez
My question is: what are the settings required by cygwin to operate normally? ( i guess it needs some environment variables and/or registry settings ). Is it just the mount points that are the issue? The path? The desktop icon? It is possible to run setup against such an 'installation'

Re: Perl/TK Missing Dependency Found

2006-01-13 Thread Brett Serkez
[snip] fontconfig??? Looks like I had the wrong perl-Tk release uploaded, the one with 'experimental' Xft support, and not the standard one on my system (which is why I couldn't dup this). Now we all know why it's experimental. Look for a release -4 soon which should fix this. The '-4'

Re: cd to directory in paste buffer : shell function

2006-01-13 Thread Brett Serkez
I often want to cd to a (DOS) path that I've copied from some Windows App. The following function (put in one of your startup files .bashrc .profile etc) saves a few clicks and is forward or backslash proof [snip] Without deminishing the value of this procedure, I simply wanted to say

Re: ZoneAlarm Suite popen hang (ssh ForwardX11)

2006-01-13 Thread Brett Serkez
[snip] Other than the usual issues with bash and sshd, I suddenly found that trying to use ssh with X forwarding hung. [snip] Have not made much progress, however did find a work around that others might find useful. Also interested if others are experiencing the issue. In summary, the

Re: Installing cygwin by manually copying c:\cygwin to another machine

2006-01-13 Thread Brett Serkez
[snip] Is it just the mount points that are the issue? The path? The desktop icon? It is possible to run setup against such an 'installation' to update it? It's primarily just the mount points. See Corinna's message in this thread for recreating them. The desktop start menu icons

Re: Installing cygwin by manually copying c:\cygwin to another machine

2006-01-13 Thread Brett Serkez
[snip] Not particularly, assuming you use the same local package cache on each machine, especially if you use the trick for pulling in all the packages you want automatically. Right. I don't know about chere, chere must have settings in the registry, as it adds a 'bash here' menu option in

Re: Perl/TK Missing Dependency Found

2006-01-12 Thread Brett Serkez
Yaakov, if you would be willing to post the debugging symbols for Tk.dll, I could try ferreting out some more info. Unfortunately, I'm not up to building a debug version of Perl/Tk at the moment. I don't recall off-hand who maintains libfontconfig (Harold?), but it's unlikely to be a

Re: Perl/TK Missing Dependency Found (Attn: libfontconfig maintainer)

2006-01-12 Thread Brett Serkez
Yaakov, if you would be willing to post the debugging symbols for Tk.dll, I could try ferreting out some more info. Unfortunately, I'm not up to building a debug version of Perl/Tk at the moment. I don't recall off-hand who maintains libfontconfig (Harold?), but it's unlikely to be

Re: Perl/TK Missing Dependency Found

2006-01-12 Thread Brett Serkez
I can reproduce this on WinXP Pro SP1 (cygcheck output attached). Adding Perl/Tk to my installation and running the program in Brett's message (http://cygwin.com/ml/cygwin/2006-01/msg00423.html) causes a SIGSEGV. I don't have a debugging version of Perl, Perl/Tk, or fontconfig, but,

Re: Perl/TK Missing Dependency Found

2006-01-09 Thread Brett Serkez
After tedious research, I've figured out that the missing package is: libwmf. None of the perl-Tk modules link against libwmf, and a grep of the sources for wmf returns nothing. In addition, neither Debian nor Gentoo show libwmf as a requirement for their packages. Can you please

ZoneAlarm Suite popen hang

2006-01-09 Thread Brett Serkez
I recently upgraded from ZoneAlarm Pro to ZoneAlarm Suite (both version 6.1.737.000). Other than the usual issues with bash and sshd, I suddenly found that trying to use ssh with X forwarding hung. Before complaining that this should be posted on the X11 list, I don't believe the issue is

Re: Perl/TK Missing Dependency Found

2006-01-09 Thread Brett Serkez
[snip] Please also bear in mind, that I only install what I need, the default plus minimum, in this case, Perl/Tk. If this doesn't work on your system, please try this approach. I'll admit that I don't have a mimimal system by any means, but AFAICS libwmf has nothing to do with perl-Tk.

Re: ZoneAlarm Suite popen hang

2006-01-09 Thread Brett Serkez
[snip] Well, if you can find where ssh is invoked, you can also give it the -n parameter, which would result in equivalent functionality. I don't want to confuse anybody, the command in question is being run internally by ssh to setup an X authorization cookie to pass over the the xterm on the

Re: cygwin and rsync

2006-01-08 Thread Brett Serkez
3. To answer your earlier question, I installed cygwin and added the rsync and openssh which were part of the distribution but were not installed by default. I did not compile my own. Whis is like the usual package list I do use most commonly. I never managed to reproduce the

Re: cygwin and rsync

2006-01-08 Thread Brett Serkez
My chief purpose for all of this is to allow automatic backups onto a Linux file server from various systems (initiating on the Linux box), including Windows PCs. Interesting, so your implementing a pull vs. a push. That is the Linux box is logging into the Windows and pulling files back. As

Perl/TK Missing Dependency Found

2006-01-08 Thread Brett Serkez
The Perl/TK package fails to execute even simple Perl/TK programs with the 'default' installation. That is starting with a brand new installation of Cygwin, letting it only install the defaults and adding only the Perl/TK (perl-Tk) results in a segmentation violation when calling the first

Re: cygwin and rsync

2006-01-07 Thread Brett Serkez
...snip... Does this tell anyone anything? If not, I could traverse the learning curve on getting gdb information from the process. As a point of information, when rsync is run, as in this case using ssh, it is using ssh to start a remote rsync on the server. These two rsyncs are able to

Re: cygwin and rsync

2006-01-07 Thread Brett Serkez
...snip... Does this tell anyone anything? If not, I could traverse the learning curve on getting gdb information from the process. As an additional thought on why rsync may be hanging on a write to stdout, presuming the cause is a deadlock. What is the size of the file it is hanging on? We

Re: ssh problem on Server 2003

2006-01-06 Thread Brett Serkez
Take the :/path/to/folder off of it - that's for scp. Chris That would be fine except this is for rsync over ssh which in the app I have requires the path. If you want to run ssh to test the authentication mechanizm, then you must remove the path as that isn't part of the syntax of

Re: sshd must be restarted

2006-01-06 Thread Brett Serkez
I wonder if it would be worth having ssh-host-config set tcpip as a dependancy for sshd on all systems? While this doesn't seem to have cropped up much, specifically, it couldn't hurt.. This has been discussed before, see http://cygwin.com/ml/cygwin/2005-12/msg00089.html. I guess it's

Re: cygwin and rsync

2006-01-05 Thread Brett Serkez
Ken, I run rsync both Windows and Linux to Linux, Linux always being the 'server'. In my case I found the hang to be up front, before secure shell even attempted to access the network and also in my case changing from a local socket to a local pipe resolved the issue:

Re: cygwin and rsync

2006-01-05 Thread Brett Serkez
no additional info. Moreover, there are no special characters or spaces in these files to suggest a problem in the file or directory name. Also, each launch seems to stop at a different directory and file. Bizarre. I don't know how to use strace or I'd try that. -K Brett Serkez wrote: Ken

Re: cygwin and rsync

2006-01-05 Thread Brett Serkez
the rsync and openssh which were part of the distribution but were not installed by default. I did not compile my own. Brett Serkez wrote: Ken, The rsync protocol actually does check-suming of blocks to efficiently detect and transfer files. While it may look like it is hung, it may

Re: Cygwin SSHD Password different from Windows Password – Possible?

2006-01-04 Thread Brett Serkez
I believe sshd will not allow login without both a password and home directory. The second requirement means you must start a login shell as a given user to create their home directory. This is a way of controlling which accounts can login remotely. Cygwin/Windows doesn't directly support su as

Re: Cygwin SSHD Password different from Windows Password - Possible?

2006-01-04 Thread Brett Serkez
Cygwin creates a UNIX like password file /etc/passwd that links 'UNIX' users back to Windows users, sshd uses this file to work back to Windows security information. Ultimately it has to be this way, as it is Windows that is hosting security, so Cygwin needs to be able to map accordingly. You

Re: services not starting with 20060104 snapshot

2006-01-04 Thread Brett Serkez
Frankly, I'm not sure what the right fix would be in this case, or even how to debug this... Any ideas on how I can simulate service startup on the command line (to allow popping up gdb) would be greatly appreciated. Try using a graphical debugger like ddd or insight. Should be able to

Re: services not starting with 20060104 snapshot

2006-01-04 Thread Brett Serkez
Try using a graphical debugger like ddd or insight. Should be able to start either as the service, Huh? No, that doesn't work. I need a service wrapper program (like cygrunsrv), but cygrunsrv can't spawn processes, apparently. I see. While I've not used this method with services per

Re: Hope this topic isn't taboo yet

2006-01-03 Thread Brett Serkez
On the ZoneLabs message boards I found references to use of tcsh in place of bash, that seems to work around the problem as follows: I wonder what the difference is between bash and tcsh that gives rise to that idea. Your choice of shell shouldn't affect your CPU usage; and if there

Re: Hope this topic isn't taboo yet

2006-01-01 Thread Brett Serkez
I've not seen any particular difference using Cygwin between hyper-threaded and non-hyper-threaded CPUs. I have seen issues with bash and sshd consuming 100% CPU for periods of time on both, which may or may not be related to ZoneAlarm. You can better identify the specific process by starting

rsync over ssh hang issue understood

2005-12-30 Thread Brett Serkez
After running into the hang trying to use rsync over ssh on Cygwin, reported on this mailing list, but with no resolution other than use of daemon mode, I tracked down the problem. I have rsync working over ssh on Cygwin. The hang is occuring when rsync is attempting to exchange protocol version

Re: Perl/TK Segmentation Violation

2005-12-18 Thread Brett Serkez
the linker as to precisely which library is in question vs. the run-time that simply gives up. Brett On Fri, 16 Dec 2005 13:55:52 -0500 (EST), Igor Pechtchanski [EMAIL PROTECTED] said: On Fri, 16 Dec 2005, Brett Serkez wrote: perhaps there is a missing library dependency

Perl/TK cygz.dll mapping error

2005-12-18 Thread Brett Serkez
I've found that trying to use either system() or fork() from a Perl/TK script results in the following error: C:\cygwin\bin\perl.exe (2508): *** unable to remap C:\cygwin\bin\cygz.dll to same address as parent(0xE0) != 0xE1 13 [main] perl 964 fork_parent: child 2508 died waiting for

Re: Perl/TK cygz.dll mapping error

2005-12-18 Thread Brett Serkez
From what I can tell by searching for similar issues, it *looks* like the new library may need to be rebased during setup? A packaging change? No, it means you need to install the rebase package and run rebaseall yourself. Cool, this worked, great. But...what I thought I saw was that

  1   2   >