AnsweredAssumed Answered

404 on /share and /alfresco

Question asked by ba66e77 on Nov 27, 2012
Latest reply on Dec 2, 2012 by future_healthcare
OS: CentOS
Alfresco Version: 4.2.b

I installed the bin version of 4.2.b on CentOS using the directions at http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Fsimpleinstall-community-lin.html and selecting the default options throughout.

The installation reported no failures and starting up / shutting down the service raises no errors.  If I go to <my ip>:8080, I get the default Tomcat page, whether I use the machine's full IP or wget from the machine to 127.0.0.1 or localhost.  However, trying to access /share and /alfresco results in a 404 error.

I've confirmed Tomcat is using the correct paths and have used the magic "bounce the server" trick suggested in several threads, but no joy. I'd appreciate any suggestions.

I'm also seeing some SOLR related errors (as below), which may or may not be related.  A thread I found suggested these error may be caused by iptables blocking outgoing packets. To test, I disabled iptables, but no change.

In the logs/localhost_access_log….txt I see entries like below every 15 seconds even when not accessing pages.
127.0.0.1 - - [27/Nov/2012:11:47:30 +0000] "POST /alfresco/service/api/solr/modelsdiff HTTP/1.1" 404 1023

logs/catalina.out shows
2012-11-27 11:49:00,009  ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-1] Job Solr.CoreTracker-alfresco threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 10270380 GetModelsDiff return status is 404
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1787)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1126)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:472)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
2012-11-27 11:49:00,009  ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-2] Job Solr.CoreTracker-archive threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 10270381 GetModelsDiff return status is 404
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1787)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1126)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:472)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

Outcomes