Search Engine: Elastic

Article ID: 129172, created on Jul 27, 2016, last review on Jul 14, 2018

  • Applies to:
  • Odin Business Automation Standard 4.5


It is not possible to add CentOS 7 based SSH-managed name server.

The following error appears in /var/log/hspc/xml_api.log:

[2016/07/21 13:26:05] [ERROR] [13305] [Net::SSH::Perl::Key::new] Key class 'Net::SSH::Perl::Key::RSA' is unsupported: Cannot find current script '/dev/null' at /usr/share/perl5/ line 205
BEGIN failed--compilation aborted at /usr/share/perl5/ line 205, <GEN647> line 1.
Compilation failed in require at /usr/share/perl5/vendor_perl/Crypt/ line 13
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Crypt/ line 13, <GEN647> line 1.
Compilation failed in require at /usr/local/share/perl5/Net/SSH/Perl/Key/ line 14
BEGIN failed--compilation aborted at /usr/local/share/perl5/Net/SSH/Perl/Key/ line 14, <GEN647> line 1.
Compilation failed in require at (eval 765) line 1
BEGIN failed--compilation aborted at (eval 765) line 1, <GEN647> line 1.

[2016/07/21 13:26:05] [INFO] [13305] [HSPC::XMLAPI::Serializer::on_die] ApplicationError : Application error occurred, contact provider for details.


Such behavior was classified as the software issue PBAS-30340 andand was fixed in OBAS 4.5.7 release.


To resolve the issue, please upgrade to 4.5.7 as described in How to upgrade OBAS system to the latest available version.

Workaround for 4.5.6

To register a CentOS 7 based name server in OBAS 4.5.6 please perform the steps below.

On the name server

  1. Regenerate the name server SSH host key (do not set passphrase!):

    # ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
  2. Enable the host DSA key in sshd configuration /etc/ssh/sshd_config (uncomment or add a new line):

    HostKey /etc/ssh/ssh_host_dsa_key
  3. Restart the sshd service:

    # systemctl restart sshd.service

On OBAS side

  1. Download 64-bit hotfix or 32-bit hotfix depending on your OS and install it by running:

    For 64-bit OS:

    # rpm -Uvh hspc-dm-ns-plugin-ssh-4.5.6-44.swsoft.x86_64.rpm
    # hspc-upgrade-manager --finish

    For 32-bit OS:

    # rpm -Uvh hspc-dm-ns-plugin-ssh-4.5.6-44.swsoft.i386.rpm
    # hspc-upgrade-manager --finish

    Warning: Running hspc-upgrade-manager --finish will cause OBAS downtime for several minutes.

  2. Re-install the name server in OBAS PCC.

624ca542e40215e6f1d39170d8e7ec75 caea8340e2d186a540518d08602aa065 400e18f6ede9f8be5575a475d2d6b0a6 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF