User Tools

Site Tools


Sidebar

Announcement

Ahsay Backup Software

Backup Set Types

Supported Storage

Features in OBM / ACB

Features in CBS

Brand and Customize

License

Documentation

Performance Testing

FAQs and Known Issues

Can't Find What You Need?

public:5277_issue_when_installing_obm_on_freebsd

[V7] ISSUE: Error when installing AhsayOBM on FreeBSD (/usr/local/obm/jvm/lib/security is not a directory)

Article ID: 5277
Reviewed: 2018-04-19

Product Version:
AhsayOBM: 7.5.0.0 to 7.x
OS: FreeBSD

ATTENTION 1st January, 2022: v7 officially End-of-Life [details]

Problem Description

When installing AhsayOBM on a FreeBSD machine, the following message is displayed on screen:

cp: /usr/local/obm/jvm/lib/security is not a directory

Untar component file : /usr/local/obm/_components/app-common.tar.gz
Untar component file : /usr/local/obm/_components/app-inst-nix-obm.tar.gz
Untar component file : /usr/local/obm/_components/app-native-nix-x64.tar.gz
Untar component file : /usr/local/obm/_components/app-nix-obm.tar.gz
Untar component file : /usr/local/obm/_components/aua-common.tar.gz
Untar component file : /usr/local/obm/_components/aua-inst-nix-obm.tar.gz
Untar component file : /usr/local/obm/_components/aua-native-nix-x64.tar.gz
Untar component file : /usr/local/obm/_components/aua-nix-obm.tar.gz
Untar component file : /usr/local/obm/_components/properties-common.tar.gz
Untar component file : /usr/local/obm/_components/util-common.tar.gz
Untar component file : /usr/local/obm/_components/util-nix-obm.tar.gz
Untar jvm and component files finished
Please enter your java 1.7 home:
/usr/local/openjdk7
Copy java 1.7 from /usr/local/openjdk7/
cp: /usr/local/obm/jvm/lib/security is not a directory
Install Application Path: /usr/local/obm
Done

Cause

This issue can occurs if the Java home is incorrectly configured to /usr/local/openjdk7, the correct path should be /usr/local/openjdk7/jre

Resolution

To resolve the issue, un-install AhsayOBM, then remove all installation files.

Download the AhsayOBM installation script file again, then re-install AhsayOBM using the correct Java home path /usr/local/openjdk7/jre

For example:

# /usr/local/obm/bin/uninstall.sh
# rm -fr /usr/local/obm
# mkdir -p /usr/local/obm
# cd /usr/local/obm
# wget --no-check-certificate https;//your-backup-server.com/cbs/download/obm-nix-443-your-backup-server-https.sh
# sh obm-nix-443-your-backup-server-https.sh
..
..
100 27825 100 27825 0 0 597k 0 --:--:-- --:--:-- --:--:-- 617k
Download completed
No old application found, begin fresh install
Untar component file : /usr/local/obm/_components/app-common.tar.gz
Untar component file : /usr/local/obm/_components/app-inst-nix-obm.tar.gz
Untar component file : /usr/local/obm/_components/app-native-nix-x64.tar.gz
Untar component file : /usr/local/obm/_components/app-nix-obm.tar.gz
Untar component file : /usr/local/obm/_components/aua-common.tar.gz
Untar component file : /usr/local/obm/_components/aua-inst-nix-obm.tar.gz
Untar component file : /usr/local/obm/_components/aua-native-nix-x64.tar.gz
Untar component file : /usr/local/obm/_components/aua-nix-obm.tar.gz
Untar component file : /usr/local/obm/_components/properties-common.tar.gz
Untar component file : /usr/local/obm/_components/util-common.tar.gz
Untar component file : /usr/local/obm/_components/util-nix-obm.tar.gz
Untar jvm and component files finished
Please enter your java 1.7 home:
/usr/local/openjdk7/jre
Copy java 1.7 from /usr/local/openjdk7/jre
Install Application Path: /usr/local/obm
Done

Keywords

obm, installation, install, installing, freebsd, nix

public/5277_issue_when_installing_obm_on_freebsd.txt · Last modified: 2021/12/16 05:56 by anna.olalia

Page Tools