When I try to start Cassandra after patching my OS, I get this error:
Exception (java.lang.AbstractMethodError) encountered during startup: org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/misc/ObjectInputFilter;)Ljava/rmi/Remote;
java.lang.AbstractMethodError: org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/misc/ObjectInputFilter;)Ljava/rmi/Remote;
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:150)
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:135)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:405)
at org.apache.cassandra.utils.JMXServerUtils.createJMXServer(JMXServerUtils.java:104)
at org.apache.cassandra.service.CassandraDaemon.maybeInitJmx(CassandraDaemon.java:143)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:188)
at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:476)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:59
at com.datastax.bdp.DseModule.main(DseModule.java:93)
ERROR [main] 2018-01-17 13:18:03,330 CassandraDaemon.java:705 - Exception encountered during startup
java.lang.AbstractMethodError: org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/misc/ObjectInputFilter;)Ljava/rmi/Remote;
Does anyone know why, with no other changes, I'm running into this error now?
This seems to relate to an upgrade to the JDK to 8u161 which was released 2 days ago.
A ticket has been opened on the Cassandra Jira
There is no published work-around that I can find. You might have to go back to an earlier version of the JDK or wait for Cassandra 3.11.2 which fixes the issue.
Edit: Its worth pointing out that this has now been resolved in 3.11.2 which has been released, so you can simply upgrade to this version to resolve the problem.
To get Cassandra running I had to install JDK 8u152. Using brew cask install java8 it wasn't possible. I tried using an old version of the cassandra.rb formula but that just got:
Error: Download failed on Cask 'java8' with message: Download failed: http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/jdk-8u152-macosx-x64.dmg
I had to go here and log in to be able to download the DMG: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
Protip: To still be able to install java8 using homebrew I downloaded the dmg myself, and started a server in the downloads directory:
cd ~/Downloads
php -S 0.0.0.0:3333
And changed the download URL (line 6) in the formula to:
url "http://0.0.0.0:3333/jdk-8u152-macosx-x64.dmg",
Then was able to run:
brew cask install java8
Now Cassandra is running again.
You may download the source and add the changed method, compile and add the modified class to the apache-cassandra.jar. You can do the following:
Download org.tar containing the only class to be replaced.
Untar the file using tar -xvf org.tar and you should get org directory
Copy the apache-cassandra jar file. e.g. cp /usr/share/cassandra/apache-cassandra-3.11.1.jar .
Make a backup of the jar before you update. cp apache-cassandra-3.11.1.jar apache-cassandra-3.11.1.jar_backup.
Expecting the current directory contains the following files:
apache-cassandra-3.11.1.jar
apache-cassandra-3.11.1.jar_backup
org
org.tar
Execute the following command to update the jar:
jar uf apache-cassandra-3.11.1.jar org
Replace the file to installation location:
mv apache-cassandra-3.11.1.jar /usr/share/cassandra
Restart cassandra service
Revert Cask formula to 2017 version.
wget https://github.com/caskroom/homebrew-versions/blob/a98da98a7e4d87e9b614b3aa25af9c6c21a753c6/Casks/java8.rb -O /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/Casks/java8.rb
change line 6 URL as suggested
url "http://127.0.0.1:3333/jdk-8u152-macosx-x64.dmg",
brew cask reinstall java8
should work.
Related
I tried to install the DB2 V11.1 FP5 on a SLES-12-SP4 machine. So far I
downloaded the universal package
extracted the universal package
called the command "./installFixPack -b /opt/ibm/db2/V11.1/ -p /opt/ibm/db2/fp5/" as root user
But the installFixPack stopps working sometimes at step 44 or 47 or also step 50 of 73 without any clear error message. In the log file I find a message like
"ERROR: The install path "/opt/ibm/db2/fp5" is invalid. Specify a
valid install path.
ERROR: DBI20105E An error occurred while installing the following
file set: "DB2_PRODUCT_MESSAGES_FR_11.1.4.5_linuxamd64_x86_64".
Because these files were not successfully installed, functionality
that depends on these files might not work as expected.
Rolling back what has been installed"
Any hint what I'm doing wrong?
Thanks so much for reading so far
best regards
Thomas Graf
./installFixPack -b is to patch an aleady installed DB2 HOME cf: pass from FP4 To FP5.
if you want to install the FP5 into a new path use db2setup (or ./db2setup -r for silent install)
you should add -l /var/tmp/installlog.log -t /var/tmp/installtrace.log to the installFixPack to see exactly what is the error.
Even if you started the install with root, the app can use another user to install some files/libraries.
Do you have the same message after manually creating this folder ?
I am trying to set up a Ceph storage cluster using the quick start guide found here: http://docs.ceph.com/docs/master/start/quick-ceph-deploy/
When I try to deploy a manager daemon using this command:
ceph-deploy mgr create enickel7
I get this error:
[ceph_deploy.mgr][ERROR ] OSError: [Errno 2] No such file or directory: '/var/lib/ceph/mgr/ceph-enickel7'
[ceph_deploy][ERROR ] GenericError: Failed to create 1 MGRs
(enickel7 is the name of the node I'm using - the Ceph documentation calls the nodes node1, node2, and node3.) I tried to manually create the directory /var/lib/ceph/mgr, then ran the command again. Then I got this error:
[enickel7][ERROR ] Error EACCES: access denied
[enickel7][ERROR ] exit code from command was: 13
[ceph_deploy.mgr][ERROR ] could not create mgr
[ceph_deploy][ERROR ] GenericError: Failed to create 1 MGRs
Does anyone know what this error means, or how to fix it? ceph-deploy definitely has sudo permissions, and the mgr directory has the same permissions as other directories in /var/lib/ceph.
Thank you for your time!
It's because your ceph version is not Luminous >=12.2.0, you must use ceph-deploy to install ceph as the document said, the default version installed by ceph-deploy is 10.2.10 Jewel for now.
If you want to create a manager daemon process, you need to upgrade your ceph to Luminous 12.2.1. The doc is here: http://docs.ceph.com/docs/master/release-notes/#v12-2-1-luminous
I just ran into this same issue on ubuntu 16.04 trying to deploy kraken with ceph-deploy version 1.5.39.
Ceph-deploy automatically created the directories for me but they were not owned correctly. It looks like the keyring it created in /var/lib/ceph/bootstrap-mgr along with that directory is owned by root. I chowned it to ceph. and that got me past that error.
In your case I would guess that the directory is owned by your user instead of "ceph". I hope this helps.
please test a below command:
chown ceph:ceph /var/lib/ceph
and
what ceph version used?
please use a latest version (mimic 13.2)
and ceph-deploy 2
Faced the same issue. As Michael Meepo said it was version problem.
On admin node I registered the ceph repo for luminous & installed ceph-deploy.
But when I tried to use it ceph-deploy installed the default version (Jewel) on remote node.
To install specific version you should ask for it:
ceph-deploy install master --release luminous
To use the ceph-deploy version matching your distribution's, as from https://github.com/ceph/ceph-deploy page, use ceph repositories. For instance, as Debian stretch provides Jewel (Ceph v. 10), use the following repository: http://ceph.com/debian-jewel by creating a /etc/apt/source.list.d/ceph-deploy.list file containing:
deb http://download.ceph.com/debian-jewel/ stretch main
Install the keys:
wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -
Then proceed with
apt-get install ceph-deploy
From there it should work as expected.
I want to install lucee on my VPS but cannot as I am getting error during post installation.
Error running /opt/lucee/sys/install_mod_cfml.sh -m install -f
/usr/local/apache/conf/httpd.conf -d /usr/local/apache/modules -c
/usr/local/apache/bin/apachectl -k
a9681d10cecf61fea7aa9e4bd203e096e7e5a0c94fa1534d32cf6c0cd82f7d2c: httpd: Syntax
error on line 570 of /usr/local/apache/conf/httpd.conf: Cannot load
modules/mod_cfml.so into server: /lib64/libc.so.6: version `GLIBC_2.14' not
found (required by /usr/local/apache/modules/mod_cfml.so)
Can anybody point me in a right direction, how to solve the issue?
This means that the auto-detection of your Apache version or bit-type is failing. This means you'll need to install mod_cfml manually, or live without it.
When you run the Lucee installer, simply un-check the option to install mod_cfml. From there, you can install mod_cfml manually by following the instructions found on this page:
http://www.modcfml.org/index.cfm/install/web-server-components/
You can also add hosts to your tomcat config manually by editing your Tomcat server.xml file directly, and restarting Tomcat/Lucee every time you add a new host.
-I encounter error during installing ORACLE EBS on LINUX 64 bit server.
-Log shows that:
RC-20200: Fatal: Could not find Unzip. At this time only Native UnZip 5.X is supported.
Please make sure you have UnZip 5.X in your path and try again...
Cannot execute Install for database ORACLE_HOME
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for PROD instance
-unzip version that currently in use is:
unzip -version
caution: both -n and -o specified; ignoring -o
**UnZip 6.00 of 20 April 2009**, by Info-ZIP. Maintained by C. Spieler.
So, do I need to downgrade my unzip version?
Any other rpm I missing before start installation?
Per Doc 1410514.1 you could apply patch 9171651.
You will have to start the clone over from scratch.
I've try to install pecl-event on FreeBSD 8.0, but get error:
# pecl install event
Failed to download pecl/event within preferred state "stable", latest release is version 0.9.1, stability "beta", use "channel://pecl.php.net/event-0.9.1" to install
install failed
# pecl install "channel://pecl.php.net/event-0.9.1"
downloading event-0.9.1.tar ...
Starting to download event-0.9.1.tar (Unknown size)
.....................done: 113,664 bytes
11 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module
ERROR: `phpize' failed
What I do wrong? How to install it?
Extract event-0.9.1.tar file to a temporary folder. (for instance: /tmp/tmp1 )
Go to sub-folder which one includes config.m4 file in temporary folder.
Make sure you have "/usr/local/bin/phpize". If it s not in there... find phpize's location and create symbolic link it to /usr/local/bin/phpize.
Than try to run again