Client Management Suite

 View Only

Configuring UNIX Inventory on Non-English Locale 

Jul 31, 2008 04:41 PM

How do you set up the Inventory for UNIX to execute on a Non-English Locale system? This tech tip will help you along the way.

The Bash shell allows for modifying environment variables for child process without affecting the main operating system environment. The main inventory for UNIX/Linux binary is a shell script called 'aex-runinvnow'. By modify the 'aex-runinvnow' script as shown below, we can leave the operating system to use the non-English locale while allowing the script and its child processes to run with the C or Posix locale.

The aex-runinvnow shell script can be found in the following directory on the Notification Server. You will need to drill down to the appropriate platform and processor.

C:\Program Files\Altiris\Notification Server\NSCap\Bin\Unix\Inventory

Open the file in a text editor (see note below). These changes affect the first three lines of the original file.

Before

#!/bin/sh
#
#///////////////////////////////////////////////////////////////////

After

#!/bin/sh
LANG=C
export LANG
#
#///////////////////////////////////////////////////////////////////

Note: Be sure to use a text editor that preserves the UNIX/Linux line endings. Otherwise, the aex-runinvnow script will fail to run on client computers due to inappropriate line endings.

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.