Is the LIBPATH environment variable set for testuser and oracle? Ie: what does the following produce? echo $LIBPATH The LIBPATH variable is cleared for setuid programs like sudo so if oracle depends on it being set you will need to do something like create a shell script that sets LIBPATH and then execs srvctl. - todd