Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to use svrmgrl commands in Perl CGI
On Tue, 1 Jun 1999, James Liang wrote:
> This script runs correctly from command-line, but if we try to run it
> as CGI,
> It seems that svrmgrl cannot get the input. How can I make it work as
> a CGI program ?
>
> We are using Perl 5.005_02 for irix-n32, Oracle 7.3.4, and Netscape
> SuiteSpot Enterprise server 3.5.1 on SGI Irix 6.2. The web server runs as
> nobody (we've added nobody to DBA group temporarily for the testing).
I've got a hunch that user 'nobody' still doesn't have proper authority to get the data you need. If you're able to 'su nobody' and run the program, you may be able to find out whether this is the case. You may need to make a set-uid program in order to get this to work; see the perlsec manpage.
When you're having trouble with a CGI program in Perl, you should first look at the please-don't-be-offended-by-the-name Idiot's Guide to solving such problems. It's available on CPAN.
http://www.perl.com/CPAN/ http://www.perl.org/CPAN/ http://www.perl.org/CPAN/doc/FAQs/cgi/idiots-guide.html http://www.perl.org/CPAN/doc/manual/html/pod/
Hope this helps!
--
Tom Phoenix Perl Training and Hacking Esperanto Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/Received on Mon May 31 1999 - 22:16:28 CDT
![]() |
![]() |