Installing 3rd party software

Status
Not open for further replies.

JohnFLi

Contributor
Joined
Sep 26, 2016
Messages
139
I have a FreeNas system
Code:
FreeNAS-9.10.1-U4
and I installed Commvault SImpana software on it so that I can backup the volumes I have on it.
The install goes just fine, so does backups....as long as I do not reboot the freenas box.
If I do, the Commvault directory in /etc is gone, thus I cannot back it up anymore, unless I do a re-install of the software.
One work around I found, after installing the software, I copy the commvault directory to /opt. Then after reboot I do
Code:
cp -iprv /opt/commvaultbackup/ /etc/CommVaultRegistry
followed by
Code:
simpana start
and all is right with the world.

Am I stuck with that process? or is there a way I can install the software and have it not go away after reboot??
 

JohnFLi

Contributor
Joined
Sep 26, 2016
Messages
139
Thats fine, except for 1 minor detail.......with jail, I'm not able to install anything to it. I can ssh to it just fine and dandy, but when it comes to actually doing anything with it.....zip, nadda, nothing.... so basicly a waste of time
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
Uh. The purpose of jails is to install software that should not be running on FreeNAS.

Instead of saying "it doesn't work", why not figure out why it doesn't work.
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Thats fine, except for 1 minor detail.......with jail, I'm not able to install anything to it. I can ssh to it just fine and dandy, but when it comes to actually doing anything with it.....zip, nadda, nothing.... so basicly a waste of time
Try again in a jail, then post whatever error you see. You shouldn't be making any changes to the core system.
 

JohnFLi

Contributor
Joined
Sep 26, 2016
Messages
139
I dont get any errors when trying to push an install to a jail. Commcell just says that the installed failed, not helpful at all. (I'm installing it with the root username and password). I checked for a firewall on teh jail, didn't see it enabled.
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
I dont get any errors when trying to push an install to a jail. Commcell just says that the installed failed, not helpful at all. (I'm installing it with the root username and password). I checked for a firewall on teh jail, didn't see it enabled.
??

How does it "push an install" to a jail?

There is no firewall running in a jail.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
If you're trying to perform a remote install of the backup client, you probably have to enable ssh in the jail. To do this, open /etc/rc.conf in the jail with your preferred text editor, then change the line sshd_enable="NO" to sshd_enable="YES". Then type service sshd start. Do not install software in the base OS.

I assume you've seen this document: http://documentation.commvault.com/commvault/v10/article?p=system_requirements/freebsd.htm

You may also need to create a dedicated user for the remote install, install sudo, and configure the sudoers file appropriately.

I just realized that you've apparently already configured SSH for the jail. If commvault isn't giving detailed information about why it's failing, you're next steps will be to review logs in the jail, perhaps use tcpdump to perform a packet capture on one of the install attempts, etc. Try to gather data on why it's failing... or you can just throw your arms up in the air.
 
Last edited:
Status
Not open for further replies.
Top