Hi, I get an error while starting proftpd: "bash: /etc/init.d/proftpd: /bin/sh^M: bad interpreter: No such file or directory" I followed the tut step by step. I copied the config tekst and pasted into notepad on a windows machine and saved the file as proftpd. ANSI coded Uploaded it to my server and copied it to /etc/init.d followed the instructions: chmod 755 /etc/init.d/proftpd chkconfig --add proftpd then: /etc/init.d/proftpd start and then i get the error. What did i do wrong. /bin/sh is available on my server. Please help
You have Windows linebreaks in /etc/init.d/proftpd. I guess you edited the file on Windows and then transferred it to your Linux system? Please use an editor that allows you to save text files with Unix linebreaks, and then copy the file to your Linux system again.