OS: Debian10 App: Zabbix4.0 Installed app:Mariadb,Apache2,php
I got this error after I input this command in mysql.
create database zabbix character set utf8 collate utf8_bin;
and when I tried to restart zabbix-server,
zabbix-server.service: Can't open PID file /run/zabbix/zabbix_server..
Any idea regarding this error?
This message means you don't have schema just run zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -p zabbix
after that enter password wait around 10-30sec when import schema will be done for Ubuntu run:
systemctl restart zabbix-server zabbix-agent httpd php-fpm
systemctl enable zabbix-server zabbix-agent httpd php-fpm
Then go to http://server_ip_or_name/zabbix
and complete setup.