Posted by
satish on
May 17, 2023; 2:36am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/Apache-exiting-with-152-tp11857p11887.html
Dear Erman,
Thanks for the update. We have verified permissions and it is same as in node 1. We tried deleting opmn.dat in states folder but no luck.
on node1->apache is running and on node2->Apache failed to start.
on node1 and node2,firewall is disabled and selinux as well. Please find the below status.
[applprod@erpprodapp02 ~]$ systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
[applprod@erpprodapp02 ~]$ cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of three two values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
We monitored from other window,processes are getting started but after few seconds,they are going down. status from init to down
applprod 18979 0.0 0.0 113444 1664 ? S 08:09 0:00 adapcctl.sh
applprod 18994 0.0 0.0 126768 3588 ? S 08:09 0:00 opmnctl
applprod 19002 0.0 0.0 80388 14152 ? S 08:09 0:00 opmn
applprod 19004 0.8 0.0 154280 31044 ? S 08:09 0:00 httpd.worker
applprod 19017 0.0 0.0 30592 1456 ? S 08:10 0:00 odl_rotatelogs
applprod 19019 0.0 0.0 30592 1360 ? S 08:10 0:00 odl_rotatelogs
applprod 19020 0.0 0.0 30524 1088 ? S 08:10 0:00 rotatelogs
applprod 19021 0.0 0.0 30524 1084 ? S 08:10 0:00 rotatelogs
applprod 19027 0.0 0.0 30592 1352 ? S 08:10 0:00 odl_rotatelogs
applprod 19028 0.0 0.0 285872 19864 ? Sl 08:10 0:00 httpd.worker
applprod 19030 0.0 0.0 496404 20524 ? Sl 08:10 0:00 httpd.worker
applprod 19032 0.0 0.0 496404 20524 ? Sl 08:10 0:00 httpd.worker
applprod 19033 0.0 0.0 496404 20524 ? Sl 08:10 0:00 httpd.worker
applprod 19034 0.0 0.0 496404 20528 ? Sl 08:10 0:00 httpd.worker
applprod 19036 0.0 0.0 496404 20528 ? Sl 08:10 0:00 httpd.worker
applprod 20510 0.0 0.0 155480 1912 pts/5 R+ 08:10 0:00 ps
applprod 27990 0.0 0.0 154812 2332 ? S May16 0:00 sshd
applprod 27991 0.0 0.0 117096 3800 pts/2 Ss+ May16 0:00 bash
You have new mail in /var/spool/mail/applprod
[applprod@erpprodapp02 appl]$ adapcctl.sh status
You are running adapcctl.sh version 120.0.12020000.6
Checking status of OPMN managed Oracle HTTP Server (OHS) instance ...
Processes in Instance: EBS_web_OHS2
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
EBS_web | OHS | 19004 | Init
....
Processes in Instance: EBS_web_OHS2
---------------------------------+--------------------+---------+---------
ias-component | process-type | pid | status
---------------------------------+--------------------+---------+---------
EBS_web | OHS | 19004 | Down
Uploaded strace output. Can you please advice.
Thanks,
Satish
strace_apache.zip