Skip to main content
Participant
August 29, 2014
Answered

Executing perl from Coldfusion 10

  • August 29, 2014
  • 1 reply
  • 468 views

I manage an application using CF9 on a Solaris server.  We're trying upgrade to CF10 but some of our perl scripts have stopped executing command line tasks.

Example from perl script:

     system("/apps/commonApps/distiller/Distiller/distill -compat 1.3 /apps/upload/sdg325453.ps");

The permissions for the distiller allow anyone to execute it.  I can execute this command directly or execute the perl script directly with no issue.  It's just when the perl is called from coldfusion that I have a problem.  I can't find any errors being recorded.  Does anyone here have thoughts on why this is happening?

    This topic has been closed for replies.
    Correct answer charedrive

    Found the answer.  The account running the coldfusion changed between 9 and 10.  The new account needed access to a hidden directory (.AcrobatDistiller) and an update to a few perl config files.

    1 reply

    charedriveAuthorCorrect answer
    Participant
    September 9, 2014

    Found the answer.  The account running the coldfusion changed between 9 and 10.  The new account needed access to a hidden directory (.AcrobatDistiller) and an update to a few perl config files.

    BKBK
    Community Expert
    Community Expert
    September 10, 2014

    Please, kindly mark it as correct answer. Thanks.