issue while installing oracle 12c in linux machine - The installer gui popup window never appears - oracle

I am trying to install Oracle 12c in x86_64 x86_64 x86_64 GNU/Linux machine. This is my first time installation. I run the installer from the database folder using ./runInstaller -debug command. The output is as follows:
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 500 MB. Actual 14103 MB Passed
Checking swap space: must be greater than 150 MB. Actual 3964 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-08-28_09-28-56AM. Please wait ...Archive: ../stage/Components/oracle.jdk/1.6.0.75.0/1/DataFiles/filegroup3.jar
inflating: /tmp/OraInstall2015-08-28_09-28-56AM/jdk/lib/ir.idl
inflating: /tmp/OraInstall2015-08-28_09-28-56AM/jdk/lib/sa-jdi.jar
...................
Archive: ../stage/Components/oracle.jdk/1.6.0.75.0/1/DataFiles/filegroup2.jar
.............
Archive: ../stage/Components/oracle.jdk/1.6.0.75.0/1/DataFiles/filegroup4.jar
.......
Archive: ../stage/Components/oracle.jdk/1.6.0.75.0/1/DataFiles/filegroup1.jar
............
Archive: ../stage/Components/oracle.jdk/1.6.0.75.0/1/DataFiles/filegroup5.jar
........
5 archives were successfully processed.
Archive: ../stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup6.jar
...........
Archive: ../stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup2.jar
..........
Archive: ../stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup4.jar
............
Archive: ../stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup7.jar
........
Archive: ../stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup1.jar
.............
Archive: ../stage/Components/oracle.swd.oui/12.1.0.2.0/1/DataFiles/filegroup5.jar
....
6 archives were successfully processed.
Archive: ../stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/filegroup3.jar
......
Archive: ../stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/filegroup2.jar
........
Archive: ../stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/filegroup4.jar
.........
Archive: ../stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/filegroup1.jar
..........
Archive: ../stage/Components/oracle.swd.oui.core/12.1.0.2.0/1/DataFiles/filegroup5.jar
.....
5 archives were successfully processed.
Archive: ../stage/Components/oracle.swd.oui.core.min/12.1.0.2.0/1/DataFiles/filegroup2.jar
....
Archive: ../stage/Components/oracle.swd.oui.core.min/12.1.0.2.0/1/DataFiles/filegroup1.jar
......
2 archives were successfully processed.
LD_LIBRARY_PATH environment variable :
-------------------------------------------------------
Total args: 26
Command line argument array elements ...
Arg:0:/tmp/OraInstall2015-08-28_09-28-56AM/jdk/jre/bin/java:
Arg:1:-Doracle.installer.library_loc=/tmp/OraInstall2015-08-28_09-28-56AM/oui/lib/linux64:
Arg:2:-Doracle.installer.oui_loc=/tmp/OraInstall2015-08-28_09-28-56AM/oui:
Arg:3:-Doracle.installer.bootstrap=TRUE:
Arg:4:-Doracle.installer.startup_location=/oracle12c/database/install:
Arg:5:-Doracle.installer.jre_loc=/tmp/OraInstall2015-08-28_09-28-56AM/jdk/jre:
Arg:6:-Doracle.installer.nlsEnabled="TRUE":
Arg:7:-Doracle.installer.prereqConfigLoc= :
Arg:8:-Doracle.installer.unixVersion=2.6.32-279.el6.x86_64:
Arg:9:-Doracle.install.setup.workDir=/oracle12c/database:
Arg:10:-DCVU_OS_SETTINGS=SHELL_NOFILE_SOFT_LIMIT:1024,SHELL_UMASK:0022:
Arg:11:-Xms150m:
Arg:12:-Xmx256m:
Arg:13:-XX:MaxPermSize=128M:
Arg:14:-cp:
Arg:15:/tmp/OraInstall2015-08-28_09-28-56AM::/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/emca.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/entityManager_proxy.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/prov_fixup.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/orai18n-utility.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/installcommons_1.0.0b.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/wsclient_extended.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/instdb.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/jsch.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/remoteinterfaces.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/OraPrereqChecks.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/orai18n-mapping.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/instcommon.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/emCoreConsole.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/OraPrereq.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/cvu.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/ssh.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/ojdbc6.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/adf-share-ca.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/jmxspi.jar:/tmp/OraInstall2015-08-28_09-28-56AM/ext/jlib/javax.security.jacc_1.0.0.0_1-1.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/oneclick.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/share.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/emCfg.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/emocmutl.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/jsch.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/ssh.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/remoteinterfaces.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/http_client.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/OraSuiteInstaller.jar:../stage/Components/oracle.swd.opatch/12.1.0.2.0/1/DataFiles/jlib/opatch.jar:../stage/Components/oracle.swd.opatch/12.1.0.2.0/1/DataFiles/jlib/opatchactions.jar:../stage/Components/oracle.swd.opatch/12.1.0.2.0/1/DataFiles/jlib/opatchprereq.jar:../stage/Components/oracle.swd.opatch/12.1.0.2.0/1/DataFiles/jlib/opatchutil.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/OraCheckPoint.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstImages.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstHelp.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstHelp_fr.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstHelp_ja.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/help-share.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/ohj.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/ewt3.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/swingaccess.jar::/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/jewt4.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/orai18n-mapping.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/ojmisc.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/xml.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/srvm.jar:/tmp/OraInstall2015-08-28_09-28-56AM/oui/jlib/srvmasm.jar:
Arg:16:oracle.install.ivw.db.driver.DBInstaller:
Arg:17:-scratchPath:
Arg:18:/tmp/OraInstall2015-08-28_09-28-56AM:
Arg:19:-sourceLoc:
Arg:20:/oracle12c/database/install/../stage/products.xml:
Arg:21:-sourceType:
Arg:22:network:
Arg:23:-timestamp:
Arg:24:2015-08-28_09-28-56AM:
Arg:25:-debug:
-------------------------------------------------------
Initializing Java Virtual Machine from /tmp/OraInstall2015-08-28_09-28-56AM/jdk/jre/bin/java. Please wait...
[oracle#korbsbvmlx22 database]$ [main] [ 2015-08-28 09:29:05.048 IST ] [ClusterVerification.getInstance:426] Method Entry. workDir=/tmp frameworkHome=/oracle12c/database/install/../stage/cvu
[main] [ 2015-08-28 09:29:05.062 IST ] [ParamManager.<init>:668] m_paramInstantiated set to TRUE
[main] [ 2015-08-28 09:29:05.062 IST ] [VerificationUtil.getLocalHost:1312] Hostname retrieved: korbsbvmlx22, returned: korbsbvmlx22
[main] [ 2015-08-28 09:29:05.064 IST ] [VerificationUtil.getDestLoc:3712] ==== CV_DESTLOC(pre-fetched value): '/tmp/'
[main] [ 2015-08-28 09:29:05.065 IST ] [VerificationUtil.getExecutionEnvironment:7586] RDBMS Version is -->12.1.0.2.0
[main] [ 2015-08-28 09:29:05.065 IST ] [VerificationUtil.validateCmdLineExecEnvironment:7602] Entered validateCmdLineExecEnvironment
[main] [ 2015-08-28 09:29:05.105 IST ] [Version.isPre:610] version to be checked 12.1.0.2.0 major version to check against 10
[main] [ 2015-08-28 09:29:05.105 IST ] [Version.isPre:621] isPre.java: Returning FALSE
[main] [ 2015-08-28 09:29:05.106 IST ] [Version.isPre:610] version to be checked 12.1.0.2.0 major version to check against 10
[main] [ 2015-08-28 09:29:05.106 IST ] [Version.isPre:621] isPre.java: Returning FALSE
[main] [ 2015-08-28 09:29:05.107 IST ] [Version.isPre:610] version to be checked 12.1.0.2.0 major version to check against 11
[main] [ 2015-08-28 09:29:05.107 IST ] [Version.isPre:621] isPre.java: Returning FALSE
[main] [ 2015-08-28 09:29:05.107 IST ] [Version.isPre:642] version to be checked 12.1.0.2.0 major version to check against 11 minor version to check against 2
[main] [ 2015-08-28 09:29:05.108 IST ] [Version.isPre:651] isPre: Returning FALSE for major version check
[main] [ 2015-08-28 09:29:05.108 IST ] [UnixSystem.isHAConfigured:2788] olrFileName = /etc/oracle/olr.loc
[main] [ 2015-08-28 09:29:05.109 IST ] [VerificationUtil.isHAConfigured:4181] haConfigured=false
[main] [ 2015-08-28 09:29:05.109 IST ] [VerificationUtil.validateCmdLineExecEnvironment:7639] Exit validateCmdLineExecEnvironment
[main] [ 2015-08-28 09:29:05.116 IST ] [ConfigUtil.importConfig:97] ==== CVU config file: /oracle12c/database/install/../stage/cvu//cv/admin/cvu_config
[main] [ 2015-08-28 09:29:05.117 IST ] [ConfigUtil.importConfig:114] ==== Picked up config variable: cv_raw_check_enabled : TRUE
[main] [ 2015-08-28 09:29:05.118 IST ] [ConfigUtil.importConfig:114] ==== Picked up config variable: cv_sudo_binary_location : /usr/local/bin/sudo
[main] [ 2015-08-28 09:29:05.118 IST ] [ConfigUtil.importConfig:114] ==== Picked up config variable: cv_pbrun_binary_location : /usr/local/bin/pbrun
[main] [ 2015-08-28 09:29:05.119 IST ] [ConfigUtil.importConfig:114] ==== Picked up config variable: cv_assume_cl_version : 12.1
[main] [ 2015-08-28 09:29:05.119 IST ] [ConfigUtil.isDefined:200] ==== Is ORACLE_SRVM_REMOTESHELL defined? : false
[main] [ 2015-08-28 09:29:05.121 IST ] [Library.load:194] library.load
[main] [ 2015-08-28 09:29:05.122 IST ] [sPlatform.isHybrid:66] osName=Linux osArch=amd64 JVM=64 rc=false
[main] [ 2015-08-28 09:29:05.122 IST ] [Library.load:262] Property oracle.installer.library_loc is set to value=/tmp/OraInstall2015-08-28_09-28-56AM/oui/lib/linux64
[main] [ 2015-08-28 09:29:05.123 IST ] [Library.load:264] Loading library /tmp/OraInstall2015-08-28_09-28-56AM/oui/lib/linux64/libsrvm12.so
[main] [ 2015-08-28 09:29:05.124 IST ] [ConfigUtil.getConfiguredValue:182] ==== Fallback to env var 'ORACLE_SRVM_REMOTESHELL'=null
[main] [ 2015-08-28 09:29:05.125 IST ] [ConfigUtil.isDefined:200] ==== Is ORACLE_SRVM_REMOTECOPY defined? : false
[main] [ 2015-08-28 09:29:05.125 IST ] [ConfigUtil.getConfiguredValue:182] ==== Fallback to env var 'ORACLE_SRVM_REMOTECOPY'=null
As seen in debug messages after "Please wait..." no installer window opens and there are further messages that is displayed in the console and then it is always like that. I have verified the logs in /tmp directory and it appears to be clean. I am stuck with this issue since long and do not know how to proceed.
Please guide.

Related

Clickhouse starts with error: Cannot get pipe capacity

After installing clickhouse using apt-get, I try to start it
sudo -u clickhouse clickhouse-server --config-file=/etc/clickhouse-server/config.xml
but it doesn't start with an error
Application: DB::ErrnoException: Cannot get pipe capacity, errno: 22, strerror: Invalid argument
full log:
Include not found: clickhouse_remote_servers
Include not found: clickhouse_compression
Logging trace to /var/log/clickhouse-server/clickhouse-server.log
Logging errors to /var/log/clickhouse-server/clickhouse-server.err.log
Logging trace to console
2019.08.28 11:26:50.255115 [ 1 ] {} <Information> : Starting ClickHouse 19.13.3.26 with revision 54425
2019.08.28 11:26:50.255253 [ 1 ] {} <Information> Application: starting up
2019.08.28 11:26:50.260659 [ 1 ] {} <Debug> Application: Set max number of file descriptors to 1048576 (was 1024).
2019.08.28 11:26:50.260715 [ 1 ] {} <Debug> Application: Initializing DateLUT.
2019.08.28 11:26:50.260733 [ 1 ] {} <Trace> Application: Initialized DateLUT with time zone 'America/New_York'.
2019.08.28 11:26:50.261086 [ 1 ] {} <Debug> Application: Configuration parameter 'interserver_http_host' doesn't exist or exists and empty. Will use 'virtual.rysev' as replica host.
2019.08.28 11:26:50.264129 [ 1 ] {} <Debug> ConfigReloader: Loading config '/etc/clickhouse-server/users.xml'
Include not found: networks
2019.08.28 11:26:50.265577 [ 1 ] {} <Information> Application: Uncompressed cache size was lowered to 512.00 MiB because the system has low amount of memory
2019.08.28 11:26:50.265908 [ 1 ] {} <Information> Application: Mark cache size was lowered to 512.00 MiB because the system has low amount of memory
2019.08.28 11:26:50.265955 [ 1 ] {} <Information> Application: Loading metadata from /var/lib/clickhouse/
2019.08.28 11:26:50.267614 [ 1 ] {} <Debug> Application: Loaded metadata.
2019.08.28 11:26:50.267981 [ 1 ] {} <Information> Application: Shutting down storages.
2019.08.28 11:26:50.268287 [ 1 ] {} <Debug> Application: Shutted down storages.
2019.08.28 11:26:50.269839 [ 1 ] {} <Debug> Application: Destroyed global context.
2019.08.28 11:26:50.270149 [ 1 ] {} <Error> Application: DB::ErrnoException: Cannot get pipe capacity, errno: 22, strerror: Invalid argument
2019.08.28 11:26:50.270181 [ 1 ] {} <Information> Application: shutting down
2019.08.28 11:26:50.270194 [ 1 ] {} <Debug> Application: Uninitializing subsystem: Logging Subsystem
2019.08.28 11:26:50.270265 [ 3 ] {} <Information> BaseDaemon: Stop SignalListener thread
pls, help
you could try run following commands:
systemctl enable clickhouse-server
systemctl start clickhouse-server
also you can try figure out how properly run clickhouse-server
less /lib/systemd/system/clickhouse-server.service
I had the same error message when installing clickhouse on a CentOS 7 docker image which was started on a CentOS 6 host (kernel-2.6.32).
The issue seems to be related to a change in clickhouse 19.12:
TraceCollector.cpp:52
int pipe_size = fcntl(trace_pipe.fds_rw[1], F_GETPIPE_SZ);
F_GETPIPE_SZ is available in Linux kernel >=2.6.35, so this might be the issue.
So you can manually install an older version of clickhouse through the repository or update your kernel.
rpm: https://repo.yandex.ru/clickhouse/rpm/stable/x86_64/
deb: https://repo.yandex.ru/clickhouse/deb/stable/main/
I tried clickhouse version 19.11.8.46-2 and it instantly worked.

validating Logstash configuration

I am trying to validate my logstash configuration.
Using :
sudo -u logstash /usr/share/logstash/bin/logstash --path.settings -t -f /etc/logstash/conf.d
I received the following error:
penJDK 64-Bit Server VM warning: If the number of processors is
expected to increase from one, then you should configure the number of
parallel GC threads appropriately using -XX:ParallelGCThreads=N
WARNING: Could not find logstash.yml which is typically located in
$LS_HOME/config or /etc/logstash. You can specify the path using
--path.settings. Continuing using the defaults Could not find log4j2 configuration at path /tmp/hsperfdata_logstash/-t/log4j2.properties.
Using default config which logs errors to the console [INFO ]
2018-10-09 14:56:50.240 [main] scaffold - Initializing module
{:module_name=>"fb_apache",
:directory=>"/usr/share/logstash/modules/fb_apache/configuration"}
[INFO ] 2018-10-09 14:56:50.265 [main] scaffold - Initializing module
{:module_name=>"netflow",
:directory=>"/usr/share/logstash/modules/netflow/configuration"} [INFO
] 2018-10-09 14:56:50.378 [main] writabledirectory - Creating
directory {:setting=>"path.queue",
:path=>"/usr/share/logstash/data/queue"} [INFO ] 2018-10-09
14:56:50.380 [main] writabledirectory - Creating directory
{:setting=>"path.dead_letter_queue",
:path=>"/usr/share/logstash/data/dead_letter_queue"} [WARN ]
2018-10-09 14:56:51.099 [LogStash::Runner] multilocal - Ignoring the
'pipelines.yml' file because modules or command line options are
specified [INFO ] 2018-10-09 14:56:51.126 [LogStash::Runner] agent -
No persistent UUID file found. Generating new UUID
{:uuid=>"80207611-d5b8-47dd-b229-23c2ade385ae",
:path=>"/usr/share/logstash/data/uuid"} [INFO ] 2018-10-09
14:56:51.568 [LogStash::Runner] runner - Starting Logstash
{"logstash.version"=>"6.2.4"} [INFO ] 2018-10-09 14:56:52.021 [Api
Webserver] agent - Successfully started Logstash API endpoint
{:port=>9600} [ERROR] 2018-10-09 14:56:53.586 [Ruby-0-Thread-1:
/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22]
beats - Invalid setting for beats input plugin:
input {
beats {
# This setting must be a path
# File does not exist or cannot be opened /etc/pki/tls/certs/logstash-forwarder.crt
ssl_certificate => "/etc/pki/tls/certs/logstash-forwarder.crt"
...
} } [ERROR] 2018-10-09 14:56:53.588 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22]
beats - Invalid setting for beats input plugin:
input {
beats {
# This setting must be a path
# File does not exist or cannot be opened /etc/pki/tls/private/logstash-forwarder.key
ssl_key => "/etc/pki/tls/private/logstash-forwarder.key"
...
} } [ERROR] 2018-10-09 14:56:53.644 [Ruby-0-Thread-1: /usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:22]
agent - Failed to execute action
{:action=>LogStash::PipelineAction::Create/pipeline_id:main,
:exception=>"LogStash::ConfigurationError", :message=>"Something is
wrong with your configuration.",
:backtrace=>["/usr/share/logstash/logstash-core/lib/logstash/config/mixin.rb:89:in
config_init'",
"/usr/share/logstash/logstash-core/lib/logstash/inputs/base.rb:62:in
initialize'",
"/usr/share/logstash/logstash-core/lib/logstash/plugins/plugin_factory.rb:89:in
plugin'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:112:in
plugin'", "(eval):8:in <eval>'", "org/jruby/RubyKernel.java:994:in
eval'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:84:in
initialize'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:169:in
initialize'",
"/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:40:in
execute'",
"/usr/share/logstash/logstash-core/lib/logstash/agent.rb:315:inblock
in converge_state'",
"/usr/share/logstash/logstash-core/lib/logstash/agent.rb:141:in
with_pipelines'",
"/usr/share/logstash/logstash-core/lib/logstash/agent.rb:312:inblock
in converge_state'", "org/jruby/RubyArray.java:1734:in each'",
"/usr/share/logstash/logstash-core/lib/logstash/agent.rb:299:in
converge_state'",
"/usr/share/logstash/logstash-core/lib/logstash/agent.rb:166:in block
in converge_state_and_update'",
"/usr/share/logstash/logstash-core/lib/logstash/agent.rb:141:in
with_pipelines'",
"/usr/share/logstash/logstash-core/lib/logstash/agent.rb:164:in
converge_state_and_update'",
"/usr/share/logstash/logstash-core/lib/logstash/agent.rb:90:in
execute'",
"/usr/share/logstash/logstash-core/lib/logstash/runner.rb:348:in
block in execute'",
"/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/stud-0.0.23/lib/stud/task.rb:24:in
block in initialize'"]}
I would appreciate any help with this.
Please check logstash.yml file available on /etc/logstash ? If it available stop the logstash service and kill if any processes ruining on background. Save your config file on /etc/logstash/conf.d/your_file.conf. To run the config test go to, logstash bin directory and run
./logstash -f /etc/logstash/conf.d/your_config_file.conf --config.test_and_exit

IntelliJ Idea 15 hangs when starting and debuging

this is my first question.
I'm confusing on my IntelliJ Idea hanging 1 minute when starting and debugging with network on. Could anyone help me? Thanks.
I have tried IntelliJC and IntelliJU which are both 15.0.4. When I cut down the network, It works with no problem. But, with network on, it becomes hanging when starting and debugging.
Through logs, I found that there's almost 1 minute between I starting IntelliJ and its log beginning.
I even captured its network packets, found nothing, there was no connection.
I'm using Macbook, and I found the system log:
Mar 11 07:49:36 Coderec's MBP idea[1867]: Value of IDEA_JDK: (null)
Mar 11 07:49:36 Coderec's MBP idea[1867]: fullFileName is: /Applications/IntelliJ IDEA 15 CE.app/Contents/bin/idea.vmoptions
Mar 11 07:49:36 Coderec's MBP idea[1867]: fullFileName exists: /Applications/IntelliJ IDEA 15 CE.app/Contents/bin/idea.vmoptions
Mar 11 07:49:36 Coderec's MBP idea[1867]: Value of IDEA_VM_OPTIONS is (null)
Mar 11 07:49:36 Coderec's MBP idea[1867]: Processing VMOptions file at /Applications/IntelliJ IDEA 15 CE.app/Contents/bin/idea.vmoptions
Mar 11 07:49:36 Coderec's MBP idea[1867]: Done
and the IntelliJ log:
2016-03-11 07:50:37,529 [ 60385] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2016-03-11 07:50:37,559 [ 60415] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-143.2287.1, 23 Feb 2016 00:00)
2016-03-11 07:50:37,559 [ 60415] INFO - #com.intellij.idea.Main - OS: Mac OS X (10.11.3, x86_64)
2016-03-11 07:50:37,559 [ 60415] INFO - #com.intellij.idea.Main - JRE: 1.8.0_40-release-b132 (JetBrains s.r.o)
2016-03-11 07:50:37,559 [ 60415] INFO - #com.intellij.idea.Main - JVM: 25.40-b25 (OpenJDK 64-Bit Server VM)
2016-03-11 07:50:37,560 [ 60416] INFO - #com.intellij.idea.Main - JVM Args: -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Xverify:none -Xbootclasspath/a:../lib/boot.jar -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=240m -XX:+UseCompressedOops -Djb.vmOptionsFile=/Applications/IntelliJ IDEA 15 CE.app/Contents/bin/idea.vmoptions -Didea.java.redist=custom-jdk-bundled -Didea.home.path=/Applications/IntelliJ IDEA 15 CE.app/Contents -Didea.executable=idea -Didea.paths.selector=IdeaIC15
2016-03-11 07:50:37,561 [ 60417] INFO - #com.intellij.idea.Main - ext: /Applications/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/lib/ext: [cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunpkcs11.jar, zipfs.jar]
2016-03-11 07:50:37,561 [ 60417] INFO - #com.intellij.idea.Main - ext: /System/Library/Java/Extensions: [MRJToolkit.jar]
2016-03-11 07:50:37,581 [ 60437] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 20 ms
2016-03-11 07:50:37,584 [ 60440] INFO - #com.intellij.idea.Main - initializing environment
2016-03-11 07:50:37,585 [ 60441] INFO - .intellij.util.EnvironmentUtil - loading shell env: /bin/zsh -l -i -c '/Applications/IntelliJ IDEA 15 CE.app/Contents/bin/printenv.py' '/private/var/folders/w9/rkmh4kqs2l3bd5nf5mlp7k100000gq/T/intellij-shell-env.0.tmp'
2016-03-11 07:50:38,546 [ 61402] INFO - .intellij.util.EnvironmentUtil - shell environment loaded (19 vars)
2016-03-11 07:50:38,784 [ 61640] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor duplicates-groovy.xml
2016-03-11 07:50:39,050 [ 61906] INFO - llij.ide.plugins.PluginManager - 31 plugins initialized in 436 ms
2016-03-11 07:50:39,052 [ 61908] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.1.3.0), Ant Support (1.0), Bytecode Viewer (0.1), CVS Integration (11), Copyright (8.1), Coverage (143.SNAPSHOT), Eclipse Integration (3.0), EditorConfig (1.0), Git Integration (8.1), GitHub (143.2287.1), Gradle (143.2287.1), Groovy (9.0), I18n for Java (143.2287.1), IDEA CORE (143.SNAPSHOT), IntelliLang (8.0), JUnit (1.0), Java Bytecode Decompiler (0.1), JavaFX (1.0), Kotlin (1.0.0-release-IJ143-75), Maven Integration (143.2287.1), Plugin DevKit (1.0), Properties Support (143.SNAPSHOT), Settings Repository (143.2287.1), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), UI Designer (143.2287.1), XPathView + XSLT Support (4), XSLT-Debugger (1.4), hg4idea (10.0)
2016-03-11 07:50:39,384 [ 62240] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=739246080
2016-03-11 07:50:39,415 [ 62271] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /Applications/IntelliJ IDEA 15 CE.app/Contents/bin/fsnotifier
2016-03-11 07:50:39,423 [ 62279] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2016-03-11 07:50:40,025 [ 62881] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2016-03-11 07:50:40,564 [ 63420] INFO - plication.impl.ApplicationImpl - 84 application components initialized in 1951 ms
2016-03-11 07:50:40,581 [ 63437] INFO - .intellij.idea.IdeaApplication - App initialization took 63756 ms
2016-03-11 07:50:40,588 [ 63444] INFO - ntellij.util.proxy.CommonProxy - <html>You have JVM property "socksProxyHost" set to "127.0.0.1".<br>This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy<br>This JVM property is old and its usage is not recommended by Oracle.<br>(Note: It could have been assigned by some code dynamically.)
2016-03-11 07:50:40,647 [ 63503] INFO - ntellij.util.proxy.CommonProxy - <html>You have JVM property "socksProxyHost" set to "127.0.0.1".<br>This may lead to incorrect behaviour. Proxy should be set in Settings | HTTP Proxy<br>This JVM property is old and its usage is not recommended by Oracle.<br>(Note: It could have been assigned by some code dynamically.)
2016-03-11 07:50:41,176 [ 64032] INFO - CompilerWorkspaceConfiguration - Available processors: 8
2016-03-11 07:50:41,575 [ 64431] INFO - ellij.project.impl.ProjectImpl - 148 project components initialized in 746 ms
2016-03-11 07:50:41,723 [ 64579] INFO - le.impl.ModuleManagerComponent - 2 module(s) loaded in 147 ms
2016-03-11 07:50:43,450 [ 66306] INFO - tartup.impl.StartupManagerImpl - /Users/coderec/IdeaProjects/pttms-server/pttms-server/.idea/misc.xml case-sensitivity: false
2016-03-11 07:50:44,351 [ 67207] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 22ms; general responsiveness: ok; EDT responsiveness: ok
2016-03-11 07:50:44,934 [ 67790] INFO - tor.impl.FileEditorManagerImpl - Project opening took 4133 ms
2016-03-11 07:50:45,903 [ 68759] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 1551ms; general responsiveness: ok; EDT responsiveness: ok
2016-03-11 07:50:46,373 [ 69229] INFO - lij.tasks.impl.TaskManagerImpl - Updating issues cache (every 20 min)
2016-03-11 07:50:47,309 [ 70165] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /Applications/IntelliJ IDEA 15 CE.app/Contents/lib/jps-launcher.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/lib/tools.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/optimizedFileManager.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/ecj-4.4.jar
2016-03-11 07:50:47,678 [ 70534] INFO - ution.rmi.RemoteProcessSupport - "/Applications/IntelliJ IDEA 15 CE.app/Contents/jre/jdk/Contents/Home/jre/bin/java" -d64 -Djava.awt.headless=true -Didea.version==15.0.4 -Xmx512m -Didea.maven.embedder.version=3.0.5 -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/resources_en.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/log4j.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/slf4j-api-1.7.10.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/slf4j-log4j12-1.7.10.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/jna-platform.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/snappy-in-java-0.3.1.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/picocontainer.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/jna.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/oromatcher.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/annotations.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/trove4j.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/jdom.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/util.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/lucene-core-2.4.1.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven-server-api.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3-server-common.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3-server-lib/archetype-catalog-2.2.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3-server-lib/archetype-common-2.2.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3-server-lib/maven-dependency-tree-1.2.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3-server-lib/nexus-indexer-3.0.4.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3-server-lib/nexus-indexer-artifact-1.0.1.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven30-server-impl.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/aether-api-1.13.1.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/aether-connector-wagon-1.13.1.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/aether-impl-1.13.1.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/aether-spi-1.13.1.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/aether-util-1.13.1.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/commons-cli-1.2.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/commons-io-2.2.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/commons-lang-2.6.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-aether-provider-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-artifact-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-compat-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-core-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-embedder-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-model-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-model-builder-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-plugin-api-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-repository-metadata-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-settings-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/maven-settings-builder-3.0.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/plexus-cipher-1.7.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/plexus-component-annotations-1.5.5.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/plexus-interpolation-1.14.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/plexus-sec-dispatcher-1.3.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/plexus-utils-2.0.6.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/sisu-guava-0.9.9.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/sisu-guice-3.1.0-no_aop.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/sisu-inject-bean-2.3.0.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/sisu-inject-plexus-2.3.0.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/wagon-file-2.8.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/wagon-http-2.8-shaded.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/wagon-http-shared-2.8.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/lib/wagon-provider-api-2.8.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.4.jar" org.jetbrains.idea.maven.server.RemoteMavenServer
2016-03-11 07:50:47,917 [ 70773] INFO - ution.rmi.RemoteProcessSupport - Port/ID: 4823/Maven30ServerImplf51fe04a
2016-03-11 07:50:48,891 [ 71747] INFO - ution.rmi.RemoteProcessSupport - 0 [RMI TCP Connection(3)-127.0.0.1] DEBUG Sisu - Add publisher: com.google.inject.internal.InjectorImpl#5fd5172c
2016-03-11 07:50:48,891 [ 71747] INFO - ution.rmi.RemoteProcessSupport -
2016-03-11 07:50:48,891 [ 71747] INFO - ution.rmi.RemoteProcessSupport - -----[explicit bindings]-------------------------------------------------------
2016-03-11 07:50:48,891 [ 71747] INFO - ution.rmi.RemoteProcessSupport - 0. ProviderInstanceBinding{key=Key[type=com.google.inject.Injector, annotation=[none]], source=[unknown source], scope=Scopes.NO_SCOPE, provider=Provider<Injector>}
2016-03-11 07:50:48,891 [ 71747] INFO - ution.rmi.RemoteProcessSupport - 1. ProviderInstanceBinding{key=Key[type=java.util.logging.Logger, annotation=[none]], source=[unknown source], scope=Scopes.NO_SCOPE, provider=Provider<Logger>}
2016-03-11 07:50:48,891 [ 71747] INFO - ution.rmi.RemoteProcessSupport - 2. ProviderInstanceBinding{key=Key[type=org.slf4j.Logger, annotation=[none]], source=[unknown source], scope=Scopes.NO_SCOPE, provider=Provider<org.slf4j.Logger>}
2016-03-11 07:50:48,891 [ 71747] INFO - ution.rmi.RemoteProcessSupport - 3. InstanceBinding{key=Key[type=com.google.inject.Stage, annotation=[none]], source=[unknown source], instance=DEVELOPMENT}
2016-03-11 07:50:48,891 [ 71747] INFO - ution.rmi.RemoteProcessSupport - 4. InstanceBinding{key=Key[type=org.codehaus.plexus.context.Context, annotation=[none]], source=org.codehaus.plexus.DefaultPlexusContainer$ContainerModule.configure(DefaultPlexusContainer.java:800), instance={plexus=org.codehaus.plexus.DefaultPlexusContainer#290238e6}}
2016-03-11 07:50:48,891 [ 71747] INFO - ution.rmi.RemoteProcessSupport - 5. InstanceBinding{key=Key[type=java.util.Map, annotation=#org.sonatype.inject.Parameters], source=org.codehaus.plexus.DefaultPlexusContainer$ContainerModule.configure(DefaultPlexusContainer.java:801), instance=null}
2016-03-11 07:50:48,891 [ 71747] INFO - ution.rmi.RemoteProcessSupport - 6. InstanceBinding{key=Key[type=org.sonatype.guice.bean.locators.MutableBeanLocator, annotation=[none]], source=org.codehaus.plexus.DefaultPlexusContainer$ContainerModule.configure(DefaultPlexusContainer.java:803), instance=org.sonatype.guice.bean.locators.DefaultBeanLocator#47715323[Locked by thread RMI TCP Connection(3)-127.0.0.1]}
6~235, omitted
2016-03-11 07:50:48,904 [ 71760] INFO - ution.rmi.RemoteProcessSupport - 235. ConstructorBinding{key=Key[type=org.apache.maven.lifecycle.internal.LifecyclePluginResolver, annotation=[none]], source=ClassRealm[plexus.core, parent: null], scope=Scopes.SINGLETON}
2016-03-11 07:50:48,904 [ 71760] INFO - ution.rmi.RemoteProcessSupport - 236. ConstructorBinding{key=Key[type=org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder, annotation=[none]], source=ClassRealm[plexus.core, parent: null], scope=Scopes.SINGLETON}
2016-03-11 07:50:48,904 [ 71760] INFO - ution.rmi.RemoteProcessSupport - 237. ConstructorBinding{key=Key[type=org.apache.maven.lifecycle.internal.MojoDescriptorCreator, annotation=[none]], source=ClassRealm[plexus.core, parent: null], scope=Scopes.SINGLETON}
2016-03-11 07:50:48,904 [ 71760] INFO - ution.rmi.RemoteProcessSupport - -----[implicit bindings]-------------------------------------------------------
2016-03-11 07:50:48,904 [ 71760] INFO - ution.rmi.RemoteProcessSupport - -------------------------------------------------------------------------------
2016-03-11 07:50:48,904 [ 71760] INFO - ution.rmi.RemoteProcessSupport -
2016-03-11 07:50:49,935 [ 72791] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /Applications/IntelliJ IDEA 15 CE.app/Contents/lib/jps-launcher.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/lib/tools.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/optimizedFileManager.jar:/Applications/IntelliJ IDEA 15 CE.app/Contents/lib/ecj-4.4.jar
I finally solved this problem with resetting the host name of my mac, which was set with blank like "Coderec's MBP".
The illegal host name caused this confusing problem.

ins-20802 - oracle net configuration assistant failed during installation - centos 7

Hello I am trying to folow the manual for installing the Oracle 12c. Actually it was already installed on the machine, and then deinstalled.
During installiation I get the "[ins-20802] oracle net configuration assistant failed during installation" error window. And proposed detail log file, where I can see:
INFO: ... GenericInternalPlugIn: starting read loop.
INFO: Read:
WARNING: Skipping line:
INFO: End of argument passing to stdin
INFO: Read: Parsing command line arguments:
WARNING: Skipping line: Parsing command line arguments:
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Parameter "orahome" = /u01/app/oracle/product/12.1.0/db_1
WARNING: Skipping line: Parameter "orahome" = /u01/app/oracle/product/12.1.0/db_1
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Parameter "orahnam" = OraDB12Home1
WARNING: Skipping line: Parameter "orahnam" = OraDB12Home1
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Parameter "instype" = typical
WARNING: Skipping line: Parameter "instype" = typical
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Parameter "inscomp" = client,oraclenet,javavm,server,ano
WARNING: Skipping line: Parameter "inscomp" = client,oraclenet,javavm,server,ano
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Parameter "insprtcl" = tcp
WARNING: Skipping line: Parameter "insprtcl" = tcp
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Parameter "cfg" = local
WARNING: Skipping line: Parameter "cfg" = local
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Parameter "authadp" = NO_VALUE
WARNING: Skipping line: Parameter "authadp" = NO_VALUE
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Parameter "responsefile" = /u01/app/oracle/product/12.1.0/db_1/network/install/netca_typ.rsp
WARNING: Skipping line: Parameter "responsefile" = /u01/app/oracle/product/12.1.0/db_1/network/install/netca_typ.rsp
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Parameter "silent" = true
WARNING: Skipping line: Parameter "silent" = true
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Parameter "ouiinternal" = true
WARNING: Skipping line: Parameter "ouiinternal" = true
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Done parsing command line arguments.
WARNING: Skipping line: Done parsing command line arguments.
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Oracle Net Services Configuration:
WARNING: Skipping line: Oracle Net Services Configuration:
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Profile configuration complete.
WARNING: Skipping line: Profile configuration complete.
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Oracle Net Listener Startup:
WARNING: Skipping line: Oracle Net Listener Startup:
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Running Listener Control:
WARNING: Skipping line: Running Listener Control:
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: /u01/app/oracle/product/12.1.0/db_1/bin/lsnrctl start LISTENER
WARNING: Skipping line: /u01/app/oracle/product/12.1.0/db_1/bin/lsnrctl start LISTENER
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Listener Control complete.
WARNING: Skipping line: Listener Control complete.
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Listener start failed.
WARNING: Skipping line: Listener start failed.
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Check the trace file for details: /u01/app/oracle/cfgtoollogs/netca/trace_OraDB12Home1-1504033PM3901.log
WARNING: Skipping line: Check the trace file for details: /u01/app/oracle/cfgtoollogs/netca/trace_OraDB12Home1-1504033PM3901.log
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Oracle Net Services configuration failed. The exit code is 1
WARNING: Skipping line: Oracle Net Services configuration failed. The exit code is 1
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Completed Plugin named: Oracle Net Configuration Assistant
Ans the corresponding trace_OraDB12Home1-1504033PM3901.log:
[main] [ 2015-04-03 15:39:06.329 MSK ] [OracleHome.getVersion:1059] Current Version From Inventory: 12.1.0.2.0
[main] [ 2015-04-03 15:39:06.329 MSK ] [InitialSetup.<init>:4151] Admin location is: /u01/app/oracle/product/12.1.0/db_1/network/admin
[main] [ 2015-04-03 15:39:06.718 MSK ] [ConfigureProfile.setProfileParam:140] Setting NAMES.DIRECTORY_PATH: (TNSNAMES, EZCONNECT)
[main] [ 2015-04-03 15:39:06.735 MSK ] [HAUtils.getCurrentOracleHome:593] Oracle home from system property: /u01/app/oracle/product/12.1.0/db_1
[main] [ 2015-04-03 15:39:06.735 MSK ] [HAUtils.getConfiguredGridHome:1343] ----- Getting CRS HOME ----
[main] [ 2015-04-03 15:39:06.737 MSK ] [UnixSystem.getCRSHome:2878] olrFileName = /etc/oracle/olr.loc
[main] [ 2015-04-03 15:39:06.795 MSK ] [HAUtils.getHASHome:1500] Failed to get HAS home.
PRCI-1144 : Failed to retrieve Oracle Grid Infrastructure home path
PRKC-1144 : File "/etc/oracle/olr.loc" not found.
[main] [ 2015-04-03 15:39:06.795 MSK ] [InitialSetup.checkHAConfiguration:4808] HA Server is NOT configured.
[main] [ 2015-04-03 15:39:06.797 MSK ] [NetCAResponseFile.<init>:75] Response file initialized: /u01/app/oracle/product/12.1.0/db_1/network/install/netca_typ.rsp
[main] [ 2015-04-03 15:39:06.798 MSK ] [NetCAResponseFile.getInstalledComponents:114] Installed components from response file: server, net8, javavm
[main] [ 2015-04-03 15:39:06.798 MSK ] [NetCAResponseFile.getVirtualHost:171] Virtual Host from response file: null
[main] [ 2015-04-03 15:39:06.799 MSK ] [SilentConfigure.performSilentConfigure:198] Typical profile configuration.
[main] [ 2015-04-03 15:39:06.801 MSK ] [ConfigureProfile.setProfileParam:140] Setting NAMES.DIRECTORY_PATH: (TNSNAMES, EZCONNECT)
[main] [ 2015-04-03 15:39:06.802 MSK ] [SilentConfigure.performSilentConfigure:206] Typical listener configuration.
[main] [ 2015-04-03 15:39:06.839 MSK ] [ConfigureListener.isHASConfigured:1596] Calling SRVM api to check if Oracle Restart is configured ...
[main] [ 2015-04-03 15:39:06.840 MSK ] [HAUtils.getCurrentOracleHome:593] Oracle home from system property: /u01/app/oracle/product/12.1.0/db_1
[main] [ 2015-04-03 15:39:06.840 MSK ] [HAUtils.getConfiguredGridHome:1343] ----- Getting CRS HOME ----
[main] [ 2015-04-03 15:39:06.840 MSK ] [UnixSystem.getCRSHome:2878] olrFileName = /etc/oracle/olr.loc
[main] [ 2015-04-03 15:39:06.841 MSK ] [HAUtils.getHASHome:1500] Failed to get HAS home.
PRCI-1144 : Failed to retrieve Oracle Grid Infrastructure home path
PRKC-1144 : File "/etc/oracle/olr.loc" not found.
[main] [ 2015-04-03 15:39:06.841 MSK ] [ConfigureListener.isHASConfigured:1607] Is Oracle Restart configured: false
[main] [ 2015-04-03 15:39:06.841 MSK ] [ConfigureListener.isHASRunning:1636] Is Oracle Restart running: false
[main] [ 2015-04-03 15:39:06.842 MSK ] [ConfigureListener.listenerExists:396] Is listener "LISTENER" already exists: false
[main] [ 2015-04-03 15:39:06.842 MSK ] [ConfigureListener.typicalConfigure:257] Checking for free port in range: 1521-1540
[main] [ 2015-04-03 15:39:06.842 MSK ] [ConfigureListener.validateEndPoint:1059] Validating end-point: TCP:1521
[main] [ 2015-04-03 15:39:06.944 MSK ] [ConfigureListener.isPortFree:1131] Checking if port 1521 is free on local machine...
[main] [ 2015-04-03 15:39:06.945 MSK ] [ConfigureListener.isPortFree:1146] InetAddress.getByName(127.0.0.1): /127.0.0.1
[main] [ 2015-04-03 15:39:06.945 MSK ] [ConfigureListener.isPortFree:1148] Local host IP address: localhost.localdomain/127.0.0.1
[main] [ 2015-04-03 15:39:06.945 MSK ] [ConfigureListener.isPortFree:1150] Local host name: localhost.localdomain
[main] [ 2015-04-03 15:39:06.945 MSK ] [ConfigureListener.isPortFree:1166] IP Address: localhost.localdomain/127.0.0.1, Is IPv6 Address: false
[main] [ 2015-04-03 15:39:06.946 MSK ] [ConfigureListener.isPortFree:1169] IP Address: localhost.localdomain/127.0.0.1, Is Link-Local Address: false
[main] [ 2015-04-03 15:39:06.946 MSK ] [ConfigureListener.isPortFree:1194] Creating ServerSocket on Port:1521, IP Address: localhost.localdomain/127.0.0.1
[main] [ 2015-04-03 15:39:06.968 MSK ] [ConfigureListener.isPortFree:1197] Created ServerSocket successfully.
[main] [ 2015-04-03 15:39:06.968 MSK ] [ConfigureListener.isPortFree:1166] IP Address: localhost.localdomain/0:0:0:0:0:0:0:1, Is IPv6 Address: true
[main] [ 2015-04-03 15:39:06.968 MSK ] [ConfigureListener.isPortFree:1169] IP Address: localhost.localdomain/0:0:0:0:0:0:0:1, Is Link-Local Address: false
[main] [ 2015-04-03 15:39:06.968 MSK ] [ConfigureListener.isPortFree:1194] Creating ServerSocket on Port:1521, IP Address: localhost.localdomain/0:0:0:0:0:0:0:1
[main] [ 2015-04-03 15:39:06.969 MSK ] [ConfigureListener.isPortFree:1197] Created ServerSocket successfully.
[main] [ 2015-04-03 15:39:06.969 MSK ] [ConfigureListener.isPortFree:1209] Creating ServerSocket on Port:1521, Local IP Address: /127.0.0.1
[main] [ 2015-04-03 15:39:06.969 MSK ] [ConfigureListener.isPortFree:1213] Created ServerSocket successfully.
[main] [ 2015-04-03 15:39:06.969 MSK ] [ConfigureListener.isPortFree:1219] Creating ServerSocket on Port:1521
[main] [ 2015-04-03 15:39:06.970 MSK ] [ConfigureListener.isPortFree:1222] Created ServerSocket successfully.
[main] [ 2015-04-03 15:39:06.970 MSK ] [ConfigureListener.isPortFree:1242] Returning is Port 1521 free: true
[main] [ 2015-04-03 15:39:06.970 MSK ] [ConfigureListener.validateEndPoint:1114] Validation...Complete for TCP/TCPS.
[main] [ 2015-04-03 15:39:06.970 MSK ] [ConfigureListener.typicalConfigure:274] Using port: 1521
[main] [ 2015-04-03 15:39:08.684 MSK ] [ConfigureListener.isPortFree:1131] Checking if port 1521 is free on local machine...
[main] [ 2015-04-03 15:39:08.685 MSK ] [ConfigureListener.isPortFree:1146] InetAddress.getByName(127.0.0.1): /127.0.0.1
[main] [ 2015-04-03 15:39:08.686 MSK ] [ConfigureListener.isPortFree:1148] Local host IP address: localhost.localdomain/127.0.0.1
[main] [ 2015-04-03 15:39:08.686 MSK ] [ConfigureListener.isPortFree:1150] Local host name: localhost.localdomain
[main] [ 2015-04-03 15:39:08.687 MSK ] [ConfigureListener.isPortFree:1166] IP Address: localhost.localdomain/127.0.0.1, Is IPv6 Address: false
[main] [ 2015-04-03 15:39:08.687 MSK ] [ConfigureListener.isPortFree:1169] IP Address: localhost.localdomain/127.0.0.1, Is Link-Local Address: false
[main] [ 2015-04-03 15:39:08.687 MSK ] [ConfigureListener.isPortFree:1194] Creating ServerSocket on Port:1521, IP Address: localhost.localdomain/127.0.0.1
[main] [ 2015-04-03 15:39:08.688 MSK ] [ConfigureListener.isPortFree:1197] Created ServerSocket successfully.
[main] [ 2015-04-03 15:39:08.688 MSK ] [ConfigureListener.isPortFree:1166] IP Address: localhost.localdomain/0:0:0:0:0:0:0:1, Is IPv6 Address: true
[main] [ 2015-04-03 15:39:08.689 MSK ] [ConfigureListener.isPortFree:1169] IP Address: localhost.localdomain/0:0:0:0:0:0:0:1, Is Link-Local Address: false
[main] [ 2015-04-03 15:39:08.689 MSK ] [ConfigureListener.isPortFree:1194] Creating ServerSocket on Port:1521, IP Address: localhost.localdomain/0:0:0:0:0:0:0:1
[main] [ 2015-04-03 15:39:08.689 MSK ] [ConfigureListener.isPortFree:1197] Created ServerSocket successfully.
[main] [ 2015-04-03 15:39:08.690 MSK ] [ConfigureListener.isPortFree:1209] Creating ServerSocket on Port:1521, Local IP Address: /127.0.0.1
[main] [ 2015-04-03 15:39:08.690 MSK ] [ConfigureListener.isPortFree:1213] Created ServerSocket successfully.
[main] [ 2015-04-03 15:39:08.691 MSK ] [ConfigureListener.isPortFree:1219] Creating ServerSocket on Port:1521
[main] [ 2015-04-03 15:39:08.691 MSK ] [ConfigureListener.isPortFree:1222] Created ServerSocket successfully.
[main] [ 2015-04-03 15:39:08.692 MSK ] [ConfigureListener.isPortFree:1242] Returning is Port 1521 free: true
Maybe problem is because:
PRCI-1144 : Failed to retrieve Oracle Grid Infrastructure home path
PRKC-1144 : File "/etc/oracle/olr.loc" not found.
Any ideas what I am dooing wrong and how finally install the Oracle?
I found the reason for this exception. If somebody will face the same problem just create /etc/oracle folder and give to it 777 permissions. For me it helped
I also got error "[INS-20802] Oracle Net Configuration Assistant failed" while installing Oracle 12c (12.2.0.1.4) on Centos7.
In my case the error went away after adding an entry in the /etc/hosts file with the hostname and its local network IP.
After that change the installation was able to finish successfully.
Resulting /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.100 centos100
777 is not the solution, it is making your system vulnerable. As suggested in oracle docs, the dir privileges should be 775.
For me in Windows 10 the solution was to install Microsoft Visual C++ 2010 Redistributable Package (x86)

Unable to deploy to standalone oc4j

I am trying to deploy an ear to oc4j stand alone server. I think i have deployed it sucessfully because the operation completed sucessfully without any warning.
Now to test I guess I have to bind this web app to some website. When I tried to bind , I am getting the following error:
C:\oracle\JDEV2\j2ee\home>java -jar admin.jar ormi://127.0.0.1:22667 oc4jadmin w
elcome -bindWebApp appr_ear appr default-web-site appr
Jul 24, 2012 10:45:31 AM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_T
HE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
java.lang.ExceptionInInitializerError
at org.apache.tiles.factory.TilesContainerFactory.createTilesContainer(T
ilesContainerFactory.java:197)
at org.apache.tiles.factory.TilesContainerFactory.createContainer(TilesC
ontainerFactory.java:163)
at org.apache.tiles.web.startup.TilesListener.createContainer(TilesListe
ner.java:90)
at org.apache.struts2.tiles.StrutsTilesListener.createContainer(StrutsTi
lesListener.java:66)
at org.apache.tiles.web.startup.TilesListener.contextInitialized(TilesLi
stener.java:57)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.
java:1140)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
ationStateRunning.java:431)
at com.evermind.server.Application.getHttpApplication(Application.java:5
86)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
ateHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
it>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:16
03)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:302)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.bindWebApp(DefaultApplicationServerAdministrator.java:424)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.comm
ons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.C
lass;#72e694 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lan
g.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons
.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Clas
s;#72e694 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.N
oClassDefFoundError: org/apache/log4j/Category))
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory
Impl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.apache.tiles.impl.BasicTilesContainer.<clinit>(BasicTilesContaine
r.java:78)
... 21 more
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log
constructor [Ljava.lang.Class;#72e694 for org.apache.commons.logging.impl.Log4J
Logger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:413)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory
Impl.java:529)
... 25 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
at java.lang.Class.getConstructor0(Class.java:2640)
at java.lang.Class.getConstructor(Class.java:1629)
at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogF
actoryImpl.java:410)
... 26 more
Error: null
Before executing this command , i tried to deploy as follows:
C:\oracle\JDEV2\j2ee\home>java -jar admin.jar ormi://127.0.0.1:22667 oc4jadmin w
elcome -deploy -file C:\RTTTLea\dist\appr.ear -deploymentName appr_ear
And it looks the deployment was successful.
[ 2012-07-24 10:49:40.170 EDT ] Application Deployer for appr_ear STARTS.
[ 2012-07-24 10:49:40.170 EDT ] Stopping application : appr_ear
[ 2012-07-24 10:49:40.201 EDT ] Stopped application : appr_ear
[ 2012-07-24 10:49:40.201 EDT ] Undeploy previous deployment
[ 2012-07-24 10:49:40.935 EDT ] Initialize C:\oracle\JDEV2\jdev\extensions\oracl
e.adfp.seededoc4j.10.1.3\j2ee\home\applications\appr_ear.ear begins...
[ 2012-07-24 10:49:44.326 EDT ] Initialize C:\oracle\JDEV2\jdev\extensions\oracl
e.adfp.seededoc4j.10.1.3\j2ee\home\applications\appr_ear.ear ends...
[ 2012-07-24 10:49:44.326 EDT ] Starting application : appr_ear
[ 2012-07-24 10:49:44.326 EDT ] Initializing ClassLoader(s)
[ 2012-07-24 10:49:44.326 EDT ] Initializing EJB container
[ 2012-07-24 10:49:44.326 EDT ] Loading connector(s)
[ 2012-07-24 10:49:44.342 EDT ] Starting up resource adapters
[ 2012-07-24 10:49:44.342 EDT ] Initializing EJB sessions
[ 2012-07-24 10:49:44.342 EDT ] Committing ClassLoader(s)
[ 2012-07-24 10:49:44.342 EDT ] Initialize appr begins...
[ 2012-07-24 10:49:44.357 EDT ] Initialize appr ends...
[ 2012-07-24 10:49:44.357 EDT ] Started application : appr_ear
[ 2012-07-24 10:49:44.357 EDT ] Application Deployer for appr_ear COMPLETES. Ope
ration time: 4187 msecs
Also after deploying , I can see my application in the list of applications in View -> Connections -> Application Server , which means the deployment is successful. Now I want to open the homepage to verify.
java.lang.NoClassDefFoundError: org/apache/log4j/Category seems to indicate that your EAR file is missing the jar file for log4j or that a wrong version of log4j is in your server.

Resources