Re: [Proftpd-user] Msg /bin/sh^M: bad interpreter: No such file or directory
Stephen Dowdy <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
On 8/7/19 1:11 PM, Paul Merlo wrote: > On a new implementation of RHEL 7.6, attempting to run the ProFTPD configure script, here is the command line followed by the full error message: > > [root@ftp00 bin]# /ProFTPD/./configure > -bash: /ProFTPD/./configure: /bin/sh^M: bad interpreter: No such file or directory > > Directory /bin/ contains: > lrwxrwxrwx. 1 root root 4 May 30 14:28 sh -> bash > > Please help me to get the configure shell script to run. Currently have no options customization. > > Paul Merlo Paul, That clearly looks like a DOS vs UNIX line-separator issue. Dunno how you downloaded/received that configure script, but for that one case, you can do one of: mv configure configure.dosff && dos2unix configure.dosff configure vim configure :set ff=unix :wq or other. I suspect you'll find that the rest of your files suffer the same issue, and you're best off getting a fresh source bundle. --stephen -- Stephen Dowdy - Systems Administrator - NCAR/RAL 303.497.2869 - [email protected] - http://www.ral.ucar.edu/~sdowdy/ _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html