404 on /share and /alfresco
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2012 06:54 AM
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-... 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.
logs/catalina.out shows
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-... 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)
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2012 10:57 AM
I have exactly the same problem.
Also installed alfresco on Cent O.S and all went well but if i do a service restart catalina out gives me exactly that error.
I dunno what may cause this…
Please help me (us)
PS: i THINK it has something to do with SOLR caching because it fails when i insert a new model.
Also happened when i tried to install javascript console-share-0.5.jar
Is there some way to prevent this?
Also installed alfresco on Cent O.S and all went well but if i do a service restart catalina out gives me exactly that error.
I dunno what may cause this…
Please help me (us)

PS: i THINK it has something to do with SOLR caching because it fails when i insert a new model.
Also happened when i tried to install javascript console-share-0.5.jar
Is there some way to prevent this?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2012 12:23 PM
Dude try to go to iptables to configure your firewall and give clearance to the following port (SOLR) : 8443.
In my case i did something like this:
-A RH-Firewall-1-INPUT -p tcp -m tcp –dport 8443 -j ACCEPT
It worked for me.
I hope it works for you too.
Good luck
In my case i did something like this:
-A RH-Firewall-1-INPUT -p tcp -m tcp –dport 8443 -j ACCEPT
It worked for me.
I hope it works for you too.
Good luck

