Problem with amoverview: Bad interpreter?
I just noticed a problem this morning. When I run amoverview, I get: amanda@admin:~ > amoverview DailySet1 bash: /usr/local/sbin/amoverview: bad interpreter: No such file or directory amanda@admin:~ > I could have sworn I've run amoverview on this system before without problems. The listing doesn't seem to indicate that anything has changed with the file: -rwxr-xr-x1 amanda disk 4351 Jan 4 11:21 /usr/local/sbin/amoverview However, amcheck seems to work fine: amanda@admin:~ > amcheck DailySet1 Amanda Tape Server Host Check - Holding disk /var/amanda: 5664532 KB disk space available, that's plenty NOTE: skipping tape-writable test Tape DailySet106 label ok Server check took 20.453 seconds Amanda Backup Client Hosts Check Client check: 5 hosts checked in 0.065 seconds, 0 problems found (brought to you by Amanda 2.4.3b1) amanda@admin:~ > I also got what looks like a normal backup off the system last night. I searched the archives for "interpreter" but got no hits. Anyone seen this problem before? Any suggestions for fixing it? Thanks for your thoughts and time. -Kevin Zembower - E. Kevin Zembower Unix Administrator Johns Hopkins University/Center for Communications Programs 111 Market Place, Suite 310 Baltimore, MD 21202 410-659-6139
Re: Problem with amoverview: Bad interpreter?
KEVIN ZEMBOWER wrote: > > I just noticed a problem this morning. When I run amoverview, I get: > amanda@admin:~ > amoverview DailySet1 > bash: /usr/local/sbin/amoverview: bad interpreter: No such file or > directory Somebody moved perl to another place, or simply renamed it (or removed it?) See the first line in amoverview. It looks like: #!/bin/perl at me, and it should point to the perl executable. -- Paul Bijnens, Lant Tel +32 16 40.51.40 Interleuvenlaan 15 H, B-3001 Leuven, BELGIUM Fax +32 16 40.49.61 http://www.lant.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* * ... "Are you sure?" ... YES ... Phew ... I'm out * ***
Re: Problem with amoverview: Bad interpreter?
Thank you so much, Paul. Yes, it was that simple. I did change a symlink for perl, but I just didn't realize that amoverview was a perl program until I looked at it. Thanks for your help. -Kevin Zembower >>> Paul Bijnens <[EMAIL PROTECTED]> 01/24/02 10:40AM >>> KEVIN ZEMBOWER wrote: > > I just noticed a problem this morning. When I run amoverview, I get: > amanda@admin:~ > amoverview DailySet1 > bash: /usr/local/sbin/amoverview: bad interpreter: No such file or > directory Somebody moved perl to another place, or simply renamed it (or removed it?) See the first line in amoverview. It looks like: #!/bin/perl at me, and it should point to the perl executable. -- Paul Bijnens, Lant Tel +32 16 40.51.40 Interleuvenlaan 15 H, B-3001 Leuven, BELGIUM Fax +32 16 40.49.61 http://www.lant.com/ email: [EMAIL PROTECTED] *** * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... * * ... "Are you sure?" ... YES ... Phew ... I'm out * ***