public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: accept doesn't block while running as NT service
@ 2003-08-22  9:03 linamat
  2003-08-22 10:43 ` proftpd Mauri
  0 siblings, 1 reply; 22+ messages in thread
From: linamat @ 2003-08-22  9:03 UTC (permalink / raw)
  To: cygwin

As Corinna said "debugging could help" and she was right.
One of my functions closed file descriptors 0 and 1 after successfull
listen() call. Socket fd is 0 in my case. And so accept()'s errno was EBADF.
Now my service is working.


--
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/

^ permalink raw reply	[flat|nested] 22+ messages in thread
* ProFTPD
@ 2006-03-13 15:53 Tim Bedding
  2006-03-15  2:42 ` ProFTPD Jason Tishler
  0 siblings, 1 reply; 22+ messages in thread
From: Tim Bedding @ 2006-03-13 15:53 UTC (permalink / raw)
  To: cygwin

Hello. I am trying to get the FTP server running on
a Windows XP machine.

I installed the proftpd package and looked for a document
describing how to get things going quickly.

I found README.cygwin but it referred to cygrunsrv and
"net stop proftpd" which may correspond to packages which are
not installed. I have no inetd.conf file and proftpd is
not in /usr/local/sbin.


Has anyone written a simple README describing how to get started
after installing the Cygwin base and then the proftpd package,
assuming minimal knowledge of Cygwin?

Regards
Tim



--
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/

^ permalink raw reply	[flat|nested] 22+ messages in thread
* proftpd
@ 2004-03-01 22:47 Michael Chen
  2004-03-01 23:10 ` proftpd Brian Ford
  0 siblings, 1 reply; 22+ messages in thread
From: Michael Chen @ 2004-03-01 22:47 UTC (permalink / raw)
  To: cygwin

hi, after install proftpd, the bash shell cannot find "proftpd", why?

--
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/

^ permalink raw reply	[flat|nested] 22+ messages in thread
[parent not found: <8B7C4F148B66B74AA41CC954C741536E2021E3@exchg_ct.KRONOS.COM>]
[parent not found: <BA9616F8350FB549952FC2A2CE4EA8CA63E6D7@redondo.winresources.com>]
* inetutils ftpd fcntl(F_SETOWN) failure message suppression patch
@ 2003-01-13  2:54 Jason Tishler
  2003-01-13  3:04 ` Corinna Vinschen
  0 siblings, 1 reply; 22+ messages in thread
From: Jason Tishler @ 2003-01-13  2:54 UTC (permalink / raw)
  To: Cygwin

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

Corrina,

The attached patch to ftpd prevents messages like the following from
filling up the Event Log whenever someone connects to the server:

    [34724] ftpd
       Type:     ERROR 
       Computer: TISHLERJASON
       Time:     12/31/2002 3:10:21 PM   ID:       0 
       User:     SYSTEM\NT AUTHORITY
    ftpd : Win32 Process Id = 0xDC8 : Cygwin Process Id = 0xE54 : fcntl F_SETOWN: In valid argument

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

[-- Attachment #2: ftpd.c.diff --]
[-- Type: text/plain, Size: 358 bytes --]

--- ftpd.c.orig	2002-10-01 15:39:24.000000000 -0400
+++ ftpd.c	2003-01-03 08:02:11.000000000 -0500
@@ -382,7 +382,7 @@ main(argc, argv, envp)
 		syslog(LOG_ERR, "setsockopt: %m");
 #endif
 
-#ifdef	F_SETOWN
+#if defined(F_SETOWN) && !defined(__CYGWIN__)
 	if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
 		syslog(LOG_ERR, "fcntl F_SETOWN: %m");
 #endif

[-- Attachment #3: ftpd.c.ChangeLog --]
[-- Type: text/plain, Size: 215 bytes --]

2003-01-03  Jason Tishler  <jason@tishler.net>

	* ftpd/ftpd.c (main): Add Cygwin guard to the conditional compilation
	around fcntl(F_SETOWN) to prevent the Event Log from filling with
	expected failure messages.


[-- Attachment #4: Type: text/plain, Size: 214 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2006-03-15  2:42 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-22  9:03 accept doesn't block while running as NT service linamat
2003-08-22 10:43 ` proftpd Mauri
2003-08-22 17:01   ` proftpd Eduardo Osorio Armenta
2003-08-22 17:48   ` proftpd Hannu E K Nevalainen (garbage mail)
2003-09-01  6:56     ` Re[2]: proftpd Mauri
2003-09-01 15:42       ` Hannu E K Nevalainen (garbage mail)
2003-08-22 19:40   ` proftpd GDN_Cygwin
2003-08-24 22:23   ` proftpd Jason Tishler
  -- strict thread matches above, loose matches on Subject: below --
2006-03-13 15:53 ProFTPD Tim Bedding
2006-03-15  2:42 ` ProFTPD Jason Tishler
2004-03-01 22:47 proftpd Michael Chen
2004-03-01 23:10 ` proftpd Brian Ford
2004-03-01 23:31   ` proftpd Michael Chen
2004-03-01 23:34     ` proftpd Brian Ford
     [not found] <8B7C4F148B66B74AA41CC954C741536E2021E3@exchg_ct.KRONOS.COM>
2003-11-12 18:57 ` proftpd Jason Tishler
     [not found] <BA9616F8350FB549952FC2A2CE4EA8CA63E6D7@redondo.winresources.com>
2003-10-24 20:47 ` proftpd Jason Tishler
2003-10-24 23:12   ` proftpd Hannu E K Nevalainen
2003-01-13  2:54 inetutils ftpd fcntl(F_SETOWN) failure message suppression patch Jason Tishler
2003-01-13  3:04 ` Corinna Vinschen
2003-01-13  3:30   ` Jason Tishler
2003-01-13  3:30     ` Christopher Faylor
2003-01-13  3:30       ` Corinna Vinschen
2003-01-13 15:33         ` Jason Tishler
2003-04-22  2:10           ` proftpd (was: Re: inetutils ftpd fcntl(F_SETOWN) failure message suppression patch) Gerrit P. Haase
2003-04-22  4:50             ` Corinna Vinschen
2003-04-22  9:21               ` proftpd Gerrit P. Haase
2003-04-22  9:41                 ` proftpd Gerrit P. Haase
2003-04-22 14:40                   ` proftpd Corinna Vinschen
2003-04-22 14:14                 ` proftpd Hannu E K Nevalainen (garbage mail)
2003-04-23 12:26                   ` proftpd Gerrit P. Haase

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).