A customer was installing CQ5 on a Red Hat Linux environment, and getting the following error displaying in the browser.
We checked the Felix Console, and all bundles were installed correctly.
We did however find the following message in the error log:
- 20.06.2012 10:49:26.689 *ERROR* [FelixStartLevel] org.apache.jackrabbit.core.RepositoryImpl failed to start Repository: Unable to register data store in cluster. javax.jcr.RepositoryException: Unable to register data store in cluster.
- Caused by: java.net.UnknownHostException: {server name}: {server name}
This was not a clustered instance.
On closer inspection, the error was caused by an incorrect IP address entry for {server name} in the hostnames file
Tim Goodman
Hello Mkiti,
I take a look there and my host file only contains comments :s
Heres the content:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
The error only happen after I install the CQ5 update fix, from package share. I just renamed the crx-quickstart folder, the CQ create a new one and works, but my projects still in the old quickstart :s Is there a way to physically copy these projects, maybe?
Hi Matheus,
no it is not possible to copy your project with filesystem mechanisms. I think you have to rename your old crx-quickstart folder back and start CQ. After the felix container is started, go to http://host:port/system/console and ensure that the status of all bundles is "Active". You will also see some fragment bundles with status "Fragment", this is ok.
You will also find the bundle "Apache Sling Authentication Service", check the status of this bundle.
The inactive bundles are obviously the cause for your issue. Try it again to acitvate the bundles and try it with different orders. Some bundles have sometime dependencies to other bundles.
Example:
Bundle A
Bundle B --> depends on Bundle C
Bundle C --> depends on Bundle A
So you have first to start Bundle A than Bundle C and finally Bunde B.
Mkiti,
As I have already told, when I click in "Start", nothing happens.
I have clicked in a bundle name of one of these, just to check, and I found a red line telling me that a specific package cannot be resolved. For every bundle with the status "Instaled", there are a lot of these "unresolved" packages, as bellow:
I'll never install a "update" package from Adobe again :s
Another possible cause can be your lucene indexes can be corrupt.
Yogesh was kind enough to post a solution here:
http://www.wemblog.com/2011/12/how-to-rebuild-index-in-cq5-wem.html
North America
Europe, Middle East and Africa
Asia Pacific