LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-28-2003, 04:26 PM   #1
bnumark
Member
 
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72

Rep: Reputation: 15
Proftpd


i just installed proftpd like 10 times an i always get connection refused. i even switched to mand. to get it to work and still it says connection refused when i try to connect to my lan ip. Does any 1 kno anything?
 
Old 06-28-2003, 04:26 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
did you configure it? or did you just start it and figured it would work?
 
Old 06-28-2003, 04:40 PM   #3
bnumark
Member
 
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72

Original Poster
Rep: Reputation: 15
i just installed mandy, turned the computer on and tried to see if it would work. What do i need to configure?
 
Old 06-28-2003, 05:04 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You need to configure your /etc/proftpd.conf file, and actually, for the most part, it just might work out of the box.

Post up yours so we can see if there is anything wrong. Also, give us some info on your system.

First try ftping to the box from the box by opening up a console and typing:
ftp localhost

That will tell you whether it's even running or not. If not, you've got to read your documentation on how to start it, or just try:
whereis proftpd
Notice the location, something like /sbin/proftpd then:
/sbin/proftpd (as root)

Cool
 
Old 06-28-2003, 05:25 PM   #5
bnumark
Member
 
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72

Original Poster
Rep: Reputation: 15
[root@localhost root]# ftp localhost
ftp: connect: Connection refused
ftp>

proftpd: /usr/sbin/proftpd /etc/proftpd.conf /etc/proftpd.conf~ /usr/share/man/man8/proftpd.8.bz2
[root@localhost root]#

im runing a 1 day old dell server, 2.4GHz
Mandy 9.1 Connection, cable

If some 1 that knows something about my prob. pm me and i will give u access to my server to see if u can see wuts wrong

Last edited by bnumark; 06-28-2003 at 05:26 PM.
 
Old 06-28-2003, 05:28 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
ok i can somewhat see what your trying to do, so if you did indeed make an account for the ftp server then you can try to type "ftp" and prompt
and then type "open 127.0.0.1" or "open <your-external-ip-here>
and then log in with the username and password and see if it works?
 
Old 06-28-2003, 05:29 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
PM's are only allowed for contributing members but I'll send you an email.

Anyway, post up your /etc/proftpd.conf file and also try:
/usr/sbin/proftpd
And then try:
ftp localhost
Again.

Cool
 
Old 06-28-2003, 05:33 PM   #8
bnumark
Member
 
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72

Original Poster
Rep: Reputation: 15
# This is a basic ProFTPD configuration file (rename it to
'proftpd.conf' for actual use. It establishes a single server# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "192.168.1.201"
ServerType standalone
DefaultServer on

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart on

# Port 21 is the standard FTP port.
Port 2121

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 30

# Set the user and group under which the server will run.
User nobody
Group nogroup

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>

# Needed for NIS.
PersistentPasswd off

# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
#
# DefaultRoot /home/tyler
 
Old 06-28-2003, 05:41 PM   #9
bnumark
Member
 
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72

Original Poster
Rep: Reputation: 15
[root@localhost root]# cd /usr/sbin
[root@localhost sbin]# ./proftpd

- Fatal: unknown configuration directive ''proftpd.conf'' on line 2 of '/etc/proftpd.conf'.
[root@localhost sbin]#
[root@localhost sbin]#
 
Old 06-28-2003, 05:48 PM   #10
bnumark
Member
 
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72

Original Poster
Rep: Reputation: 15
oki fixed it
it works like a charm yay
 
Old 06-28-2003, 05:58 PM   #11
bnumark
Member
 
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72

Original Poster
Rep: Reputation: 15
2 more ?s regarding proftpd

How can i make quotas? and how can i make it so users cant go into other dir other than their home dir?
 
Old 06-28-2003, 06:56 PM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Forcing users into their home directory add this entry:
DefaultRoot ~

To force users into a specific directory:
DefaultRoot /path/to/specific/directory

Cool
 
Old 06-28-2003, 07:04 PM   #13
bnumark
Member
 
Registered: Jun 2003
Location: Madison, WI
Distribution: RedHat 8.0
Posts: 72

Original Poster
Rep: Reputation: 15
to where?
 
Old 06-28-2003, 07:26 PM   #14
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
/etc/proftpd.conf



I put it just below the DefaultServer entry.

Cool
 
Old 06-28-2003, 07:29 PM   #15
ksoma
Member
 
Registered: Jun 2003
Location: Austin,TX most of the year...in Euless,TX the rest of it
Distribution: RH 9.0
Posts: 154

Rep: Reputation: 30
Hey bnumark, how did you end up getting your proftp to work?...I got rid of the fatal errors...but I'm still getting "421 Service not available". Thanks.

-Keerthan
 
  


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: proftpd startup failed tumana Linux - Newbie 14 06-17-2012 11:06 AM
[PROFTPD] Ldap and proftpd authentication wesleywest Linux - Software 1 02-22-2005 09:51 AM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
proftpd help strider17 Linux - Newbie 2 02-08-2004 11:44 AM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 06:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:42 PM.

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