[ZBX-20708] Zabbix Proxy stopped : Cannot connect to service "rtc": [13] Permission denied. Created: 2022 Mar 04  Updated: 2022 Oct 28  Resolved: 2022 May 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P)
Affects Version/s: 6.0.1
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Matt A Assignee: Francys Nivea (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 8.5, running latest software (kernel 4.18.0-348.12.2.el8_5.x86_64)



 Description   

Steps to reproduce:

  1. Base install of RHEL8 on EC2
  2. yum update to latest software versions available.
  3. sudo rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/8/x86_64/zabbix-release-6.0-1.el8.noarch.rpm
  4. yum install zabbix-proxy-sqlite3
  5. Configure /etc/zabbix/zabbix_proxy.conf
    1. I have only updated Server, Hostname, and DBName
  6. Zabbix proxy fails to start and enters a fail loop

Result:

Per /var/log/zabbix/zabbix_proxy.log

  2057:20220303:225659.557 Starting Zabbix Proxy (active) [itsm-test-zabbix6-proxy-rhel8]. Zabbix 6.0.1 (revision a80cb13868).
  2057:20220303:225659.557 **** Enabled features ****
  2057:20220303:225659.557 SNMP monitoring:       YES
  2057:20220303:225659.557 IPMI monitoring:       YES
  2057:20220303:225659.557 Web monitoring:        YES
  2057:20220303:225659.557 VMware monitoring:     YES
  2057:20220303:225659.557 ODBC:                  YES
  2057:20220303:225659.557 SSH support:           YES
  2057:20220303:225659.557 IPv6 support:          YES
  2057:20220303:225659.557 TLS support:           YES
  2057:20220303:225659.557 **************************
  2057:20220303:225659.557 using configuration file: /etc/zabbix/zabbix_proxy.conf
  2057:20220303:225659.571 current database version (mandatory/optional): 06000000/06000000
  2057:20220303:225659.571 required mandatory version: 06000000
  2057:20220303:225659.574 proxy #0 started [main process]
  2058:20220303:225659.575 proxy #1 started configuration syncer #1
  2058:20220303:225704.086 cannot connect to RTC service: Cannot connect to service "rtc": [13] Permission denied.
  2057:20220303:225704.087 One child process died (PID:2058,exitcode/signal:1). Exiting ...
  2057:20220303:225704.583 Zabbix Proxy stopped. Zabbix 6.0.1 (revision a80cb13868).

 

Per  sudo journalctl -xefu zabbix-proxy

Mar 03 22:57:30 itsm-test-zabbix6-proxy-rhel8 systemd[1]: zabbix-proxy.service: Service RestartSec=10s expired, scheduling restart.
Mar 03 22:57:30 itsm-test-zabbix6-proxy-rhel8 systemd[1]: zabbix-proxy.service: Scheduled restart job, restart counter is at 25.
– Subject: Automatic restarting of a unit has been scheduled
– Defined-By: systemd
– Support: https://access.redhat.com/support

– Automatic restarting of the unit zabbix-proxy.service has been scheduled, as the result for
– the configured Restart= setting for the unit.
Mar 03 22:57:30 itsm-test-zabbix6-proxy-rhel8 systemd[1]: Stopped Zabbix Proxy.
– Subject: Unit zabbix-proxy.service has finished shutting down
– Defined-By: systemd
– Support: https://access.redhat.com/support

– Unit zabbix-proxy.service has finished shutting down.
Mar 03 22:57:30 itsm-test-zabbix6-proxy-rhel8 systemd[1]: Starting Zabbix Proxy...
– Subject: Unit zabbix-proxy.service has begun start-up
– Defined-By: systemd
– Support: https://access.redhat.com/support

– Unit zabbix-proxy.service has begun starting up.
Mar 03 22:57:30 itsm-test-zabbix6-proxy-rhel8 systemd[1]: zabbix-proxy.service: Can't open PID file /run/zabbix/zabbix_proxy.pid (yet?) after start: No such file or directory
Mar 03 22:57:30 itsm-test-zabbix6-proxy-rhel8 systemd[1]: Started Zabbix Proxy.
– Subject: Unit zabbix-proxy.service has finished start-up
– Defined-By: systemd
– Support: https://access.redhat.com/support

– Unit zabbix-proxy.service has finished starting up.

– The start-up result is done.

Expected:

Zabbix proxy to start successfully



 Comments   
Comment by Francys Nivea (Inactive) [ 2022 Mar 14 ]

Cannot reproduce.

It is possible that the problem is in the EC2 image used. Could you test with another image?

Kind regards

Comment by Matt A [ 2022 Mar 15 ]

I was able to overcome this issue by disabling selinux.

This may simply be that I needed to install "zabbix-selinux-policy" package.

Comment by Francys Nivea (Inactive) [ 2022 Apr 05 ]

Hello Matt,
After installing zabbix-selinux-policy, was the problem solved?
Kind regards

Comment by Dennis Ananiev [ 2022 Oct 28 ]

The azure instance has the same issue.  
And installation zabbix-selinux-policy doesn't solve the issue

dnf install zabbix-selinux-policy
Updating Subscription Management repositories.
Last metadata expiration check: 0:54:39 ago on Fri 28 Oct 2022 09:47:04 AM EEST.
Dependencies resolved.
===============================================================================================================================================================================================================================================================
 Package                                                               Architecture                                           Version                                                            Repository                                               Size
===============================================================================================================================================================================================================================================================
Installing:
 zabbix-selinux-policy                                                 x86_64                                                 6.0.9-release1.el8                                                 Zabbix5                                                 287 kTransaction Summary
===============================================================================================================================================================================================================================================================
Install  1 PackageTotal download size: 287 k
Installed size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
zabbix-selinux-policy-6.0.9-release1.el8.x86_64.rpm                                                                                                                                                                            240 kB/s | 287 kB     00:01
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                          239 kB/s | 287 kB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                                                                       1/1
  Installing       : zabbix-selinux-policy-6.0.9-release1.el8.x86_64                                                                                                                                                                                       1/1
  Running scriptlet: zabbix-selinux-policy-6.0.9-release1.el8.x86_64                                                                                                                                                                                       1/1
  Verifying        : zabbix-selinux-policy-6.0.9-release1.el8.x86_64                                                                                                                                                                                       1/1
Installed products updated.Installed:
  zabbix-selinux-policy-6.0.9-release1.el8.x86_64Complete!
# sudo /usr/sbin/zabbix_proxy -R snmp_cache_reload
/usr/sbin/zabbix_proxy: /usr/pgsql-13/lib/libpq.so.5: no version information available (required by /usr/sbin/zabbix_proxy)
zabbix_proxy [752838]: Cannot perform runtime control command: Cannot connect to service "rtc": [2] No such file or directory. 
Comment by Dennis Ananiev [ 2022 Oct 28 ]

After some investigations, I have found that the version of libpq packages should be the same as PostgreSQL version. 
You should follow this article 
https://dba.stackexchange.com/questions/269473/what-does-psql-usr-pgsql-11-lib-libpq-so-5-no-version-information-available

Generated at Mon Aug 04 08:54:52 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.