Rocky9 Raw 2.3.0p2 - auth errors

CMK version:
2.3.0p2.cre

OS version:
Rocky Linux release 9.3 (Blue Onyx)

Error message:

omd create mycheckmk

Adding /opt/omd/sites/mycheckmk/tmp to /etc/fstab.
Creating temporary filesystem /omd/sites/mycheckmk/tmp…OK
Updating core configuration…
Generating configuration for core (type nagios)…
Precompiling host checks…OK
Executing post-create script “01_create-sample-config.py”…
-| Exception in sample config generator [create_registration_automation_user]
-| Traceback (most recent call last):
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/hooks.py”, line 79, in call
-| hook.handler(*args)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/watolib/registration.py”, line 203, in
-| (“users-saved”, lambda users: auth_php._create_auth_file(“users-saved”, users)),
-| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/watolib/auth_php.py”, line 186, in _create_auth_file
-| _create_php_file(callee, users, get_role_permissions(), groups)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/watolib/auth_php.py”, line 173, in _create_php_file
-| store.save_text_to_file(_auth_php(), content)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/init.py”, line 232, in save_text_to_file
-| _write(Path(path), TextSerializer(), content)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/init.py”, line 248, in _write
-| with store.locked():
-| File “/omd/sites/mycheckmk/lib/python3.12/contextlib.py”, line 137, in enter
-| return next(self.gen)
-| ^^^^^^^^^^^^^^
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/_file.py”, line 191, in locked
-| yield from self._io.locked()
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/_file.py”, line 164, in locked
-| acquired = acquire_lock(self.path)
-| ^^^^^^^^^^^^^^^^^^^^^^^
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/_locks.py”, line 168, in acquire_lock
-| with _open_lock_file(path) as fd:
-| File “/omd/sites/mycheckmk/lib/python3.12/contextlib.py”, line 137, in enter
-| return next(self.gen)
-| ^^^^^^^^^^^^^^
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/_locks.py”, line 182, in _open_lock_file
-| fd = os.open(path, os.O_RDONLY | os.O_CREAT, 0o660)
-| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-| PermissionError: [Errno 1] Operation not permitted: ‘/omd/sites/mycheckmk/var/check_mk/wato/auth/auth.php’
-|
-| The above exception was the direct cause of the following exception:
-|
-| Traceback (most recent call last):
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/watolib/sample_config.py”, line 85, in _create_sample_config
-| generator.generate()
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/watolib/sample_config.py”, line 463, in generate
-| create_cmk_automation_user(datetime.now(), name=self.name, role=self.role, alias=self.alias)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/userdb/store.py”, line 626, in create_cmk_automation_user
-| save_users(users, now)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/userdb/store.py”, line 355, in save_users
-| hooks.call(“users-saved”, updated_profiles)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/hooks.py”, line 83, in call
-| raise MKGeneralException(msg) from e
-| cmk.utils.exceptions.MKGeneralException: Traceback (most recent call last):
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/hooks.py”, line 79, in call
-| hook.handler(*args)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/watolib/registration.py”, line 203, in
-| (“users-saved”, lambda users: auth_php._create_auth_file(“users-saved”, users)),
-| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/watolib/auth_php.py”, line 186, in _create_auth_file
-| _create_php_file(callee, users, get_role_permissions(), groups)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/gui/watolib/auth_php.py”, line 173, in _create_php_file
-| store.save_text_to_file(_auth_php(), content)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/init.py”, line 232, in save_text_to_file
-| _write(Path(path), TextSerializer(), content)
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/init.py”, line 248, in _write
-| with store.locked():
-| File “/omd/sites/mycheckmk/lib/python3.12/contextlib.py”, line 137, in enter
-| return next(self.gen)
-| ^^^^^^^^^^^^^^
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/_file.py”, line 191, in locked
-| yield from self._io.locked()
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/_file.py”, line 164, in locked
-| acquired = acquire_lock(self.path)
-| ^^^^^^^^^^^^^^^^^^^^^^^
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/_locks.py”, line 168, in acquire_lock
-| with _open_lock_file(path) as fd:
-| File “/omd/sites/mycheckmk/lib/python3.12/contextlib.py”, line 137, in enter
-| return next(self.gen)
-| ^^^^^^^^^^^^^^
-| File “/omd/sites/mycheckmk/lib/python3/cmk/utils/store/_locks.py”, line 182, in _open_lock_file
-| fd = os.open(path, os.O_RDONLY | os.O_CREAT, 0o660)
-| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-| PermissionError: [Errno 1] Operation not permitted: ‘/omd/sites/mycheckmk/var/check_mk/wato/auth/auth.php’
-|
OK
Executing post-create script “02_cmk-compute-api-spec”…OK
Skipping Apache restart.
Created new site mycheckmk with version 2.3.0p2.cre.

The site can be started with omd start mycheckmk.
The default web UI is available at http:///mycheckmk/

The admin user for the web applications is cmkadmin with password: 3ZvtxgX3L6qL
For command line administration of the site, log in with ‘omd su mycheckmk’.
After logging in, you can change the password for cmkadmin with ‘cmk-passwd cmkadmin’.

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

omd su mycheckmk

OMD[mycheckmk]:~$ cmk --debug -vvn
value store: synchronizing
Trying to acquire lock on /omd/sites/mycheckmk/tmp/check_mk/counters/
Got lock on /omd/sites/mycheckmk/tmp/check_mk/counters/
value store: loading from disk
Releasing lock on /omd/sites/mycheckmk/tmp/check_mk/counters/
Released lock on /omd/sites/mycheckmk/tmp/check_mk/counters/
Checkmk version 2.3.0p2
Updating IPv4 DNS cache for :
Trying to acquire lock on /omd/sites/mycheckmk/var/check_mk/ipaddresses.cache
Got lock on /omd/sites/mycheckmk/var/check_mk/ipaddresses.cache
Releasing lock on /omd/sites/mycheckmk/var/check_mk/ipaddresses.cache
Released lock on /omd/sites/mycheckmk/var/check_mk/ipaddresses.cache

  • FETCHING DATA
    Source: SourceInfo(hostname=‘’, ipaddress=‘’, ident=‘piggyback’, fetcher_type=<FetcherType.PIGGYBACK: 4>, source_type=<SourceType.HOST: 1>)
    [cpu_tracking] Start [7f7b9c165280]
    Read from cache: NoCache(, path_template=/dev/null, max_age=MaxAge(checking=0.0, discovery=0.0, inventory=0.0), simulation=False, use_only_cache=False, file_cache_mode=1)
    No piggyback files for ‘’. Skip processing.
    No piggyback files for ‘’. Skip processing.
    Get piggybacked data
    [cpu_tracking] Stop [7f7b9c165280 - Snapshot(process=posix.times_result(user=0.0, system=0.0, children_user=0.0, children_system=0.0, elapsed=0.0))]
    [cpu_tracking] Start [7f7b9c38f170]
  • PARSE FETCHER RESULTS
    HostKey(hostname=‘’, source_type=<SourceType.HOST: 1>) → Add sections:
    Received no piggyback data
    No piggyback files for ‘’. Skip processing.
    No piggyback files for ‘’. Skip processing.
    [cpu_tracking] Stop [7f7b9c38f170 - Snapshot(process=posix.times_result(user=0.0, system=0.010000000000000009, children_user=0.0, children_system=0.0, elapsed=0.009999999776482582))]
    [piggyback] Success (but no data found for this host), execution time 0.0 sec | execution_time=0.010 user_time=0.000 system_time=0.010 children_user_time=0.000 children_system_time=0.000 cmk_time_agent=0.000

Analysis
Check PermissionError on reported files:

ls -ltcr /omd/sites/mycheckmk/var/check_mk/wato/auth/auth.php

-rw-rw----. 1 mycheckmk mycheckmk 40194 May 21 15:59 /omd/sites/mycheckmk/var/check_mk/wato/auth/auth.php

omd status mycheckmk

agent-receiver: stopped
mkeventd: stopped
rrdcached: stopped
npcd: stopped
nagios: stopped
apache: stopped
redis: stopped
crontab: stopped

Overall state: stopped

omd start mycheckmk

Temporary filesystem already mounted
Starting agent-receiver…OK
Starting mkeventd…OK
Starting rrdcached…OK
Starting npcd…OK
Starting nagios…OK
Starting apache…OK
Starting redis…OK
Initializing Crontab…OK

omd status mycheckmk

agent-receiver: running
mkeventd: running
rrdcached: running
npcd: running
nagios: running
apache: running
redis: running
crontab: running

Overall state: running

Should I be concerned with this error:
-| PermissionError: [Errno 1] Operation not permitted: ‘/omd/sites/mycheckmk/var/check_mk/wato/auth/auth.php’