To remove carriage return characters from a Linux configuration file log into your VPS in a shell prompt. Type the command:
tr -d '15' < oldfile > newfile
Replace "oldfile" with the name of the configuration file (including the full path to the file if your working directory is different than the directory in which "oldfile" is located). Replace "newfile" with a temporary file name.
Make sure to replace the "oldfile" with the "newfile" and restart whatever service uses that configuration file.