First time using alfresco, troubles ahead!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2013 09:21 PM
I have installed it on my Slackware64 14 server. All dependencies were met before the install.
The install went fine (took a while toward the end for whatever reasons but finished nonetheless)
I started Alfresco using
/path/to/alfresco/alfresco.sh start
first time I started it after the install, it started fine, I could access the share login page at http://server-ip:8070/share.
Then I stopped it to see if the shutdown sequence worked, it stopped, I could no longer access http://server-ip:8070/share. So far so good.
Then I restarted it using the command above, the output was
Using CATALINA_BASE: /var/lib/tomcat
Using CATALINA_HOME: /var/www/htdocs/alfresco-4.2.c/tomcat
Using CATALINA_TMPDIR: /var/tmp/tomcat
Using JRE_HOME: /var/www/htdocs/alfresco-4.2.c/java
Using CLASSPATH: /var/www/htdocs/alfresco-4.2.c/tomcat/bin/bootstrap.jar:/var/www/htdocs/alfresco-4.2.c/tomcat/bin/tomcat-juli.jar
Using CATALINA_PID: /var/www/htdocs/alfresco-4.2.c/tomcat/temp/catalina.pid
/var/www/htdocs/alfresco-4.2.c/tomcat/scripts/ctl.sh : tomcat started
But I no longer could access the share portal. Tomcat seems not running. After the first startup I could access Tomcat's home page at http://server-ip:8070, but now even if the startup command says everything is fine, I cannot access Tomcat.
What would be the next steps in troubleshooting this strange situation?
Thanks to everybody!
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2013 02:57 AM
first of all check if there is enough space on your server, since after first deployment application war files are expanded under tomcat/webapps
Then take a look to Tomcat log files which can be found under tomcat/logs.
After that take alook to alfresco.log file and check about stacktraces and other errors.
Are you sure the configuration you're using is right and supported?
Regards,
Andrea

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2013 03:16 AM
By default the port is 8080
I could access Tomcat's home page at http://server-ip:8070
was it a customized installation, did u change the port , is there any tomcat or any application server running with port8080 or 8070
thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2013 08:21 AM

Joseph, to answer your question, yes, I customized my install because I alraeady had a service running on port 8080…
Port 8070 "should" serve tomcat, but for unknown reason, it doesnt restart at all..
abarisone, I will check that there is enough space on the web server but I can already tell you that there is, this server has 8TB of space, last time I checked, it had over 500GB free on /
I would really like to look in tomcat's logs or alfresco's logs but since I emptied them to see the latest log entries, the applications are no longer logging to them… Either because I modified the logs and they dont like it, or because they no longer start hence why they cant log at all.. I vote for the second since I have emptied logs using the same technique for years
echo "" > logfile.log

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2013 09:15 AM
and then try
netstat -tulpn | grep :80
see whether port 8070 is already used. But again if it is used during installation state alfresco could have detected that and given u a message saying that port is opened.
Any way for trouble shooting, please shutdown all instance of alfresco and check
netstat -tulpn | grep :80

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2013 05:12 PM
With alfresco NOT running, I get
root@lhost2:~# netstat -tulpn | grep :80
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 3528/python
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 3510/python
tcp6 0 0 :::80 :::* LISTEN 2956/httpd
With alfresco running, I get
root@lhost2:~# netstat -tulpn | grep :80
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 3528/python
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 3510/python
tcp6 0 0 :::8070 :::* LISTEN 8207/java
tcp6 0 0 :::8009 :::* LISTEN 8207/java
tcp6 0 0 :::80 :::* LISTEN 2956/httpd
Port 8070 is indeed opened. I have no clue why, but alfresco started this time. I can access tomcat's page as shown on the screenshot attached. I however clicked on the "Server Status"" button and got this page:
401 UnauthorizedYou are not authorized to view this page. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file must contain the credentials to let you use this webapp.For example, to add the manager-gui role to a user named tomcat with a password of s3cret, add the following to the config file listed above.<role rolename="manager-gui"/><user username="tomcat" password="s3cret" roles="manager-gui"/>Note that for Tomcat 7 onwards, the roles required to use the manager application were changed from the single manager role to the following four roles. You will need to assign the role(s) required for the functionality you wish to access. manager-gui - allows access to the HTML GUI and the status pages manager-script - allows access to the text interface and the status pages manager-jmx - allows access to the JMX proxy and the status pages manager-status - allows access to the status pages onlyThe HTML interface is protected against CSRF but the text and JMX interfaces are not. To maintain the CSRF protection: Users with the manager-gui role should not be granted either the manager-script or manager-jmx roles. If the text or jmx interfaces are accessed through a browser (e.g. for testing since these interfaces are intended for tools not humans) then the browser must be closed afterwards to terminate the session.For more information - please see the Manager App HOW-TO.
Trying http://192.168.0.101:8070/share worked, I got to the share login page but I cannot login using admin:admin credentials. It says:
<cite>
The remote server may be unavailable or your authentication details have not been recognized.
</cite>
Trying the explorer page at http://192.168.0.101:8070/explorer doesnt work, I get a page saying:
HTTP Status 404 - /explorertype Status reportmessage /explorerdescription The requested resource is not available.Apache Tomcat/7.0.30
Any clues?? Im new to Alfresco and tomcat, I have no idea how to troubleshoot this.. Ill keep searching the web and post back anything useful at all but I'd appreciate anybody's input!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2013 08:19 PM
I still have the same problems except now alfreso & tomcst seems to start & stop well. Not sure what happened before but I guess it was a port issue of some sort.
$SERVERIP:8080/share gives me the "The remote server may be unavailable or your authentication details have not been recognized." error, while explorer gives a tomcat 404 error.
Tomcat also seems to be incomplete or improperly configured as anything I click on brings me to a 401 Unauthorized page..
catalina.out (truncated because the file is 670MB)……….
2013-07-21 20:12:30,006 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-1] Job (Solr.CoreTracker-archive threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211634 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211634 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:12:30,007 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-2] Job Solr.CoreTracker-alfresco threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211635 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:12:30,007 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-2] Job (Solr.CoreTracker-alfresco threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211635 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211635 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:12:45,005 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-1] Job Solr.CoreTracker-alfresco threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211636 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:12:45,005 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-1] Job (Solr.CoreTracker-alfresco threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211636 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211636 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:12:45,005 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-2] Job Solr.CoreTracker-archive threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211637 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:12:45,006 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-2] Job (Solr.CoreTracker-archive threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211637 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211637 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:13:00,006 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-1] Job Solr.CoreTracker-archive threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211638 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:13:00,007 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-1] Job (Solr.CoreTracker-archive threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211638 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211638 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:13:00,007 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-3] Job Solr.CoreTracker-alfresco threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211639 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:13:00,008 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-3] Job (Solr.CoreTracker-alfresco threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211639 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211639 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:13:15,006 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-1] Job Solr.CoreTracker-archive threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211640 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:13:15,007 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-1] Job (Solr.CoreTracker-archive threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211640 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211640 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:13:15,008 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-2] Job Solr.CoreTracker-alfresco threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211641 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:13:15,008 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-2] Job (Solr.CoreTracker-alfresco threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211641 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211641 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:13:30,005 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-1] Job Solr.CoreTracker-alfresco threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211642 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:13:30,005 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-2] Job Solr.CoreTracker-archive threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211643 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:13:30,006 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-1] Job (Solr.CoreTracker-alfresco threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211642 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211642 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:13:30,006 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-2] Job (Solr.CoreTracker-archive threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211643 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211643 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:13:45,005 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-1] Job Solr.CoreTracker-alfresco threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211644 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:13:45,005 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-1] Job (Solr.CoreTracker-alfresco threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211644 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211644 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:13:45,005 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-2] Job Solr.CoreTracker-archive threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211645 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:13:45,006 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-2] Job (Solr.CoreTracker-archive threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211645 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211645 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:14:00,005 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-3] Job Solr.CoreTracker-alfresco threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211646 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:14:00,005 ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-1] Job Solr.CoreTracker-archive threw an unhandled Exception: org.alfresco.error.AlfrescoRuntimeException: 06211647 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) 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)2013-07-21 20:14:00,005 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-3] Job (Solr.CoreTracker-alfresco threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211646 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211646 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more2013-07-21 20:14:00,028 ERROR [quartz.core.ErrorLogger] [SolrTrackerScheduler_Worker-1] Job (Solr.CoreTracker-archive threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 06211647 GetModelsDiff return status is 404] at org.quartz.core.JobRunShell.run(JobRunShell.java:227) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)Caused by: org.alfresco.error.AlfrescoRuntimeException: 06211647 GetModelsDiff return status is 404 at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036) at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1790) at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1129) at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:475) at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:216) … 1 more

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2013 11:04 PM
I reinstaled alfresco fresh and this time, unlike previously, I selected everything in the instakler (Java, progresql, etc…).
All went fine, and then after installation I followed the steps to migrate from progresql to mysql which I can summarize as:
-stop alfresco server (confirm java & progresql processes are all dead)
-put the mysql java connector in $TOMCAT_HOME/lib
-Modify alfresco.global.properties with this:
### database connection properties ###db.name=alfrescodb.username=alfrescodb.password=XXXXXXXdb.host=localhostdb.port=3306db.driver=org.gjt.mm.mysql.Driverdb.url=jdbc:mysql://${db.host}:${db.port}/${db.name}?useUnicode=yes&characterEncoding=UTF-8db.pool.validate.query=select 1
-delete everything in ./alf_data
-start alfresco server but I get:
root@lhost2:/var/www/htdocs/alfresco-4.2.c# ./alfresco.sh startwaiting for server to start………………………………………………………pg_ctl.bin: could not start serverExamine the log output./var/www/htdocs/alfresco-4.2.c/postgresql/scripts/ctl.sh : postgresql could not be startedUsing CATALINA_BASE: /var/www/htdocs/alfresco-4.2.c/tomcatUsing CATALINA_HOME: /var/www/htdocs/alfresco-4.2.c/tomcatUsing CATALINA_TMPDIR: /var/www/htdocs/alfresco-4.2.c/tomcat/tempUsing JRE_HOME: /var/www/htdocs/alfresco-4.2.c/javaUsing CLASSPATH: /var/www/htdocs/alfresco-4.2.c/tomcat/bin/bootstrap.jar:/var/www/htdocs/alfresco-4.2.c/tomcat/bin/tomcat-juli.jarUsing CATALINA_PID: /var/www/htdocs/alfresco-4.2.c/tomcat/temp/catalina.pid/var/www/htdocs/alfresco-4.2.c/tomcat/scripts/ctl.sh : tomcat startedroot@lhost2:
Seems it still tries to start progresql… I wonder why?!? No forum thread has mentioned anything outside of what I did here, and no documentation page said otherwise… The error trying to start progresql is obvious: I deleted the content of ./alf_data so now it no longer can find its config files, but to me the error is irrelevant: <strong>at this point, alfresco shouldnt be calling progresql at all.</strong>
Other than that, I still cannot login in share (The remote server may be unavailable or your authentication details have not been recognized.), explorer gives me a 404 Not found error and with phpmyadmin, I can confirm alfreso database in MySql is still totally empty…
<strong>Can a horde dev contribute to this thread please???</strong>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2013 03:42 AM
If you look inside alfresco.sh you'll find that there is a line like this:
POSTGRESQL_SCRIPT=$INSTALLDIR/postgresql/scripts/ctl.sh
followed later by
if test -x $POSTGRESQL_SCRIPT; then $POSTGRESQL_SCRIPT start POSTGRESQL_ERROR=$? sleep 5 fi
So if you delete or rename the postgresql folder then postgresql will no longer try to start.
I'm going to give you another way to do the install; I have a script that does the install with no user intervention and it works very well for me. It uses mysql, so you'll need to first set up an empty mysql database and a user to access it.
Create a config file for the installer; mine's called alfresco.conf
mode=unattendedenable-components=javaalfresco,alfrescosharepoint,openofficecomponentdisable-components=postgres,alfrescowcmqs# Install locationprefix=/path/to/alfresco-4.2.c# this is the password you will log on to the app withalfresco_admin_password=4dM1Np455w0RD# use JDBC settings for an existing databasejdbc_url=jdbc:mysql://localhost/alfresco?useUnicode=yes&characterEncoding=UTF-8jdbc_driver=com.mysql.jdbc.Driver # I believe you can also use the org.gjt.mm.mysql.Driver driver name herejdbc_database=alfresco-dbjdbc_username=alfrescouserjdbc_password=alfrescopass# install init scriptsbaseunixservice_install_as_service=1
Now run the installer like so:
./alfresco-community-4.2.c-installer-linux-x64.bin –optionfile /path/to/alfresco.conf
This will install everything and unpack the WARs etc but at this point it won't be working as you don't have the mysql connector installed. It needs to go into tomcat/lib
cp mysql-connector-java-5.1.18-bin.jar /path/to/alfresco-4.2.c/tomcat/lib
Now restart the alfresco server (/path/to/alfresco-4.2.c/alfresco.sh restart) and tail catalina.out (/path/to/alfresco-4.2.c/tomcat/logs/catalina.out) and you should see in the logs that the mysql schemas are being deployed, after which the server should start.
In your previous posts you posted a bunch of errors about "GetModelsDiff return status is 404" - in my experience when this happens there is a much earlier error in the chain which is causing this, you need to get the first error. I suggest pasting the whole error log from when you start the server to somewhere like pastebin.com and asking in the irc channel for someone to take a look at it if you have problems like that again.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2013 09:26 PM
At least I have found a bug report on alfresco's bug tracker (https://issues.alfresco.com/jira/browse/MNT-5072) that describes my situation so I assume there are critical flaws in alfresco that have never been resolved. Unfortunately the bug report got cloed by an admin before a solution got found… typical.
If someone care to help, please do so. I have literally tried everything I could think of to no avail and I'm at the end of my capabilities & knowledge..
In the meantime, I have posted Catalina.out at http://pastebin.com/h4dzEEjt because it was way to big to post here
