View previous topic :: View next topic |
Author |
Message |
m0n085 n00b
Joined: 06 Feb 2018 Posts: 9
|
Posted: Tue Nov 27, 2018 3:26 pm Post subject: zabbix_server (Zabbix) 4.0.1 failed to start |
|
|
Code: |
sudo /etc/init.d/zabbix-server start
* Starting Zabbix server ...
zabbix_server [14913]: cannot open config file "/etc/zabbix/zabbix_server.conf": [13] Permission denied
* start-stop-daemon: failed to start `/usr/sbin/zabbix_server' [ !! ]
* ERROR: zabbix-server failed to start
ls -lah /etc/zabbix/
drwxr-xr-x 2 root root 4,0K 11-27 15:30 .
drwxr-xr-x 52 root root 4,0K 11-27 15:16 ..
-rw-r--r-- 1 root root 0 11-24 13:36 .keep_net-analyzer_zabbix-0
-rw-r----- 1 root root 11K 11-24 13:36 zabbix_agentd.conf
-rw-r----- 1 root root 15K 11-27 15:30 zabbix_server.conf
eix -I zabbix
[I] net-analyzer/zabbix
Available versions: 2.2.16 ~2.2.21 ~2.2.23 ~3.0.19 ~3.0.20 ~3.0.21 ~3.0.22 ~3.2.11 ~3.4.10 ~3.4.11 ~3.4.12 ~3.4.13 ~3.4.14 (**)4.0.1 {+agent curl frontend ipv6 java ldap libxml2 mysql odbc openipmi oracle (+)postgres proxy server snmp sqlite ssh ssl static xmpp ELIBC="FreeBSD"}
Installed versions: 4.0.1(13:36:16 24.11.2018)(agent frontend openipmi postgres server snmp ssh ssl -curl -ipv6 -java -ldap -libxml2 -mysql -odbc -oracle -proxy -sqlite -static -xmpp ELIBC="-FreeBSD")
Homepage: https://www.zabbix.com/
Description: ZABBIX is software for monitoring of your applications, network and servers
|
I found https://bugs.gentoo.org/670650
what to do |
|
Back to top |
|
|
Dwosky Tux's lil' helper
Joined: 07 Nov 2018 Posts: 135
|
Posted: Tue Nov 27, 2018 4:04 pm Post subject: |
|
|
I would check what user its that process being launched with, because despite being called with sudo, it might do a su - $USER inside the init.d script. |
|
Back to top |
|
|
m0n085 n00b
Joined: 06 Feb 2018 Posts: 9
|
Posted: Thu Nov 29, 2018 8:26 am Post subject: |
|
|
@Dwosky thx for your help
Code: |
chmod 755 /etc/zabbix/
|
saved the situation |
|
Back to top |
|
|
|