Error when trying to load Mobile iManager 2.5 or 2.6.

  • 3008799
  • 07-Jun-2006
  • 10-Jun-2013

Environment

Linux
Novell iManager 2.5
Novell iManager 2.6

Situation

Error when trying to load Mobile iManager 2.5 or 2.6.

/opt/novell/iman26mobile/imanager/bin/iManager.sh: line 18: /home/testuser/../tomcat/webapps/nps/WEB-INF/bin/linux/perm.txt: No such file or directory
ERROR:  Insufficient rights to execute iManager

Trying to run the iManager.sh script with an absolute path (from somewhere other than the installation's "bin" directory) or using a launcher from the GUI does not change to the path of the startup script.  The startup script uses relative paths to start Tomcat and therefore must be executed from the bin directory where it is located or it must change to that directory as its first task.

Resolution

Add the following as the second line in the iManager.sh file used to start Mobile iManager:

cd `dirname "$0"`;

The `dirname` command takes what is fed into it (in this case, the iManager.sh script's absolute path) and returns just the directories.  Changing to the directory makes the relative paths in the script work.

 

This has been resolved in iManager 2.7