View Single Post
Old 4th December 2005, 14:25
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

Originally Posted by kingkunt
my problem was the file wasnt saving properly.

I ran into this problem with proftp when trying to start it

auto:/tmp # /etc/init.d/proftpd start
/etc/init.d/proftpd: line 1: {rtf1ansiansicpg1252deff0deflang1033{fonttbl{f0fromanfcharset0: command not found
/etc/init.d/proftpd: line 1: }{f1fswissfcharset0: command not found
: command not found: line 1: }}
/etc/init.d/proftpd: line 2: {*generator: command not found
/etc/init.d/proftpd: line 2: }viewkind4uc1pardsb100sa100f0fs24: command not found
: command not found: line 3: pardf1fs20par
: command not found: line 4: }
I compiled it ok and copied the proftp text to a file called proftp and saved it in init.d but when i issue the start command i get all these errors?
Do i need to save the proftp file with a certain extension.
thanks for all the help

For me the error message looks like you have written the file with word or wordpad and saved it as rtf file. Better use an linux editor to create the file or use an windows editor like edit or notepad and convert the linebreaks to linux linebreaks when you transfer the file with scp or ftp to your linux server.
Reply With Quote