Follow

arcserve-KB : Error while Installing the Client Agent on Ubuntu and Debian Linux - unexpected operator

Last Update: 2017-06-30 11:00:24 UTC

Error Message

[: 10721: /root/DataMoverandAgent/Linux/./nls/-e: unexpected operator

 ./install: 10733: typeset: not found

Description:

While trying to install Linux agent 16.5 on Ubuntu or Debian Linux, we get the error below while trying to run the install script.

The same error may come up while trying to start the agent. This document explains the steps to be followed to resolve this.

Solution:

From Ubuntu 6.10 and Debian 6.0, the default system shell is dash, to install and run client agent on Ubuntu and Debian Linux, the default system shell bash is required.

To change the default shell to bash please use the following the steps:-

  1. Log in to the Ubuntu or Debian Linux computer as root.

  1. Execute following command to check the default system shell type:

# ls –l /bin/sh

  1. Output should show:

lrwxrwxrwx 1 root root 4 2013-05-23 03:47 /bin/sh -> bash

If the software symbol link of sh points to bash, we don’t need to change the system default system shell type, otherwise, we need to do following step.

  1. If Output shows:

lrwxrwxrwx 1 root root 4 2013-05-23 03:47 /bin/sh -> dash

  1. Change the default system shell to bash by execute the command below

# dpkg-reconfigure dash  

When prompted “Install dash as /bin/sh” Choose NO  

  1. ls –l /bin/sh command  should now return  bash.

Once this is changed you should be able to install the agent or start the agent fine.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments