Error installing ralus on Centos 5.3

I am trying to install the Backup Exec Agent on a CentOS server, but when i run the command
sh ./ it returns the following error:

./ line 2: use: command not found
./ line 4: use: command not found
./ line 5: use: command not found
./ line 7: BEGIN: command not found
./ line 8: syntax error near unexpected token `{'
./ line 8: `    if (!$ENV{VXIF_HOME} || (! -d $ENV{VXIF_HOME})) {'
 Any idea?
Who is Participating?

Improve company productivity with a Business Account.Sign Up

arnoldConnect With a Mentor Commented:
You have to use perl
You also have to set VXIF_HOME and the directory to which it points must exist:
export VXIF_HOME
mkdir -p $VXIF_HOME
The script you are executing is perl (.pl) not sh.
either do
or do

The top of the install file, might point to perl where it does not exist on your system.
#!/usr/bin/perl while you have it in /usr/local/bin/perl.

vAdminAuthor Commented:
Thank you arnold, If I do ./ it returns this:
-bash: ./ /perl/me/explicitly: bad interpreter: Permission denied
If I do perl it return this:
Invalid or undefined environment variable VXIF_HOME. Cannot proceed.

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

What is the top line of the file?
Do chmod 700

Are you sure you should not be running something else to install this?

Do you have VXIF_HOME defined?
vAdminAuthor Commented:
If I do chmod it returned:
chmod: changing permissions of `': Read-only file system
Here is the file:

use strict;

use FindBin;
use lib $FindBin::Bin;

      if (!$ENV{VXIF_HOME} || (! -d $ENV{VXIF_HOME})) {
            print STDERR "Invalid or undefined environment variable VXIF_HOME. Cannot proceed.\n";
            print STDERR "Exiting.\n";
            exit 2;

use lib $ENV{VXIF_HOME};
use VxIF::Interface::Classic::ClassFactory;

sub Main {
      my $class_factory = new VxIF::Interface::Classic::ClassFactory();
      my $installer_info = $class_factory->create_installer_info();
      my $result = $installer_info->from_config_file("ralusinst.conf");
      my $task = $class_factory->create_task($installer_info);

      my $err = $task->install();

      if ($err && $err->get_rc()) {


vAdminAuthor Commented:
It worked, thank you very much arnold. Those instructions are not in the support pages of symantec nor centos. Thank you very, very much.
Mike R.Commented:
vAdmin: To what directoy did you set VXIF_HOME ?
vAdminAuthor Commented:
I dont remember it was for a testing that I was doing I would need to go back to the server to check that. Why you ask?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.