#1  
Old 19th February 2007, 04:33
ego ego is offline
Member
 
Join Date: Nov 2006
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
Default ftp permissions problem

Hello everyone,

I am having a problem on a server where I have removed vsftpd and installed proftpd. When logging in with filezilla or smartftp I get a directory listing error. I can however get a directory listing from a windows command prompt. I can not however write to the directory.

Does anyone have an idea on this issue?

Thanks in advance.

*EDIT*
I just realized I posted this in the wrong thread, my apologies. Please move it if needed.
Reply With Quote
Sponsored Links
  #2  
Old 20th February 2007, 03:27
ego ego is offline
Member
 
Join Date: Nov 2006
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Anyone have any ideas?
Reply With Quote
  #3  
Old 20th February 2007, 05:54
ego ego is offline
Member
 
Join Date: Nov 2006
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Here is what filezilla displays when attempting to login:

Status: Connecting to www.domain.com ...
Status: Connected with www.domain.com. Waiting for welcome message...
Response: 220 FTP Server ready.
Command: USER username
Response: 331 Password required for username.
Command: PASS ******
Response: 230 User username logged in.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: 211 End
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE A
Response: 200 Type set to A
Command: PASV
Response: 227 Entering Passive Mode (206,55,121,22,195,232).
Command: LIST
Error: Transfer channel can't be opened. Reason: A socket operation was attempted to an unreachable host.
Error: Could not retrieve directory listing
Command: PWD
Error: Timeout detected!

************************************************** *******

Proftpd configuration check:

[root@server1 etc]# proftpd -td5
Checking syntax of configuration file
- mod_tls/2.1.1: using OpenSSL 0.9.7a Feb 19 2003
- mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
- parsing '/etc/proftpd.conf' configuration
- IPv6 getaddrinfo 'faded' error: Name or service not known
server1 -
server1 - Config for ProFTPD server:
server1 - ServerIdent
server1 - DefaultServer
server1 - AccessGrantMsg
server1 - DeferWelcome
server1 - DefaultRoot
server1 - AuthPAMConfig
server1 - AuthOrder
server1 - IdentLookups
server1 - Umask
server1 - ListOptions
server1 - AllowRetrieveRestart
server1 - AllowStoreRestart
server1 - UserID
server1 - UserName
server1 - GroupID
server1 - GroupName
server1 - UseSendfile
server1 - Limit
server1 - AllowAll
server1 - AllowOverwrite
server1 - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
Syntax check complete.
Reply With Quote
  #4  
Old 20th February 2007, 06:01
ego ego is offline
Member
 
Join Date: Nov 2006
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
Default

when tailing the messages log I get this when attempting to log in:

Feb 19 23:00:00 server1 proftpd[20862]: server1 (::ffff:xx.xx.xx.xx[::ffff:xx.xx.xx.xx]) - FTP session opened.
Feb 19 23:00:00 server1 proftpd(pam_unix)[20862]: session opened for user username by (uid=0)
Reply With Quote
  #5  
Old 20th February 2007, 08:16
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

Please change the FTP mode in filezilla from passive to active or configure your firewall / router to allow passive FTP.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 21st February 2007, 02:27
ego ego is offline
Member
 
Join Date: Nov 2006
Posts: 35
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till
Please change the FTP mode in filezilla from passive to active or configure your firewall / router to allow passive FTP.
yes, that would do it, thanks till. Just when I thought I was getting somewhere learning linux something so easy is overlooked. I set my ftp client to active, it listed the directory.

Thanks till. I beat myself over the head for a week on this one
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP very ODD problem (imho) Jivedue Server Operation 7 19th September 2006 23:43
ftp problems tgansert Installation/Configuration 20 27th May 2006 19:06
WEB UI FTP not working gimhan90 Installation/Configuration 2 16th March 2006 08:03
Website users? ctroyp General 25 6th January 2006 18:02
FTP access problem... ctroyp General 7 12th October 2005 17:07


All times are GMT +2. The time now is 02:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.