[: 10721: /root/DataMoverandAgent/Linux/./nls/-e: unexpected operator
./install: 10733: typeset: not found
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.
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:-
- Log in to the Ubuntu or Debian Linux computer as root.
- Execute following command to check the default system shell type:
# ls –l /bin/sh
- 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.
- If Output shows:
lrwxrwxrwx 1 root root 4 2013-05-23 03:47 /bin/sh -> dash
- Change the default system shell to bash by execute the command below
# dpkg-reconfigure dash
When prompted “Install dash as /bin/sh” Choose NO
- 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.