Unable to install Cassandra cluster from Lifecycle Manager - cassandra

I am trying to install a cassandra cluster using Lifecycle Manager, but I have this error :
Meld execution failed: Failure to install Java: Could not determine if java installation is necessary. Java must either be installed as a pre-requisite, or it must be configured to to be installed via the java-setup section of a config-profile: Java must either be installed as a pre-requisite, or it must be configured to to be installed via the java-setup section of a config-profile
The problem here is I have already Java installed on the machine:
echo $JAVA_HOME
/usr/OpenJDK8U-jdk_x64_linux_8u242b08
Can you please give me some ideas about that problem ? Where should I look first ?

If you have Java already installed, just configure OpsCenter to not install it as described in documentation. Go to "Config profiles", select profile to use, find "Java Setup" section, and uncheck the "manage-java" checkbox.

Related

Oracle database installer in linux [INS-10102] Installer initialization failed

i am trying to install oracle database in red hat enterprise linux
and once i run the installer using:
[oracle#linux database]$ ./runInstaller
the OUI shows the message:
[INS-10102] Installer initialization failed.
Cause - An unexpected error occurred while initializing the Installer.
Action - Contact Oracle Support Services or refer logs Summary
 - [INS-10012] Setup driver initialization failed.  
- no oraInstaller in java.library.path
the log file shows this
ID: oracle.install.commons.util.exception.AbstractErrorAdvisor:8
oracle.install.commons.base.driver.common.InstallerException: [INS-10102] Installer initialization failed.
at oracle.install.commons.base.driver.common.Installer.run(Installer.java:534)
at oracle.install.ivw.common.util.OracleInstaller.run(OracleInstaller.java:133)
at oracle.install.ivw.db.driver.DBInstaller.run(DBInstaller.java:139)
at oracle.install.commons.util.Application.startup(Application.java:1072)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:198)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:566)
at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:127)
at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:165)
Caused by: oracle.install.commons.base.driver.common.SetupDriverException: [INS-10012] Setup driver initialization failed.
at oracle.install.driver.oui.OUIInstallDriver.load(OUIInstallDriver.java:431)
at oracle.install.ivw.db.driver.DBSetupDriver.load(DBSetupDriver.java:289)
at oracle.install.commons.base.driver.common.Installer.run(Installer.java:516)
... 8 more
Caused by: java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.loadNativeLib(OiipuUnixOps.java:380)
at oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps.<clinit>(OiipuUnixOps.java:128)
at oracle.sysman.oii.oiic.OiicPullSession.createDuplicateStreamsForLog(OiicPullSession.java:5382)
at oracle.sysman.oii.oiic.OiicPullSession.createDuplicateStreams(OiicPullSession.java:5482)
at oracle.sysman.oii.oiic.OiicAPIInstaller.initInstallEnvironment(OiicAPIInstaller.java:506)
at oracle.install.driver.oui.OUIInstallDriver.load(OUIInstallDriver.java:422)
... 10 more
here is a Screen shot for the error
the problem is solved by installing libnsl.so.1 using :
#dnf install libnsl
i did understand the issue using this site :
https://javarevisited.blogspot.com/2012/03/javalangunsatisfiedlinkerror-no-dll-in.html#axzz5hSglKlPs
I had same problem, In Centos 8 minimial version and Oracle 12c binaries I tried install libnsl package using following yum command:
yum install libnsl
NOTE: during my search I found simplified way in installation Oracle dependencies. According to this link its highly recommended to use oracle pre request installation package in by using following command (in centos):
yum install oracle-rdbms-server-<your-oracle-version>-preinstall
this package helps DBA to install all dependencies before start oracle installation proccess.
I think you try to install oracle DB server in newer version of OS. It fails to perform prerequisite checks on that system. simply hit the command..
root# yum install libnsl*

Datastax Enterprise Installation on Virtual Box CentOS

Can anyone please guide me step by step installation one by one for Datastax Enterprise Installation on Virtual Box CentOS .
I checked Datastax Documentation , but getting little bit confused in few steps and due to which I am not satisfied. Also checked other resources but not able to understand completely.
So Help me to know installation process one by one with all basis steps.
Thanks in advance .
You may have an easier time using OpsCenter's Lifecycle Manager to deploy DSE. (Disclaimer, I am a Lifecycle Manager dev so am biased.)
First you need to install OpsCenter in a separate VM or Centos box. If you're able to get through the Java install and yum repository setup parts of DSE setup, this won't be difficult: https://docs.datastax.com/en/opscenter/6.0/opsc/install/opscInstallRHEL_t.html
Then run an install job from LCM: https://docs.datastax.com/en/opscenter/6.0/opsc/LCM/opscLCMinstallJob.html Example the pre-requisite section of that page carefully. It will show you the things you need to do in LCM to get ready to run the job, it's all point-and-click, though.
The only pre-requisites on your target DSE machine are "python" (usually installed by default) and for the minute "which", though we'll be removing that dependency in an upcoming version.
Note at the end of this process, you'll need to provide cqlsh an IP address, username, and password to connect to the cluster... even when making a "local" connection from your DSE vm. For example: "cqlsh 192.168.1.100 -u cassandra -p the-password-you-chose-during-lcm-install"

Installing WAS 7 on Linux using command line

I am trying to install WAS7 using command line via putty and I am getting the following error:
[root#TVMSLD tools]# ./imcl install com.ibm.rational.was.v70.extension_1.0.0.20080911_1339 -repositories /home/admin/Softwares/WAS7.0/WAS70 -installationDirectory /opt/IBM/WebSphere/AppServer/V70/BASE -sharedResourcesDirectory /opt/IBM/InstallationManager/IMShared -acceptLicense -showProgress
25% 50% 75% 100%
------------------|------------------|------------------|------------------|
............................................................................
ERROR: The installation package 'IBM® WebSphere® Application Server Version 7.0 Test Environment' requires components supplied by other packages.
The required components might be supplied by the specified features of the following installation packages:
Package: Rational Application Developer 7.5.0 -- Features: Tools for WebSphere® Application Server, version 7.0
I tried the command with repository path like /home/admin/Softwares/WAS7.0/WAS70/disk1 and also /home/admin/Softwares/WAS7.0/WAS70/disk1/diskTag.inf
But I am getting the same error. Can anyone help please?
This is not standalone server, but test environment provided with Rational Application Developer. It can only be installed via RAD installation together with RAD.
See more info about the standalone developers version here.

Openbravo invalid source path error when installing new modules/updating

I´m a beginner using OpenBravo ERP.
I installed the software on a Feroda machine using the custom installation guide.
All went fine and the system started up. I then entered on tha default Openbravo account, choose System Administrator role, went to Application->General Setup->Application->Module Management to install some local packages for Brazil. I saw "21 updates available". Either trying to update the packages, or to install my local packages I´m getting the same error when I click "Install":
ERROR: org.openbravo.base.exception.OBException: invalid source path
Can someone help me to solve that ?
Thanks!
This seems to be a permission issue. Can you check if the tomcat user(or the user which writes to the tomcat directory) has permissions to write to the webapps directory.

Solr installation problems on PHP Server (for Drupal)

I just installed Solr on Drupal 7 and now I am trying to run Solr on my server.
when I entered this:-
java -jar start.jar to start Solr, it gave me this error:-
If 'java' is not a typo you can run the following command to lookup the package that contains the binary:
command-not-found java
-bash: java: command not found
I checked if java is installed by typing which java
for which it says:-
which: no java in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin)
My question is:-
How can I install and Run Solr under these circumstances
How can I automatically start Solr after server is restarted in future?
Thanks.
You need to install Java SE 7 first before anything else. I recommend installing both JRE and JDK.
I am sure there are guides for you distro on the internet.

Resources