Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1135696 - zabbix-agent won't start due to missing /var/run/zabbix
Summary: zabbix-agent won't start due to missing /var/run/zabbix
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: zabbix22
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Volker Fröhlich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-30 14:13 UTC by Jason Bradley Nance
Modified: 2014-09-24 03:42 UTC (History)
1 user (show)

Fixed In Version: zabbix22-2.2.6-2.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-24 03:42:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jason Bradley 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.


Note You need to log in before you can comment on or make changes to this bug.