Cassandra windows, won't start up - cassandra

Installed it, Datastax CE, at first came up, but OpsCenter said agent was not up, although it seemed to be running.
So I reboot, hoping it might be happier. Opposite. Now Cassandra Service and Agent won't even start.
Going into logs I see
2015-07-28 16:12:47 Commons Daemon procrun stdout initialized
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
Any idea what else I have to do? I have JDK 1.8, Eclipse etc. Nothing else complains.
Thanks

If cassandra won't start do the following:
1) try renaming the following path
C:\Program Files\DataStax-DDC\data\commitlog
2) if it doesn't work start cassandra as follows:
C:\Program Files\DataStax-DDC\apache-cassandra\bin>cassandra.bat
the console should tell you where the error is.
Good luck!

Related

Virtuoso fails to run after any update to virtuoso.ini

I've installed Virtuoso OpenSource 7.2.+ on my Ubuntu 14.04 LTS. When I change virtuoso.ini (any change such as adding a new directory to the DirsAllowed), the server fails to work; when I set the configurations back to its defaults, then it's working. Any idea here?
Yes it is solved!
The problem, as I said, was because of existing a transaction log from an earlier version. It seems this is an old bug in Virtuoso according to Bug286953.
Anyway, I removed virtuoso.trx file and restarted my machine, it's now working.

Cassandra As Daemon

I can't run cassandra as daemon. I set variable JAVA_HOME, CASSANDRA_HOME,PATH for cassandra. To running I use Apache Commons and tutorial link
but when i try started I see in console Error: Could not find or load main class org.apache.cassandra.service.CassandraDaemon
Tested on JDK 8 and 7
I do not know what's going on
I found error bug on CASSANDRA-7477

Datastax Devcenter 1.1 fail to start

I'm using 64 bit Windows 8. It was fine yesterday, and it just failed to start. It shows the loading screen, but it just stop right there.
Anyone has the same problem? Any fix? It has happened to me twice with my old pc, which were using 32 bit Windows 7.
While I haven't heard of this issue before, here's something that will hopefully fix the issue:
find a directory called .devcenter in your user directory (that should be \Users\<youruser>)
move this directory to a different location
start DevCenter
If this doesn't work:
in the same \Users\<youruser>\.devcenter\logging folder find the log.txt file; you might be able to see the root error
there is a newer version available (1.1.1)
Some time this can be due to Java version. For me it was failing because I was using Java 9. It worked fine after downgrading to Java8. Confirm compatibility of your devcenter and java

Eclipse(Indigo) launch failed after google app engine plugin install

After installing the google app engine plugin, eclipse failed to launch.
Following is the error statement i got
Job found still running after platform shutdown. Jobs should be
canceled by the plugin that scheduled them during shutdown:
org.eclipse.ui.internal.ide.IDEWorkbenchActivityHelper$4
I am using eclipse on Linux(Fedora 16).
Can someone kindly help me in resolving this issue?
Thanks
Problem Solved.
The problem is with
org.eclipse.mylyn.tasks.ui_3.6.2.v20110826-0100.jar
Removed it and eclipse is working.
The location is /opt/eclipse/plugins. I am still getting this error after deleting jar. I am using Eclipse Indigo and using ubuntu 12.04. I think there is some other problem for it.
J.M.
On Mac the jars are located e.g. here (I am running both indigo and juno)
/Applications/eclipse/plugins/org.eclipse.mylyn.tasks.ui_3.8.1.v20120725-0100.jar
/Applications/eclipse/plugins/org.eclipse.mylyn.tasks.ui_3.8.2.v20120916-1200.jar
/Applications/eclipse_indigo/plugins /org.eclipse.mylyn.tasks.ui_3.6.5.v20120215-0100.jar
/Applications/eclipse_indigo/plugins/org.eclipse.mylyn.tasks.ui_3.8.2.v20120916-1200.jar
I ended up following
http://expertdevelopers.blogspot.com/2011/07/eclipse-troubleshooting.html
which suggest to remove the files. And since I did not understand which files I ended up removing:
rm //.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/*

New install of Grails 2.0.3 Ubuntu seemed fine, but running grails just returns after a few seconds

I have just installed grails 2.0.3 on my Ubuntu box using apt-get as described here:
http://grails.org/Download
Everything looked fine.
When I type grails in the terminal it takes about 5 seconds and then it returns to the prompt without having done anything. No errors, no text.
I have tried adding GRAILS_HOME even though the download instructions say it is not required but that didn't help either.
It's finding grails just fine, it's just not doing anything.
I have not explicitly installed groovy before this. Is that a step I missed (I don't think so as I see it's included in the libs folder of the install)
or is there more I need to do to finish the install?
I had the same problem, but I managed to solve it.
I have grails 2.1.2 installed in a Ubuntu, running in a VirtualBox instance, with 512MB of memory.
I had to install java 6 to run grails and configure JAVA_HOME environment variable, although grails documentation says it is not necessary.
According to several resources, it may be caused by a grails memory usage issue. It seems that grails uses a lot of memory or something similar. These resources are:
Stack Overflow thread: Grails application hogging too much memory
Grails deployment documentation
Stack Overflow thread: Increase Xmx and Xms for grails run-app
So, following their advice, I configured an environment variable, GRAILS_OPTS with this command:
export GRAILS_OPTS="-server -Xms128M -Xmx128 -XX:MaxPermSize=256M"
Try it out and tell us if it works for you, thanks.

Resources