<?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 Start Produces Errors in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288043#M241173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your database (PostgreSql) is the problem. I suggest that you need to look in your PostgreSql log file. Probably in &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;/var/log/pgsql&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;that should tell you why PostgreSql won't start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Sep 2013 21:56:04 GMT</pubDate>
    <dc:creator>rjohnson</dc:creator>
    <dc:date>2013-09-13T21:56:04Z</dc:date>
    <item>
      <title>Alfresco Start Produces Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288042#M241172</link>
      <description>Alfresco 4.2.d on sles11 SP2. Since i upgraded to 4.2.d, when i start alfresco, i see this on the terminal:/alfresco.sh startwaiting for server to start…….. stopped waitingpg_ctl.bin: could not start serverExamine the log output./opt/alfresco/postgresql/scripts/ctl.sh : postgresql&amp;nbsp; could not be star</description>
      <pubDate>Fri, 13 Sep 2013 21:21:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288042#M241172</guid>
      <dc:creator>carnold</dc:creator>
      <dc:date>2013-09-13T21:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Start Produces Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288043#M241173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your database (PostgreSql) is the problem. I suggest that you need to look in your PostgreSql log file. Probably in &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;/var/log/pgsql&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;that should tell you why PostgreSql won't start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 21:56:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288043#M241173</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-09-13T21:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Start Produces Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288044#M241174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;pgsql is not located in /var/log in fact, after a search, not found anywhere on the filesystem. Must mention we are using mysql DB not postgresql&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2013 23:12:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288044#M241174</guid>
      <dc:creator>carnold</dc:creator>
      <dc:date>2013-09-14T23:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Start Produces Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288045#M241175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That could well be your issue. If you look at the error you posted&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&lt;BR /&gt;pg_ctl.bin: could not start server&lt;BR /&gt;&lt;BR /&gt;Examine the log output.&lt;BR /&gt;&lt;BR /&gt;/opt/alfresco/postgresql/scripts/ctl.sh : postgresql&amp;nbsp; could not be started&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco.sh is clearly trying to start postgreSql and not mySQL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now alfresco.sh looks for an executable file {install-directory}/{database-to-use}/scripts/ctl.sh. It starts looking in mysql and then postgresql. In your installation it would seem that there is no executable file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;{install-directory}/mysql/scripts/ctl.sh&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but there is an executable file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;{install-directory}/postgresql/scripts/ctl.sh&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so alfresco.sh tries to start postgreSql which it can't because it doesn't exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you need to create the executable&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;{install-directory}/mysql/scripts/ctl.sh&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to start your database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 13:53:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288045#M241175</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-09-15T13:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Start Produces Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288046#M241176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Now alfresco.sh looks for an executable file {install-directory}/{database-to-use}/scripts/ctl.sh. It starts looking in mysql and then postgresql. In your installation it would seem that there is no executable file&lt;BR /&gt;&lt;BR /&gt;{install-directory}/mysql/scripts/ctl.sh&lt;BR /&gt;but there is an executable file&lt;BR /&gt;&lt;BR /&gt;{install-directory}/postgresql/scripts/ctl.sh&lt;BR /&gt;so alfresco.sh tries to start postgreSql which it can't because it doesn't exist.&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So are you saying there should be a /opt/mysql/scripts/ctl.sh folder/file in the installation? Because there is not; in fact, neither was in the installed 4.2.c (i upgraded to 4.2.d and kept the structure of 4.2.c and verified that path does not exist and it worked fine in 4.2.c).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;I think you need to create the executable&lt;BR /&gt;&lt;BR /&gt;{install-directory}/mysql/scripts/ctl.sh&lt;BR /&gt;to start your database.&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So i created that path with the exact permission from /opt/alfresco/postgres/scripts/ctl.sh. Then stop and start and still got the same error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 03:01:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288046#M241176</guid>
      <dc:creator>carnold</dc:creator>
      <dc:date>2013-09-19T03:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Start Produces Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288047#M241177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Check your alfresco.sh you will see what it is trying to do - mine is standard and I assume yours will be to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will need the shell script to start the mysql db (not merely exist) and for your configuration (alfresco-global.properties) will need to point at it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2013 09:31:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288047#M241177</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-09-19T09:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Start Produces Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288048#M241178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;RJohnson, thank you for your time and help. I want to just step back and reproduce when this happened:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- was running 4.2.c using mysql DB with no problems (like this)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- 4.2.d came out so i upgraded using the alfresco recommended upgrade process which was basically to backup DB's (mysql and alf_data) which i did. Then move the 4.2.c version to a safe place on the drive (did this). Install 4.2.d and import alf_data. This step was not exactly clear. So i renamed the new alf_data directory and copied the old alf_data directory into the 4.2.d install. This is when i started seeing this problem. So, if i rename the existing alf_data directory (which is from the 4.2.c install) and use the 4.2.d alf_data directory then run alfresco start, no errors and postgressql starts. So i think this has to do with the 4.2.c alf_data directory.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 16:23:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288048#M241178</guid>
      <dc:creator>carnold</dc:creator>
      <dc:date>2013-09-20T16:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Start Produces Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288049#M241179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, here was the fix for me:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- use the 4.2.d install alf_data directory but copy the contentstore and contentstore.deleted folders into the 4.2.d alf_data folder. Start alfresco and no errors when starting.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 17:27:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-start-produces-errors/m-p/288049#M241179</guid>
      <dc:creator>carnold</dc:creator>
      <dc:date>2013-09-20T17:27:52Z</dc:date>
    </item>
  </channel>
</rss>

