Skip to main content

How can we help you?

Druva Documentation

Troubleshooting error when connecting to inSyncConfigDBServer on Linux

This article applies to:
OS: Linux
Product edition: inSync On-Premise

Problem Description

The following error is displayed when you manually connect to inSyncConfigDBServer on a Linux system.

Error - [5.4][Linux-Ubuntu]:"error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory" observed while installing inSync server. 

The library file libaio.so.1 is not registered under /etc/ld.so.conf file due to which inSync is unable to use this file. 

Resolution

The library file libaio.so.1 is located in  /opt/Druva/inSyncCloud/lib folder. You must copy the libaio.so.1  in  ld.so.conf file in order to manually connect to inSyncConfigDBServer on Linux.

Perform the following steps:

  1. Copy the libaio.so.1 file to /tmp using the following command:

    cp /opt/Druva/inSyncCloud/lib/libaio.so.1 /tmp
     
  2. Verify if the /tmp directory has any further file entries other than the copied library file.
  3. If no files other than the library file are found, run the following command:

    echo “/tmp” >> /etc/ld.so.conf
    ldconfig

After successfully completing the above steps, you should be able to connect to inSyncConfigDBServer manually.

Delete /temp entry after connecting to inSyncConfigDBServer

Once you are able to connect to inSyncConfigDBServer manually, remove /tmp entry of Id.so.conf file using the following steps:

  1. Navigate to /etc directory.
  2. Open ld.so.conf file using the command:
    – vi ld.so.conf
  3. In the vi editor, press “i”. This allows you to write in the file (you should see INSERT at the bottom of the page).
  4. Go to the line where you see /tmp and delete the entry.
  5. Press Escape. This disables the INSERT option.
  6. To exit the vi editor, type ":wq" and then press the Enter key. This will exit the vi editor after saving the changes.
  7. To verify the changes, you can run:
    less ld.so.conf

​​​​​​​