Bug 1135696

Summary: zabbix-agent won't start due to missing /var/run/zabbix
Product: [Fedora] Fedora EPEL Reporter: Jason Nance <jbnance>
Component: zabbix22Assignee: Volker Fröhlich <volker27>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel7CC: volker27
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: zabbix22-2.2.6-2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-24 03:42:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jason Nance 2014-08-30 14:13:01 UTC
Fresh install of zabbix22-agent fails to start because the agent cannot create its PID file.

$ sudo systemctl start zabbix-agent
$ cat /var/log/zabbix/zabbix_agentd.log
zabbix_agentd [2625]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory


Workaround:

$ sudo mkdir /var/run/zabbix
$ sudo chown root:zabbix /var/run/zabbix
$ sudo chmod 0775 /var/run/zabbix
$ sudo chcon -u system_u -t zabbix_var_run_t /var/run/zabbix


This is same / similar issue as reported for Fedora 19 and 20 in bugs 982001 and 1081584.

Comment 1 Fedora Update System 2014-09-01 23:06:13 UTC
zabbix22-2.2.6-2.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/zabbix22-2.2.6-2.el7

Comment 2 Fedora Update System 2014-09-02 21:32:58 UTC
Package zabbix22-2.2.6-2.el7:
* should fix your issue,
* was pushed to the Fedora EPEL 7 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing zabbix22-2.2.6-2.el7'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-2394/zabbix22-2.2.6-2.el7
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-09-24 03:42:09 UTC
zabbix22-2.2.6-2.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.