fstab and sshfs

2025-05-02 Thread David Christensen via Cygwin
cygwin: I am attempting to mount a directory from a FreeBSD computer: 2025-05-02 19:16:01 admin@dq67sw ~ $ ssh dpchrist@f5 freebsd-version -kru 13.4-RELEASE-p3 13.4-RELEASE-p3 13.4-RELEASE-p5 2025-05-02 18:51:15 admin@dq67sw ~ $ ssh dpchrist@f5 uname -a FreeBSD f5.tracy.holgerdanske.com 13.4-RE

Re: Windows 10 Home and sshfs

2025-05-02 Thread David Christensen via Cygwin
On 4/29/25 22:19, Mark Geisert via Cygwin wrote: Congrats on the successful first steps! Thank you for the help! I believe you can fix these new issues with options on the end of your sshfs command.  From the list shown by 'sshfs -h', I would try... Oh wait a second.  Run these commands to

Re: Windows 10 Home and sshfs

2025-04-29 Thread David Christensen via Cygwin
On 4/28/25 21:33, Mark Geisert via Cygwin wrote: > If the test in the previous paragraph worked, then install WinFSP. > You will see a button offering to install FUSE for Cygwin or something > like that. DO NOT press that button. I think having pressed that > last time is the root cause of the i

Re: Windows 10 Home and sshfs

2025-04-29 Thread David Christensen via Cygwin
On 4/28/25 21:33, Mark Geisert via Cygwin wrote: Please use the Cygwin FAQ rather than some random site which may or may not be correct and/or up-to-date.  In this specific case:     https://cygwin.com/faq.html#faq.setup.uninstall-all Thank you for the URL. Please don't compress attachmen

Re: Windows 10 Home and sshfs

2025-04-28 Thread David Christensen via Cygwin
On 4/27/25 21:19, Mark Geisert via Cygwin wrote: That DLL is deficient. It is missing the cygfuse_report() entry despite cygcheck saying (in an earlier post) it is version 3.2.0-3. gendef in a working environment here starts with: ; ; Definition file of cygfuse-3.2.dll ; Automatic generated by

Re: Windows 10 Home and sshfs

2025-04-27 Thread David Christensen via Cygwin
On 4/27/25 16:05, Jeremy Drake wrote: On Sun, 27 Apr 2025, David Christensen wrote: On 4/27/25 14:59, Jeremy Drake wrote: Does sshfs.exe have any exports? Should it? I do not know how to answer that question. Please provide a terminal command I can run to find the answer. That might have

Re: Windows 10 Home and sshfs

2025-04-27 Thread David Christensen via Cygwin
On 4/27/25 14:59, Jeremy Drake wrote: On Sun, 27 Apr 2025, Jeremy Drake via Cygwin wrote: On Sun, 27 Apr 2025, David Christensen via Cygwin wrote: The procedure entry point cygfuse_report could not be located in the dynamic link library C:\cygwin64\sshfs.exe. -> OK Does sshfs.exe have

Re: Windows 10 Home and sshfs

2025-04-27 Thread David Christensen via Cygwin
On 4/26/25 12:51, Brian Inglis via Cygwin wrote: $ gendef - /usr/bin/cygfuse-3.2.dll or $ gendef /usr/bin/cygfuse-3.2.dll I thought I had uinstalled WinFsp, but I noted that C:\Program Files (x86)\WinFSP was non-empty. So, I ran winfsp-2.0.23075.msi and told it to uninstall WinFsp. sshfs

Re: Windows 10 Home and sshfs

2025-04-25 Thread David Christensen via Cygwin
On 4/24/25 22:01, Mark Geisert via Cygwin wrote: OK, that looks to be the real problem.  What does     cygcheck -c cygfuse display? ..mark 2025-04-25 11:02:33 admin@dq67sw ~ $ cygcheck -c cygfuse Cygwin Package Information Package VersionStatus cygfuse 3.2.0-3

Re: Windows 10 Home and sshfs

2025-04-24 Thread David Christensen via Cygwin
On 4/23/25 23:50, Mark Geisert via Cygwin wrote: If you haven't tried running sshfs from an elevated shell, try that. Other than this, no further ideas yet. ..mark Thank you for the follow-up. My previous posts appear to be incomplete because I was logging in via SSH from Debian GNU/Linux.

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 22:05, Mark Geisert via Cygwin wrote: Welp, that's no help at all.  Let me try to reproduce the problem on my Win10 system using the same, recent, WinFSP you have.  This may take some time.  I appreciate your reporting the problem and helping me debug. Thanks & Regards, ..mark Th

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
That's completely normal.  Hmm.  Time for the big gun... strace. Run the following command, then *attach* its output file to your next reply; don't compress, just attach.     strace -o sshfs.trace sshfs -h The output file is sshfs.trace in the directory you run sshfs from. Thanks much, ..mark

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 21:30, Mark Geisert via Cygwin wrote: Then it's odd they don't appear in the ldd output.  How about trying     cygcheck /usr/bin/sshfs.exe i.e., no options on cygcheck.  What does that output? ..mark 2025-04-22 20:48:27 admin@dq67sw ~ $ cygcheck /usr/bin/sshfs.exe C:\cygwin64\bin\

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 21:01, Mark Geisert via Cygwin wrote: Now we're getting somewhere!  One or more of the following packages are missing from your Cygwin system.  Use the Cygwin Setup program to add them if not already installed:     libiconv2     libintl8     libgcc1 (you likely already have this)

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 20:35, Mark Geisert via Cygwin wrote: On 4/22/2025 8:18 PM, David Christensen via Cygwin wrote: 2025-04-22 20:07:20 admin@dq67sw ~ $ sshfs dpchrist@samba:/var/local/samba/dpchrist /samba/dpchrist 2025-04-22 20:07:38 admin@dq67sw ~ $ echo $? 127 The 127 exit code indicates sshfs

Re: Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
On 4/22/25 19:31, Mark Geisert via Cygwin wrote: Hi David, I have run the WinFsp installer, leaving component selections at default: WinFsp Core -> Will be installed on local hard drive Looks good. When I use Cygwin sshfs(1) to mount the file server dire

Windows 10 Home and sshfs

2025-04-22 Thread David Christensen via Cygwin
cygwin: I have SOHO network with a FreeBSD file server: 2025-04-22 18:55:28 toor@f5 ~ # freebsd-version ; uname -a 13.4-RELEASE-p4 FreeBSD f5.tracy.holgerdanske.com 13.4-RELEASE-p3 FreeBSD 13.4-RELEASE-p3 GENERIC amd64 I have a Windows 10 Home client with Cygwin: 2025-04-22 18:03:21 admin@d

Re: Cygwin Perl has slowed in recent months

2022-05-25 Thread David Christensen
On 5/25/22 08:04, gs-cygwin@gluelogic.com wrote: On Tue, May 24, 2022 at 11:36:21PM -0700, David Christensen wrote: I went back to the desktop computer that I have been using for Cygwin Perl testing: [...] 'make test' produced the following result: 99 wallclock secs ( 1.76

Re: Cygwin Perl has slowed in recent months

2022-05-24 Thread David Christensen
cygwin: I went back to the desktop computer that I have been using for Cygwin Perl testing: motherboard:Intel DQ67SW processor: Intel Core i7-2600S memory: Corsair CMV8GX3M2A1333C9 2 @ 4 GB disk: Intel SSD 520 Series 180 GB OS Name:Microsoft Windows 7 Profess

Re: Cygwin Perl has slowed in recent months

2022-05-24 Thread David Christensen
On 5/24/22 08:59, Sam Edge wrote: On 24/05/2022 16:03, David Christensen wrote: On 5/24/22 01:47, Sam Edge wrote: On 24/05/2022 09:25, Csaba Raduly wrote:  > On Mon, 23 May 2022 at 20:47, Lee  wrote:  >>  >> On 5/22/22, David Christensen wrote:  >>> On 5/21/22 10:

Re: Cygwin Perl has slowed in recent months

2022-05-24 Thread David Christensen
On 5/24/22 01:47, Sam Edge wrote: On 24/05/2022 09:25, Csaba Raduly wrote: > On Mon, 23 May 2022 at 20:47, Lee  wrote: >> >> On 5/22/22, David Christensen wrote: >>> On 5/21/22 10:55, Hans-Bernhard Bröker wrote: >>>> Am 18.05.2022 um 03:53 schrieb Da

Re: Cygwin Perl has slowed in recent months

2022-05-23 Thread David Christensen
On 5/23/22 11:47, Lee wrote: On 5/22/22, David Christensen wrote: On 5/21/22 10:55, Hans-Bernhard Bröker wrote: Am 18.05.2022 um 03:53 schrieb David Christensen: > I am working on a Perl module that runs on various Unix-like platforms. > When I 'make test' on s

Re: Cygwin Perl has slowed in recent months

2022-05-22 Thread David Christensen
On 5/21/22 10:55, Hans-Bernhard Bröker wrote: Am 18.05.2022 um 03:53 schrieb David Christensen: > I am working on a Perl module that runs on various Unix-like platforms. > When I 'make test' on similar computers: > > FreeBSD 12.3-RELEASE 28 wallclock secs &

Cygwin Perl has slowed in recent months

2022-05-17 Thread David Christensen
cygwin: I have a computer: 2022-05-17 18:46:12 dpchrist@dht4s3r1 ~/src/perl/Dpchrist-Perl $ systeminfo | egrep '^OS (Name|Version)' ; uname -a ; cygcheck -c cygwin OS Name: Microsoft Windows 7 Professional OS Version:6.1.7601 Service Pack 1 Build 7601 CYGWIN_NT-

Re: Issue with 'cpan' program

2016-11-17 Thread David Christensen
On 11/17/2016 11:53 AM, Achim Gratz wrote: > David Christensen writes: >> Today, I did a fresh install of Cygwin 64-bit on a recently built (and >> fully updated) Windows 7 Professional 64-bit computer. ... >> When I run the command: >> >> cpan local::lib &g

Issue with 'cpan' program

2016-10-08 Thread David Christensen
'g6950v' CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\ProgramData' !:: = '::\' TEMP = '/tmp' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' GIT_AUTHOR_N

Re: WinXP Pro Cygwin Digest-MD4-1.9 /bin/sh: gcc-4: command not found

2015-01-06 Thread David Christensen
On 01/05/2015 08:13 PM, Larry Hall (Cygwin) wrote: gcc-4 is an old moniker for the current gcc, back when Cygwin had both 3 and 4 versions of gcc. This is no longer true and hasn't been for quite some time. Your options at this point are: 1. Create a link to gcc and call it gcc-4. 2. Try

WinXP Pro Cygwin Digest-MD4-1.9 /bin/sh: gcc-4: command not found

2015-01-05 Thread David Christensen
cygwin: I am having trouble installing the Perl Digest::MD4 module via the 'cpan' command line program on Cygwin on Windows XP Professional. I have filed a bug report via bug-digest-...@rt.cpan.org: https://rt.cpan.org/Public/Bug/Display.html?id=101332 The maintainer observed: The

Perl -> cpan Math::Random::ISAAC::XS -> Error: no compiler detected to compile 'src/rand.c'. Aborting

2013-10-27 Thread David Christensen
cygwin: I'm attempting to install Perl XS modules that require a C compiler using 'cpan'. I've installed the Cygwin gcc package (and several others), but it still doesn't work: $ cpan Math::Random::ISAAC::XS Error: no compiler detected to compile 'src/rand.c'. Aborting

Re: rsync hanging

2010-01-11 Thread David Christensen
* Kevin Bond (Sat, 9 Jan 2010 10:10:08 -0500) Hello, I am trying to use rsync in cygwin but it seems to be hanging. Right after it asks me for password of my host the 'building file list...' message displays then hangs. I can ssh into the host fine. Any ideas? I was having rsync issues under C

RE: rsync hangs on big transfer Debian 5.0.3 pulling from WinXP SP3/Cygwin 1.5.25

2009-12-19 Thread David Christensen
Cygwin: I received three copies of my message from each of three lists. If everyone else receives three copies, I apologize for the extraneous copies. :-( Does anybody know why, and how to prevent such? TIA, David -- Problem reports: http://cygwin.com/problems.html FAQ:

RE: rsync hangs on big transfer Debian 5.0.3 pulling from WinXP SP3/ Cygwin 1.5.25

2009-12-19 Thread David Christensen
Debian Users, Cygwin, & Rsync: I'm having trouble with rsync invoked on Debian 5.0.3 pulling files from Windows XP SP3/ Cygwin 1.5.25. I posted to the Debian User and Cygwin mailing lists [1] and thought I was done two days ago, but I wasn't -- after several hours of use of the Windows machine, r

RE: rsync hangs on big transfer Debian 5.0.3 pulling from WinXP SP3/ Cygwin 1.5.25

2009-12-17 Thread David Christensen
Debian Users & Cygwin: It must have been an owner/ group/ permission issue on the receiving end (?) -- I moved the destination directory aside, created a new top-level destination directory, and now the script runs fine. :-) HTH, David -- Problem reports: http://cygwin.com/problems.htm

rsync hangs on big transfer Debian 5.0.3 pulling from WinXP SP3/ Cygwin 1.5.25

2009-12-15 Thread David Christensen
Debian Users & Cygwin: I have a Perl/ rsync backup script that pulls files from a Windows XP Professional SP3/ Cygwin 1.5.25 machine. The script worked fine on one Debian box (5.0.1 upgraded to 5.0.3), but consistently hangs 1,000+ files into a large transfer after I moved it to a fresh Debian 5.

RE: pipelines with paths containing spaces

2009-08-30 Thread David Christensen
Marco Atzeri wrote: > not really cygwin specific > find /cygdrive/c/Documents\ and\ Settings/ -print0 |xargs --null ls > see "man xargs" That explains it. Here's a work-around: 2009-08-31 04:04:36 dpchr...@p43400e ~ $ ls -d /cygdrive/c/Documents\ and\ Settings/ | perl -ne 's/\n/\00/;

pipelines with paths containing spaces

2009-08-30 Thread David Christensen
cygwin: I am having trouble using pipelines with paths containing spaces: 2009-08-31 01:16:32 administra...@p43400e ~ $ ls -d /cygdrive/c/Documents\ and\ Settings/ /cygdrive/c/Documents and Settings/ 2009-08-31 01:16:50 administra...@p43400e ~ $ ls -d /cygdrive/c/Documents\ a

RE: Automating a Cygwin Script From Windows

2009-08-28 Thread David Christensen
jprice wrote: > I need to run a cygwin script directly via windows, probably via dos > prompt or some other comparable method. > I was hoping there would be some way to ... feed it a string of > commands to execute upon opening I wrote a Bash/ Perl backup/ archive/ shutdown solution for my Windows

RE: Unable to use cpan

2009-08-20 Thread David Christensen
Andrew DeFaria wrote: > $ cpan Algorithm::Diff ... > Error while trying to rename > '/home/p6258c/.cpan/sources/modules/03modlist.data.gz.tmp3996' to > '/home/p6258c/.cpan/sources/modules/03modlist.data.gz': No such file or > directory My guess is that it is a file system ownership/ permission

RE: Compiling problem

2009-08-15 Thread David Christensen
Bob Cowdery wrote: > My end game was to install Cython and compile up some Python stuff > which was written on Linux but needs to run on Windows. There are lots > of shell scripts involved and the complete system does not lend itself > to running native, hence the short-term need to run under Cy

RE: Virus on sed.exe

2009-07-08 Thread David Christensen
Ed Brady wrote: > I just ran a virus scan, and got a hit for sed.exe. > Win32/AMalum.ZZQIA. Anyone else seen anything similar to this? Dave Korn wrote: > ~ $ cygcheck -c sed > Cygwin Package Information > Package VersionStatus > sed 4.1.5-2OK > ~ $

RE: Cygwin OpenSSH and Windows 7 RC

2009-06-28 Thread David Christensen
Matthias Meyer wrote: > If I rebase within Windows7 I can not use this programs and librarys > within other versions of Windows, right? Are you trying to share one Cygwin installation between multiple operation system installations (e.g. over a network, dual boot, flash drive, etc.)? I tried that

RE: Cygwin OpenSSH and Windows 7 RC

2009-06-27 Thread David Christensen
Matthias Meyer wrote: > Most of the time ssh can not connect to the sshd in Windows7. > In my logfile (in Windows7) I found: > 7300 [main] sshd 3772 child_copy: linked dll data write copy failed, > 0x2C5000..0x2C52E0, done 0, windows pid 3512, Win32 error 487 Have you done a rebaseall? http://

RE: Grief: installing OpenSSH on Cygwin / WindowsServer2003

2009-06-27 Thread David Christensen
Chap Harrison wrote: > It finally turned out to be that /etc/hosts.deny was too restrictive: > ALL:ALL EXCEPT localhost:DENY Oops. ;-) > I ran ssh-host-config, but did not run ssh-user-config. Must have > overlooked that step. Perhaps that would have taken care of it? I doubt it. I believ

RE: Grief: installing OpenSSH on Cygwin / WindowsServer2003

2009-06-26 Thread David Christensen
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? HTH, David -- Pr

RE: Help with using Bash / GCC installed but command not found

2009-06-26 Thread David Christensen
MattyTheG wrote: > Hello, I have been using Cygwin for about a year now, with no > problems. Until one day I loaded it up and instead of the usual > interface I had, it just said bash-3.2$, no username, or directory or > anything, and none of the unix commands work. My guess is that your Windows H

RE: net start sshd problem

2009-06-26 Thread David Christensen
Gordon Fogus wrote: > gsfo...@gsfogus ~ > $ net start sshd > System error 2 has occurred. > The system cannot find the file specified. Are there any clues in /var/log/sshd.log? HTH, David -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/

FW: HOWTO-Windows-Vista-Ultimate-32-bit-Cygwin-OpenSSH

2009-06-22 Thread David Christensen
cygwin: > FYI -- I built another Vista machine and created a HOWTO for > installing Cygwin and OpenSSH based on a prior thread: > http://sourceware.org/ml/cygwin/2009-06/msg00454.html D'oh! Here's the HOWTO: http://www.holgerdanske.com/node/463 David -- Problem reports: http://cy

HOWTO-Windows-Vista-Ultimate-32-bit-Cygwin-OpenSSH

2009-06-22 Thread David Christensen
cygwin: FYI -- I built another Vista machine and created a HOWTO for installing Cygwin and OpenSSH based on a prior thread: http://sourceware.org/ml/cygwin/2009-06/msg00454.html HTH, David -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/

RE: FW: OpenSSH server installation error on Windows Vista Business/Ultimate

2009-06-12 Thread David Christensen
Paul August wrote: > David, thanks for the further information. I will try to follow your > steps exactly (except for a fresh installation of Windows part) and > see what happens. YW. :-) Please feel free to expand, clarify, edit, and/or otherwise improve upon the procedure and repost. For exam

FW: OpenSSH server installation error on Windows Vista Business/Ultimate

2009-06-11 Thread David Christensen
cygwin: I installed a fresh copy of Cygwin and a fresh copy of the Cygwin OpenSSH service on a fresh installation of Windows Vista Ultimate SP1 32-bit yesterday: 1. Download Cygwin Setup to C:\cygwin\setup\setup.exe. 2. Run Cygwin Setup: a. Install from Internet (default). b. C:\cy

RE: OpenSSH server installation error on Windows Vista Business/Ultimate

2009-06-09 Thread David Christensen
Paul August wrote: > This what I did: > 1. Log on as Administrator. > 2. Remove my existing Cygwin directory > 3. Download Cygwin Setup to C:\Downloads I download Cygwin Setup to C:\cygwin\setup\setup.exe and packages under C:\cygwin\setup. It probably doesn't matter, but I recall that when I tr

RE: OpenSSH server installation error on Windows Vista Business/Ultimate

2009-06-07 Thread David Christensen
Paul August wrote: > David, Please address your messages to the list. If you wish to hire me, I prefer silver and gold U.S. coins. :-) > I am still having trouble to set up OpenSSH server. Following the > suggestions below, Which suggestions? Please copy/ paste/ indent/ reformat the text yo

RE: OpenSSH server installation error on Windows Vista Business/Ultimate

2009-05-26 Thread David Christensen
Paul August wrote: > Thank you David for your response. You're welcome. :-) > I followed your steps to enable the administrator account via MMC > console window, Then I start cygwin bash shell either as an > administrator or after I logon the administrator account. When I run > ssh-host-confi

RE: OpenSSH server installation error on Windows Vista Business/Ultimate

2009-05-25 Thread David Christensen
Paul August wrote: > *** Warning: The file /etc/passwd is not readable by all. > *** Warning: Please run 'chmod +r /etc/passwd'. > *** Warning: The file /etc/group is not readable by all. > *** Warning: Please run 'chmod +r /etc/group'. > *** ERROR: Problem with LocalSystem or Adminstrator IDs > D

RE: Perl ExtUtils::MakeMaker 'make install' not generating manual page for script

2009-05-02 Thread David Christensen
Reini Urban wrote: > make manifypods install Yup, that's it! :-) Is the above documented anywhere? I tried to RTFM and STFW, but didn't find it: 2009-05-02 17:19:29 administra...@p43400e ~/Dpchrist-File-Newest $ grep -r manifypods * Makefile:# --- MakeMaker manifypods section: Makefile:manify

RE: What is the most painless way to move Cygwin to another box?

2009-05-01 Thread David Christensen
Wes S wrote: > What is the most painless way to move Cygwin to another box? I've developed the habit of taking copies of the C:\cygwin\setup folder from time to time (usually before an update) and putting them into a date/time stamped folder (e.g. "holgerdanske-cygwin-20090412"). I also download

RE: Perl ExtUtils::MakeMaker 'make install' not generating manual page for script

2009-05-01 Thread David Christensen
Reini Urban wrote: > Just a hint: Please do *NOT* use lowercase package names for non- > pragmas. See http://www.cpan.org/modules/04pause.html#namespace > "newest" is certainly a very very bad name, if it does not relate to > something like "use blead;" Thank you for your help. :-) Yes; bad la

Perl ExtUtils::MakeMaker 'make install' not generating manual page for script

2009-04-30 Thread David Christensen
Cygwin: I've packaged a Perl script into a module distribution using ExtUtils::MakeMaker: http://www.holgerdanske.com/system/files/newest-1.012.tar.gz When I build the module on a Linux machine, a manual page is created. But when I build the script on Cygwin (console session follows), a man

RE: debian-live-500-i386-rescue.iso: FAILED

2009-04-12 Thread David Christensen
Greg Chicares wrote: > The asterisk is okay; it should be ignored with '--check'. Thanks for the help. :-) > Try testing that file directly: > echo "b02c3606a3f35f160a591fe1154aa362 debian-live-500-i386-rescue.is > o" \ > | md5sum --check --warn 2009-04-12 21:20:57 dpchr...@p43400e /cygdrive/

RE: debian-live-500-i386-rescue.iso: FAILED

2009-04-12 Thread David Christensen
cygwin: I wrote on debian-live (http://lists.debian.org/debian-live/2009/04/msg00068.html): > I've downloaded several files from: >http://cdimage.debian.org/cdimage/release/current-live/i386/iso-cd/ > When I attempt to verify the checksums related to the "rescue" disk, > the ISO image appears

RE: trouble running Apache 1.3.33-2 as a service

2008-11-25 Thread David Christensen
René Berber wrote: > You didn't read the part about "cygrunsrv -u www -y tcpip ...", i.e. > install the service to run as user www. I read it, but thought I'd exhaust RTFM first. I'll keep your approach in mind for future reference. > BTW if you run Apache manually (as your tests show) and you

RE: trouble running Apache 1.3.33-2 as a service

2008-11-25 Thread David Christensen
I wrote: > $ mkpasswd -l | grep www >> /etc/passwd René Berber wrote: > This is usually done with "mkpasswd -l -u www >> /etc/passwd" and > making sure you don't already have a line for that user. Thank you for your help. :-) I checked before doing the incantation. The result was the same in m

trouble running Apache 1.3.33-2 as a service

2008-11-24 Thread David Christensen
cygwin: I have a fresh install of Cygwin on Windows XP Professional SP3, including Apache. I have created a Windows account "www" and updated /etc/passwd: $ mkpasswd -l | grep www >> /etc/passwd I have edited /etc/apache/httpd.conf: $ cvs diff -r 1.1 httpd.conf Index: httpd.conf

Re: cygwin 1.5.25-15: cwrsync 2.1.3 "hangs" when 80 mb of 100 gb data network folder is to be transmitted

2008-11-10 Thread David Christensen
Evgeniy wrote: At main office we have a data storage server I use rsync to move files between and within Windows, Linux, and FreeBSD machines. All are running sshd. I create a "dpchrist" account on each machine, create ssh DSA keys for each account, and copy the public keys to the authoriz

RE: SSHD Problems (Continued)

2008-06-09 Thread David Christensen
liminal wrote: > I still am unable to connect to my external IP address using ssh, but > can connect fine to localhost. Perhaps a firewall on your machine is blocking ssh traffic. I run XP Pro SP3, and added the following exception to Windows Firewall: Name: ssh

building perl-5.8.8-4 from source "perl-5.8.8-ext-Win32CORE.tar.bz2 not found"

2008-05-24 Thread David Christensen
cygwin: I am attempting to build Perl from source (I'm curious about Perl's regression test), but it appears that the current Cygwin source distribution is incomplete: 20080524-083532 [EMAIL PROTECTED] ~/mydocuments/build/perl-5.8.8-4 $ ./build.sh + unset LIB + unset INCLUDE + export CYGWIN=serve

RE: rsync

2008-03-10 Thread David Christensen
Sisyphus wrote: > Is there an rsync package for Cygwin ? Yes. When you're in setup and looking at the package list, click the button near the top-right to change views to an alphabetized list of all packages, and you should be able to find it. Steven Hartland wrote: > Its very unreliable over s

cpan DBD::SQLite failing tests

2008-02-17 Thread David Christensen
cygwin: I am attempting to install Perl DBD::SQL via CPAN on a fresh installation of Cygwin, but it fails the tests (see attached cpan.out). Per http://www.cygwin.com/problems.html, cygcheck.out is attached. Any suggestions? TIA, David cygcheck.out Description: Binary data cpan.out Desc

sshd.log /var/empty must be owned by root and not group or world-writable.

2008-02-17 Thread David Christensen
cygwin: I was attempting to update/upgrade my Cygwin installation: 1. Rename C:\cygwin to C:\cygwin-old 2. Create new folders C:\cygwin and C:\cygwin\setup . 3. Download latest Cygwin Setup and save as C:\cygwin\setup\setup.exe . 4. Run Cygwin Setup and download/ install base system fr

RE: Running perl script in cron in cygwin under Windows

2008-01-14 Thread David Christensen
Macalalad, Jun wrote: > Thanks David. > Thanks again for the help You're welcome. :-) Please help someone else if/when you have the chance. Please keep this thread on the Cygwin list so other people can find it (e.g. hit "Reply to All"). > Cron works on other scripts but not with a perl scri

RE: Running perl script in cron in cygwin under Windows

2008-01-13 Thread David Christensen
Macalalad, Jun wrote: > I've been trying to run a perl script from cron in cygwin -- not > good. It runs when in a cygwin command prompt. Any idea where I've > done wrong please? Help? Do you have cron working? Verify it with a simple command, such as 'touch'. If that works, try a Perl one-li

RE: sshd problem on Windows 2003

2007-12-16 Thread David Christensen
Len Jacobs wrote: > ... sshd ... > The services have been working, but now they are not ... > /var/empty directory ... I moved my C:\cygwin directory aside today and did a fresh install of Cygwin on Windows XP Professional SP2. I also found that sshd would not start. There was a clue regarding o

RE: Wish Setup would accept my Perl

2007-12-06 Thread David Christensen
Michael Kairys wrote: > I see that quite a discussion has evolved since last I checked this > thread. Likewise. I've gone round and round on the issues of command.exe, Windows Explorer, Cygwin, and Perl. Perl libraries and the various maintenance tools add yet another dimension of complexity.

RE: How do I make scripts my PC executable

2007-08-31 Thread David Christensen
Andrew DeFaria wrote: > ... Additionally, if say run from cron, Thanks for the reminder -- cron was another issue/ test case that drove me towards the solution I posted. > Since you were obviously having difficulties there is still something > wrong with *your* environment ... > and as such I kn

RE: How do I make scripts my PC executable

2007-08-30 Thread David Christensen
Steve Holden wrote: > Well there's no need to be so defensive. A simple "that doesn't > work", preferably with a following "because ..." would have been > quite adequate. Now I have seen your reply to Andrew DeFaria I am > somewhat better informed. If my tone put you off, I apologize. Understand

RE: How do I make scripts my PC executable

2007-08-30 Thread David Christensen
Steve Holden wrote: > I posted alternative content for the batch script that would save you > from putting two unnecessary lines in the shell script. Or so I > thought. > The -l (or --login) option has bash read its usual startup files, > thereby avoiding the need four the course (".") commands at

RE: How do I make scripts my PC executable

2007-08-30 Thread David Christensen
Andrew DeFaria wrote: > I think he was saying that this: >$ cat ssh-backup-all.bat >C:\cygwin\bin\bash ./ssh-backup-all >$ cat ssh-backup-all >#! /bin/sh >. /etc/profile >. /home/dpchrist/.bash_profile ># do backup stuff > could be reduced to this: >$ cat ssh-bac

RE: How do I make scripts my PC executable

2007-08-30 Thread David Christensen
I wrote: > $ cat ssh-backup-all.bat > C:\cygwin\bin\bash ./ssh-backup-all Steve Holden wrote: > Wouldn't it be possible to omit the first two executable lines and > have the batch script read > c:\cygwin\bin\bash -l ./ssh-backup-all I posted a sample shell session. The "$ cat ssh-bac

RE: How do I make scripts my PC executable

2007-08-29 Thread David Christensen
zip184 wrote: > I have some scripts I'd like to run without starting cygwin and > typing in their paths. Is there a way to make windows recognize that > a file is a bash/python script and run them like as if I ran them in > cygwin? I'd like to just be able to doubleclick them in windows > explore

RE: [ANNOUNCEMENT] Updated: perl-Win32-GUI-1.04-1

2007-05-12 Thread David Christensen
Reini Urban wrote: > I'll try to upload a fixed 1.05. Okay. Thank you. :-) David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.c

Re: [ANNOUNCEMENT] Updated: perl-Win32-GUI-1.04-1

2007-05-11 Thread David Christensen
cygwin: Is Win32::GUI supposed to work? I installed 1.04-1 a few months ago, but didn't get around to playing with it until last night. When I tried to start the demo application, it core dumped. I checked the Win32::GUI project site, and the current version is 1.05. I updated Cygwin -- no hel

RE: ssh asks for key passphrase every time

2006-12-20 Thread David Christensen
burning shadow wrote: > I have created identification key with passphrase (id_dsa). Now every > time I try to open ssh connection to any host, ssh asks for > passphrase for this key. I believed, ssh should ask for a passphrase > only if host wants to accept key. FreeBSD's ssh, for example, does it

RE: Terminal background color

2006-11-24 Thread David Christensen
Deluigi Marcus wrote: > ... which window is logged on on which machine. I include the hostname in my Bash prompt: 2006-11-24 08:06:17 [EMAIL PROTECTED] ~ $ grep PS1 .bash_profile export PS1='\D{%Y-%m-%d %H:%M:%S} [EMAIL PROTECTED] \w\n\$ ' HTH, David -- Unsubscribe i

RE: Perl Device::SerialPort problem

2006-11-24 Thread David Christensen
aliko wrote: > Now the installation process of Device: SerialPort advances further > but hangs at the testing steps... Is Win32::SerialPort still viable? http://search.cpan.org/~bbirth/Win32-SerialPort-0.19/lib/Win32/SerialPor t.pm STFW, I didn't find any "SerialPort" in Cygwin package

RE: Perl Device::SerialPort problem

2006-11-23 Thread David Christensen
aliko is having troubles with Cygwin, HOME, Perl, and/or CPAN. When you start a Cygwin Bash shell for the first time, there are at least two possibilities: 1. Your HOME environment is not set, Cygwin creates the directory C:\cygwin\home\USERNAME, and copies in .bashrc, .bash_profile, etc.. This

RE: Help running bash scripts

2006-11-21 Thread David Christensen
Thierry wrote: > running a simple sh script(test.sh): > #!/bin/sh > # test > $ ./test.sh > : command not found Get this book: http://www.oreilly.com/catalog/bash3/index.html "test" is a Bash built-in command ("man bash"; see CONDITIONAL EXPRESSIONS). Avoid using that keyword in Bash scrip

RE: FW: Cygwin Perl bug -- pod2usage(-verbose => 0) & pod2usage(-verbose => 1)

2006-10-26 Thread David Christensen
Marek: Thank you. :-) David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 2:15 PM To: David Christensen Cc: 'Reini Urban'; pod-people@perl.org; [EMAIL PROTECTED]; 'cygwin' Subject: RE: FW: Cygwin Perl bug -

RE: sshd "ssh_exchange_identification: Connection closed by remote host" until restarted

2006-10-04 Thread David Christensen
Pritchard, Douglas wrote: > We tried your solution and did it a few times just to make sure and > the machines having this problem still have it. I did find a > reference that suggested it might be a timing or dependency problem > with another service. Sshd already is tied to TCP/IP as a > depend

RE: sshd "ssh_exchange_identification: Connection closed by remote host" until restarted

2006-10-02 Thread David Christensen
Pritchard, Douglas wrote: > You posted a problem with sshd no connecting after XP restarts but > works after a manual restart of sshd. > Did you ever get this resolved? I am having the same issue. Yes. You need to install rebase, shutdown any running services and any open Cygwin shells, applica

RE: Exim / cron question

2006-10-02 Thread David Christensen
Joost Kraaijeveld wrote: > I want cron to deliver an e-mail throught exim to an Exchange server, > running on the same machine. I used to run a Windows 2003 Small Business Server with Exchange, and was having a tough time with Exchange, Cygwin Exim, and Cygwin email. I seem to recall my work-arou

RE: How to run rxvt

2006-09-20 Thread David Christensen
Panos Katergiathis wrote: > I have rxvt installed but there is no shortcut in order to run it, I wrote a batch file and made a shortcut to run it: C:\Documents and Settings\dpchrist\My Documents\home>type rxvt.bat @echo off rem $Id: rxvt.bat,v 1.1 2005/10/18 04:17:23 dpchrist Exp $

RE: Cygwin as SSH Client Problem

2006-09-18 Thread David Christensen
Panos Katergiathis wrote: > I am using cygwin as ssh client in order to administrate a linux > machine. All is ok, except when running (on the remote machine) > programs like Midnight Commander, whereas the lines (ncurses?) appear > as garbage. I've run into similar problems with "top" when ssh'i

RE: cygrunsrv, sshd, services and not starting after boot

2006-09-03 Thread David Christensen
Ron Dozier wrote > I noted that a lot of people are having trouble getting the sshd > service to start automatically. I've run into the same issue with exim, sshd, and/or cron. I haven't tried to dig for the root cause. Running rebaseall fixes the issue (whatever it is), and that's good enough f

RE: Checking XCOPY Exit Value in Cygwin Bash

2006-08-07 Thread David Christensen
Shane: > Thank you for the tip. Actually I am using Visual Source Safe as the > Source Management tool. > I was considering the use of CVS, but decided against at the last > moment because most of the fellow developers including me, had been > using VSS for a considerable amount of time, and felt

RE: Checking XCOPY Exit Value in Cygwin Bash

2006-08-06 Thread David Christensen
Shane wrote: > I am writing a automated build script for my project that will be run > under cygwin. I will copy my updated source files to the build > directory and if there are updated files, the executables will be > built. To copy the source files, I had to use XCOPY since the > directory struc

RE: FW: Cygwin Perl bug -- pod2usage(-verbose => 0) & pod2usage(-verbose => 1)

2006-07-10 Thread David Christensen
Yitzchak Scott-Thoennes wrote: > I'm building an updated perl package, and will include this patch and > try to get it included upstream. Thank you. :-) David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentati

RE: FW: Cygwin Perl bug -- pod2usage(-verbose => 0) & pod2usage(-verbose => 1)

2006-07-09 Thread David Christensen
be made in the positive, when will we see the correction in Cygwin? David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reini Urban Sent: Tuesday, January 18, 2005 2:03 AM To: pod-people@perl.org Cc: David Christensen; [EMAIL PROTECTED]; cygwin S

RE: In scripts suddenly must use perl.exe rather than perl

2006-07-09 Thread David Christensen
zzapper wrote: > c:/usr/local/bin/perl sdbk.pl $* (hard path to activestate perl) It was my experience that mixing Cygwin and ActiveState Perl was a recipe for frustration. Why can't you just use Cygwin Perl? David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem re

FW: 200 GB drive has room but gzip indicates "No space left on device"

2006-06-03 Thread David Christensen
Cygwin: Turning off Windows 2003 SBS quotas on the hard drive fixes the problem. David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygw

RE: 200 GB drive has room but gzip indicates "No space left on device"

2006-05-30 Thread David Christensen
Cygwin: I put the 200 GB drive into an XP box and ran Cygwin "df" -- same result. Cygwin utilities, including "df", work fine a 250 GB drive in the same XP box. I must assume that the 200 GB disk is corrupted, or is failing. David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-s

  1   2   >