FTP Problem - Please help
I am unable to run Proftp because it says there is there is already an ftp daemon running.
I have looked at the processes running and there is no ftp listed. Someone has told me that linux has its own ftp built in, is this true? if so.. 1) how do I use it 2) how do I stop it 3) how do I leave it running and run another ftp server? Please someone help, I'm getting desperate |
Probably running from inetd. Check your inetd.conf file in /etc for a line to launch or use another FTP daemon, etc.
|
Try ps -e | grep ftp to see what FTP server you may have running. But the problem might be that inetd (or xinetd) is listening on port 21 in order to launch an FTP daemon upon connections to port 21. Did you try FTP'ing to yourself and see what happens?
Håkan |
Damn, trickykid, you're so much faster than me. :)
Håkan |
If inetd is listening on port 21, how do I stop it? would this be done in the conf file mentioned by trickykid?
|
Quote:
|
I'm running VectorLinux, I've just added info to my signature so everyone can see
|
Quote:
I would suggest to keep things simple, keep your existing proftpd installation instead, all you have to do is configure it how you want as there will be a proftpd.conf file in your /etc and you can stop and start it using the inetd, etc. You can most likely upgrade it using the tgz Slackware packages if you want to do that with ease, etc. |
I'll have a look, but I tried 'ps -e | grep ftp' and nothing showed up.
|
Quote:
|
How do I create a new user in proftp.
I assumed that it used existing linux users. but I've tried to ftp to the computer but it wont let me login. |
This is what my ftp client says
Connecting to (192.168.0.2) -> IP: 192.168.0.2 PORT: 21 Connected to (192.168.0.2) -> Time = 1322ms Socket connected waiting for login sequence. Cannot login waiting to retry (30s)... |
ok problem solved.
I edited the inetd.conf file in the /etc/ folder, and removed the line which specified to load ftp at boot. Now when I run my own ftp executable, it works fine and I can connect to the server. Anyonw know how I change the folder that an ftp user has access to? |
Quote:
Also if you don't want to give them an actual shell access, make their shell as something like /bin/false and add that shell to your /etc/shells file. |
All times are GMT -5. The time now is 05:23 AM. |