I'm not sure...the script is trying to login with the built-in account, or with my own account (i.e., what I'd give SQL*Plus). What other permissions does it need?
Matt
Comment on Re: Re: Perl/CGI/Oracle hangs when connecting
I mean the Unix file system permissions on /oracle might not allow the web server user to read necessary files. When you run it from the command line it probably works because you can read those files but the web server is most likely running as another user who might not have read access.