Re: Please upload: clamav-0.92-1
Hi Reini, On Jan 28 01:41, Angelo Graziosi wrote: I have noted this request: http://cygwin.com/ml/cygwin-apps/2007-12/msg00231.html, but Clamav is not yet uploaded. Perhaps it was forgotten. Oops, Angelo's right. Is version 0.92-1 still due or is there a new version in the meantime? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
Re: [Patch] Proxy command-line argument
On Jan 21 09:02, Vincent Privat wrote: On Mon, Jan 21, 2008 at 12:19:56AM -0500, Christopher Faylor wrote: Please provide this as an actual patch: http://en.wikipedia.org/wiki/Patch_%28Unix%29 A patch is basically just a diff -du old new. Sending the whole file makes it hard to figure out what you've changed. If possible, a patch against the current CVS sources is preferred. See: http://sourceware.org/cygwin-apps/setup.html cgf Thanks ! I attached this time a good patch file changelog :) Vincent Is any of you setup guys going to look into this patch? Brian? Dave? Igor? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
RE: [Patch] Proxy command-line argument
On 28 January 2008 09:45, Corinna Vinschen wrote: Is any of you setup guys going to look into this patch? Brian? Dave? Igor? I'll have a look at it after work this evening if nobody else gets to it first. cheers, DaveK -- Can't think of a witty .sigline today
Re: Problem with X (disappears) and Sun Directory Server Console
ohaya schrieb: startconsole. This causes the console GUI to appear but when I type in my username/password, everything, including the original xterm window disappears. I've tried access the admin console using Hummingbird Exceed, and that seems to work fine. This problem only occurs when I use Cygwin X. The XWin.log file has the following in it after this happens: _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root _XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel Just guessing, but maybe Sun doesn't like 16 Bit color. Did you try with windoes in 32 Bit color mode? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Problem with arrow keys in x-based applications on cygwin
Per Thorlacius wrote on Sunday, January 27, 2008 7:30 PM:: The arrow keys are not sending escape sequences, they are entirely ignored. Do you get any keypress events when you press the keys? Try running xev. In the window that opens, press the cursor keys and watch the output. If you get an event when you press the keys, make a note of the keycode. You can then use xmodmap to associate the keycode with a keysym. E.g. my keyboard produces the following keycodes: Left 100 Right 102 Up98 Down 104 Using this information I would create a .xmodmaprc file in my home directory with the following lines: keycode 98 = Up keycode 100 = Left keycode 102 = Right keycode 104 = Down I'm not sure if it matters in this case, but it's best to avoid DOS style CRLF line endings, so don't use notepad to do this (or if you do, run d2u ~/.xmodmaprc afterwards). Run the command xmodmap ~/.xmodmaprc to enable the keys. This command may be added to the script you use to start X. Note that I have found it is necessary to wait for Xwin to complete its initialisation, otherwise the command does nothing, so after running Xwin, sleep for a few seconds before running xmodmap. HTH Phil -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Problem with X (disappears) and Sun Directory Server Console
Didn't think so either, but it was a thought... I spent many hours trying to figure it out, and that was what fixed it. Sorry. - Original Message - From: ohaya [EMAIL PROTECTED] To: cygwin-xfree@cygwin.com Sent: Monday, January 28, 2008 1:51 AM Subject: Re: Problem with X (disappears) and Sun Directory Server Console Jose, It doesn't seem that that would be the problem in our case, since, as I mentioned in original message, if I use Hummingbird Exceed as my X server (with logging into the server with Sun DS as the same Linux account), it works perfectly. That Xwin.log that I included in my msg seems to indicate that it's having a problem with starting the Clipboard. Would that cause this problem, and if so, how to fix it? Jim jose isaias cabrera wrote: Sorry about that. I created the account at linux server which I wanted to connect to. - Original Message - From: ohaya [EMAIL PROTECTED] To: cygwin-xfree@cygwin.com Sent: Sunday, January 27, 2008 7:29 PM Subject: Re: Problem with X (disappears) and Sun Directory Server Console Jose, When you say create a new account, which account did you mean? FYI, both myself and two other colleagues tried this, each with our own Windows accounts and accounts on the Linux machine where Sun DS is on, and all 3 of us (so far) have had this problem. Jim jose isaias cabrera wrote: I don't know if it is the same or not, but I had a similar problem with a Gentoo server. I tried everything, but once I recreated the account, I was able to connect. Try creating a new account and give it a try. Just a thought... thanks, jic ohaya wrote, Hi, I'm new here, but I'm trying to use Cygwin X to access the administration console for Sun Directory Server 6.1. I run startxwin.bat, get the xterm window, run xhost + and then SSH to the server, export DISPLAY, and start the console using a command called startconsole. This causes the console GUI to appear but when I type in my username/password, everything, including the original xterm window disappears. I've tried access the admin console using Hummingbird Exceed, and that seems to work fine. This problem only occurs when I use Cygwin X. The XWin.log file has the following in it after this happens: _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root _XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777 (II) XF86Config is not supported (II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per pixel winAllocateFBShadowGDI - Creating DIB with width: 1024 height: 768 depth: 16 winInitVisualsShadowGDI - Masks f800 07e0 001f BPRGB 6 d 16 bpp 16 null screen fn ReparentWindow null screen fn RestackWindow InitQueue - Calling pthread_mutex_init InitQueue - pthread_mutex_init returned InitQueue - Calling pthread_cond_init InitQueue - pthread_cond_init returned winInitMultiWindowWM - Hello winMultiWindowXMsgProc - Hello winInitMultiWindowWM - Calling pthread_mutex_lock () winMultiWindowXMsgProc - Calling pthread_mutex_lock () MIT-SHM extension disabled due to lack of kernel support XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 0409 (0409) (--) Using preset keyboard for English (USA) (409), type 4 (--) 3 mouse buttons found Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list! winInitMultiWindowWM - pthread_mutex_lock () returned. winProcEstablishConnection - Hello winInitClipboard () winProcEstablishConnection - winInitClipboard returned. winClipboardProc - Hello DetectUnicodeSupport - Windows NT/2000/XP winInitMultiWindowWM - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - pthread_mutex_lock () returned. winClipboardProc - DISPLAY=127.0.0.1:0.0 winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - pthread_mutex_unlock () returned. winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0 winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display. winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display. winClipboardProc - XOpenDisplay () returned and successfully opened the display. winProcSetSelectionOwner - Clipboard not yet started, aborting. winProcSetSelectionOwner - Clipboard not yet started, aborting. winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid parameter attributes) winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid parameter attributes) winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid parameter attributes) winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid parameter attributes) winMultiWindowXMsgProcErrorHandler - ERROR: BadMatch (invalid parameter attributes)
Re: Problem with arrow keys in x-based applications on cygwin
Phil Betts: Do you get any keypress events when you press the keys? Try running xev. In the window that opens, press the cursor keys and watch the output. There are no events when pressing left and right arrow (cursor) keys. There are events for up and down, though. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
src/winsup/cygwin ChangeLog path.cc
CVSROOT:/cvs/src Module name:src Changes by: [EMAIL PROTECTED] 2008-01-28 12:19:30 Modified files: winsup/cygwin : ChangeLog path.cc Log message: * path.cc: Fix Samba version in comment. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3992r2=1.3993 http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=srcr1=1.467r2=1.468
Equivalent of recycle bin?
Hello, I messed up royally today when I was merging two bash scripts. When I was going to test if my argument handling worked I had forgot to comment out a call to rm -f that took a relative path and since the script wasn't executed where it was supposed to it removed several files. Many of those are easily replaced but some were source files that have been modified the past months and the last backup was from july 23rd 2007. =/ I know I should robustify my script but I was wondering if there's an equivalent of the recycle bin I can use so I can easily restore files that were not supposed to be deleted? - Eric -- 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: clamav [was: Please upload: clamav-0.92-1]
d.henman wrote: I have it. I think that you need to 'click' on the exp ... It sound strange. In setup.ini (setup-timestamp: 1201253427, setup-version: 2.573.2.2) I do not see that clamav-0.92 is marked as [test]! setup.ini has 0.91.2-1 as current and 0.91.1-2 as previous. Beside this, no tar.bz2 for clamav-0.92 is uploaded to mirrors I have visited. Cheers, Angelo. --- http://www.webalice.it/angelo.graziosi Facesti come quei che va di notte, che porta il lume dietro e se' non giova, ma dopo se' fa le persone dotte. --- DANTE, Purgatorio, xxii 67-69 -- 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: clamav
On Jan 28 18:45, d.henman wrote: Angelo, Re : I have noted this request: http://cygwin.com/ml/cygwin-apps/2007-12/msg00231.html, but Clamav is not yet uploaded. Perhaps it was forgotten. I have it. I think that you need to 'click' on the exp tab in setup.exe gui in order to see it. It's not uploaded yet. You have fetched it yourself from Reini's upload address, apparently. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/
clamav
Angelo, Re : I have noted this request: http://cygwin.com/ml/cygwin-apps/2007-12/msg00231.html, but Clamav is not yet uploaded. Perhaps it was forgotten. I have it. I think that you need to 'click' on the exp tab in setup.exe gui in order to see it. But, unfortunately, next time you have to be careful as a standard setup.exe it will bring in the cur, ie current version rather than the experimental one. regards, darel --- -- 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: Equivalent of recycle bin?
WARNING: This email contains SERIOUSLY dangerous advice. Don't try this at home kids, DaveK is a highly-trained^H^H^H^H^H^H^H^H reckless nutter. On 28 January 2008 09:22, Eric Lilja wrote: Hello, I messed up royally today when I was merging two bash scripts. When I was going to test if my argument handling worked I had forgot to comment out a call to rm -f that took a relative path and since the script wasn't executed where it was supposed to it removed several files. Many of those are easily replaced but some were source files that have been modified the past months and the last backup was from july 23rd 2007. =/ #include std_advice.h ;-) I know I should robustify my script but I was wondering if there's an equivalent of the recycle bin I can use so I can easily restore files that were not supposed to be deleted? Yep, sysinternals do a thing that patches into the low-level disk drivers and provides a system-wide recycle bin facility entirely independent of the Explorer shell recycle bin, it should run just fine underneath cygwin. looks Hmm, I can't seem to find it right now web.archive.org FUndelete. looks some more Nope, those microsoft scumbags have withdrawn it, presumably because it came with source code and they hate that, in fact they've entirely erased it from history, it is an un-software, there's not a mention of it anywhere on microsoft.com, not even a we have withdrawn this announcement. Gotta love that web archive :) http://web.archive.org/web/20060125011929/www.sysinternals.com/Utilities/Funde lete.html http://web.archive.org/web/20060125011929/http://www.sysinternals.com/Files/Fu ndelete.exe http://web.archive.org/web/20060125011929/http://www.sysinternals.com/Files/Fu ndeleteSource.zip For those who prefer their URLs unwrapped: http://tinyurl.com/22zot8 [ homepage ] http://tinyurl.com/yrcs87 [ exe ] http://tinyurl.com/yqgmc6 [ sources! ] Now, the catch: This software is unsupported these days and may or may not work well on anything more recent than win2k. XP, 2k3 and Vista all introduce changes to the IFS (installable filesystem) device model, and it's possible that this code won't play happily with any/and/or/all of them. It's impossible to underestimate how dangerous playing with unverified disk filter drivers is, although the words AAAaRGHOMYGODWHEREDIDEVERYSINGLEFILEI'VEBEENWORKINGONFORTHEPASTTENYEARSSUDDEN LYDISAPPEARTO? should give you some feel for the scale of the potential dangers. YMMV, I have no knowledge of the situation, it's possible that everything will be fine, but I cannot recommend trying this software on any machine that you are not *completely* happy with the idea of wiping and reinstalling from scratch on. TAKE LOTS OF BACKUPS! cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Equivalent of recycle bin?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Lilja wrote: | Hello, I messed up royally today when I was merging two bash scripts. | When I was going to test if my argument handling worked I had forgot to | comment out a call to rm -f that took a relative path and since the | script wasn't executed where it was supposed to it removed several | files. Many of those are easily replaced but some were source files that | have been modified the past months and the last backup was from july | 23rd 2007. =/ | | I know I should robustify my script but I was wondering if there's an | equivalent of the recycle bin I can use so I can easily restore files | that were not supposed to be deleted? | | - Eric | | You can script a form of a recycle bin. The admin over on the NetBSD server that I login to did that. Basically what you would want to do is setup a special folder, alias a command to rm so the shell will use that instead of the real rm, and then setup the script to move the files instead of deleting them. Unfortunately the admin didn't put the script into public domain so I can't actually post it. Unfortunately I won't be of much help beyond this but I did want to just drop by and let you know it _can_ be done. - -- Robert Pendell [EMAIL PROTECTED] Thawte Web of Trust Notary CAcert Assurer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHnfUKs1pR2j1qW+sRAj+vAJoChbPgDoIiNqXUXGQzfq//g6rHPgCeNbYJ rUqNwvtyg/pCSpjcG8oLdHQ= =YcqG -END PGP SIGNATURE- -- 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: Equivalent of recycle bin?
On Mon, Jan 28, 2008 at 9:20 AM, Brian Mathis [EMAIL PROTECTED] wrote: On Mon, Jan 28, 2008 at 4:22 AM, Eric Lilja [EMAIL PROTECTED] wrote: Hello, I messed up royally today when I was merging two bash scripts. When I was going to test if my argument handling worked I had forgot to comment out a call to rm -f that took a relative path and since the script wasn't executed where it was supposed to it removed several files. Many of those are easily replaced but some were source files that have been modified the past months and the last backup was from july 23rd 2007. =/ I know I should robustify my script but I was wondering if there's an equivalent of the recycle bin I can use so I can easily restore files that were not supposed to be deleted? - Eric No, there is no recycle bin in Linux. Sorry. The best you can do is do a google for undelete linux and see if any of that helps you. You *may* be able to recover the files if you take a bit-for-bit image of the disk, then manually look through that X GB file for the disk clusters that contain some strings that you remember are in those scripts. Chances are that if you didn't shut down the server immediately after, the files are gone. Of course you know that you should always have backups, but most people need a catastrophe to really understand *how* important they are. Consider this your catastrophe. OK, so I'm on the cygwin mailing list and a linux mailing list. Guess which I thought I was reading? :) If you are on Windows Server or Vista, Volume Shadow Copy might help you get those back. -- 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: error in using cygrunsrv to run sshd as a service
Chen Yue wrote: Hi I have a windows XP host installed with cygwin sshd. Recently, I found I could not run cygrunsrv to start the service. However, I can use /usr/sbin/sshd to start the daemon. How can I debug this issue? Read /usr/share/doc/Cygwin/openssh.README user /bin/ssh-host-config script to install ssh under system services, you must run with admin privileged -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: When sshd is started at /etc/rc.d/init.d .. how to start with windows at bootup
When setting up my init, I found lots of good information by having rsyslogd running as a service, prior to and a dependent of the other cygwin services. Those services that can be started via init scripts need not run as NT services. By examining both the eventlog and /var/log/messages, you will find which services have to be configured to allow user aliasing, etc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bayu Sent: Monday, January 28, 2008 12:26 PM To: Harry Putnam Cc: cygwin@cygwin.com Subject: Re: When sshd is started at /etc/rc.d/init.d .. how to start with windows at bootup Harry Putnam wrote: In the course of just kind of following my nose during cygwin install I managed to get sshd setup to start restart etc at /etc/rc.d/init.d cmd I like that setup but it seems not to be conducive to working with cygrunsrv or windows native `net start cmd' both of those approaches fail. C:\net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534 cygrunsrv -S sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. But it starts just fine this way: /etc/rc.d/init.d/sshd start Starting sshd: [ OK ] That is all fine with me except that I want sshd started on bootup So that I can connect via ssh without having to go to the machine to start sshd. So what kind of mechanism is available to do this? A batch file maybe? If so I may need a little coaching with that too. I think I could probably get close but I don't really know what commands might be requred to get to `/etc/rc.d/init.d/sshd start' starting from a windows dos prompt or at least initially from outside bash. use /bin/ssh-host-config script to install ssh as services, its work fine with me -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Equivalent of recycle bin?
On Mon, Jan 28, 2008 at 4:22 AM, Eric Lilja [EMAIL PROTECTED] wrote: Hello, I messed up royally today when I was merging two bash scripts. When I was going to test if my argument handling worked I had forgot to comment out a call to rm -f that took a relative path and since the script wasn't executed where it was supposed to it removed several files. Many of those are easily replaced but some were source files that have been modified the past months and the last backup was from july 23rd 2007. =/ I know I should robustify my script but I was wondering if there's an equivalent of the recycle bin I can use so I can easily restore files that were not supposed to be deleted? - Eric No, there is no recycle bin in Linux. Sorry. The best you can do is do a google for undelete linux and see if any of that helps you. You *may* be able to recover the files if you take a bit-for-bit image of the disk, then manually look through that X GB file for the disk clusters that contain some strings that you remember are in those scripts. Chances are that if you didn't shut down the server immediately after, the files are gone. Of course you know that you should always have backups, but most people need a catastrophe to really understand *how* important they are. Consider this your catastrophe. -- 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/
Cronjobs not running
$ps -W|grep cron 141213841600con 18 Jan 17 /usr/sbin/cron 0 1 * * mon /home/Administrator/monday.sh 0 1 * * tue /home/Administrator/tuesday.sh 0 1 * * wed /home/Administrator/wednesday.sh 0 1 * * thu /home/Administrator/thursday.sh 0 1 * * fri /home/Administrator/friday.sh 0 1 * * sat /home/Administrator/saturday.sh example contents of monday.sh (755): #!/bin/sh rm -rf /cygdrive/M/ # M is a persistent, network mapped drive cp -Rv /cygdrive/D/IBM /cygdrive/M/ cp -Rv /cygdrive/D/ar /cygdrive/M/ When I login the next morning, there is nothing in M:\ However, if I run these scripts manually, they work just fine. Any ideas? Thanks - Gabe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: pdksh having problems starting native gvim on Vista x64
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Chris J on 1/28/2008 1:00 PM: | The exception is zsh, with which I get the following error on invoking: | | 3 [main] zsh 6168 C:\cygwin\bin\zsh.exe: *** fatal error - unable to remap | C:\cygwin\lib\zsh\4.3.4\zsh\complete.dll to same address as | parent(0x31) != 0x35 Yes, rebasing (stopping all cygwin programs except ash, and running rebaseall) is the correct solution to solve this particular zsh crash. | 1. Has anyone seen the behaviour exhibited by pdksh before, or any idea | what could be attemtped to fix it? I don't know - I don't use pdksh. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHnjkC84KuGfSFAYARAkSZAJ9DdJlDBOCC86WrLDgYUHcxV2gMYQCcC/SG loSGBiDItCJ0ouml5Id+vsc= =DoRP -END PGP SIGNATURE- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cronjobs not running
Gabe Green wrote: $ps -W|grep cron 141213841600con 18 Jan 17 /usr/sbin/cron 0 1 * * mon /home/Administrator/monday.sh 0 1 * * tue /home/Administrator/tuesday.sh 0 1 * * wed /home/Administrator/wednesday.sh 0 1 * * thu /home/Administrator/thursday.sh 0 1 * * fri /home/Administrator/friday.sh 0 1 * * sat /home/Administrator/saturday.sh example contents of monday.sh (755): #!/bin/sh rm -rf /cygdrive/M/ # M is a persistent, network mapped drive cp -Rv /cygdrive/D/IBM /cygdrive/M/ cp -Rv /cygdrive/D/ar /cygdrive/M/ When I login the next morning, there is nothing in M:\ However, if I run these scripts manually, they work just fine. Any ideas? Did you look at the FAQ? http://cygwin.com/faq/faq-nochunks.html#faq.using.shares -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Cronjobs not running
What does your syslog tell you? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabe Green Sent: Monday, January 28, 2008 1:52 PM To: cygwin@cygwin.com Subject: Cronjobs not running $ps -W|grep cron 141213841600con 18 Jan 17 /usr/sbin/cron 0 1 * * mon /home/Administrator/monday.sh 0 1 * * tue /home/Administrator/tuesday.sh 0 1 * * wed /home/Administrator/wednesday.sh 0 1 * * thu /home/Administrator/thursday.sh 0 1 * * fri /home/Administrator/friday.sh 0 1 * * sat /home/Administrator/saturday.sh example contents of monday.sh (755): #!/bin/sh rm -rf /cygdrive/M/ # M is a persistent, network mapped drive cp -Rv /cygdrive/D/IBM /cygdrive/M/ cp -Rv /cygdrive/D/ar /cygdrive/M/ When I login the next morning, there is nothing in M:\ However, if I run these scripts manually, they work just fine. Any ideas? Thanks - Gabe -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Erratic performance with Cygserver
Hi, I am helping someone with a system that makes use of the msgsnd and msgrcv calls to xfer messages between components using Queues and Fifos: I/O Listener - Router - Process Module I/O Sender - Router - Process Module The problem is the performance - on a medium-size Unix system (e.g. 4 CPU HP system) they get 600 messages through the system per second, when the Process Module is handling database enquiries. On a 4 CPU windows system with Cygserver (4 x Intel Xeon 3.2GHz, 3.5Gb RAM) they are struggling to get even 4-5 messages through the system in a second, even with a *dummy* Process Module which does no database access, only returning a 'success' message! We have tested with Cygwin 1.5.24-2 and 1.5.25-5 We have turned off Hyperthreading and disabled the anti-virus from scanning the application and cygwin folder structures on the servers, and amended cygserver.conf, but are hitting this wall in the performance. (response msgs can be up to 4096 bytes, I set # kern.ipc.msgssz: Size of segment in bytes. Must be a power of 2 value. # Default: 8, Min: 8, Max: 1024 kern.ipc.msgssz 256 # kern.ipc.msgmnb: Maximum no. of bytes in a single message queue. # Default: 2048, Min: 1, Max: 65535 kern.ipc.msgmnb 65535) I cannot see how to enable any kind of performance monitoring in Cygserver, and through the debug in their system I see that the responses from Cygserver can have significant delays at times, but I can't see any pattern to the delays. Please can anyone suggest what to look into to track down where the problem may be, and what diagnostics / debug could help me? I cannot find any discussions on problems with Cygserver performance on the net, so I have to assume it is a problem with their setup ... but it's happening on their two test servers, and also on site! Gary ___ Gary Rowe, Dublin, Ireland www.rowandelle.com -- 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/
pdksh having problems starting native gvim on Vista x64
Hi all, I've a recently installed Cygwin setup on Vista x64 and I've been having problems with pdksh. I've got a x64-build of native gvim installed[1] which pdksh doesn't want to start. On trying to run I get: $ /cygdrive/c/vim/vim71/gvim.exe /bin/pdksh: /cygdrive/c/vim/vim71/gvim.exe: cannot execute - Permission denied $ However, running it via every other shell going (ash, bash, tcsh and csh) is fine and gvim pops up well and good. The exception is zsh, with which I get the following error on invoking: 3 [main] zsh 6168 C:\cygwin\bin\zsh.exe: *** fatal error - unable to remap C:\cygwin\lib\zsh\4.3.4\zsh\complete.dll to same address as parent(0x31) != 0x35 Googling has shown me this thread[2] that mentions rebaseing the DLLs. However, before I go ahead and do this willy-nilly, I did want to confirm that it was the correct thing to do given the the thread as well as the mail threads linked to are a few months to a year old. So questions ultimately are: 1. Has anyone seen the behaviour exhibited by pdksh before, or any idea what could be attemtped to fix it? 2. Is rebasing the right thing to do, and is it just 'rebaseall' I should be executing? Cheers all, Chris... [1] http://georgevreilly.com/vim/ [2] http://cygwin.com/ml/cygwin/2007-04/msg00606.html -- \ Chris Johnson \ \ [EMAIL PROTECTED] \ Quidquid latin dictum sit altum viditur \ http://cej.nightwolf.org.uk/ \ \ http://redclaw.org.uk/~-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: When sshd is started at /etc/rc.d/init.d .. how to start with windows at bootup
Harry Putnam wrote: In the course of just kind of following my nose during cygwin install I managed to get sshd setup to start restart etc at /etc/rc.d/init.d cmd I like that setup but it seems not to be conducive to working with cygrunsrv or windows native `net start cmd' both of those approaches fail. C:\net start sshd The CYGWIN sshd service is starting. The CYGWIN sshd service could not be started. The service did not report an error. More help is available by typing NET HELPMSG 3534 cygrunsrv -S sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. But it starts just fine this way: /etc/rc.d/init.d/sshd start Starting sshd: [ OK ] That is all fine with me except that I want sshd started on bootup So that I can connect via ssh without having to go to the machine to start sshd. So what kind of mechanism is available to do this? A batch file maybe? If so I may need a little coaching with that too. I think I could probably get close but I don't really know what commands might be requred to get to `/etc/rc.d/init.d/sshd start' starting from a windows dos prompt or at least initially from outside bash. use /bin/ssh-host-config script to install ssh as services, its work fine with me -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Please upload: clamav-0.92-1
Hi Reini, On Jan 28 01:41, Angelo Graziosi wrote: I have noted this request: http://cygwin.com/ml/cygwin-apps/2007-12/msg00231.html, but Clamav is not yet uploaded. Perhaps it was forgotten. Oops, Angelo's right. Is version 0.92-1 still due or is there a new version in the meantime? Corinna Thanks for the reminder. I completely forget that. I've just uploaded it as curr. -- Reini Urban -- 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: pdksh having problems starting native gvim on Vista x64
On Mon, 28 Jan 2008, Chris J wrote: Hi all, I've a recently installed Cygwin setup on Vista x64 and I've been having problems with pdksh. I've got a x64-build of native gvim installed[1] which pdksh doesn't want to start. On trying to run I get: $ /cygdrive/c/vim/vim71/gvim.exe /bin/pdksh: /cygdrive/c/vim/vim71/gvim.exe: cannot execute - Permission denied $ However, running it via every other shell going (ash, bash, tcsh and csh) is fine and gvim pops up well and good. Well, tcsh and csh are the same... Can you please post the output of ls -l /cygdrive/c/vim/vim71/gvim.exe, ls -ld /cygdrive/c/vim/vim71, and ls -ld /cygdrive/c/vim? Also of cygcheck /cygdrive/c/vim/vim71/gvim.exe? The exception is zsh, with which I get the following error on invoking: 3 [main] zsh 6168 C:\cygwin\bin\zsh.exe: *** fatal error - unable to remap C:\cygwin\lib\zsh\4.3.4\zsh\complete.dll to same address as parent(0x31) != 0x35 Googling has shown me this thread[2] that mentions rebaseing the DLLs. However, before I go ahead and do this willy-nilly, I did want to confirm that it was the correct thing to do given the the thread as well as the mail threads linked to are a few months to a year old. I doubt the pdksh problem has anything to do with rebasing. So questions ultimately are: 1. Has anyone seen the behaviour exhibited by pdksh before, or any idea what could be attemtped to fix it? I would do chmod a+x /cygdrive/c/vim /cygdrive/c/vim/vim71 /cygdrive/c/vim/vim71/gvim.exe first, and see if it fixes your problem. If that does not work, and the output of ls -l I requested above doesn't help, it would probably be time to look at the strace output. 2. Is rebasing the right thing to do, and is it just 'rebaseall' I should be executing? See /usr/share/doc/Cygwin/rebase-2.4.3.README... But rebase is more likely to fix your zsh problem than your pdksh problem. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! That which is hateful to you, do not do to your neighbor. That is the whole Torah; the rest is commentary. Go and study it. -- Rabbi Hillel -- 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/
[ANNOUNCEMENT] Updated: clamav-0.92-1
This email is to inform you about the release of version '0.92' of 'ClamAntiVirus' through cygwin.com/setup.exe. The changes in this release are as follows: This release provides various bugfixes, optimisations and improvements to the scanning engine. The new features include support for ARJ and SFX-ARJ archives, basic SPF parser in clamav-milter (to reduce phishing false-positives), faster scanning and others (see ChangeLog). To get a consistent behaviour of the anti-phishing module on all platforms, libclamav now includes the regex library from OpenBSD. Release focus: Bugfixes, optimisations and improvements Full Changelog just http://svn.clamav.net/svn/clamav-devel/trunk/ChangeLog About: Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of this software is the integration with mail servers (attachment scanning). The package provides a flexible and scalable multi-threaded daemon, a commandline scanner, and a tool for automatic updating via Internet. The programs are based on a shared library distributed with the Clam AntiVirus package, which you can use in your own software. See http://freshmeat.net/projects/clamav/ To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- 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/
editing crontab using gvim
Hi, I have gvim installed and when I do: $ crontab -e gvim opens up my crontab. But, it opens it as readonly and saving it requires wq! but then when it exits, I see: $ crontab.exe -e crontab: no changes made to crontab But I did do the changes! Anyways, if I use this command to edit my crontab: $ EDITOR=vim crontab -e then everything is OK but isn't GUI like I want. Any ideas what I can do to resolve this? NOTE: to create my initial crontab, I had to use the latter command. Shai -- 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/