Error while executing command in aix box


 
Thread Tools Search this Thread
Operating Systems AIX Error while executing command in aix box
# 1  
Old 08-15-2011
Data Error while executing command in aix box

Hi Folks

I get the below error in my aix box. Im not sure if this is an AIX issue or a TWS issue. Please advice me
Code:
cbspsdb01:/opt/TWS/bin # ./conman status

exec(): 0509-036 Cannot load program ./conman because of the following errors:
        0509-150   Dependent module /usr/lib/libicuuc.a(libicuuc40.0.so) could not be loaded.
        0509-152   Member libicuuc40.0.so is not found in archive

Smilie

Last edited by zaxxon; 08-17-2011 at 06:19 AM.. Reason: code tags
# 2  
Old 08-15-2011
Looks like a package with that library is missing or it couldn't be found via PATH or any other variable that needs to be set for this tool. From an AIX 7.1 box with just the OS and updates installed:
Code:
# lslpp -w /usr/lib/libicuuc.a
  File                                        Fileset               Type
  ----------------------------------------------------------------------------
  /usr/lib/libicuuc.a                         ICU4C.rte             File

This User Gave Thanks to zaxxon For This Post:
# 3  
Old 08-16-2011
Hi Zaxxon

Still the issue persists. Can you please give your suggestions for a permanent resolution

Code:
cbspsdb01:/opt/TWS/bin #./conman status

exec(): 0509-036 Cannot load program ./conman because of the following errors:
        0509-150   Dependent module /usr/lib/libicuuc.a(libicuuc40.0.so) could not be loaded.
        0509-152   Member libicuuc40.0.so is not found in archive

The below are the outputs from my server :


1.
Code:
cbspsdb01:/opt/TWS/bin #lslpp -w /usr/lib/libicuuc.a

   File                                        Fileset               Type
   ----------------------------------------------------------------------------
   /usr/lib/libicuuc.a                         ICU4C.rte             File

2.
Code:
cbspsdb01:/opt/TWS/bin # lslpp -l | grep -i ICU4C.rte

   ICU4C.rte                  6.1.6.0  COMMITTED  International Components for


Last edited by zaxxon; 08-17-2011 at 06:19 AM.. Reason: code tags
# 4  
Old 08-16-2011
Moderator's Comments:
Mod Comment
I have given you a reminder together with a PM including a guide how to use code tags, so please use them when posting code, data or logs.


It is installed, but you did not wrote if you checked if your PATH contains /usr/lib as suggested. After that don't forget to export it again or do something like . ~/.profile in case your PATH is defined there.
If adding this to your PATH will still not help, you'll could try to export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib and/or export LIBPATH=$LIBPATH:/usr/lib and see if that helps, before issuing the command.

If any of this works, it is up to you to make it a permanent solution Smilie
# 5  
Old 08-16-2011
Error while executing command in aix box

Hi

Still error comes :

Code:
root@cbspsdb01 [/root] #~/.profile
[YOU HAVE NEW MAIL]

root@cbspsdb01 [/root] #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib

root@cbspsdb01 [/root] #export LIBPATH=$LIBPATH:/usr/lib

root@cbspsdb01 [/root] #cd /opt/TWS/bin

root@cbspsdb01 [/opt/TWS/bin] #./conman status
exec(): 0509-036 Cannot load program ./conman because of the following errors:
        0509-150   Dependent module /usr/lib/libicuuc.a(libicuuc40.0.so) could not be loaded.
        0509-152   Member libicuuc40.0.so is not found in archive

root@cbspsdb01 [/opt/TWS/bin] #print $LD_LIBRARY_PATH
/usr/java/jre/lib/sparc:/usr/java/jre/lib/sparc/server:/usr/java/jre/lib/sparc/native_threads::/usr/lib:/usr/lib

root@cbspsdb01 [/opt/TWS/bin] #print $LIBPATH
/usr/mqm/lib64:/usr/mqm/lib64:/opt/teradata/client/13.10/tbuild/lib:/usr/lib:/usr/lib

I have used code tags now
# 6  
Old 08-16-2011
which version of tws and which patch level are you using - and - does it work if you are the tws user himself ?

In previous versions of TWS a common workaround was to set all shared libraries to 777 in /usr/lib and in the tws library directory.

I think it would be a good idea as well to add the tivoli libraries to your LIBPATH variable.

On an old box of mine these are under /usr/Tivoli/TWS/ICU/3.4.x/lib but this may vary from version to version.

Regards
zxmaus
This User Gave Thanks to zxmaus For This Post:
# 7  
Old 08-18-2011
It has been resolved after adding the below lines in the .profile of the tws user
Code:
LIBPATH=/usr/Tivoli/TWS/TKG/3.1.5/lib
export LIBPATH

Thanks for all your help
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Web Development

Error on executing soap request using Curl command

hi, i have curl command to POST a soap request to web service. I have a file (query.xml) which has all the soap message attached to it I just don't seem to be able to properly post it. curl command curl -s -H "Content-Type: text/soap+xml;charset=UTF-8" -H "SOAPAction:" -d @query.xml... (2 Replies)
Discussion started by: siramitsharma
2 Replies

2. UNIX for Advanced & Expert Users

Error executing sqlcmd command through UNIX

Hi All, I am trying to execute a set of sql statements in sql server 2008 using the sqlcmd command in unix and passing the query in the "input" parameter. It is giving me an error "incorrect syntax near 2014". The below statement is giving an error : declare date_val datetime, ... (4 Replies)
Discussion started by: Rahul Raj
4 Replies

3. Shell Programming and Scripting

Error while executing sh command

Hi, I have 2 files temp1.sh and temp2.sh as follows: =========== temp1.sh =========== echo "session1" sh temp2.sh echo "exit session2 and enter session1" ================================= ============= temp2.sh ============= echo "session2" sh echo "exit session2"... (5 Replies)
Discussion started by: RP09
5 Replies

4. Red Hat

Error while executing isql command on RHEL4

Hi, I am using RHEL4 and Oracle11g , my application requires odbc connection hence I modified ODBC.ini file and when I exceute isql commande I got the following error. isql: error while loading shared libraries: /opt/nastel/apwmq/odbc/lib/libodbc.so.1: requires glibc 2.5 or later dynamic... (4 Replies)
Discussion started by: roopalidalvi231
4 Replies

5. Red Hat

Error while executing isql command on RHEL4

Hi, I am using RHEL4 and Oracle11g , my application requires odbc connection hence I modified ODBC.ini file and when I exceute isql commande I got the following error. isql: error while loading shared libraries: /opt/nastel/apwmq/odbc/lib/libodbc.so.1: requires glibc 2.5 or later dynamic... (1 Reply)
Discussion started by: roopalidalvi231
1 Replies

6. Shell Programming and Scripting

Error while executing disk space script in AIX

#!/bin/ksh for AIX used=0 mount=${1:-"/mountpoint"} threshold=${2:-80} #message="hello" #SUBJECT="Disk Space Alert" #EMAIL="xyz@abcinc.com" used=`df -k $mount | grep % | awk '{print $5}' | sed 's/%//g'` #echo "Free Space available under \"$mount\" is `expr 100 - $used`%.\n">$message ... (6 Replies)
Discussion started by: rajeshw61
6 Replies

7. UNIX for Dummies Questions & Answers

I need an scp command from a unix box to a windows box.

scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/ Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies

8. Shell Programming and Scripting

error while executing the mail command

Hi, I am getting an error while executing the mail command.... It says saved letter in dead.letter even though the email id id correct . Please do help.. Madhu (2 Replies)
Discussion started by: madhumathikv
2 Replies

9. UNIX for Dummies Questions & Answers

difference between AIX box and Sun Solaris box

Hi, I need a clarification. Is there any difference between AIX box and Sun Solaris box? The bzip command with -c option works in AIX box and the same does not work in Sun Solaris box. Can anyone please explain if there is an implementation difference in both these boxes for the shell... (1 Reply)
Discussion started by: nisha4680
1 Replies

10. Shell Programming and Scripting

executing *.bat file on windows from Unix box via ftp command

I have created get_list.bat file containing following line: dir /B /O-d >file_list.txt I am executing ftp command from Unix box and transferring get_list.bat file to windows server. In my next ftp command I am trying to execute this test.bat file by entering this line: get_list or by... (9 Replies)
Discussion started by: alx
9 Replies
Login or Register to Ask a Question