Guys,
I'm trying to determine if the application is issuing semget() calls
and fails. Hence I issued the command
truss -d -o truss.log db2 "connect to dbname"
Inside the truss.log file, the following lines are listed
0.1427 access("/IBMdb2/home/db2rtcl/sqllib/profile.env", 0) Err#2
ENOENT
0.1430 open("/IBMdb2/home/db2rtcl/sqllib/profile.env", O_RDONLY) Err#2
ENOENT
0.1432 lstat("/IBMdb2/home/db2rtcl/sqllib/.ftok", 0xFFBEEF34) Err#2
ENOENT
0.1434 semget(-2, 1, 0) = 3473440
0.1436 semop(3473440, 0xFE3A5CE8, 1) = 0
0.1437 shmget(-2, 0, 0) = 1204957224
0.1438 shmat(1204957224, 0, SHM_RND) = 0xFD400000
0.1441 semop(3473440, 0xFE3A5CEE, 1) = 0
But I dont know whether semget has succeeded or failed. Your help is
greatly appreciated. (I have posted this in Solaris group however I
would like to post in main DB2 group as well)
Thanks,
db2udbgirl.