HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Problem with pure-ftp config? (http://www.howtoforge.com/forums/showthread.php?t=54980)

ejg 17th November 2011 22:50

Problem with pure-ftp config?
 
when I log on to the server via ftp with a username and password (ftp user created in ISPConfig 3.04) I see the following:

Connected to <url>
220 FTP version 1.0 ready at Thu Nov 17 22:37:30 2011
User (<url>:(none)): <username>
331 Enter PASS command
Password:
230 Logged in
ftp> ls
200 Port command okay
150 Opening data connection for LIST
--w--w--w- 1 owner group 3554844 Feb 20 16:32 ras
-rw-rw-rw- 1 owner group 393216 Nov 17 21: 3 rom-0
226 File sent OK
ftp: 130 bytes received in 0,00Seconds 65,00Kbytes/sec.

It seems like the ftp server is not redirecting to the correct folder. I am not even sure what I am looking at here in regards of location.

My guess is that something is wrong in the pure-ftpd setup, but I cannot find out what.

till 18th November 2011 10:24

Does the FTP username that you used to login to the server exist as Linux user in /etc/passwd?

ejg 18th November 2011 11:32

the user does not exist as a normal linux user in etc/passwd. But when I ftp using a regular Linux user I get the same result ((2 files?): ras and rom-0)

till 18th November 2011 12:16

Which tutorial did you use to prepare your server for the ISPConfig installation?

ejg 18th November 2011 12:28

The Perfect Server CentOS 5.2 [ISPConfig 3]

ejg 18th November 2011 12:36

Seems I am able to ftp to the ip-address from the local network, so I will investigate further on the firewall.

till 18th November 2011 12:37

It seems as if your pure-ftpd authenticates against a ssh user and not a virtual user from ispconfig. I guess there must be a user in /etc/passwd with that name or in another config source from pure-ftpd beside the ispconfig database. Please post the output of:

grep username /etc/passwd

and this was a fresh install of Centos where pure-ftpd was not configured before or any other controlpanel installed?

ejg 18th November 2011 12:54

Hi Till, it seemed something was changed on the firewall. after reinstating the rules on the firewall it works as expected. thanks for the help


All times are GMT +2. The time now is 16:23.

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