ProFTPD Server problem

Issues related to software problems.
pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: ProFTPD Server problem

Post by pschaff » 2010/05/12 22:36:42

[quote]
Divejobsonline wrote:
...
I have installed it from rpm, this is my first linux server installation, so i makes mistakes[/quote]
Understandable and common. It is still not clear where you got the RPM package as you do not have a repo configured that supplies it. Please read about [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url], and [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url], and note the warnings and advice about installing and configuring the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url].

Installing software from a known repo both helps assure higher quality and compatible packages, and can use yum to resolve and satisfy dependencies. Why did you not use the supplied vsftpd?

Divejobsonline
Posts: 25
Joined: 2010/05/10 20:06:57
Location: Sweden
Contact:

Re: ProFTPD Server problem

Post by Divejobsonline » 2010/05/13 17:03:44

I think i got it from a forum i can?t remember about.



Everything on the server works except ftp. I?m hosting about 10 sites on the server with PHP and MySQL.

Can some please guide me thru how to the fix the server to work with FTP.

I don?t want to reinstall if i don?t have to.

wedgeshot
Posts: 17
Joined: 2010/01/27 04:25:53

Re: ProFTPD Server problem

Post by wedgeshot » 2010/05/13 18:46:16

Don't worry about mistakes as they happen all the time. So by skimming through your dmesg info .. are you are running this server within a xen virtual machine? I noticed the interace/link going up and down.

You might want to try and run an strace on the process when it is a hung state to see what is happening.

FWIW: Our version of proftpd is 1.3.2b which was built locally and install via yum.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: ProFTPD Server problem

Post by pschaff » 2010/05/13 20:41:54

[quote]
Divejobsonline wrote:
I think i got it from a forum i can?t remember about.
[/quote]

How about[code]rpm -qi proftpd[/code]or if that fails[code]rpm -qi $(rpm -qa | grep -i proftpd)[/code]?

r_hartman
Posts: 706
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: ProFTPD Server problem

Post by r_hartman » 2010/05/14 11:03:47

[quote]Divejobsonline wrote:
...
I have installed it from rpm, this is my first linux server installation, so i makes mistakes[/quote]
The moment you stop making mistakes you're probably dead. :-D
Everybody makes mistakes, like I missed the kernel info from dmesg, preoccupied as I was searching for ftp crashes.

My remarks were not meant as criticism, but if information appears to be contradictory, the contradiction needs to be sorted out, as troubleshooting is often a process of eliminating possible causes.

Having said that, when you lose connection, can you determine whether your server is still listening on port 21, as indicated above? If yes, you may have to research why the interfaces keep disconnecting/reconnecting, as stated by [b]wedgeshot[/b].

If not, you might want to consider uninstalling the proftpd package and install the one from rpmforge, or, imho preferable, install vsftpd, which is part of CentOS.

Divejobsonline
Posts: 25
Joined: 2010/05/10 20:06:57
Location: Sweden
Contact:

Re: ProFTPD Server problem

Post by Divejobsonline » 2010/05/16 17:53:02

I uninstalled the ProFTPD server.

I installed the VSFTPD from YUM and installed the webminmodule.

i can connect to the server with Telnet but can?t list files.

When i try to connect with a FTP client i get the following errors:


An error occured openig that folder on the ftp server. Make sure you have access to that folder.

200 Switching to ASCII mode.
227 Entering passive mode (172,20,1,5,69,210)

Help me please.

How to i choose Users and what folders to use??

chuina
Posts: 355
Joined: 2009/12/11 10:25:56

Re: ProFTPD Server problem

Post by chuina » 2010/05/17 00:28:26

I think discussing [b]vsftpd[/b] should be in a [i]new thread[/i].

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: ProFTPD Server problem

Post by pschaff » 2010/05/17 14:35:37

[quote]
chuina wrote:
I think discussing [b]vsftpd[/b] should be in a [i]new thread[/i].[/quote]

Quite correct. New question on different topic ==> New Topic.

Post Reply

Return to “CentOS 5 - Software Support”