Bug 916781 - cannot create PID file /var/run/zabbix/zabbix_server.pid
Summary: cannot create PID file /var/run/zabbix/zabbix_server.pid
Keywords:
Status: CLOSED DUPLICATE of bug 904041
Alias: None
Product: Fedora
Classification: Fedora
Component: zabbix
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-28 21:30 UTC by Nerijus Baliūnas
Modified: 2013-04-04 10:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-04 10:25:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nerijus Baliūnas 2013-02-28 21:30:38 UTC
/var/log/zabbix/zabbix_server.log:

zabbix_server [13995]: cannot create PID file [/var/run/zabbix/zabbix_server.pid]: [13] Permission denied

It's because of:
# ls -ld /run/zabbix
drwxr-xr-x 2 zabbix zabbix 60 2013-02-28 21:44 /run/zabbix

zabbix server runs as zabbixsrv user. chmod g+w /run/zabbix helps. As /run/zabbix is used by both zabbix agent and server, its permissions should probably be group writable by default.

Comment 1 Nerijus Baliūnas 2013-02-28 21:32:47 UTC
BTW, version is zabbix-2.0.5-1.fc18.x86_64 and zabbix server does not start until I make /run/zabbix group writable.

Comment 2 Nerijus Baliūnas 2013-03-16 13:17:09 UTC
/etc/tmpfiles.d/zabbix.conf is:
D /var/run/zabbix 0755 zabbix zabbix -
It should be changed to:
D /var/run/zabbix 0775 zabbix zabbix -

Comment 3 Volker Fröhlich 2013-04-04 10:25:06 UTC

*** This bug has been marked as a duplicate of bug 904041 ***


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