Debug it. Does it work from a command-line script? Does it work when don't use it until after startup.pl? Is it looking for some environment variables that aren't being set? Try doing a require inside an eval block and checking the error message in $@. Usually things like this have to do with permissions, finding tnsnames.ora, and other little environment issues.