Stick
the

outputFile = "Output file name"
timeout = "Timeout interval">

parameters in to get the returned error or whatever

Without the timeout param it won't wait for the program to return, just
spawn a process and return.

To check if its permissions, log in as the cfserver user, and try to execute
it yourself.

Justin


> -----Original Message-----
> From: Dave Wilson [mailto:[EMAIL PROTECTED]]
> Sent: 18 December 2002 12:02
> To: CF-Linux
> Subject: Strange cfexecute problem
>
>
> Hi all,
>
> Running CFMX on Redhat 7.2, apache 1.3.x as per Macromedia
> recommendations.
>
> I've a rather confusing problem concerning cfexecute and
> htmldoc.exe, a pdf
> generating tool [1]. I'm using original codebase which worked perfectly on
> my old windows configuration and simply modified the relevant paths to the
> linux filesystem. I thought maybe it might be a permissions issue whereby
> user apache doesnt have permissions to execute htmldoc, however I ran a
> dummy test on netstat which behaved in exactly the same manner.
>
> The templates concerned are being returned without error and no errors are
> showing up in any of the logs. The name and argument attributes have been
> checked and double checked to be correct and manually submitting
> the command
> and arguments on the machine as root user works perfectly, thus
> I'm thinking
> it may be a permissions problem with the apache user whom I
> believe is also
> the cfmx user(?!?) If so, how do I configure apache user with
> permissions to
> execute? Bear in mind I've already tried a chmod 777 on the htmldoc.exe
> file.
>
> The following is a short sample of my code for trying netstat.exe
>
> <cfset parameters="-lpn">
> <cfexecute name="/bin/netstat" arguments="#parameters#"></cfexecute>
>
> TIA,
> Dave
>
> [1] HTMLDoc info can be found at
http://www.easysw.com/htmldoc/htmldoc.html



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=14
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=14
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14

Reply via email to