[BlueOnyx:01758] Re: dnsImport.pl
Michael Stauber
mstauber at blueonyx.it
Thu Jul 16 17:02:42 -05 2009
Hi Tunc,
> I did see this problem before but can not remember to solve it
>
> [root at ns2 .tmp]# ./dnsImport.pl /home/.tmp/dns_import
> -bash: ./dnsImport.pl: /usr/bin/perl^M: bad interpreter: No such file or
> directory
If you put ./ in front of a filename, then that tool needs to reside in the
same directory as you're in.
> I am working from /home/.tmp folder and chown. the folder is also chmod 777
Use the full (and correct) path to the tool instead:
/usr/sausalito/sbin/dnsImport.pl
So in your case the entire command ought to be this:
/usr/sausalito/sbin/dnsImport.pl /home/.tmp/dns_import
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list