Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
zabbix_server (Zabbix) 4.0.1 failed to start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
m0n085
n00b
n00b


Joined: 06 Feb 2018
Posts: 9

PostPosted: Tue Nov 27, 2018 3:26 pm    Post subject: zabbix_server (Zabbix) 4.0.1 failed to start Reply with quote

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 :roll:
Back to top
View user's profile Send private message
Dwosky
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2018
Posts: 135

PostPosted: Tue Nov 27, 2018 4:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
m0n085
n00b
n00b


Joined: 06 Feb 2018
Posts: 9

PostPosted: Thu Nov 29, 2018 8:26 am    Post subject: Reply with quote

@Dwosky thx for your help

Code:

chmod 755 /etc/zabbix/


saved the situation
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum