Unsolved

This post is more than 5 years old

2 Posts

4515

October 11th, 2010 14:00

code 8: Exec format error

Hi. Im new using Avamar 5.0

I tried to run a pre- script with a backup policy in Avamar. This is running in AIX 5.3.8, but when job runs, it have the next error

2010-10-11 15:59:55 avtar Info <6033>: Begin STDERR from run-at-start:
avspawn::spawn after execve errno:8 code 8: Exec format error
2010-10-11 15:59:55 avtar Info <6034>: End of STDERR
2010-10-11 15:59:55 avtar Info <5917>: Back from run-at-start, exit code 8
2010-10-11 15:59:55 avtar Error <6964>: Exiting avtar with run-at-start script failure 8

The script is a "sh" file

I appreciate if any one could help me to know why is sending this error

Best Regards!!!!

50 Posts

October 11th, 2010 17:00

I personally cannot provide you with an resolution but maybe someone reading this thread might be able to.

But for the my education and others what does the script do?

Perhaps check the log files on the client side and check for any errors if you haven't. http://solutions.emc.com/emcsolutionview.asp?id=esg106090

Looking at the error codes, it is suggesting a problem with the script that you are trying to run.

my 2 cents worth.

2 Posts

October 12th, 2010 07:00

Script down and up apache service. This is necessary to made some cold backup. Maybe I think that you said is about an error from the script. I will try to run another more easylly to check

Thanks

39 Posts

October 12th, 2010 15:00

When a script is used as the argument to the --run-at-start and --run-at-end
flags the script must begin with the "#! [args]" syntax.  For example
a SH script should begin with:

#!/bin/sh

whereas a CSH script would begin with:

#!/bin/csh

This is standard practice for scripts. You could double check that.

Regards,

Charles

Top