<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To: Setting Up Drupal File Framework On Ubuntu 8.10</title>
	<atom:link href="http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/feed" rel="self" type="application/rss+xml" />
	<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810</link>
	<description>The thoughts and works of Justin Hopkins.</description>
	<lastBuildDate>Mon, 12 Mar 2012 09:52:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Andrés Chandía</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-248</link>
		<dc:creator>Andrés Chandía</dc:creator>
		<pubDate>Mon, 12 Mar 2012 09:52:50 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-248</guid>
		<description>Hello everybody,
some time ago I have succesfully installed the File Framework following this instructions for Ubuntu 8.10. Now I need to set it again on Debian Squeeze.
And here is what I got:
System stuff
First things first, lets go ahead and get all the packages we need:

swftools http://www.swftools.org/download.html
asoundconf http://wiki.ubuntuusers.de/asoundconf

sudo pecl install Fileinfo
php -m &#124; grep fileinfo
fileinfo
fileinfo comes installed by default now!!!

openoffice-headless, I&#039;ve experiencing same problems like some of the people posting here, but I have found this start scrip, that works without problem, The only issue is that I don&#039;t know how to make the apache user be the one who starts it.

&lt;code&gt;
    #!/bin/bash
    # openoffice.org headless server script
    #
    # chkconfig: 2345 80 30
    # description: headless openoffice server script
    # processname: openoffice
    #
    # Author: Vic Vijayakumar
    # Modified by Federico Ch. Tomasczik
    #
    OOo_HOME=/usr/bin
    SOFFICE_PATH=$OOo_HOME/soffice
    PIDFILE=/var/run/openoffice-server.pid

    set -e

    case &quot;$1&quot; in
    start)
    if [ -f $PIDFILE ]; then
    echo &quot;OpenOffice headless server has already started.&quot;
    sleep 5
    exit
    fi
    echo &quot;Starting OpenOffice headless server&quot;
    $SOFFICE_PATH -headless -nologo -nofirststartwizard -accept=&quot;socket,host=127.0.0.1,port=8100;urp&quot; &amp; &gt; /dev/null 2&gt;&amp;1
    touch $PIDFILE
    ;;
    stop)
    if [ -f $PIDFILE ]; then
    echo &quot;Stopping OpenOffice headless server.&quot;
    killall -9 soffice &amp;&amp; killall -9 soffice.bin
    rm -f $PIDFILE
    exit
    fi
    echo &quot;Openoffice headless server is not running.&quot;
    exit
    ;;
    *)
    echo &quot;Usage: $0 {start&#124;stop}&quot;
    exit 1
    esac
    exit 0
&lt;/code&gt;

Well, I will continue anyway with the next stuffs, but if some of you know how to make apache user start the headless-openoffice, please shere it.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello everybody,<br />
some time ago I have succesfully installed the File Framework following this instructions for Ubuntu 8.10. Now I need to set it again on Debian Squeeze.<br />
And here is what I got:<br />
System stuff<br />
First things first, lets go ahead and get all the packages we need:</p>
<p>swftools <a href="http://www.swftools.org/download.html" rel="nofollow">http://www.swftools.org/download.html</a><br />
asoundconf <a href="http://wiki.ubuntuusers.de/asoundconf" rel="nofollow">http://wiki.ubuntuusers.de/asoundconf</a></p>
<p>sudo pecl install Fileinfo<br />
php -m | grep fileinfo<br />
fileinfo<br />
fileinfo comes installed by default now!!!</p>
<p>openoffice-headless, I&#8217;ve experiencing same problems like some of the people posting here, but I have found this start scrip, that works without problem, The only issue is that I don&#8217;t know how to make the apache user be the one who starts it.</p>
<p><pre><code>
&nbsp;&nbsp;&nbsp;&nbsp;#!/bin/bash
&nbsp;&nbsp;&nbsp;&nbsp;# openoffice.org headless server script
&nbsp;&nbsp;&nbsp;&nbsp;#
&nbsp;&nbsp;&nbsp;&nbsp;# chkconfig: 2345 80 30
&nbsp;&nbsp;&nbsp;&nbsp;# description: headless openoffice server script
&nbsp;&nbsp;&nbsp;&nbsp;# processname: openoffice
&nbsp;&nbsp;&nbsp;&nbsp;#
&nbsp;&nbsp;&nbsp;&nbsp;# Author: Vic Vijayakumar
&nbsp;&nbsp;&nbsp;&nbsp;# Modified by Federico Ch. Tomasczik
&nbsp;&nbsp;&nbsp;&nbsp;#
&nbsp;&nbsp;&nbsp;&nbsp;OOo_HOME=/usr/bin
&nbsp;&nbsp;&nbsp;&nbsp;SOFFICE_PATH=$OOo_HOME/soffice
&nbsp;&nbsp;&nbsp;&nbsp;PIDFILE=/var/run/openoffice-server.pid

&nbsp;&nbsp;&nbsp;&nbsp;set -e

&nbsp;&nbsp;&nbsp;&nbsp;case &quot;$1&quot; in
&nbsp;&nbsp;&nbsp;&nbsp;start)
&nbsp;&nbsp;&nbsp;&nbsp;if [ -f $PIDFILE ]; then
&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;OpenOffice headless server has already started.&quot;
&nbsp;&nbsp;&nbsp;&nbsp;sleep 5
&nbsp;&nbsp;&nbsp;&nbsp;exit
&nbsp;&nbsp;&nbsp;&nbsp;fi
&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;Starting OpenOffice headless server&quot;
&nbsp;&nbsp;&nbsp;&nbsp;$SOFFICE_PATH -headless -nologo -nofirststartwizard -accept=&quot;socket,host=127.0.0.1,port=8100;urp&quot; &amp; &gt; /dev/null 2&gt;&amp;1
&nbsp;&nbsp;&nbsp;&nbsp;touch $PIDFILE
&nbsp;&nbsp;&nbsp;&nbsp;;;
&nbsp;&nbsp;&nbsp;&nbsp;stop)
&nbsp;&nbsp;&nbsp;&nbsp;if [ -f $PIDFILE ]; then
&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;Stopping OpenOffice headless server.&quot;
&nbsp;&nbsp;&nbsp;&nbsp;killall -9 soffice &amp;&amp; killall -9 soffice.bin
&nbsp;&nbsp;&nbsp;&nbsp;rm -f $PIDFILE
&nbsp;&nbsp;&nbsp;&nbsp;exit
&nbsp;&nbsp;&nbsp;&nbsp;fi
&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;Openoffice headless server is not running.&quot;
&nbsp;&nbsp;&nbsp;&nbsp;exit
&nbsp;&nbsp;&nbsp;&nbsp;;;
&nbsp;&nbsp;&nbsp;&nbsp;*)
&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;Usage: $0 {start|stop}&quot;
&nbsp;&nbsp;&nbsp;&nbsp;exit 1
&nbsp;&nbsp;&nbsp;&nbsp;esac
&nbsp;&nbsp;&nbsp;&nbsp;exit 0
</code></pre></p>
<p>Well, I will continue anyway with the next stuffs, but if some of you know how to make apache user start the headless-openoffice, please shere it.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oliver</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-242</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Thu, 03 Nov 2011 04:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-242</guid>
		<description>I was also getting errors similar to

[Java framework] Error in function createSettingsDocument (elements.cxx).
javaldx failed!

but slightly different because I&#039;m using libreoffice:

I/O error : Permission denied
I/O error : Permission denied
[Java framework] Error in function NodeJava::writeSettings (elements.cxx).
javaldx failed!

One solution (which I haven&#039;t tested for this particular command but have used successfully for similar commands), is to prefix the command with &quot;HOME=/tmp&quot;, eg:

HOME=/tmp /usr/bin/soffice -headless -accept=&quot;socket,host=127.0.0.1,port=8100;urp&quot; -nofirststartwizard &amp;

This will set the home directory to /tmp for the command, which the web user should have write access to.

Another hot tip: google for the &quot;libreoffice -convert-to&quot; option for a simpler alternative to running (open&#124;libre)office as a service for document conversion.</description>
		<content:encoded><![CDATA[<p>I was also getting errors similar to</p>
<p>[Java framework] Error in function createSettingsDocument (elements.cxx).<br />
javaldx failed!</p>
<p>but slightly different because I&#8217;m using libreoffice:</p>
<p>I/O error : Permission denied<br />
I/O error : Permission denied<br />
[Java framework] Error in function NodeJava::writeSettings (elements.cxx).<br />
javaldx failed!</p>
<p>One solution (which I haven&#8217;t tested for this particular command but have used successfully for similar commands), is to prefix the command with &#8220;HOME=/tmp&#8221;, eg:</p>
<p><span class="caps">HOME</span>=/tmp /usr/bin/soffice -headless -accept=&#8221;socket,host=127.0.0.1,port=8100;urp&#8221; -nofirststartwizard &amp;</p>
<p>This will set the home directory to /tmp for the command, which the web user should have write access to.</p>
<p>Another hot tip: google for the &#8220;libreoffice -convert-to&#8221; option for a simpler alternative to running (open|libre)office as a service for document conversion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChrisW</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-241</link>
		<dc:creator>ChrisW</dc:creator>
		<pubDate>Sun, 18 Sep 2011 01:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-241</guid>
		<description>Is the module WebDAV the way to go now to add WebDAV to Drupal?   It looks like it has all the components required?

 I will note that this module is also way old.  http://drupal.org/project/webdav</description>
		<content:encoded><![CDATA[<p>Is the module WebDAV the way to go now to add WebDAV to Drupal?&#8195; It looks like it has all the components required?</p>
<p> I will note that this module is also way old.&#8195;<a href="http://drupal.org/project/webdav" rel="nofollow">http://drupal.org/project/webdav</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ChrisW</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-239</link>
		<dc:creator>ChrisW</dc:creator>
		<pubDate>Wed, 14 Sep 2011 03:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-239</guid>
		<description>So I am giving this a try on 10.04 Ubuntu server.
I have run into a few things.


Open Office installs into a different place now with the package. (see update below).

I have the same error:
[Java framework] Error in function createSettingsDocument (elements.cxx).
javaldx failed!

I have no user folder for www-data to add .openoffice.org into it.
I can start OO with the command line of another user and with root.
I tried creating a user folder www-data with the permissions of www-data and a folder .openoffice.org with the same www-data permissions.
Still no go for me.




#!/bin/bash
#
# description: Open Office Service
#

export WEBUSER=www-data
export PATH=$PATH
export LANG=en_US.UTF-8

start() {
echo -n &quot;Starting OpenOffice service: &quot;
sudo -u $WEBUSER /usr/bin/soffice  -headless  -accept=&quot;socket,host=127.0.0.1,port=8100;urp&quot; -nofirststartwizard &amp;
echo &quot;OpenOffice Started&quot;</description>
		<content:encoded><![CDATA[<p>So I am giving this a try on 10.04 Ubuntu server.<br />
I have run into a few things.</p>
<p>Open Office installs into a different place now with the package. (see update below).</p>
<p>I have the same error:<br />
[Java framework] Error in function createSettingsDocument (elements.cxx).<br />
javaldx failed!</p>
<p>I have no user folder for www-data to add .openoffice.org into it.<br />
I can start OO with the command line of another user and with root.<br />
I tried creating a user folder www-data with the permissions of www-data and a folder .openoffice.org with the same www-data permissions.<br />
Still no go for me.</p>
<p>#!/bin/bash<br />
#<br />
# description: Open Office Service<br />
#</p>
<p>export <span class="caps">WEBUSER</span>=www-data<br />
export <span class="caps">PATH</span>=$PATH<br />
export <span class="caps">LANG</span>=en_US.UTF-8</p>
<p>start() {<br />
echo -n &#8220;Starting OpenOffice service: &#8220;<br />
sudo -u $WEBUSER /usr/bin/soffice&#8195;-headless&#8195;-accept=&#8221;socket,host=127.0.0.1,port=8100;urp&#8221; -nofirststartwizard &amp;<br />
echo &#8220;OpenOffice Started&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kesh</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-236</link>
		<dc:creator>Kesh</dc:creator>
		<pubDate>Thu, 12 May 2011 03:36:05 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-236</guid>
		<description>Hi dave k,

This issue you can fix by creating folder .openoffice.org in yur user home directory (user who runs openoffice).</description>
		<content:encoded><![CDATA[<p>Hi dave k,</p>
<p>This issue you can fix by creating folder .openoffice.org in yur user home directory (user who runs openoffice).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave k</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-230</link>
		<dc:creator>dave k</dc:creator>
		<pubDate>Mon, 04 Oct 2010 21:47:33 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-230</guid>
		<description>Hi Justin,

thanks for the walkthrough,  the fileframework integration is indeed tricky (i lost my taxonomy).  however, I have a separate question; when starting up the webservice I am getting an error:

[Java framework] Error in function createSettingsDocument (elements.cxx).
javaldx failed!


this seems to be a headless run error.  any ideas?

thanks
dave</description>
		<content:encoded><![CDATA[<p>Hi Justin,</p>
<p>thanks for the walkthrough,&#8195;the fileframework integration is indeed tricky (i lost my taxonomy).&#8195;however, I have a separate question; when starting up the webservice I am getting an error:</p>
<p>[Java framework] Error in function createSettingsDocument (elements.cxx).<br />
javaldx failed!</p>
<p>this seems to be a headless run error.&#8195;any ideas?</p>
<p>thanks<br />
dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2010-08-29 &#171; BVLog</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-222</link>
		<dc:creator>links for 2010-08-29 &#171; BVLog</dc:creator>
		<pubDate>Mon, 30 Aug 2010 04:01:20 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-222</guid>
		<description>[...] How To: Setting Up Drupal File Framework On Ubuntu 8.10 HOWTO set up the Drupal File Framework document management module suite under Ubuntu. (tags: drupal howto ubuntu reference linux documentimaging)    Filed under: del.icio.us Leave a comment     Comments (0) Trackbacks (0) ( subscribe to comments on this post ) [...]</description>
		<content:encoded><![CDATA[<p>[...] How To: Setting Up Drupal File Framework On Ubuntu 8.10 <span class="caps">HOWTO </span>set up the Drupal File Framework document management module suite under Ubuntu. (tags: drupal howto ubuntu reference linux documentimaging)&#8195;  Filed under: del.icio.us Leave a comment&#8195;   Comments (0) Trackbacks (0) ( subscribe to comments on this post ) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean Vieille</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-217</link>
		<dc:creator>Jean Vieille</dc:creator>
		<pubDate>Sat, 14 Aug 2010 05:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-217</guid>
		<description>I have a problem with my OpenOffice 2.4 install for serving my Drupal FF conversions.
After a few days, it starts sucking the CPU power. It is currently at the top of the running processes taking 57% load of an 8*2.8 GHz machine... with 5-10% more every day.
Last week, it was eating the memory taking a good share of the 12 GB Ram
I have to reboot the machine every week to keep this in control. 
Any idea?

I think about trying to install Ooo 3.2, just uninstall - and resinstall appropriately? Any impact on the script?</description>
		<content:encoded><![CDATA[<p>I have a problem with my OpenOffice 2.4 install for serving my Drupal FF conversions.<br />
After a few days, it starts sucking the <span class="caps">CPU </span>power. It is currently at the top of the running processes taking 57% load of an 8*2.8 GHz machine&#8230; with 5-10% more every day.<br />
Last week, it was eating the memory taking a good share of the 12 GB Ram<br />
I have to reboot the machine every week to keep this in control. <br />
Any idea?</p>
<p>I think about trying to install Ooo 3.2, just uninstall &#8211; and resinstall appropriately? Any impact on the script?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean Vieille</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-216</link>
		<dc:creator>Jean Vieille</dc:creator>
		<pubDate>Sat, 14 Aug 2010 05:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-216</guid>
		<description>My previous post was about installing on Debian (Lenny) that needs to explicitly activate the automatic start at boot. It is the same for Ubuntu I guess. If you don&#039;t do that, OpenOffice will probably don&#039;t run at the next reboot.</description>
		<content:encoded><![CDATA[<p>My previous post was about installing on Debian (Lenny) that needs to explicitly activate the automatic start at boot. It is the same for Ubuntu I guess. If you don&#8217;t do that, OpenOffice will probably don&#8217;t run at the next reboot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-215</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Thu, 05 Aug 2010 00:16:23 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-215</guid>
		<description>If you read through the comments you&#039;ll find a number of people who have likely implemented this. It&#039;s not a typical public facing service (imho), so you might have trouble actually *seeing* it live.</description>
		<content:encoded><![CDATA[<p>If you read through the comments you&#8217;ll find a number of people who have likely implemented this. It&#8217;s not a typical public facing service (imho), so you might have trouble actually <strong>seeing</strong> it live.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-214</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Thu, 05 Aug 2010 00:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-214</guid>
		<description>Are you suggesting I add this to the init script? If so, where exactly? My script doesn&#039;t use it, so can you also tell me what OS and version you&#039;re using as well as OpenOffice version?</description>
		<content:encoded><![CDATA[<p>Are you suggesting I add this to the init script? If so, where exactly? My script doesn&#8217;t use it, so can you also tell me what OS and version you&#8217;re using as well as OpenOffice version?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean Vieille</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-213</link>
		<dc:creator>Jean Vieille</dc:creator>
		<pubDate>Wed, 04 Aug 2010 07:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-213</guid>
		<description>Thanks for this great tuto
Please add in Run &quot;OpenOffice as a service:
update-rc openoffice.rc defaults</description>
		<content:encoded><![CDATA[<p>Thanks for this great tuto<br />
Please add in Run &#8220;OpenOffice as a service:<br />
update-rc openoffice.rc defaults</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-206</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 18 Jun 2010 01:16:23 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-206</guid>
		<description>Are there any demo sites for this particular combination of modules? I&#039;d love to see a professional grade demo. Thanks</description>
		<content:encoded><![CDATA[<p>Are there any demo sites for this particular combination of modules? I&#8217;d love to see a professional grade demo. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-175</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Mon, 17 May 2010 13:27:44 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-175</guid>
		<description>Thanks for the tips! I&#039;ll add them to the post - but obviously it&#039;s starting to get way out of date now. Sad face. Truth is, I&#039;ve turned off the file conversion parts of this on the site it was implemented on.</description>
		<content:encoded><![CDATA[<p>Thanks for the tips! I&#8217;ll add them to the post &#8211; but obviously it&#8217;s starting to get way out of date now. Sad face. Truth is, I&#8217;ve turned off the file conversion parts of this on the site it was implemented on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wouter</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-172</link>
		<dc:creator>Wouter</dc:creator>
		<pubDate>Mon, 17 May 2010 10:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-172</guid>
		<description>I am busy trying to get this all to work on 10.4 and my first snag was the permission part of running the openoffice daemon.
Well I think the man page of sudo in the end helped me:
-H          The -H (HOME) option sets the HOME environment variable to the homedir of the target user (root by default) as specified in passwd(5).  By default,
                   sudo does not modify HOME (see set_home and always_set_home in sudoers(5)).

And I am not done here and have not everything running yet but it might also explain why the process was trying to write to /root/tmp/, and it solved the openoffice start problem.

and on a side note .... 
sudo pear install HTTP_WebDAV_Server
works just as well and you don&#039;t have to worry about the version(not that it is maintained)

swftool for some reason cannot be installed with apt-get today??? the package does exist on the ubuntu website but apt-get and aptitude do not find it.

And the last one for now JODConverter is now a package so you can install it trough apt-get.
Thnx for the writeup and keeping up with the comments ;)</description>
		<content:encoded><![CDATA[<p>I am busy trying to get this all to work on 10.4 and my first snag was the permission part of running the openoffice daemon.<br />
Well I think the man page of sudo in the end helped me:<br />
-H&#8195;        The -H (HOME) option sets the <span class="caps">HOME </span>environment variable to the homedir of the target user (root by default) as specified in passwd(5).&#8195;By default,<br />
                   sudo does not modify <span class="caps">HOME </span>(see set_home and always_set_home in sudoers(5)).</p>
<p>And I am not done here and have not everything running yet but it might also explain why the process was trying to write to /root/tmp/, and it solved the openoffice start problem.</p>
<p>and on a side note &#8230;. <br />
sudo pear install <span class="caps">HTTP</span>_WebDAV_Server<br />
works just as well and you don&#8217;t have to worry about the version(not that it is maintained)</p>
<p>swftool for some reason cannot be installed with apt-get today??? the package does exist on the ubuntu website but apt-get and aptitude do not find it.</p>
<p>And the last one for now <span class="caps">JODC</span>onverter is now a package so you can install it trough apt-get.<br />
Thnx for the writeup and keeping up with the comments ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Hopkins</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-152</link>
		<dc:creator>Justin Hopkins</dc:creator>
		<pubDate>Sat, 20 Feb 2010 02:11:07 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-152</guid>
		<description>@drewbe,

So are you saying that you edited the script to read

su &#8211; $WEBUSER -c &#8220;/opt/openoffice.org3/program/soffice -headless -accept=&#8221;socket,host=127.0.0.1,port=8100;urp&#8221; -nofirststartwizard &amp;&#8221;

p.s. I used &lt;a href=&quot;http://www.characterencoder.com/&quot; rel=&quot;nofollow&quot;&gt;this tool&lt;/a&gt; to convert that last string into html entities. I don&#039;t know why my comments aren&#039;t UTF-8, but it&#039;s freaking annoying...

Why don&#039;t you post the script you have, the command (and user) you are using to invoke the script, and any output?

The anser to your last question about it being accessed by a web app really just requires that OOo and JODconverter be started as the apache user. Running JODConverter and OOo as any user will &quot;work&quot;, but if your intent is for Drupal to have access to the files after they are created, they will need to be owned by the apache user.</description>
		<content:encoded><![CDATA[<p>@drewbe,</p>
<p>So are you saying that you edited the script to read</p>
<p>su &ndash; $WEBUSER -c &ldquo;/opt/openoffice.org3/program/soffice -headless -accept=&rdquo;socket,host=127.0.0.1,port=8100;urp&rdquo; -nofirststartwizard &amp;&rdquo;</p>
<p>p.s. I used <a href="http://www.characterencoder.com/" rel="nofollow">this tool</a> to convert that last string into html entities. I don&#8217;t know why my comments aren&#8217;t <span class="caps">UTF</span>-8, but it&#8217;s freaking annoying&#8230;</p>
<p>Why don&#8217;t you post the script you have, the command (and user) you are using to invoke the script, and any output?</p>
<p>The anser to your last question about it being accessed by a web app really just requires that OOo and <span class="caps">JOD</span>converter be started as the apache user. Running <span class="caps">JODC</span>onverter and OOo as any user will &#8220;work&#8221;, but if your intent is for Drupal to have access to the files after they are created, they will need to be owned by the apache user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drewbe</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-151</link>
		<dc:creator>drewbe</dc:creator>
		<pubDate>Sat, 20 Feb 2010 01:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-151</guid>
		<description>Justin,

thank you for this great explanation.
I haven&#039;t started the drupal integration, I&#039;ve been stuck trying to get openoffice to run as a headless service...

My problem is related to Daves (from May 2009)

JODconverter and OOo3.2 work great together, as long as I start &quot;soffice&quot; manually:

sudo  /opt/openoffice.org3/program/soffice -headless -accept=”socket,host=127.0.0.1,port=8100;urp” -nofirststartwizard &amp;

and run JODconverter from commandline.

so I created a script per your instructions:

and ran the script from 
sudo /etc/init.d/soffice-service start

but get the following error:
creation of executable memory area failed: Permission denied

I tried the suggestion you made in reply to Dave.
but got a number of other errors.

can you offer any more insight into how to run openoffice as a service to be accessed by a web app?
how to structure the permissions? maybe..
I&#039;ve really been all over the place trying to solve this, or I wouldn&#039;t bother you.
but based on your post and your comments, I&#039;m hoping you have a quick solutions..

thanks
drew

I&#039;m running Ubuntu Hardy LTS
oo3.2</description>
		<content:encoded><![CDATA[<p>Justin,</p>
<p>thank you for this great explanation.<br />
I haven&#8217;t started the drupal integration, I&#8217;ve been stuck trying to get openoffice to run as a headless service&#8230;</p>
<p>My problem is related to Daves (from May 2009)</p>
<p><span class="caps">JOD</span>converter and OOo3.2 work great together, as long as I start &#8220;soffice&#8221; manually:</p>
<p>sudo&#8195;/opt/openoffice.org3/program/soffice -headless -accept=&acirc;socket,host=127.0.0.1,port=8100;urp&acirc; -nofirststartwizard &amp;</p>
<p>and run <span class="caps">JOD</span>converter from commandline.</p>
<p>so I created a script per your instructions:</p>
<p>and ran the script from <br />
sudo /etc/init.d/soffice-service start</p>
<p>but get the following error:<br />
creation of executable memory area failed: Permission denied</p>
<p>I tried the suggestion you made in reply to Dave.<br />
but got a number of other errors.</p>
<p>can you offer any more insight into how to run openoffice as a service to be accessed by a web app?<br />
how to structure the permissions? maybe..<br />
I&#8217;ve really been all over the place trying to solve this, or I wouldn&#8217;t bother you.<br />
but based on your post and your comments, I&#8217;m hoping you have a quick solutions..</p>
<p>thanks<br />
drew</p>
<p>I&#8217;m running Ubuntu Hardy <span class="caps">LTS</span><br />
oo3.2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-147</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Fri, 05 Feb 2010 16:29:37 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-147</guid>
		<description>Yes, this looks great! Congrats on getting it going.</description>
		<content:encoded><![CDATA[<p>Yes, this looks great! Congrats on getting it going.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-146</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Fri, 05 Feb 2010 16:25:13 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-146</guid>
		<description>Right, are you talking about Solr? If so I can&#039;t say from personal experience, but in general Solr has a great reputation.</description>
		<content:encoded><![CDATA[<p>Right, are you talking about Solr? If so I can&#8217;t say from personal experience, but in general Solr has a great reputation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrés</title>
		<link>http://justin-hopkins.com/blog/2008/12/02/how-to-setting-up-drupal-file-framework-on-ubuntu-810/comment-page-1#comment-143</link>
		<dc:creator>Andrés</dc:creator>
		<pubDate>Fri, 29 Jan 2010 09:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://justin-hopkins.com/blog/?p=101#comment-143</guid>
		<description>Another question.
Would you recommend the sorl installation?</description>
		<content:encoded><![CDATA[<p>Another question.<br />
Would you recommend the sorl installation?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

