Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / May 2008



Tip: Looking for answers? Try searching our database.

CFEXECUTE on Solaris Not Working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gburgmalbert - 01 May 2008 16:34 GMT
I'm trying to get a simple perl script to run via CFEXECUTE on a Unix box
running CFMX 7.02 and have not been successful. I have spent considerable time
searching and have not found a working solution.

I have full control of the box and it's in a development environment behind a
firewall. I've set permissions wide-open, moved the file, etc. and have not
been able to get the cfexecute to work. The output file is blank. The file
works on our CF5 instance (also unix).
Any help would be appreciated.

This is a simple perl script that simply inserts a record in an Oracle
database - and works fine from the command line as the user the runs CF on the
box. This is a basic test script I wrote to debug this issue.

Here is the command:
<CFEXECUTE name="/disk1/cnav0/bin/it_tools/test_script.pl"
outputfile="/tmp/test_script.txt"
timeout="30">
</CFEXECUTE>

I have tried:
<CFEXECUTE
name="/usr/local/bin/perl"
arguments="/disk1/cnav0/bin/it_tools/test_script.pl"
outputfile="/tmp/test_script.txt"
timeout="30">
</CFEXECUTE>
paross1 - 01 May 2008 17:15 GMT
Make sure that you don't forget [b]case sensitivity[/b] since you are dealing with Unix.

Phil
gburgmalbert - 01 May 2008 18:09 GMT
proper case is being used
Kronin555 - 01 May 2008 18:40 GMT
Has cfexecute on the CFMX 7.02 box been disabled? Can you do a real basic cfexecute, like:

<cfexecute name="echo" arguments="foo" outputfile="/tmp/testoutput.txt" timeout="30" />
gburgmalbert - 01 May 2008 19:21 GMT
Looks like it is a path issue. I hate building new boxes.

Thanks for helping.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.