How to disable suspend/hibernate in Windows

2008-11-18 Thread Matthias Meyer
Hi, My Backup by rsync will abort if windows client enter suspend or hibernation mode. How to disable that at begin of the backup and enable the client configuraton at the end of the backup again? I've tried the registry setting: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ACPI\Paramet

Re: howto use rsyncs pre-xfer command?

2008-11-18 Thread Matthias Meyer
Am Sonntag 16 November 2008 schrieb Matthias Meyer: > Hi, > > I want to disable windows suspend before starting backup by rsync. > My rsyncd.conf: > - >  max connections = 6 >  log file = /var/log/backup-service.log >  read only = false >  write only = false >  transfer logging = n

Re: mmap call gives invalid argument

2008-11-18 Thread Carlo Florendo
Sorry, here's cygcheck. On Wed, Nov 19, 2008 at 2:49 PM, Carlo Florendo wrote: > Good day Cygwin gurus, > > I'm trying to run a very tiny app called dmidecode on cygwin > (http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.9.tar.gz). > The app is so small it takes 5 seconds for it to

mmap call gives invalid argument

2008-11-18 Thread Carlo Florendo
Good day Cygwin gurus, I'm trying to run a very tiny app called dmidecode on cygwin (http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.9.tar.gz). The app is so small it takes 5 seconds for it to compile OOTB. For several years, I've compiled the app on Cygwin on several Pentium sy

Re: Defrag and some other exe not seen by cygwin on XP64

2008-11-18 Thread André Bleau
Bruce Dobrin wrote: > This is weird > I couldn't find it in my search of the site; > I was on a XP64 machine and tried to run the defrag command from the Cygwin > shell > and it could not locate the command. I could see the command via the cmd > shell. > Below I cd usng the cmd shell o

Re: [us...@httpd] Re: WELCOME to us...@httpd.apache.org (UNCLASSIFIED)

2008-11-18 Thread morgan gangwere
.. please ignore my inabilty to read properly. Thank you! -- 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: [us...@httpd] Re: WELCOME to us...@httpd.apache.org (UNCLASSIFIED)

2008-11-18 Thread morgan gangwere
TITTTL'd > Hey Morgan... was this in response to my registering with the mail list? I > wasn't sure, but it seemed like the timing was more than coincidence! :) Is > it preferred that I use a different mail client for the list? I try to be > sensitive to the "norms" of new lists, forums, and news

Cygport fails to prep correctly

2008-11-18 Thread Peter Rosin
Hi! I'm trying to switch a couple of packages over to cygport from some g-b-s derived djungle. Some of these packages need to be patched with extra headers that are missing in the w32api package in order to build correctly. The license of these headers are incompatible with w32api (they are LGP

Re: dig tool for Cygwin?

2008-11-18 Thread Mark Rousell
Thorsten Kampe wrote: ISC provides a native one. Thanks, I'll look at that too. -- MarkR PGP public key: http://www.signal100.com/markr/publickey Key fingerprint: 2F64 8EC1 771C 3895 A230 3BE1 2501 A882 C9C5 C162 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem rep

Re: dig tool for Cygwin?

2008-11-18 Thread Mark Rousell
Yaakov (Cygwin Ports) wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark Rousell wrote: Is there a dig tool for Cygwin? It's usually part of Bind I think, but I can't see a Bind package for Cygwin. I know I can use nslookup but I'm just more used to dig. Cygwin Ports provides a bind

lf_setlock can't sync with lock object when starting Cygwin using Login

2008-11-18 Thread Brian Keener
login: briank Password: 548179190 [main] login 2452 lf_setlock: Can't sync with lock object hold by Win32 pid 1892: Win32 error 2 Last login: Wed Nov 12 22:46:45 on console Fanfare!!! You are successfully logged in to this server!!! [EMAIL PROTECTED] ~ $ I have a cygwin.bat file that starts 4 s

Re: 1.7 - noacl for cygdrive

2008-11-18 Thread David Rothenberger
On 11/18/2008 7:18 AM, Richard Ivarson wrote: So it's not just me having massive problems with the NT permissions which are being messed up by Cygwin tools like rsync. Actually most Cygwin users should see these problems, I guess, because Windows 2000 and XP use NTFS. I can't use rsync anymore,

Re: dig tool for Cygwin?

2008-11-18 Thread Thorsten Kampe
* Yaakov (Cygwin Ports) (Tue, 18 Nov 2008 11:47:30 -0600) > Mark Rousell wrote: > > Is there a dig tool for Cygwin? It's usually part of Bind I think, > > but I can't see a Bind package for Cygwin. > > > > I know I can use nslookup but I'm just more used to dig. > > Cygwin Ports provides a bind p

Re: dig tool for Cygwin?

2008-11-18 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark Rousell wrote: > Is there a dig tool for Cygwin? It's usually part of Bind I think, but I > can't see a Bind package for Cygwin. > > I know I can use nslookup but I'm just more used to dig. Cygwin Ports provides a bind package. Yaakov -

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-18 Thread Fred Kemp
Hi Steve, Hmmm, thanks for confirming what I pessimistically suspected but optimistically hoped to be corrected on. Unfortunately our data files are frequently in the 3-4Gb range so it sounds like SFU is unlikely to be an option either. Would like to persist with cygwin as we use it for s

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-18 Thread Steven Hartland
rsync over ssh and cygwin don't play nice and likely never will. Either avoid using rsync or use it in daemon mode avoiding ssh which is where the problem really lies ( the interaction between rsync and ssh ). A good alternative to cygwin for this is SFU but be aware that most versions only suppo

dig tool for Cygwin?

2008-11-18 Thread Mark Rousell
Is there a dig tool for Cygwin? It's usually part of Bind I think, but I can't see a Bind package for Cygwin. I know I can use nslookup but I'm just more used to dig. -- MarkR PGP public key: http://www.signal100.com/markr/publickey Key fingerprint: 2F64 8EC1 771C 3895 A230 3BE1 2501 A882 C9C5

rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-18 Thread Fred Kemp
Good afternoon all, Please excuse my cygwin newbie status if I have missed something obvious. Having resolved the "overly long file name" issue with rsync in cygwin 1.5 by upgrading to version 1.7, I have hit a new problem, namely rsync hanging midway through transfer. No errors are repor

Re: Make program find its dll:s

2008-11-18 Thread Christopher Faylor
On Tue, Nov 18, 2008 at 01:11:55PM +0100, Markus Hoenicka wrote: > Quoting Eric Lilja <[EMAIL PROTECTED]>: > >> does work. I guess LD_LIBRARY_PATH cannot be used for what I was trying >> to do. > > Now, this indeed *is* Cygwin-specific :-) No, it's actually Windows specific. LD_LIBRARY_PATH only

Re: 1.7 - noacl for cygdrive

2008-11-18 Thread Christopher Faylor
On Tue, Nov 18, 2008 at 08:35:04AM -0700, Rob Bosch wrote: >> Rob, many thanks for your reply. >> So it's not just me having massive problems with the NT permissions which >are >> being messed up by Cygwin tools like rsync. Actually most Cygwin users >should >> see these problems, I guess, because

Re: 1.7 - noacl for cygdrive

2008-11-18 Thread Rob Bosch
> Rob, many thanks for your reply. > So it's not just me having massive problems with the NT permissions which are > being messed up by Cygwin tools like rsync. Actually most Cygwin users should > see these problems, I guess, because Windows 2000 and XP use NTFS. > I can't use rsync anymore, becaus

Re: 1.7 - noacl for cygdrive

2008-11-18 Thread Larry Hall (Cygwin)
Richard Ivarson wrote: Rob Bosch schrieb: Could you please post an example of how your fstab looks like? Thanks. My Cygwin/etc/fstab looks like this: none /cygdrive cygdrive user,noacl,posix=0 0 0 But rsync still resets all my NT permissions. -Richard P.S. In case this all works for C

Re: 1.7 - noacl for cygdrive

2008-11-18 Thread Greg Chicares
On 2008-11-18 15:18Z, Richard Ivarson wrote: > > The fstab doesn't seem to work for me. You mentioned that you mount. How > could I verify that my Cygwin does mount, too? Do you have to use a special > command in order to mount in Cygwin? > I just run a small bash script which uses rsync with the

Re: 1.7 - noacl for cygdrive

2008-11-18 Thread Larry Hall (Cygwin)
Richard Ivarson wrote: Larry Hall (Cygwin) schrieb: On 11/15/2008, Richard Ivarson wrote: P.S. How can I see if my Cygwin has got version number "1.7" ? 'uname -r' Larry, thanks for your help. a 'uname -r' reports "1.5.25(0.156/4/2)" I've run Setup.exe and the Cygwin programms should be t

Re: 1.7 - noacl for cygdrive

2008-11-18 Thread Richard Ivarson
Rob Bosch schrieb: [..] I set up the destinations in the mount table. I still have messed up permissions. The issues may be still lingering from before as I'm still working on resetting permissions on 10TB of data...what fun. Once the permissions are reset and I mount with the user,noacl,posix

Re: 1.7 - noacl for cygdrive

2008-11-18 Thread Richard Ivarson
Larry Hall (Cygwin) schrieb: On 11/15/2008, Richard Ivarson wrote: P.S. How can I see if my Cygwin has got version number "1.7" ? 'uname -r' Larry, thanks for your help. a 'uname -r' reports "1.5.25(0.156/4/2)" I've run Setup.exe and the Cygwin programms should be the current ones. Why do

Re: Downloading (parts of) Cygwin for later local install?

2008-11-18 Thread Larry Hall (Cygwin)
On 11/18/2008, tomas wrote: Hey -- may I copy that? Since I did, I suppose it's OK. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 0

Re: long math functions on cygwin

2008-11-18 Thread Tim Prince
Greg Chicares wrote: > I poked around the newlib list a little, but saw nothing > to suggest anyone's working on adding sqrtl() etc. They do > welcome patches, of course. I doubt that a simple request from the masses would lead anywhere. It's relatively easy to implement long double math function

Re: long math functions on cygwin

2008-11-18 Thread Greg Chicares
On 2008-11-18 12:06Z, [EMAIL PROTECTED] wrote: > On Tue, Nov 18, 2008 at 11:55:49AM +, Greg Chicares wrote: > [...] >> See the explanation of >> "If I call sqrtl on linux I have to link to -lm, on Cygwin I don't." >> toward the bottom of this message: > > Thanks for the enlightenment. As I s

Re: long math functions on cygwin

2008-11-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to [EMAIL PROTECTED] on 11/18/2008 5:06 AM: > On Tue, Nov 18, 2008 at 11:55:49AM +, Greg Chicares wrote: > [...] >> See the explanation of >> "If I call sqrtl on linux I have to link to -lm, on Cygwin I don't." >> toward the bottom of t

Re: Make program find its dll:s

2008-11-18 Thread Markus Hoenicka
Quoting Eric Lilja <[EMAIL PROTECTED]>: does work. I guess LD_LIBRARY_PATH cannot be used for what I was trying to do. Now, this indeed *is* Cygwin-specific :-) Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.

Re: long math functions on cygwin

2008-11-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Nov 18, 2008 at 11:55:49AM +, Greg Chicares wrote: [...] > See the explanation of > "If I call sqrtl on linux I have to link to -lm, on Cygwin I don't." > toward the bottom of this message: Thanks for the enlightenment. As I said, I have

Re: Make program find its dll:s

2008-11-18 Thread Eric Lilja
Markus Hoenicka wrote: Although this is nothing specific to Cygwin: If you want to make the variable value available to processes which are executed subsequently, you need to export the variable, not just set it, as in: export LD_LIBRARY_PATH=/path/to/dll-files Alternatively, set the variab

Re: long math functions on cygwin

2008-11-18 Thread Greg Chicares
On 2008-11-18 11:15Z, [EMAIL PROTECTED] wrote: > > No clue about Windows (and very little about Cygwin), but... isn't a > "-lm" (aka link against the math library, libm) missing somewhere? See the explanation of "If I call sqrtl on linux I have to link to -lm, on Cygwin I don't." toward the bot

Re: Make program find its dll:s

2008-11-18 Thread Markus Hoenicka
Quoting Eric Lilja <[EMAIL PROTECTED]>: Hi Tomás and thanks for the quick reply. I tried setting LD_LIBRARY_PATH using $ LD_LIBRARY_PATH=/path/to/dll-files (and then checking with $ echo LD_LIBRARY_PATH that it "stuck"), but the process still cannot find the DLL files. I am starting the process

Re: Make program find its dll:s

2008-11-18 Thread Eric Lilja
[EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Nov 18, 2008 at 12:10:02PM +0100, Eric Lilja wrote: [...] I'm now wondering if it's possible to tell a process launched from within a cygwin bash shell to "look in this directory as well for DLL files you might need

Re: Make program find its dll:s

2008-11-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Nov 18, 2008 at 12:10:02PM +0100, Eric Lilja wrote: > [...] I'm now wondering if it's possible to tell a > process launched from within a cygwin bash shell to "look in this directory > as well for DLL files you might need [...] The environme

Re: long math functions on cygwin

2008-11-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Nov 18, 2008 at 10:02:41PM +1100, Manal Helal wrote: > Hello > > > I am trying to compile some unix code on cygwin, using gcc version: > > * > Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs

Make program find its dll:s

2008-11-18 Thread Eric Lilja
Hello, I have a few programs that I've compiled using the gcc compiler supplied as part of the cygwin "distribution". These programs depend on a few, fairly large DLL files. I'm now wondering if it's possible to tell a process launched from within a cygwin bash shell to "look in this directory

long math functions on cygwin

2008-11-18 Thread Manal Helal
Hello I am trying to compile some unix code on cygwin, using gcc version: * Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure --ver bose --prefix=/usr --exec-prefix=/usr --

Re: SFTP doesn't work with ChrootDirectory option set

2008-11-18 Thread TheO
Actually my real objective is to use chroot for SFTP. I am planning to disable ssh login in the final configuration, I was using ssh just for testing the sshd capability for chrooting. --- On Mon, 11/17/08, Eric Blake <[EMAIL PROTECTED]> wrote: > From: Eric Blake <[EMAIL PROTECTED]> > Subject