Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell Script runs locally but not from web page

Status
Not open for further replies.

Hondy

Technical User
Mar 3, 2003
864
GB
Hi again

I'm almost done with my little exercise but I'm stuck at the final hurdle.

I can run my .sh scripts from a console window on the server, and my web page that links to the script appears to run it but some parts of the script aren't carried out.

The script uses telnet to reboot a router but this doesn't work from the browser, only from the server console. How can I debug this or what is likely to be the cause of the problem?

Thanks again

Hondy
 
sorry, forget that I fixed it, who would have thought logs could be so useful ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top