RE: Having problem with mod_WebObjects.so under redhat 8
RE: Having problem with mod_WebObjects.so under redhat 8
- Subject: RE: Having problem with mod_WebObjects.so under redhat 8
- From: Khodor Barakat via Webobjects-dev <email@hidden>
- Date: Wed, 1 Feb 2023 22:11:45 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=portfolioaid.com; dmarc=pass action=none header.from=portfolioaid.com; dkim=pass header.d=portfolioaid.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9haoxrZDZCMmH+uaEDdSTwzPFYO6XmnJ5sGmhlK+JxQ=; b=lGFMqYNWj3Cf+k6rMyKK1gdLK0HCj08YT5wJDRVlR7yIOx8jZiIaCTwC5un26nK9eAHIAwYO57Mz23oD3y6QO8MPa20XO13nzlQZwgfOM+TMR86xri6lCGf4ydUd89IOX4p6f1dyOUpeMS+Q4Lh3YTSrYM6Rmp+R3hLD5zaVciiH9+9eToweBhQH3MC2Z1NzcGkeT24GGpV8XCL/PxxKKvTIpHDICyhFF9bdvpwhiGPsUo1DeCvAxkBtWAntRYaNLXCILTK/83hyc143GIcBVy9GMxxjonDQEMVJ/P9YQHk1zOvReJZ7iUOGURrit5yXn7xBP0Ipx0aDzCUP5tJrwQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=idQaeXILClHEFDbu0xsM9rOdSxpePGjpK1sM26jzPquWryHl/2SS2A/wl7fZwprh4g8ZvM22ZAmHI6FKE1FcY5MwoO81wm5qyag7RIrQ1s5uJt6WTbEg6ZAcHjNTvcCydfi+eg8+bK14GeO4eiPwt2ssRfJzSoayn/8c6Tn2Fb2zAczXd7YsDvlZqdPQs1WTlyLZo2Mm5Kot8LyVkcO9W2cDXTvxRHWJCOIVR+NC4o1JRAZsb6AiywbDG2gmRiacpPXawZe6qj4SYT6/kisivjl+6J6rA5Cv2ti7V1XI6SZCs5rLau4qmtknRpj6ZlkTH95gPwJRkeKUe5gueuvGYg==
- Thread-topic: Having problem with mod_WebObjects.so under redhat 8
Thank Michael, Patrick
I just finished my tests and what micheal mentioned yesterday managed to fix my
problem ,
I disabled mpm_event and enabled mpm_prefork similar to what I had in rhel 7
it seems that upgrading rhel will change/update existing config/modules of
apache
# Select the MPM module which should be used by uncommenting exactly
# one of the following LoadModule lines. See the httpd.conf(5) man
# page for more information on changing the MPM.
# prefork MPM: Implements a non-threaded, pre-forking web server
# See: http://httpd.apache.org/docs/2.4/mod/prefork.html
#
# NOTE: If enabling prefork, the httpd_graceful_shutdown SELinux
# boolean should be enabled, to allow graceful stop/shutdown.
#
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
# worker MPM: Multi-Processing Module implementing a hybrid
# multi-threaded multi-process web server
# See: http://httpd.apache.org/docs/2.4/mod/worker.html
#
#LoadModule mpm_worker_module modules/mod_mpm_worker.so
# event MPM: A variant of the worker MPM with the goal of consuming
# threads only for connections with active processing
# See: http://httpd.apache.org/docs/2.4/mod/event.html
#
#LoadModule mpm_event_module modules/mod_mpm_event.so
Thanks again,
Khodor Barakat | Sr. System Administrator
t. 416-479-4410 | e. email@hidden<mailto:email@hidden>
PortfolioAid | website<http://portfolioaid.com/> |
linkedin<http://linkd.in/18SQTYR> | twitter<https://twitter.com/portfolioaid>
2 St. Clair Avenue West, Suite 605, Toronto, ON M4V 1L5
2022 WealthTech100 Company to Watch<https://fintech.global/wealthtech100/> I
2022 WealthTech Provider of the Year (Excellence
Awardee)<https://wealthprofessionalawards.ca/winners-excellence-awardees/2022#w>
This e-mail may be privileged and confidential. If you received this e-mail in
error, please do not use, copy, or distribute, but advise me immediately
(by return e-mail or otherwise), and delete the e-mail. PortfolioAid is
committed to taking all reasonable measures to safeguard your confidential
client
information. When sending attachments and/or screenshots to the PortfolioAid
Help Desk or other PortfolioAid personnel, we kindly remind you to omit,
redact or securely protect any personally identifiable client information (e.g.
name, address, SIN, date of birth, etc.).
From: email@hidden [mailto:email@hidden]
Sent: Wednesday, February 1, 2023 4:54 PM
To: Khodor Barakat <email@hidden>
Cc: Michael Kondratov <email@hidden>;
email@hidden
Subject: Re: Having problem with mod_WebObjects.so under redhat 8
Khodor,
We had a similar issue when we moved production to a new Ubuntu installation.
Credit to D Tim Cummings who came to the rescue with a simple fix. After you
complete your installation type the following to use the prefork version
sudo a2dismod mpm_event
sudo a2enmod mpm_prefork
Best Regards,
Patrick Abuzeni, MD
Tel: 305-444-2888
www.xeoTECH.com<http://www.xeoTECH.com>
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited. If you received this information in error,
please contact the sender and delete the message and material from all
computers.
On Feb 1, 2023, at 12:20 AM, Khodor Barakat via Webobjects-dev
<email@hidden<mailto:email@hidden>> wrote:
Thanks Michael,
I will review your link
is that something new with redhat8/apache?
I want to check what I have in place for my redhat 7 machines and compare it
with redhat 8 machine ,
but I would expect that apache config was not changed during the migration
Any other thoughts?
From: Michael Kondratov [mailto:email@hidden]
Sent: Wednesday, February 1, 2023 12:16 AM
To: Khodor Barakat <email@hidden<mailto:email@hidden>>
Cc: email@hidden<mailto:email@hidden>
Subject: Re: Having problem with mod_WebObjects.so under redhat 8
Please see https://httpd.apache.org/docs/2.4/mod/prefork.html
You are running Worker MPM (multi threaded mode). It is not compatible with WO
Adapter.
Michael
On Feb 1, 2023, at 12:13 AM, Khodor Barakat
<email@hidden<mailto:email@hidden>> wrote:
I don’t see that module in my loaded modules nor on the system under
/etc/httpd/modules
if this is not what you are asking how do I check that ??
my problem started after I did in place upgrade from redhat 7 to redhat 8, I
still have some systems running redhat7 and WO setup is working fine
httpd -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
access_compat_module (shared)
actions_module (shared)
alias_module (shared)
allowmethods_module (shared)
auth_basic_module (shared)
auth_digest_module (shared)
authn_anon_module (shared)
authn_core_module (shared)
authn_dbd_module (shared)
authn_dbm_module (shared)
authn_file_module (shared)
authn_socache_module (shared)
authz_core_module (shared)
authz_dbd_module (shared)
authz_dbm_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_owner_module (shared)
authz_user_module (shared)
autoindex_module (shared)
brotli_module (shared)
cache_module (shared)
cache_disk_module (shared)
cache_socache_module (shared)
data_module (shared)
dbd_module (shared)
deflate_module (shared)
dir_module (shared)
dumpio_module (shared)
echo_module (shared)
env_module (shared)
expires_module (shared)
ext_filter_module (shared)
filter_module (shared)
headers_module (shared)
include_module (shared)
info_module (shared)
log_config_module (shared)
logio_module (shared)
macro_module (shared)
mime_magic_module (shared)
mime_module (shared)
negotiation_module (shared)
remoteip_module (shared)
reqtimeout_module (shared)
request_module (shared)
rewrite_module (shared)
setenvif_module (shared)
slotmem_plain_module (shared)
slotmem_shm_module (shared)
socache_dbm_module (shared)
socache_memcache_module (shared)
socache_shmcb_module (shared)
status_module (shared)
substitute_module (shared)
suexec_module (shared)
unique_id_module (shared)
unixd_module (shared)
userdir_module (shared)
version_module (shared)
vhost_alias_module (shared)
watchdog_module (shared)
dav_module (shared)
dav_fs_module (shared)
dav_lock_module (shared)
lua_module (shared)
mpm_event_module (shared)
proxy_module (shared)
lbmethod_bybusyness_module (shared)
lbmethod_byrequests_module (shared)
lbmethod_bytraffic_module (shared)
lbmethod_heartbeat_module (shared)
proxy_ajp_module (shared)
proxy_balancer_module (shared)
proxy_connect_module (shared)
proxy_express_module (shared)
proxy_fcgi_module (shared)
proxy_fdpass_module (shared)
proxy_ftp_module (shared)
proxy_http_module (shared)
proxy_hcheck_module (shared)
proxy_scgi_module (shared)
proxy_uwsgi_module (shared)
proxy_wstunnel_module (shared)
ssl_module (shared)
systemd_module (shared)
WebObjects_module (shared)
cgid_module (shared)
fcgid_module (shared)
http2_module (shared)
maxminddb_module (shared)
proxy_http2_module (shared)
From: Michael Kondratov [mailto:email@hidden]
Sent: Wednesday, February 1, 2023 12:09 AM
To: Khodor Barakat <email@hidden<mailto:email@hidden>>
Cc: email@hidden<mailto:email@hidden>
Subject: Re: Having problem with mod_WebObjects.so under redhat 8
Importance: High
Khodor,
I’ve had apache crashes when it was running in multi threaded form.
Are you using pre-fork module?
Michael
On Feb 1, 2023, at 12:06 AM, Khodor Barakat via Webobjects-dev
<email@hidden<mailto:email@hidden>> wrote:
I have migrated my system from redhat 7 to redhat 8
and I am having a problem with webobjects , after opening a ticket with redhat
support , the support reported a back trace the is causing apache to hang and
throw segmentation fault 11
[pid 37869:tid 140365337980352] AH00051: child pid 37874 exit signal
Segmentation fault (11), possible coredump in /var/apache-dump
redhat support mentioned that the issue is related to WO module
mod_WebObjects.so, did anyone have this issue before ,
{ "signal": 11
, "executable": "/usr/sbin/httpd"
, "stacktrace":
[ { "crash_thread": true
, "frames":
[ { "address": 140365077741264
, "build_id": "a77df8e8eef4029a804d7b883776cc12618b3541"
, "build_id_offset": 44752
, "function_name": "WOShmem_lock"
, "file_name": "/etc/httpd/modules/mod_WebObjects.so"
}
, { "address": 140365077743499
, "build_id": "a77df8e8eef4029a804d7b883776cc12618b3541"
, "build_id_offset": 46987
, "function_name": "sha_lock"
, "file_name": "/etc/httpd/modules/mod_WebObjects.so"
}
, { "address": 140365077765643
, "build_id": "a77df8e8eef4029a804d7b883776cc12618b3541"
, "build_id_offset": 69131
, "function_name": "ac_findInstance"
, "file_name": "/etc/httpd/modules/mod_WebObjects.so"
}
, { "address": 140365077732822
, "build_id": "a77df8e8eef4029a804d7b883776cc12618b3541"
, "build_id_offset": 36310
, "function_name": "tr_handleRequest"
, "file_name": "/etc/httpd/modules/mod_WebObjects.so"
}
, { "address": 140365077783061
, "build_id": "a77df8e8eef4029a804d7b883776cc12618b3541"
, "build_id_offset": 86549
, "function_name": "WebObjects_handler"
, "file_name": "/etc/httpd/modules/mod_WebObjects.so"
}
, { "address": 94650830766376
, "build_id": "4f04e7d6189e2c9aa5c51e159c08329a7b3078e3"
, "build_id_offset": 299304
, "function_name": "ap_run_handler"
, "file_name": "/usr/sbin/httpd"
}
, { "address": 94650830767846
, "build_id": "4f04e7d6189e2c9aa5c51e159c08329a7b3078e3"
, "build_id_offset": 300774
I am on redhat 8.7
Apache/2.4.37 (Red Hat Enterprise Linux)
woadaptor : woadaptor-httpd24-6-1.x86_64
mod_WebObjects.so: ELF 64-bit LSB shared object, x86-64, version 1
(SYSV), dynamically linked,
BuildID[sha1]=a77df8e8eef4029a804d7b883776cc12618b3541, with debug_info, not
stripped
any help is highly appreciated
Thanks,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden<mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list
(email@hidden<mailto:email@hidden>)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden<mailto:email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden