LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-19-2002, 11:16 PM   #1
jester13rok
LQ Newbie
 
Registered: Mar 2002
Distribution: Debian, Redhat
Posts: 6

Rep: Reputation: 0
Question HELP!!! proftpd problem


Hey all,
I hope you can help me, I can't figure out why my proftpd isn't working with some client software, (called shooting star) It works for many other sites so, I'm pretty sure it is my problem not the software. I've went thought the FAQ, Man's, google searches (vast amounts) well here is the skinny

Running redhat 7.2, proftpd standalone mode (PAM)...

The client is stalling after the STOR command is executed. I think the transfer complete is not getting to the client? I'm not sure and am running out of ideas. WS FTP, linux ftp, window shell ftp all work fine.
here is what the debug is reading -d5:

jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - CURRENT-CLIENTS
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - USER mbernat: Login successful.
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'CWD www' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'CWD www' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - in dir_check_full(): path = '/home/mbernat/www', fullpath =
'/home/mbernat/www'.
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'ALLO 203' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'ALLO 203' to mod_xfer
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'TYPE I' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'TYPE I' to mod_xfer
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'PASV' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'PASV' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - Entering Passive Mode (66,64,18,6,4,5).
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'STOR ss257091.jpg' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'STOR ss257091.jpg' to mod_xfer
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - in dir_check_full(): path = '/home/mbernat/www/ss257091.jpg'
, fullpath = '/home/mbernat/www/ss257091.jpg'.
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - in dir_check_full(): setting umask to 0755 (was 0374)
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'STOR ss257091.jpg' to mod_xfer
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - Transfer completed: 16384 bytes in 432.19 seconds.
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'QUIT' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching PRE_CMD command 'QUIT' to mod_log
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - dispatching CMD command 'QUIT' to mod_core
jestersbox.otcwichita.com (24.94.214.12[24.94.214.12]) - FTP session closed.[COLOR=deeppink]
 
Old 03-20-2002, 12:42 AM   #2
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
Simple thing you may have tried, but did you try using passive mode. If the ftp site is behind a firewall then many times it requires passive mode logins.
 
Old 03-20-2002, 08:19 AM   #3
jester13rok
LQ Newbie
 
Registered: Mar 2002
Distribution: Debian, Redhat
Posts: 6

Original Poster
Rep: Reputation: 0
passive mode

passive and port mode was attempted unforunately came up with the same problem. Program doesn't download, just uploads and deletes(for posting web pages) I'm pretty new at System Admin, even though I have been a linux end user for quite some time. I thought maybe I compliled it not enabling something I should. I recompiled it, enabling PAM and Autoshadow. Does installing the RPM do something that I am not?

I shutdown iptables with iptables -F .....no joy I wish the user could just upload using another client program but then he would have to personally manage up to a 1000 pictures. So that is not an option. I'll be dammed if my boss gets frustratued enough to go with something to use micro$oft.

Jason
 
Old 03-20-2002, 09:23 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Maybe I'm just confused but you said it can just delete and upload but downloading doesn't work. Then how come it gets stuck on the STOR command. STOR is used when the client wants to store a file on the server. Which would mean uploading to the server.

Anyways since it's getting stuck on the STOR command then you should really be checking the write permissions. Make sure the user who is logged in has permission to write to that directory.
And if it's for anonymous users you might want to add something like:

<Directory uploaddir/>
<Limit READ STOR CWD>
AllowAll
</Limit>
</Directory>
 
Old 03-20-2002, 04:14 PM   #5
jester13rok
LQ Newbie
 
Registered: Mar 2002
Distribution: Debian, Redhat
Posts: 6

Original Poster
Rep: Reputation: 0
update

What I was meaning, the client software uploads and reads the directory, client software doesn't download stuff from the server. I'm sorry I should have made this more clear. Second, The STOR command works and is uploading the file, the client isn't notice that the file is finished (I think it is a parsing problem with the client software) Anyways I found out that the Client Software was built with visual basic and the ftp modules were from Mabry.com. The file is uploading fine, but the operations times out instead of exiting cleanly. Thank you both for timely responses. I'm hope someone in this newsgroup can spark a little flame in my head, cuz the fire is burning out.

This site will not support anonymous users.

Jason

Last edited by jester13rok; 03-20-2002 at 04:18 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Proftpd problem saudoi Solaris / OpenSolaris 24 11-08-2005 02:18 AM
proftpd problem mouse46 Linux - Software 10 10-06-2004 12:37 PM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
Proftpd problem dsgdevil Linux - Software 2 05-24-2004 09:32 PM
proftpd problem thesnaggle Linux - Software 1 10-27-2003 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration