Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 01-27-2003, 09:49 AM   #1
apeiros
Prospect
 
Join Date: Aug 2002
Location: switzerland
Posts: 43
proftpd 1.2.7 troubles with transmit

Hi there

I compiled proftpd for my 10.2.3 and it all runs fine when using with ftp-command from shell, but if i use transmit then proftpd hangs.

From Transmits transcript:

Code:
Cmd: TYPE A
200: Type set to A.
Cmd: PASV
227: Entering Passive Mode (127,0,0,1,192,50).
Cmd: NLST
150: Opening ASCII mode data connection for file list
226: Transfer complete.
Cmd: STAT www
After the "STAT www" Transmit hangs for about 30s and tells afterwards "Server closed connection"

From proftpd's debug output (I started proftpd using -nd9):
Code:
localhost (localhost[127.0.0.1]) - dispatching POST_CMD command 'NLST' to mod_sql
localhost (localhost[127.0.0.1]) - dispatching POST_CMD command 'NLST' to mod_ratio
localhost (localhost[127.0.0.1]) - dispatching LOG_CMD command 'NLST' to mod_sql
localhost (localhost[127.0.0.1]) - mod_sql/4.10: >>> log_master
localhost (localhost[127.0.0.1]) - mod_sql/4.10: >>> _process_named_query
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: entering         cmd_escapestring
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: exiting  cmd_escapestring
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: entering         cmd_escapestring
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: exiting  cmd_escapestring
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: entering         cmd_escapestring
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: exiting  cmd_escapestring
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: entering         cmd_escapestring
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: exiting  cmd_escapestring
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: entering         cmd_insert
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: entering         cmd_open
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: connection 'default' count is now 2
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: exiting  cmd_open
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: query "INSERT INTO log_ftptraffic VALUES ('', '-', 322, 'stefan@localhost', now())"
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: entering         cmd_close
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: connection 'default' count is now 1
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: exiting  cmd_close
localhost (localhost[127.0.0.1]) - mod_sql_mysql/4.03: exiting  cmd_insert
localhost (localhost[127.0.0.1]) - mod_sql/4.10: <<< _process_named_query
localhost (localhost[127.0.0.1]) - mod_sql/4.10: <<< log_master
localhost (localhost[127.0.0.1]) - dispatching LOG_CMD command 'NLST' to mod_log
localhost (localhost[127.0.0.1]) - dispatching LOG_CMD command 'NLST' to mod_ls
localhost (localhost[127.0.0.1]) - dispatching PRE_CMD command 'STAT www' to mod_core
localhost (localhost[127.0.0.1]) - dispatching PRE_CMD command 'STAT www' to mod_core
localhost (localhost[127.0.0.1]) - dispatching CMD command 'STAT www' to mod_ls
localhost (localhost[127.0.0.1]) - in dir_check_full(): path = '/www', fullpath = '/www'.
After that dir_check_full() nothing happens anymore...

Has anyone got an idea, what that could be?
I have a (not self compiled) proftpd 1.2.4 here which works nice with Transmit.

Here is how I compiled proftpd:
Code:
$ CFLAGS=" -Wall"
$ export CFLAGS
$ LDFLAGS="-L/usr/local/lib -L/usr/local/mysql/lib -lmysqlclient -lz -lm"
$ export LDFLAGS
$ ./configure --with-modules=mod_readme:mod_ratio:mod_sql:mod_sql_mysql
$ make
$ make install
__________________
greets
apeiros

mail: apeiros@gmx.net
icq: 121126206
apeiros is offline   Reply With Quote
Old 01-28-2003, 02:34 PM   #2
apeiros
Prospect
 
Join Date: Aug 2002
Location: switzerland
Posts: 43
Thumbs up

OK, thanks to those who at least tried to understand my problem ;-)

I didn't exactly solve it, but with proftpd v1.2.8rc1 the problem doesn't exist any longer. I just started using that version also it isn't the best feeling to use a rc1-version on a production machine... :-/
__________________
greets
apeiros

mail: apeiros@gmx.net
icq: 121126206
apeiros is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.