ProFTPD perfect_setup_suse_10.1_p6

Discussion in 'Installation/Configuration' started by cooldance, Oct 1, 2006.

  1. cooldance

    cooldance New Member

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    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.
     

Share This Page