[INUG-Users] failed to execute CGI script when using'useNet::Telnet' in the script

John Clinton netcool at mysnmp.org
Mon Mar 10 06:00:39 EDT 2008


Do you have multiple perl installations on your box?  Be sure the  
#!/path to perl is the one that has Net::Telent installed.

John


Quoting Aanand_Pandey <Aanand_Pandey at satyam.com>:

>
>
> Hi Chris,
> Yes, I do have did reregistering the cgi script through webtop admin  
>  but still the problem persists.
> I have also changed the permissions of the script to be executed by   
> all.My task is to connect to a server through Telnet run a command   
> to display result of a predefined sql query for the Oracle Database.
> This i Have done through by creating a shell script and making it to  
>  run from the telnet client and it gets executed when done as a perl  
>  script only.
>
> Aanand
>
>
>
> ________________________________
>
> From: users-bounces at netcoolusers.org on behalf of   
> christopher.urdi at thomson.com
> Sent: Fri 3/7/2008 6:53 PM
> To: users at netcoolusers.org
> Subject: Re: [INUG-Users] failed to execute CGI script when   
> using'useNet::Telnet' in the script
>
>
>
> Hi Aanand,
>      I am using Net::Telnet::Cisco in this way.  I did have a problem
> similar to yours initially and it was resolved when I removed, then
> re-registered the .cgi through Webtop admin.  Have you tried this?
>
> Chris
>
> -----Original Message-----
> From: users-bounces at netcoolusers.org
> [mailto:users-bounces at netcoolusers.org] On Behalf Of Aanand_Pandey
> Sent: Friday, March 07, 2008 12:51 AM
> To: users at netcoolusers.org
> Subject: [INUG-Users] failed to execute CGI script when using
> 'useNet::Telnet' in the script
>
> Hello all
>
> I am unable to execute a cgi script as a tool in webtop  once I include
> the statement 'use Net::Telnet' in the script ..
>
> It says Failed to execute /cgi-bin/database.cgi contact your
> administrator , I need to telnet another server to run a command to
> issue a database query . which I am able  to do in perl script using
> Net/Telnet module
>
> Thanks
>
> Aanand
>
>
>
>
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use of
> the intended recipient/s and may contain material that is CONFIDENTIAL
> AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or
> copying or distribution or forwarding of any or all of the contents in
> this message is STRICTLY PROHIBITED. If you are not the intended
> recipient, please contact the sender by email and delete all copies;
> your cooperation in this regard is appreciated.
> _______________________________________________
> Sent by the netcoolusers.org "users" mailing list
> Post: users at netcoolusers.org
> Unsubscribe: users-unsubscribe at netcoolusers.org
> Search: http://lists.netcoolusers.org/archives/users/
>
> _______________________________________________
> Sent by the netcoolusers.org "users" mailing list
> Post: users at netcoolusers.org
> Unsubscribe: users-unsubscribe at netcoolusers.org
> Search: http://lists.netcoolusers.org/archives/users/
>
>
>
>
>
> DISCLAIMER:
> This email (including any attachments) is intended for the sole use   
> of the intended recipient/s and may contain material that is   
> CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance  
>  by others or copying or distribution or forwarding of any or all of  
>  the contents in this message is STRICTLY PROHIBITED. If you are not  
>  the intended recipient, please contact the sender by email and   
> delete all copies; your cooperation in this regard is appreciated.
>



-- 
John Clinton





More information about the Users mailing list