Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
Problem
When installing and configuring Data Protector (DP) to a Linux Ubuntu client there can be a problem.
Eg. an installation to an Ubuntu client gives the error
[Critical] <hostname.fqdn.local> Certificate copy failed:
/opt/omni/lbin/.util: 277: export: Illegal option -n
or
An import of an Ubuntu client gives
[12:1625] Import host failed.
Explanation
Both the installation and import use the /opt/omni/lbin/.util script
Within the script an »==« operator is used to string compare.
On the Ubuntu the "Dash" shell (Debian Almquist Shell) is used and this does not support the double »==« operator.
DP documentation says
“The command must be executed using the default POSIX ksh or pdksh shell.”
https://docs.microfocus.com/itom/Data_Protector:2020.08/CLIOmnisetup
The Ubuntu systems should have a compatible shell.
A Possible Solution
1. Install to the Ubuntu system using the DP Cell Manager (if Linux) or using a Linux Installation Server.
2. Receive error:
[Critical] <hostname.fqdn.local> Certificate copy failed:
/opt/omni/lbin/.util: 277: export: Illegal option -n
3. Edit /opt/omni/lbin/.util.
Replace:
#!/bin/sh
with:
#!/bin/bash
4. Import client using the DP GUI or an omnicc command.
eg. omnicc -import_host hostname.fqdn.com -accept_host