• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFEXECUTE on Solaris Not Working

Community Beginner ,
May 01, 2008 May 01, 2008

Copy link to clipboard

Copied

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>
TOPICS
Advanced techniques

Views

387

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , May 01, 2008 May 01, 2008
Looks like it is a path issue. I hate building new boxes.

Thanks for helping.

Votes

Translate

Translate
Mentor ,
May 01, 2008 May 01, 2008

Copy link to clipboard

Copied

Make sure that you don't forget case sensitivity since you are dealing with Unix.

Phil

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 01, 2008 May 01, 2008

Copy link to clipboard

Copied

proper case is being used

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 01, 2008 May 01, 2008

Copy link to clipboard

Copied

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" />

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 01, 2008 May 01, 2008

Copy link to clipboard

Copied

LATEST
Looks like it is a path issue. I hate building new boxes.

Thanks for helping.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation