LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   proftpd stoped working after restart (https://www.linuxquestions.org/questions/linux-networking-3/proftpd-stoped-working-after-restart-155619/)

alimharji 03-09-2004 07:54 PM

proftpd stoped working after restart
 
I am currently running Redhat 9 with proftpd in standalone mode

Alright I had proftpd working for about a month or so and i hadnt restarted the linux box in that time. SO it was working fine but then today i restarted my server and now i get the error:

An error occuered reading the contents of this folder.
The FTP session was terminated

When i try the command ftp 127.0.0.1 i get the error - 421 Service not available, remote server has closed connection

now when i nmap -sT -O 127.0.0.1 i find that the port 21 is open for ftp.

when i type /root/proftpd-1.2.9/proftpd -c /etc/proftpd.conf i get the error

- Fatal: <Directory>: <Directory>: <Directory> section already configured for '/'

Now im not even sure if the server is running. if i am starting the server inccorectly could someone give me the correct way to start the server. I really have no idea what the porblem was.

The other problem i was having is that i am running a socks server but randomly it shuts off. The server is not restarted ever but about everyday it randomly turns off and i have to restart it by typing servicve ss5 start. Can someone please tell me how to keep it running constanly.

Thanks for all the help it is very appreciated.

alimharji 03-09-2004 10:48 PM

also
services proftpd start yields no such service: proftpd

Technonotice 03-10-2004 03:10 PM

Would you care to post your ProFTPD config file please? It looks like it was altered some time while the system was running and now ProFTPD's restarted, it's just found a problem in the config :)

alimharji 03-10-2004 06:47 PM

i solved the problem regarding proftpd and it works BUT i can fix my socks server. It still randomly shuts down everyday. It is called socks 5 server and runs under the name ss5. If anyone can help it is appreciated

Thanks

Technonotice 03-11-2004 10:39 AM

I've never worked with SOCKS under Linux before - might be best to start a new topic so people notice it :)


All times are GMT -5. The time now is 01:23 PM.