[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:
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).
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. 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, |
Comment by Dennis Ananiev [ 2022 Oct 28 ] |
The azure instance has the same 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. |