unable to launch zabbix server

Bug #1569343 reported by Jean-Max Reymond
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zabbix (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

% sudo service zabbix-server start
Job for zabbix-server.service failed because the control process exited with error code. See "systemctl status zabbix-server.service" and "journalctl -xe" for details.

% systemctl status zabbix-server.service
● zabbix-server.service - Zabbix Server (MySQL/MariaDB)
   Loaded: loaded (/lib/systemd/system/zabbix-server.service; disabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since mar. 2016-04-12 15:00:56 CEST; 7min ago
     Docs: man:zabbix_server
  Process: 13285 ExecStart=/usr/sbin/zabbix_server (code=exited, status=1/FAILURE)

avril 12 15:00:56 jmax-ckr systemd[1]: Starting Zabbix Server (MySQL/MariaDB)...
avril 12 15:00:56 jmax-ckr zabbix_server[13285]: zabbix_server [13285]: /etc/zabbix/zabbix_server.conf.d: [2] No such file or directory
avril 12 15:00:56 jmax-ckr systemd[1]: zabbix-server.service: Control process exited, code=exited status=1
avril 12 15:00:56 jmax-ckr systemd[1]: Failed to start Zabbix Server (MySQL/MariaDB).
avril 12 15:00:56 jmax-ckr systemd[1]: zabbix-server.service: Unit entered failed state.
avril 12 15:00:56 jmax-ckr systemd[1]: zabbix-server.service: Failed with result 'exit-code'.

% ls -d /etc/zabbix/zabbix_server.conf*
/etc/zabbix/zabbix_server.conf

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: zabbix-server-mysql 1:2.4.6+dfsg-1
ProcVersionSignature: Ubuntu 4.2.0-35.40-generic 4.2.8-ckt5
Uname: Linux 4.2.0-35-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Apr 12 15:05:36 2016
InstallationDate: Installed on 2016-01-31 (71 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: zabbix
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Max Reymond (jmreymond-free) wrote :
Revision history for this message
Jean-Max Reymond (jmreymond-free) wrote :

corrected by changing the path of configuration files:
% diff /usr/share/zabbix-server-mysql/zabbix_server.conf /usr/share/zabbix-server-mysql/zabbix_server.conf.orig
539c539
< Include=/etc/zabbix/zabbix_server.conf
---
> Include=/etc/zabbix/zabbix_server.conf.d/*.conf

Revision history for this message
Jean-Max Reymond (jmreymond-free) wrote :

I have installed php5-mysql and Web app now allows me to correctly configure mysql as my database choice and authenticates properly to the database.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zabbix (Ubuntu):
status: New → Confirmed
Revision history for this message
Nick (kg6nmp) wrote :

The defulat zabbix-server.conf file provided by the package has a reference to /etc/zabbix/zabbix_server.conf.d/ but that folder is not created by the installer. This causes the error. Either comment out that include line in the server conf or create that directory to get rid of the error.

Revision history for this message
Nish Aravamudan (nacc) wrote :

I have been doing some zabbix testing for other bugs, and I don't believe this occurs with 16.04. Given that 15.10 is going EOL, can you test with 16.04 (note you probably should use the test build (2.4.7+dfsg-2ubuntu3~ppa1) at https://launchpad.net/~nacc/+archive/ubuntu/zabbix, to avoid other known issues.

Changed in zabbix (Ubuntu):
status: Confirmed → Triaged
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.