Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: annw on February 22, 2007, 11:46:41 AM
-
Does anyone know how to install Brightstor / Arcserve 7 for Linux on a SME 7 centos box?
I tried to install the Software but get an error that my Distribution is not recognized.
-
Save money and time use Novanet or Tapeware (same product). Novanet price is lower. You can download a demo.
-
That't not an option i'm afraid as the software is bought and the whole system needs to be intergrated - i have 2 SME servers both of which i need to have compatible with this.
I'm certain there must be a way to trick the Arcserve installation to thinking it is a Red Hat box and not a Centos box, but have no idea how to do this.
Any suggestions would be great!
-
That't not an option i'm afraid as the software is bought and the whole system needs to be intergrated - i have 2 SME servers both of which i need to have compatible with this.
I'm certain there must be a way to trick the Arcserve installation to thinking it is a Red Hat box and not a Centos box, but have no idea how to do this.
Any suggestions would be great!
I think Arcserve read /etc/redhat-release
So, you can try to:
- cp /etc/redhat-release /etc/redhat-release.old
- cp /etc/issue /etc/issue.old
- cp /etc/issue.net /etc/issue.net.old
- echo "Red Hat Enterprise Linux release 4 " > /etc/redhat-release
- cp /etc/redhat-release /etc/issue
- echo "Kernel \r on an \m" >> /etc/issue
- cp /etc/issue /etc/issue.net
(last 4 lines come from redhat-release rpm spec file)
- install Arcserve
- copy back your .old files to original name
Just a suggestion.. I haven't tested.. :-)
HTH
Ciao
Stefano
-
Thank you for the sugestion, but that did not seem to work.
I have however found the answer -
Copy the whole CD to a folder on the server so you can edit the installation file.
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=1926
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.
Just done this, and Arcserve is now installed!
Very happy!
-
Hello
I tried to install Arcserve Backup For Linux r11.5 sp2 on SME Server 7.2 without success... even with modifying the install script as shown above...
Help would be appreciated !