Bacula-users

Re: [Bacula-users] Issue backing up Oracle database using Bacula

2010-06-29 06:14:44
Subject: Re: [Bacula-users] Issue backing up Oracle database using Bacula
From: "Mike Holden" <bacula AT mikeholden DOT org>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 29 Jun 2010 11:11:23 +0100
nagaraj mogaroy wrote:
> Thanks for the reply, I have double checked all the points
> highlighted by
> you, and they all seem OK.All the scripts are in place with 775
> permissions,
> and their paths mentioned correctly in sudoers file.Proper
> permissions have
> also been assigned to the bacula and oracle users.
>
> Any other suggestions, please?

The multiple error messages

> unknown command beginning "/var/oracl..." - rest of line ignored

imply that it is having trouble executing the shell commands. This
could be for one (or more) of several reasons, including any of the
following:

1. The file name does not exist
2. The file exists, but it does not have execute permission for the
current user.
3. The file exists and has correct permissions, but the user doesn't
have permissions to descend into the higher directories (missing
read and/or execute permissions on /var, /var/oracle etc).
4. The script is ok, but it includes a line at the top which looks
like "#!/bin/sh" or similar (without the quotes) (often called a
"shebang" line), but the file /bin/sh doesn't exist. You will need
to correct the location of the appropriate sh or bash or ksh
executable file in this case.
5. sudo or some other security mechanism (SELinux etc) is blocking
execution. You may be able to check the logs for these applications
to see if this is the case.
-- 
Mike Holden

http://www.by-ang.com - the place to shop
for all manner of hand crafted items,
including Jewellery, Greetings Cards and Gifts



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

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