<?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 out of memory, and other errors on ubuntu in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192770#M145900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I managed to install Alfresco according to the documentation at these urls:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_7.10" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_7.10&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_8.04" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_8.04&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran the init script, and saw it do the setup. I also see the mysql tables it created. However, I'm getting various errors. Attaching logs, minus (what looks to me like) stack traces:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tue Nov&amp;nbsp; 4 16:50:13 EST 2008 Starting Alfresco …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:07,338 INFO&amp;nbsp; [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:33,769 INFO&amp;nbsp; [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:35,158 INFO&amp;nbsp; [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:38,472 ERROR [org.alfresco.util.exec.RuntimeExecBootstrapBean] Bootstrap command failed: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Execution result: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; os:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Linux&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; command:&amp;nbsp;&amp;nbsp;&amp;nbsp; "soffice" "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" "-env:UserInstallation=file://oouser" -nologo -headless -nofirststartwizard -nocrashrep -norestore&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; succeeded:&amp;nbsp; false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; exit code:&amp;nbsp; 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; out:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; err:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cannot run program ""soffice"": java.io.IOException: error=2, No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:40,114 INFO&amp;nbsp; [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /var/lib/alfresco/alf_data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:40,183 INFO&amp;nbsp; [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:40,574 INFO&amp;nbsp; [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:40,953 INFO&amp;nbsp; [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:41,468 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:41,468 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect &amp;lt;broadcast&amp;gt; setting)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:44,470 INFO&amp;nbsp; [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_07-b06; maximum heap size 494.938MB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:44,470 WARN&amp;nbsp; [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 494.938MB is less than recommended 512MB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:51:44,471 INFO&amp;nbsp; [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (b 1164) schema 131 - Installed version 3.0.0 (b 1164) schema 131&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:52:03,460 ERROR [org.alfresco.config.BaseConfigService] Input stream invalid - skipped for source: classpath:alfresco/web-client-config-dialogs.xml' &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.config.ConfigException: Failed to parse config stream&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.lang.OutOfMemoryError: PermGen space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:52:07,090 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] StandardWrapper.Throwable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.OutOfMemoryError: PermGen space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:52:07,092 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Servlet /alfresco threw load() exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.OutOfMemoryError: PermGen space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:52:08,510 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] StandardWrapper.Throwable&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.OutOfMemoryError: PermGen space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;16:52:10,146 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Servlet /alfresco threw load() exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.OutOfMemoryError: PermGen space&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried twiddling various memory configuration parameters to no avail, as detailed in these posts:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=8&amp;amp;t=14228&amp;amp;p=46862" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=8&amp;amp;t=14228&amp;amp;p=46862&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/en/viewtopic.php?f=3&amp;amp;t=14451" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/en/viewtopic.php?f=3&amp;amp;t=14451&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's wrong with my setup?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Nov 2008 22:19:37 GMT</pubDate>
    <dc:creator>greenmoss</dc:creator>
    <dc:date>2008-11-04T22:19:37Z</dc:date>
    <item>
      <title>out of memory, and other errors on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192770#M145900</link>
      <description>Hey all,I managed to install Alfresco according to the documentation at these urls:http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_7.10http://wiki.alfresco.com/wiki/Installing_Alfresco_on_Ubuntu_8.04I ran the init script, and saw it do the setup. I also see the mysql tables it created. H</description>
      <pubDate>Tue, 04 Nov 2008 22:19:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192770#M145900</guid>
      <dc:creator>greenmoss</dc:creator>
      <dc:date>2008-11-04T22:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: out of memory, and other errors on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192771#M145901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The first error reported is that Open Office does not appear to be installed.&amp;nbsp;&amp;nbsp; Is this correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The second error is related to lack of PermGen space which is an issue which is well discussed on this and Sun's forums.&amp;nbsp;&amp;nbsp;&amp;nbsp; Once you are out of PermGen space then there's no point in analysing further errors.&amp;nbsp;&amp;nbsp; Alfresco will happily start without Open Office,&amp;nbsp; but it needs to have sufficient PermGen space.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2008 22:45:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192771#M145901</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2008-11-05T22:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: out of memory, and other errors on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192772#M145902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The first error reported is that Open Office does not appear to be installed.&amp;nbsp;&amp;nbsp; Is this correct?&lt;BR /&gt;&lt;BR /&gt;The second error is related to lack of PermGen space which is an issue which is well discussed on this and Sun's forums.&amp;nbsp;&amp;nbsp;&amp;nbsp; Once you are out of PermGen space then there's no point in analysing further errors.&amp;nbsp;&amp;nbsp; Alfresco will happily start without Open Office,&amp;nbsp; but it needs to have sufficient PermGen space.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, Open Office is installed. The package under Ubuntu is "openoffice.org-headless", as required by the Ubuntu installation documentation on the wiki. The error complains about not finding soffice, but it really is there:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;$ which soffice&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/usr/bin/soffice&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the PermGen space: yes, I noticed all the documentation on fixing this error. None of the supplied answers worked for me. Here is a list of all locations where I found "JAVA_OPTS", and tried to set it to various values:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/etc/init.d/alfresco:export JAVA_OPTS='-Xms256m -Xmx512m -server -Djava.io.tmpdir=/var/lib/alfresco/tmp'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco/tomcat/bin/catalina.sh:&amp;nbsp; JAVA_OPTS="$JAVA_OPTS "-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager" "-Djava.util.logging.config.file="$CATALINA_BASE/conf/logging.properties"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco/tomcat/bin/setenv.sh:export JAVA_OPTS='-Xms128m -Xmx512m -server -Djava.io.tmpdir=/var/lib/alfresco/tmp'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco/alfresco.sh:export JAVA_OPTS='-Xms128m -Xmx512m -XX:MaxPermSize=128m -server'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/opt/alfresco/alfresco.sh:export JAVA_OPTS="${JAVA_OPTS} -XX:CompileCommand=exclude,org/apache/lucene/index/IndexReader\$1,doBody -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo\$Merger,mergeIndexes -XX:CompileCommand=exclude,org/alfresco/repo/search/impl/lucene/index/IndexInfo\$Merger,mergeDeletions"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried -Xms512m in all the places mentioned above, but ran out of heap. Honestly, I don't know what these things should optimally be set to. Is there a script which can examine my system and tell me? I lack knowledge regarding Java application administration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 18:31:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192772#M145902</guid>
      <dc:creator>greenmoss</dc:creator>
      <dc:date>2008-11-06T18:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: out of memory, and other errors on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192773#M145903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the path to Open Office correct? If you at 'alfresco.sh' you will see that it looks for a script 'start_oo.sh'. Assuming that file exists, check that the path to soffice is correct, e.g. /usr/bin/soffice&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2008 19:50:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192773#M145903</guid>
      <dc:creator>sbuckle</dc:creator>
      <dc:date>2008-11-06T19:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: out of memory, and other errors on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192774#M145904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To adjust the Permgen space you need to use the setting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-XX:MaxPermSize=128m (or whatever works for you)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 12:27:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192774#M145904</guid>
      <dc:creator>steve</dc:creator>
      <dc:date>2008-11-07T12:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: out of memory, and other errors on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192775#M145905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;To adjust the Permgen space you need to use the setting:&lt;BR /&gt;-XX:MaxPermSize=128m (or whatever works for you)&lt;BR /&gt;&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Perfect! It's working now. Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 16:30:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192775#M145905</guid>
      <dc:creator>greenmoss</dc:creator>
      <dc:date>2008-11-07T16:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: out of memory, and other errors on ubuntu</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192776#M145906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for making this topic. I had the same issue awhile ago and i got through it because of the replies here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Danna&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.ordinateurportablepascher.org" rel="nofollow noopener noreferrer"&gt;Ordinateur portable pas cher&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 09:32:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/out-of-memory-and-other-errors-on-ubuntu/m-p/192776#M145906</guid>
      <dc:creator>danna</dc:creator>
      <dc:date>2009-11-17T09:32:12Z</dc:date>
    </item>
  </channel>
</rss>

