CA BrightStor 11.5 under linux (Arcserve R11.5)
December 14th, 2007 Posted in LinuxI have tonight install CA Brightstor 11.5, on my Linux servers. I am running Debian so it’s pretty easy; we just need these two files:
/cdrom/cmagent/babcmagt.deb
/cdrom/babagent/babagtux.deb
So it’s just: dpkg –i /cdrom/cmagent/babcmagt.deb
dpkg –i /cdrom/cmagent/babagtux.deb
Then we need to setup the 2 files:
/opt/CA/BABuagent/uagentsetup
/opt/CA/BABcmagt/caagentsetup
Then wee need the agent to start automatic
cd /etc/init.d/
ln –s /opt/CA/BABcmagt/caagent .
Then wee to change something in BABcmagt config fil:
/opt/CA/BABcmagt/agent.cfg
ENV LD_ASSUME_KERNEL=2.4.18
This should be: #ENV LD_ASSUME_KERNEL=2.4.18
update-rc.d caagent defaults
caagent disable all
caagent enable all
If you forget to change this line you get some error about:
12/15 02:47:39(8282) – (_AGBRSpawnSubBrowser), major=11, minor=5 12/15 02:47:39(8283) – (chuid) (root), uid=0, gid=0
12/15 02:47:39(8282) – (_AGBRSpawnSubBrowser): child pid=8283
12/15 02:47:39(8282) – (stcpSend)Failed in send(4), tosnd=8, length=8, Broken pipe
12/15 02:47:39(8282) – (AGBRSendHeader) Failed to send BROWSER_HEADER
12/15 02:47:39(8282) – (_AGBRAppendSubBrowser) Failed in _AGBROpenDir(), ret=-1
12/15 02:47:39(8282) – (_AGBRSpawnSubBrowser): Failed in _AGBRAppendSubBrowser(), ret=-1
12/15 02:47:39(8282) – (uniBrowser) no sub-browser is available
If you are using Ubuntu, please do this also:
If you want to install on Ubuntu (which uses dash as /bin/sh), you need to go through some additional steps.
Go to this page:
http://ubuntuforums.org/showthread.php?t=474790
Download and install getlibs
Right after you dpkg -i the 2 .deb’s, you need to change /bin/sh to /bin/bash in all files in /opt/CA. Then you can proceed as directed above, and all is good.
Thanks to Craig Andrews and Clark Burns, for this Ubuntu trick.
If you like this content, please support me and press the google adsense in the top of this post, thank you









26 Responses to “CA BrightStor 11.5 under linux (Arcserve R11.5)”
By Jonas PARIENTE on Jan 15, 2008
thank you for this post !
How did you find the trick with LD_ASSUME_KERNEL in agent.cfg file ?
By Kenneth Dalbjerg on Jan 20, 2008
I think it was in a newsgroup somewhere.
By Chris on May 14, 2008
A google search for this error brought me here. Thank you so much.
I’m sure CA support could have helped me… but I would have had to lie because I’m using an unsupported OS.
You are awesome!
By Craig on Aug 15, 2008
If you want to install on Ubuntu (which uses dash as /bin/sh), you need to go through some additional steps.
Right after you dpkg -i the 2 .deb’s, you need to change /bin/sh to /bin/bash in all files in /opt/CA. Then you can proceed as directed above, and all is good.
By admin on Aug 19, 2008
Thank you Craig
By Anders Gustafsson on Aug 22, 2008
Manke takk! Thanks! I have spent a whole day trying to solve this.
By Niels on Oct 7, 2008
Craig,
cheers!!!! the env comment did the trick. This was the only place i found this solution!!
regards,
Niels
By Glenn on Dec 7, 2008
Craig,
With you help I did get the agent to work on ubuntu. The only problem now is I get “Lost connection with server” from Arcserve Manager for windows. Do you have any ideas?
By Rik on Feb 11, 2009
Great Job!
I just installed 11.5 on Ubuntu server 8.04 LTS with no problem at all!
The trick was sh to bash conversion…
Many thanks to all for your help!!!
By Ove on Mar 5, 2009
We have some ubuntu (8.04) servers as VMs in VMware.
I have followed your instruktions but not been able to install Arceserve 11.5. It seems that the SharedComponents directory is not included in the 2 deb’s. What’s happens is that uagentsetup complains about Invalid Uagent Licens (the qlicok returns 127, should be 0).
Did you install one of the 2 rpm’s (from the Arcerserve Agent CD/ISO) that contains SharedComponents directory in some way? Or do we not need it in the Debian-install?
By Ronald Rodriguez on Mar 17, 2009
Thank you very much for this POST. It works like a charm.
Hi from Quito – Ecuador – South America.
By Steve Bareman on Mar 31, 2009
Kenneth,
Many thanks to you for this posting. We just installed Arcserve 11.5 update 4 client agent on a virtual machine running Ubuntu JEOS because your instructions [plus the comments below about /bin/bash] helped us figure out how to do it.
-yours with abundant gratitude,
-Steve
By Doug Pendergras on Apr 2, 2009
Thanks for all the tips!
I can successfully install and run on my ubuntu 8.04 desktop but not on ubuntu server 8.04.
caagent enable all
returns this error..
/usr/bin/caagent: line 270: /opt/CA/BABcmagt/caagentd: No such file or directory
/usr/bin/caagent: line 270: /opt/CA/BABcmagt/caagentd: No such file or directory
any ideas?
Thanks a million,
Doug
By Clark Burns on Jun 12, 2009
First off, thanks for all the help with this!
Secondly,
To fix all the above issues related to Ubuntu 8.04 server edition you need to do the following:
Go to this page:
http://ubuntuforums.org/showthread.php?t=474790
Download and install getlibs
Once installed run getlibs from the command line. Now proceed with the above guide as normal replacing /bib/sh with /bin/bash etc.
The software is reliant on some 32bit libs when installing on Ubuntu and I’m running 64bit. My guess is the people with issues above are running the 64 bit as well.
Hope this helps!
Clark
By Scott McIntyre on Jul 7, 2009
If you are getting the ‘shell’ related nls erros like this:
[: 108: /opt/CA/BABcmagt/nls/-e/Messages: unexpected operator
[: 89: /opt/CA/BABcmagt/nls/-e/Messages: unexpected operator
[: 642: /opt/CA/BABcmagt/nls/-e/Messages: unexpected operator
[: 642: /opt/CA/BABcmagt/nls/-e/Messages: unexpected operator
[: 642: /opt/CA/BABcmagt/nls/-e/Messages: unexpected operator
I did the quick fix:
rm /bin/sh
ln -s /bin/bash /bin/sh
Now follow Craig’s instructions. This was just much easier to document and maintain then editing each file.
By Lajosh Kiss on Sep 24, 2009
Thank for your tip! It was very useful.
Now caagent works with my Fedora 11 and
Fedora 10.
By alx5000 on Nov 11, 2009
Hats off to you!
I finally got it working under Lenny.
Thank you very much!
By Patrick on Nov 11, 2009
The env comment did the trick, caagent works now under Suse… Thank you very much!
By goodjoy1003 on Dec 24, 2009
Thank you this blog fix my problem,thank’s a lot.
By Louwrentius on Mar 29, 2010
Thanks for the instructions.
I got “Lost connection with” messages on the manager. I commented out the suggested line in agent.cfg and it worked!
By Louwrentius on Mar 29, 2010
Thanks a lot.
It was not working properly using Debian Lenny, but after commenting out that specific line in agent.cfg, it worked.
Otherwise, I got Lost “connection with” messages on the manager.
By Diego on Jul 21, 2010
THANK YOU VERY MUCH!
Is the only web where I found a solution.
Regards
By Roger on Jul 24, 2010
Greeting,
On ubuntu 9.10. I installed the client as instructed above and modified the .cfg.
In Arcserve manager 11.5SP3 I can view the files in the Ubuntu directory structure but cannot backup them up. I get “Failed to connect with client agent”
Please advise.
By Eric on Dec 30, 2010
Thank you, that solved the problem with R15 in debian kernel 2.6.26
By Danny on Feb 9, 2011
What is the efect of installing getlibs? I’ve tried installing on Ubuntu 10.04 but no luck so far. Are we meant to install the packages with getlibs?
By admin on Feb 9, 2011
No effect. Just install getlibs package before installation of CA Arcserve