ERROR 2009-01-14 14:39:58 [iaxxhmodif.hpp:224]
MUT-02044 The following paths expected but not found in the library path environment variable (LD_LIBRARY_PATH) /sapmnt/IM2/exe/.


FATAL: Close xuser entry failed:

chmod 777 /export/home/sqdim2
chmod 777 /export/home/im2adm

# ls -al /export/home/sqdim2
-rw------- 1 sqdim2 sapsys 1724 Jan 14 15:38 .XUSER.62

# ls -al /export/home/im2adm
-rw------- 1 im2adm sapsys 1724 Jan 14 15:33 .XUSER.62

See Note 790879, search "xuer"
Note 39439:
a) UNIX:
On Unix, the XUSER data is stored in the .XUSER.62 file in the home directory of the relevant user. For R/3 installations, for example, this data must be entered for both the users sqd and adm in the xuser tool.

Error on sdb not locked:
passwd -l sdb

Read More about [ERP 2004 installation errors and corrections...