Amanda-Users

Re: R: Search file in amanda database

2005-06-10 09:33:51
Subject: Re: R: Search file in amanda database
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 10 Jun 2005 09:05:01 -0400
On Fri, Jun 10, 2005 at 11:48:30AM +0200, Montagni, Giovanni wrote:
> Your script is beautiful, but on my server it didn't works. i have changed 
> the path correctly, but it give me this error:
> 
> : bad interpreter: No such file or directory
> 

Sounds like the first line of the script points to an
incorrect location for "bash".  The original script,
IIRC, said on the first line:

        #!/bin/bash

Perhaps you don't have bash or it is in a different location.

Try running the command "type bash".

If it comes back with a path, like /usr/bin/bash,
adjust the first line of the script accordingly.

If "type bash" reports you don't have a version of
bash, try ksh or zsh.  As a last resort, try sh.


-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>