On Thu, Nov 23, 2006 at 07:20:09PM -0300, Alvaro Herrera wrote:
> The authentication process eats all available CPU power and does not
> return success, even when the given password is correct.  strace'ing the
> process shows this output:

Hi Alvaro,

I cannot reproduce the problem.

> write(4, ptrace: umoven: Input/output error
> 0xfffffffff8578bf1, 133745645) = -1 EFAULT (Bad address)
> write(4, ptrace: umoven: Input/output error
> 0xfffffffff8578bf0, 133745646) = -1 EFAULT (Bad address)
> write(4, ptrace: umoven: Input/output error
> 0xfffffffff8578bef, 133745647) = -1 EFAULT (Bad address)
> 
> repeated over and over.  (My test was to connect to the localhost
> machine using lftp, and if the twoftpd-auth process is killed, it simply
> respawns a new one, which proceeds to enter the same loop right away.)

This is what I did:

 # apt-get install twoftpd-run lftp
 ...
 # sv stat twoftpd
 run: twoftpd: (pid 21318) 185s; run: log: (pid 21317) 185s
 # 

 $ lftp -upape localhost
 Password: 
 lftp [EMAIL PROTECTED]:~> pwd        
 ftp://[EMAIL PROTECTED]
 lftp [EMAIL PROTECTED]:~> exit
 $ tail /var/log/twoftpd/current 
 @40000000457690b40a1e1874 tcpsvd: info: status 1/30
 @40000000457690b40a1f453c tcpsvd: info: pid 21888 from 127.0.0.1
 @40000000457690b40a1f741c tcpsvd: info: start 21888 localhost:127.0.0.1 
::127.0.0.1:4086
 @40000000457690d727ac6904 tcpsvd: info: end 21888 exit 0
 @40000000457690d727ae0afc tcpsvd: info: status 0/30
 $ 

Do you use the twoftpd-run package?  Please post the startup script for
twoftpd you're using, and the configuration.

Regards, Gerrit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to