Please ignore - now fixed.
For the record, /opt/jrun4/servers/cfusion/SERVER-INF/temp was owned by
root (probably because the first time I ran cf did so as root).
Andrew.
On Fri, 19 Mar 2010 16:06:35 +1200, Andrew Myers <[email protected]> wrote:
Hi,
I'm trying to get Verity working with CF9 on a ubuntu box. I installed
CF9 in a multi-server install and have started verity via the script
located at /opt/jrun4/verity/bin/cfsearch.
Then I was able to successfully create a collection with the
cfcollection tag:
<cfcollection
action = "create"
collection = "master"
language="english"
path = "/opt/jrun4/verity/collections" >
However when I then try and use <cfindex>, it bombs out with a
"Permission denied' error with no further information.
The cfindex code looks liket his:
<cfindex
collection="master"
title="title"
action="update"
type="custom"
body="body"
query="news"
key="news_id"
custom1 = "publish_date"
urlpath="url">
And the error spit out from CF this:
The following information is meant for the website developer for
debugging purposes.
Error Occurred While Processing Request
Permission denied
The error occurred in /var/www/search/update_news.cfm: line 53
51 : key="news_id"
52 : custom1 = "publish_date"
53 : urlpath="url">
54 :
55 : <p>....done</p>
Turning on debugging gives me the similarly useless:
15:45:35.035 - java.io.IOException - in /var/www/search/update_news.cfm
: line 53
Permission denied
The exception log is a bit more useful:
"Error","jrpp-41","03/19/10","15:45:35",,"Permission denied The specific
sequence of files included or processed is:
/var/www/search/update_news.cfm, line: 53 "
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(Unknown Source)
at java.io.File.createTempFile(Unknown Source)
at
coldfusion.tagext.search.IndexTag.doQueryUpdate(IndexTag.java:1468)
at
coldfusion.tagext.search.IndexTag.doStartTag(IndexTag.java:254)
at
coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
/opt/jrun4/verity/collections (and everything under it) is owned by the
user that is running coldfusion and verity, so I'm not really sure what
could be wrong.
Has anyone got any ideas what I could try next?
Best regards,
Andrew.
P.S. Just as I'd finished typing this I had a though - in the stack
trace is the java.io.createTempFile(...) call. Is it possible that it
can't write to the temporary directory? Is there any way I can find out
what directory that would be?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
--
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.