cd /opt/IBM/InformationServer/Server/DSEngine/bin ./uv -admin -stop ./uv -admin -start
4.重启ASBNode
cd /opt/IBM/InformationServer/ASBNode/bin . ./NodeAgents_env_DS.sh ./NodeAgents.sh stopAgent ./NodeAgents.sh start
官方帮助文档:
Setting environment variables for IBM DB2 libraries
You must set specific environment variables for the DB2® connector to find third-partydirectories.
Before you begin
InfoSphere™ Information Server mustbe installed in the default directory
/opt/IBM/InformationServer.
Note: Thelibrary path environment variable is different for different operatingsystems. The following table lists the library path environment variablesfor different operating systems:
Operating system
Environment variable
Microsoft® Windows®
Path
IBM® AIX®
LIBPATH
Linux®
LD_LIBRARY_PATH
About this task
The DB2 library directoryis not in the library path environment variable by default. Thereforethe DB2 connector does not automaticallylocate the DB2 library directory.As a result, you receive the following error in the log:
[IIS-CONN-DB2-000032] An error occurred while loading the DB2 library entry points.
Tomake the DB2 libraries accessibleto the DB2 connector:
Locate the directory that contains the DB2 libraries. By default, the DB2 libraries are in the followingdirectory:
Microsoft Windows operating system: C:\IBM\SQLLIB\bin
UNIX® operating system:/opt/IBM/db2/V9/lib32
Contact your DB2 Administratorif you do not find the libraries in these paths.
Modify the library path environment variable to includethe appropriate directory for the user that runs the DB2 connector process. One of theways to modify the library path environment variable by updating thedsenv script. To modify the dsenv script:
Add the DB2 librarydirectory to the library path environment variable in the dsenv scriptin/opt/IBM/InformationServer/Server/DSEngine.
Log in as root.
Type the following commands to source the dsenv script:./opt/IBM/InformationServer/Server/DSEngine/dsenv
Type the following commands to restart theInfoSphere Information Server engine and the ASB agent:
cd /opt/IBM/InformationServer/Server/DSEngine/bin
./uv -admin -stop
./uv -admin -start
cd /opt/IBM/InformationServer/ASBNode/bin
. ./NodeAgents_env_DS.sh
./NodeAgents.sh stopAgent
./NodeAgents.sh start