AnsweredAssumed Answered

Installing Community 5.0.d on Linux

Question asked by opeeters on Apr 27, 2015
Latest reply on May 2, 2015 by r3lzx
Hi,
I'm having issues installing on Linux (CentOS 6.6 - minimal). At the end of the installation of:
https://process.alfresco.com/ccdl/?file=release/community/5.0.d-build-00002/alfresco-community-5.0.d-installer-linux-x64.bin
following these instructions:
http://docs.alfresco.com/community/tasks/simpleinstall-community-lin.html

I get the following warning:

Warning: Problem running post-install step. Installation may not complete
correctly
Error running /opt/alfresco-5.0.d/postgresql/bin/createuser -p 5432 -U postgres
–no-superuser –no-createdb –no-createrole alfresco: createuser.bin: could not
connect to database postgres: FATAL:  password authentication failed for user
"postgres"

I tried both Easy and Advance install. Same result. All looks well in /opt/alfresco-5.0.d/alf_data/postgresql/pg_hba.conf

I disabled selinux and iptables. Same result.
When I access:
my.alfresco.server:8080/share
I get the login page. When I enter "admin" as user and the password I entered during installation I get:

Your authentication details have not been recognized or Alfresco may not be available at this time.

my.alfresco.server:8080/alfresco
gives me a blank page (is this normal in version 5.0?)

In alfresco.log I see a couple of:
Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "alfresco")

and:
2015-04-27 01:24:32,274 INFO  [org.alfresco.repo.admin] [localhost-startStop-1] Using database URL 'jdbc:postgresql://localhost:5432/alfresco' with user 'alfresco'.
2015-04-27 01:24:32,323 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed

type of errors… (full alfresco.log attached)
Is this maybe a bug in the installation of postgres in version 5.0.d?

In catalina.out I see continously reoccuring (every 15 seconds):

2015-04-27 01:52:30,005  ERROR [solr.tracker.AbstractTracker] [SolrTrackerScheduler_Worker-2] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 03270337 api/solr/aclchangesets return status:404
   at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:159)
   at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:335)
   at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:313)
   at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:104)
   at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
   at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2015-04-27 01:52:30,005  ERROR [solr.tracker.AbstractTracker] [SolrTrackerScheduler_Worker-3] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 03270336 api/solr/aclchangesets return status:404
   at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:159)
   at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:335)
   at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:313)
   at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:104)
   at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
   at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2015-04-27 01:52:30,011  ERROR [solr.tracker.AbstractTracker] [SolrTrackerScheduler_Worker-1] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 03270338 GetModelsDiff return status is 404
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1091)
   at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:249)
   at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:207)
   at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:167)
   at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:153)
   at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)


Could this be related?

Grateful for any pointers!
Cheers,
Olav





Attachments

Outcomes