Current time: 11-26-2024, 12:30 AM Hello There, Guest! (LoginRegister)


Post Reply 
Proftpd problem
Author Message
koob Offline


Posts: 3
Joined: May 2009
Reputation: 0
Post: #1
Proftpd problem
Hi,
I`m running ISPCP on gentoo. I have problem with proftpd. When I want to login on ftp account i get 550 PWD No such file or directory. I cheked permissions on files and directories. Checked proftpd.conf. Everything seems to be fine. I`m attaching my proftpd.conf file and logs. Please help me.

proftpd.conf: http://wklej.org/id/90318/
log: http://wklej.org/id/90319/


What could be wrong ?
One more thing... On total commander I can copy file to that ftp account and I can see it on root shell in directory it should be. Sorry for my english.
(This post was last modified: 05-14-2009 02:12 AM by koob.)
05-14-2009 01:55 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Proftpd problem
Everything *seems* ok in these files, but have you checked that the "homedir" attribute from the "ftp_users" table in ispcp's database points to a correct (existing and vuXXXX owned) folder?
05-14-2009 02:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
koob Offline


Posts: 3
Joined: May 2009
Reputation: 0
Post: #3
RE: Proftpd problem
It points to correct folder. I think it is something with 'list' command, because I can copy file, but I always se empty directory. Copied file exists if I check It by rootshell.
05-14-2009 05:28 AM
Find all posts by this user Quote this message in a reply
qisback Offline
Junior Member
*

Posts: 13
Joined: Jan 2009
Reputation: 0
Post: #4
RE: Proftpd problem
How is the server configued?

Is it behind a firewall/NAT Router, if so you may need to enable passive connections on your client and route them correctly or force your client to use active connections if only port 21 is open.

I have had this ls problem alot when proftp is behind a restrictive NAT firewall, I have gotten round this by using active connections before but it doesn't always work. I seem to have to always map a passive route range when a router is involved.

-={Q}=-
05-14-2009 06:19 AM
Find all posts by this user Quote this message in a reply
koob Offline


Posts: 3
Joined: May 2009
Reputation: 0
Post: #5
RE: Proftpd problem
It`s not behind NAT, paralell to ISPCP I have gentoo machine with proftp and everything works fine on it.
05-14-2009 06:51 AM
Find all posts by this user Quote this message in a reply
qisback Offline
Junior Member
*

Posts: 13
Joined: Jan 2009
Reputation: 0
Post: #6
RE: Proftpd problem
As kilburn said there doesn't "seem" to be anything wrong.

Have you tried starting proftpd using somthing like
Code:
proftpd -n -d 5

as it might be a little more informative than your logs.

let us know how it goes.

-={Q}=-
(This post was last modified: 05-18-2009 12:34 AM by qisback.)
05-18-2009 12:33 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)