• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Creation Utilities & Coldfusion help

P

pelfed

Guest
Hi All
I'm a relative newbie to Unix and am trying to execute a "mail.sh" command via CFEXECUTE

Here is an example of my coldfusion page:

<cfexecute name="/usr/local/psa/bin/mail.sh" timeout="100" arguments="-c [email protected] -cp_access true -redirect true -rediraddr someaddr@someaddr"></cfexecute>

I get the following error when I run this:

An exception occurred when invoking an external process.
The cause of this exception was that: java.io.IOException: java.io.IOException: /usr/local/psa/bin/mail.sh: not found.
 
Did you ever find a workaround for this? I get the same error. I believe the reason is because client.sh has root.root permissions. Do you have to run ColdFusion as root to access these utilities?
 
Back
Top