<?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 can not start postgresql as root user in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287020#M240150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The error message says that the problem is not with the database, but with your content store. In your alfresco-global.properties, the dir.root property points to where your content is stored on disk, and this property is not pointing at a directory that matches your database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Verify that the directory points to the correct location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If you reinstalled to get a blank database, you should also clear that directory so it is empty and can be initialized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a helpful list of common mistakes when administering Alfresco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/community/concepts/ten-mistakes.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/community/concepts/ten-mistakes.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Useful documentation is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/5.0/concepts/global-props-intro.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/concepts/global-props-intro.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jan 2015 01:02:03 GMT</pubDate>
    <dc:creator>resplin</dc:creator>
    <dc:date>2015-01-22T01:02:03Z</dc:date>
    <item>
      <title>Alfresco can not start postgresql as root user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287017#M240147</link>
      <description>Dearest alfresco-lovers,Please can anyone help me ? I can not start my alfresco install anymore. it gives:"pg_ctl.bin: cannot be run as rootPlease log in (using, e.g., "su") as the (unprivileged) user that willown the server process./opt/alfresco/postgresql/scripts/ctl.sh : postgresql&amp;nbsp; could not be</description>
      <pubDate>Mon, 19 Jan 2015 10:19:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287017#M240147</guid>
      <dc:creator>joost</dc:creator>
      <dc:date>2015-01-19T10:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco can not start postgresql as root user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287018#M240148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is not recommended to run Alfresco as root. You would normally start Alfresco as an unprivileged user, and give it access to controlled ports using port redirection. If you really want to run as root, you need to edit the control scripts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you trying to save your data, or just get a working install?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't need to fix your current install, you can use the Ubuntu install script:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/loftuxab/alfresco-ubuntu-install" rel="nofollow noopener noreferrer"&gt;https://github.com/loftuxab/alfresco-ubuntu-install&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or you can configure Alfresco to use an external DB instead of the embedded PostgreSQL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/5.0/concepts/intro-db-setup.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/concepts/intro-db-setup.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 18:16:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287018#M240148</guid>
      <dc:creator>resplin</dc:creator>
      <dc:date>2015-01-19T18:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco can not start postgresql as root user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287019#M240149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dearest Resplin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thank you very much for your help. It is incredible kind of you you help me so much! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not saving data: I have all user in a CSV-file, and ihad a sync relation with a webdav-drive. It is because alfresco could do this, i am using alfresco !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand you say not to install as root, but if I install as other user, i can not load alfresco at boot. Tried everything, but no boot…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now i have tried to install alfresco with the local Mysql. I had a lot of pain… could not log in, during login, got this message: The remote server is unavailable or your credentials were not recognized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found in logs: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;12:05:04,862 ERROR [org.alfresco.repo.admin.ConfigurationChecker] [localhost-startStop-1] CONTENT INTEGRITY ERROR: System content not found in content store.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;12:05:04,862 ERROR [org.alfresco.repo.admin.ConfigurationChecker] [localhost-startStop-1] Ensure that the 'dir.root' property is pointing to the correct data location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;12:05:04,871 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.error.AlfrescoRuntimeException: 00200001 Ensure that the 'dir.root' property is pointing to the correct data location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so it has someething to do with the database. I deleted the database, and created a new one. Now it is working fine… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But alfresco is not loading @ startup. Do you know why ? Can you help me ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joost van der Wulp from Belgium&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 08:36:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287019#M240149</guid>
      <dc:creator>joost</dc:creator>
      <dc:date>2015-01-21T08:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco can not start postgresql as root user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287020#M240150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The error message says that the problem is not with the database, but with your content store. In your alfresco-global.properties, the dir.root property points to where your content is stored on disk, and this property is not pointing at a directory that matches your database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Verify that the directory points to the correct location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If you reinstalled to get a blank database, you should also clear that directory so it is empty and can be initialized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a helpful list of common mistakes when administering Alfresco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/community/concepts/ten-mistakes.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/community/concepts/ten-mistakes.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Useful documentation is here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.alfresco.com/5.0/concepts/global-props-intro.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/concepts/global-props-intro.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jan 2015 01:02:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287020#M240150</guid>
      <dc:creator>resplin</dc:creator>
      <dc:date>2015-01-22T01:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco can not start postgresql as root user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287021#M240151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi dear. I want to do a simple backup of the postgresql database using the pg_dump command but i dont have permission to do so even with the sudo. I realise that i should to it with the postgres user. Whenever i change to the postgres user i am prompted for the password i dont know. Please tell me the default postgres user password. I am using alfresco 5 community edition. Or is there another way to do the backing up?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2015 22:20:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287021#M240151</guid>
      <dc:creator>doudou225</dc:creator>
      <dc:date>2015-06-07T22:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco can not start postgresql as root user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287022#M240152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@doudou225,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should look in your alfresco-global.properties file "usually" the postgresql password is the same as your admin password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should also look at this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://fcorti.com/2013/02/06/alfresco-backup-script/" rel="nofollow noopener noreferrer"&gt;http://fcorti.com/2013/02/06/alfresco-backup-script/&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 16:00:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287022#M240152</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2015-06-08T16:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco can not start postgresql as root user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287023#M240153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to log in to the postgres user, do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sudo bash&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;su - postgres&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That will only require your own password, and will not prompt for the postgres users's password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, if you want to set, or reset, the postgres user's password, do the following after the "sudo bash", but before the "su - postgres":&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;passwd postgres&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will ask you for the new password twice, and then you are done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Brian&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 02:57:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-can-not-start-postgresql-as-root-user/m-p/287023#M240153</guid>
      <dc:creator>bdmc</dc:creator>
      <dc:date>2015-06-28T02:57:08Z</dc:date>
    </item>
  </channel>
</rss>

