Solved

Perl-CGI Ping, RSH, RCP, REXEC Problem

Posted on 1998-05-28
2
578 Views
Last Modified: 2012-06-22
I am writing a PERL script that utilizes Ping and Remote Shell and REXEC.  When I run the script from a command line it runs perfect.   However when I call the script from a web page as a CGI script, the script just hangs when trying to execute one of these remote procedures.  I have tried this on both a Linux Apache server and a Windows 95 Personal Web Server, both with the same results.  Please Help Me.
0
Comment
Question by:monkey13
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1206628
Have you tried full pathnames for your commands?
0
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 1206629
Who is your script running as when you do it from the CGI script?  My suspicion here is that it's a non-priviledged account (like nobody) and something you are trying to do is not permitted.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question