<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alfresco 3.2 as a Unix Daemon in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221101#M174231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solution is in &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-8316" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-8316&lt;/A&gt;&lt;SPAN&gt; . This is caused by &lt;/SPAN&gt;&lt;A href="https://issues.apache.org/jira/browse/XMLCOMMONS-28" rel="nofollow noopener noreferrer"&gt;https://issues.apache.org/jira/browse/XMLCOMMONS-28&lt;/A&gt;&lt;SPAN&gt; . Your script must cd to a writeable directory other than / before running alfresco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2011 14:24:14 GMT</pubDate>
    <dc:creator>dward</dc:creator>
    <dc:date>2011-04-26T14:24:14Z</dc:date>
    <item>
      <title>Alfresco 3.2 as a Unix Daemon</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221094#M174224</link>
      <description>Hi there,I can't have Alfresco 3.2 CE running properly as a Unix Daemon under RHEL 5. I followed the steps to build the jsvc tool as described here : http://tomcat.apache.org/tomcat-6.0-doc/setup.html#Unix%20daemon .I've created the following script that I correctly register using chkconfig shell co</description>
      <pubDate>Wed, 05 Aug 2009 19:29:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221094#M174224</guid>
      <dc:creator>garcimouche</dc:creator>
      <dc:date>2009-08-05T19:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 3.2 as a Unix Daemon</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221095#M174225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cifs and FTP use ports below 1024.&amp;nbsp; in RHEL these are privileged ports and non-root users cant touch them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;however, you can configure your firewall for portforwarding&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the alfresco-global.properties file you will need something like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;cifs.enabled=true&lt;BR /&gt;cifs.Server.Name=server&lt;BR /&gt;cifs.domain=DOMAIN&lt;BR /&gt;cifs.hostanounce=true&lt;BR /&gt;&lt;BR /&gt;cifs.broadcast=0.0.0.0&lt;BR /&gt;cifs.tcpipSMB.port=1445&lt;BR /&gt;cifs.ipv6.enabled=false&lt;BR /&gt;cifs.netBIOSSMB.namePort=1137&lt;BR /&gt;cifs.netBIOSSMB.datagramPort=1138&lt;BR /&gt;cifs.netBIOSSMB.sessionPort=1139&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;and to configure the firewall…. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;iptables -I INPUT -p tcp –dport 445 -j ACCEPT&lt;BR /&gt;iptables -I INPUT -p tcp –dport 139 -j ACCEPT&lt;BR /&gt;iptables -I INPUT -p udp –dport 137 -j ACCEPT&lt;BR /&gt;iptables -I INPUT -p udp –dport 138 -j ACCEPT&lt;BR /&gt;iptables -I INPUT -p tcp –dport 1445 -j ACCEPT&lt;BR /&gt;iptables -I INPUT -p tcp –dport 1139 -j ACCEPT&lt;BR /&gt;iptables -I INPUT -p udp –dport 1137 -j ACCEPT&lt;BR /&gt;iptables -I INPUT -p udp –dport 1138 -j ACCEPT&lt;BR /&gt;&lt;BR /&gt;iptables -t nat -A PREROUTING -p tcp –dport 445 -j REDIRECT –to-ports 1445&lt;BR /&gt;iptables -t nat -A PREROUTING -p tcp –dport 139 -j REDIRECT –to-ports 1139&lt;BR /&gt;iptables -t nat -A PREROUTING -p udp –dport 137 -j REDIRECT –to-ports 1137&lt;BR /&gt;iptables -t nat -A PREROUTING -p udp –dport 138 -j REDIRECT –to-ports 1138&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;these changes will not persist a reboot….so when you have it working type "service iptables save"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2009 19:36:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221095#M174225</guid>
      <dc:creator>ofrxnz</dc:creator>
      <dc:date>2009-08-05T19:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 3.2 as a Unix Daemon</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221096#M174226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the response, it's working like this&amp;nbsp; &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt; . However I still don't understand why I cannot bind to privilege ports when I'm running the service as root (jsvc -user root)??? :?:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 13:10:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221096#M174226</guid>
      <dc:creator>garcimouche</dc:creator>
      <dc:date>2009-08-06T13:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 3.2 as a Unix Daemon</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221097#M174227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you start alfresco with the script, which user owns the "java" process with tons of ram? or if yours isnt called java, who owns it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sorry if you know this but…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i usually find this with the "top" comand and use "shift" and "&amp;gt;" or "shift" and "&amp;lt;" to change the sort&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Adam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 13:34:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221097#M174227</guid>
      <dc:creator>ofrxnz</dc:creator>
      <dc:date>2009-08-06T13:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 3.2 as a Unix Daemon</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221098#M174228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;root&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 14:34:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221098#M174228</guid>
      <dc:creator>garcimouche</dc:creator>
      <dc:date>2009-08-06T14:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 3.2 as a Unix Daemon</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221099#M174229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;no idea why it wont let you touch ports &amp;lt;1024…..maybe there is some sort of SElinux or other security measure in place that recognizes its a daemon…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thing could be some other service already has those ports….do you have some sort of file server running on the server?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 14:43:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221099#M174229</guid>
      <dc:creator>ofrxnz</dc:creator>
      <dc:date>2009-08-06T14:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 3.2 as a Unix Daemon</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221100#M174230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I notice that there hasn't really been any resolution to this problem.&amp;nbsp; I run into what appears to be the exact same issue on Alfresco Community Edition, ver 3.4 when attempting to run as a service under Red Hat (Fedora, actually), as root using the standard "# service alfresco start" command – even with SELinux disabled.&amp;nbsp; However, I do not receive this error (i.e. works OK) if I start the application via the old "# /opt/alfresco/aslfresco.sh start" command.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 19:26:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221100#M174230</guid>
      <dc:creator>echooooo</dc:creator>
      <dc:date>2011-03-22T19:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 3.2 as a Unix Daemon</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221101#M174231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solution is in &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-8316" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-8316&lt;/A&gt;&lt;SPAN&gt; . This is caused by &lt;/SPAN&gt;&lt;A href="https://issues.apache.org/jira/browse/XMLCOMMONS-28" rel="nofollow noopener noreferrer"&gt;https://issues.apache.org/jira/browse/XMLCOMMONS-28&lt;/A&gt;&lt;SPAN&gt; . Your script must cd to a writeable directory other than / before running alfresco.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 14:24:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221101#M174231</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2011-04-26T14:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 3.2 as a Unix Daemon</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221102#M174232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For those of us (i.e. me) who need it spelled out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit the alfresco startup script (mine is /etc/init.d/alfresco ). Specifically, in the start() section, do something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cd /opt/Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rm tomcat/temp/catalina.pid&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;./alfresco.sh start "$2"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2012 21:37:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-3-2-as-a-unix-daemon/m-p/221102#M174232</guid>
      <dc:creator>scottcarson</dc:creator>
      <dc:date>2012-12-01T21:37:15Z</dc:date>
    </item>
  </channel>
</rss>

