LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Proftpd (https://www.linuxquestions.org/questions/linux-software-2/proftpd-68704/)

bnumark 06-28-2003 07:40 PM

i uninstalled everything
typed whereis proftpd and deleted the files that wernt deleted
reinstalled it
started it
and it worked

ksoma 06-28-2003 07:44 PM

Really? Didnt' ahve to tamper with the .conf file as far as adding user names ..etc. ?

bnumark 06-28-2003 07:44 PM

I am getting access denied errors when i try to upload stuff unless i make wut im uploading ftp or nobody. If i go on another pc i cant upload eather.

bnumark 06-28-2003 07:45 PM

Quote:

Originally posted by ksoma
Really? Didnt' ahve to tamper with the .conf file as far as adding user names ..etc. ?
nope, not at all

ksoma 06-28-2003 07:49 PM

I see.....it must be my router then ....because I had the exact same setup earlier...but now, I changed the user names and stuff...And the connection is still getting refused...however I'm not getting any errors when i do "./proftpd" ...

bnumark 06-28-2003 07:49 PM

well
try loging in as localhost once

ksoma 06-28-2003 07:56 PM

Do you mean try typing in the username as "localhost"? Because I cant even get a username prompt to pop up...it just gives me the same error it was giving you earlier.

bnumark 06-28-2003 10:41 PM

hmm

DrOzz 06-28-2003 10:45 PM

look into the chown and chgrp commands, for setting the privledges on the ftps directorys..

MasterC 06-29-2003 12:11 AM

You shouldn't need to chown/chgrp anything just yet???

First off, let's go over setting up ProFTPD from Mandrake.

You will need to ensure you have it installed first and fore-most. To do that, as root:
urpmi proftpd

If it says it's installed, ensure with:
rpm -qa | grep proftpd

If you see the proftpd rpm installed, then move onto the next step.

Ensure your configuration file is correct, do that with:
less /etc/proftpd.conf

If one does not exist, there are examples on proftpd.org and on this site, even in this thread. You have several options, copy one of those, place it into a new file called:
/etc/proftpd.conf
Or create your own from options described from the documentation on www.proftpd.org
For the newb, grabbing an existing *working* one is ideal.

Then, you need to start proftpd, this is different on different systems. Some systems can:
/etc/init.d/proftpd start
Assuming proftpd exists in that directory. Other systems:
chkconfig, webmin, and I'm sure SuSE has something in YaST. On Mandrake I do believe the "/etc/init.d/proftpd start" should be what you need (not on it right now so I really can't tell for sure). If you want this to start up on each subsequent reboot, you can look into the Mandrake Control Center for info on daemons/applications that startup on each boot.

To test we can simply start it as root:
/usr/sbin/proftpd &

Type that into a console, if there are no errors, we will assume it has started, now to check it we will:
ps aux | grep ftp
And look for the proftpd daemon running. Another way to check is:
ftp localhost
And a dialogue box should appear that asks for a login name and password. If it does, then proftpd is running.

HTH

Cool

DrOzz 06-29-2003 12:16 AM

well i mentioned it because if they got their ftp up and they are getting accessed denied and 412 errors it is mainly due to the fact that the inproper group/user has ownership on the folder which denys the ftp users access...by the sounds of it they have their ftps up so i didn't think explanation on the config was necessary, but i may have missed or overread something


All times are GMT -5. The time now is 09:08 AM.