tracker issue : CF-4204032

select a category, or use search below
(searches all categories and all time range)

unable to stat error logged in mod_jk.log

| View in Tracker

Status/Resolution/Reason: To Fix//HaveNewInfo

Reporter/Name(from Bugbase): Annie Chellah T. / ()

Created: 02/18/2019

Components: connector

Versions: 2016

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 2018,0,02,313961 /

Priority/Frequency: Normal /

Locale/System: / Linux Red Hat All

Vote Count: 0

Problem Description:
As soon as ColdFusion 2018 update 2 was installed and the Apache connector was rebuilt, we are seeing this following error in mod_jk.log, repeatedly.
[Thu Feb 14 12:42:06 2019] [16186:139977799252096] [error] uri_worker_map_update::jk_uri_worker_map.c (1299): Unable to stat the /opt/coldfusion2018/config/wsconfig/1/ (errno=13)
The server is running RHEL 7, with SELinux and locked down. However the apache is running without any issues and the web application doesn't experience any issues. But the mod_jk.log is flooded with this entry.
It would be great, if someone could assist on this please. We didn't face this issue before.

But the issue was solved by granting 660 as opposed to 540, recommended in CF2018 lockdown guide.

Please look into this issue. 

Steps to Reproduce: After installing update 2, apache connector is removed and re-installed. The issue occurs when the file permissions are changed to 540 as per CFLockdown guide. 

Actual Result: Apache starts up okay but there's this error message, constantly logged in mod_jk.log

[Thu Feb 14 21:25:01 2019] [1491:140393088891008] [error] uri_worker_map_update::jk_uri_worker_map.c (1299): Unable to stat the /opt/coldfusion2018/config/wsconfig/1/ (errno=13)

Expected Result: No error message. 

Any Workarounds: Granting write permissions to the file or to the directory /opt/coldfusion2018/config/wsconfig/1