ARCserve Backup for Linux r11.5

Issues related to software problems
Post Reply
ritako
Posts: 2
Joined: 2005/10/06 18:14:39

ARCserve Backup for Linux r11.5

Post by ritako » 2005/10/06 18:27:24

I'm planning to set up a backup server based on Centos 4. I'd like to test ARCserve but wasn't able to install it. It seems the install script checks the kernel rpm or something for Linux vendor. RHEL4 platform would be ok so Centos should work, but since it's getting Centos as vendor it just quits with error message:
"Cannot identify your Linux distribution or it is not yet supported."

Any ideas how I could fool the install script?

K_Frye
Posts: 425
Joined: 2005/07/13 01:48:35
Location: Canada

ARCserve Backup for Linux r11.5

Post by K_Frye » 2005/10/06 21:42:59

[quote]
ritako wrote:
I'm planning to set up a backup server based on Centos 4. I'd like to test ARCserve but wasn't able to install it. It seems the install script checks the kernel rpm or something for Linux vendor. RHEL4 platform would be ok so Centos should work, but since it's getting Centos as vendor it just quits with error message:
"Cannot identify your Linux distribution or it is not yet supported."

Any ideas how I could fool the install script?[/quote]

Try editing /etc/redhat-release

eg:

"Red Hat Enteprise Linux AS release 4 (Nahant)"

ritako
Posts: 2
Joined: 2005/10/06 18:14:39

Re: ARCserve Backup for Linux r11.5

Post by ritako » 2005/10/07 10:18:20

[quote]
K_Frye wrote:
[quote]

Try editing /etc/redhat-release

eg:

"Red Hat Enteprise Linux AS release 4 (Nahant)"[/quote][/quote]

I've already tried that but it doesn't help with ARCserve install script. It seems to have a brainless way to check the distribution. I think it might do something that shows it the vendor name, which in this case would be CentOS.

I'll try to look at the script to see if I could change something there. Then again, maybe I'd better not since CA probably wouldn't like it...;)

cohcon
Posts: 2
Joined: 2005/12/08 15:48:57

Re: ARCserve Backup for Linux r11.5

Post by cohcon » 2005/12/08 15:53:47

I'm having the same problem.

I've edited redhat-release and also tried commenting out lines in the arcserve install script to no avail.

Has anybody gotten around this yet?

Thanks,

celsowebber
Posts: 2
Joined: 2006/02/15 23:22:50

Re: ARCserve Backup for Linux r11.5

Post by celsowebber » 2006/02/15 23:30:18

Hello,

I've searched the Internet and found something about this:
http://www.raimokoski.com/pipermail/lel4_user/2005-August/000013.html

The only fix I could think of was to manually edit the "install" script and add a line just below line 532:
else if (/CentOS/) { print "RedHat" }

So my install script became something like this for the "getDistributor()" function:
...
getDistributor()
{
LINUX_VENDOR=$(${DEPOT}/${MISC}/$CAUNAME -s)
DISTRIBUTOR=""
DISTRIBUTOR=`echo $LINUX_VENDOR | awk '{
if (/Red Hat/) { print "RedHat" }
else if (/CentOS/) { print "RedHat" }
else if (/RedFlag/) { print "RedFlag" }
else if (/Asianux/) { print "RedFlag" }
else if (/Turbo/) { print "TurboLinux" }
else if (/(SuSE|SUSE)/) { print "SuSE" }
else if (/Caldera/) { print "OpenLinux" }
else if (/UnitedLinux/) { print "UnitedLinux" }
else if (/MIRACLE/){ print "MIRACLE" }
else { print $0 }
}'`
echo $DISTRIBUTOR
}
...

The problem with the script is that it uses an usual method of discovering the target OS. Instead of issuing a "rpm -q redhat-release" or something similar, it issues a "rpm -qi kernel" command and the filters the output to the "Vendor" field. Under CentOS this is not "Red Hat" as it would be on a "real" Red Hat supported OS.

By the way, this solution seems to work also with CA Brightstor Arcserve Backup version 11.1.

I hope this helps.

Regards,

Celso Webber.

rafch
Posts: 2
Joined: 2007/11/28 22:36:38

Re: ARCserve Backup for Linux r11.5

Post by rafch » 2007/11/28 22:43:47

Hello celsowebber ,

did you only modify this in the install script ? it doesn't work if you only add this "else if". I tried with fedora8, centos5, ...
Do you remember what you did exactly to get it running :) ???

Thanks !
rafch

rafch
Posts: 2
Joined: 2007/11/28 22:36:38

Re: ARCserve Backup for Linux r11.5

Post by rafch » 2007/11/29 00:07:27

Ok I resolved this with a modified /etc/redhat-release file.. (Red Hat Enterprise 3...)

Now I need some other old librairies I'll try tomorrow.

Thx !

octapusgrabbus
Posts: 10
Joined: 2008/12/16 20:03:24

Re: ARCserve Backup for Linux r11.5

Post by octapusgrabbus » 2009/01/14 15:40:08

[quote]
celsowebber wrote:
Hello,

I've searched the Internet and found something about this:
http://www.raimokoski.com/pipermail/lel4_user/2005-August/000013.html

The only fix I could think of was to manually edit the "install" script and add a line just below line 532:
else if (/CentOS/) { print "RedHat" }

So my install script became something like this for the "getDistributor()" function:
...
getDistributor()
{
LINUX_VENDOR=$(${DEPOT}/${MISC}/$CAUNAME -s)
DISTRIBUTOR=""
DISTRIBUTOR=`echo $LINUX_VENDOR | awk '{
if (/Red Hat/) { print "RedHat" }
else if (/CentOS/) { print "RedHat" }
else if (/RedFlag/) { print "RedFlag" }
else if (/Asianux/) { print "RedFlag" }
else if (/Turbo/) { print "TurboLinux" }
else if (/(SuSE|SUSE)/) { print "SuSE" }
else if (/Caldera/) { print "OpenLinux" }
else if (/UnitedLinux/) { print "UnitedLinux" }
else if (/MIRACLE/){ print "MIRACLE" }
else { print $0 }
}'`
echo $DISTRIBUTOR
}
...

The problem with the script is that it uses an usual method of discovering the target OS. Instead of issuing a "rpm -q redhat-release" or something similar, it issues a "rpm -qi kernel" command and the filters the output to the "Vendor" field. Under CentOS this is not "Red Hat" as it would be on a "real" Red Hat supported OS.

By the way, this solution seems to work also with CA Brightstor Arcserve Backup version 11.1.

I hope this helps.

Regards,

Celso Webber.[/quote]

This fix got me past the "Cannot identify your Linux distribution..." message, but then the installation quits after that with no error. It's at the point you take the default install path, /opt/CA/SharedComponents. Any ideas?

Post Reply