Thursday, September 12, 2024

Re: Small issue with net/zabbix web

Hi

I think the default config should be ammended to reflect the default
openbsd behaviour. Do you want to come up with a patch?

On 11/09/24 16:11 GMT, Renaud Allard wrote:
> Hello,
>
> When I install the package zabbix-web, it installs the file
> /var/www/zabbix/conf/zabbix.conf.php with some default variables. So, by
> default, it tries to connect to MySQL DB on default unix socket without any
> password. This means that if you try to run https://server/zabbix/setup.php
> (without having MySQL listening on a unix socket without password), it will
> throw a custom error "no such file or directory". This is extremely hard to
> debug why because it doesn't log any useful error message and doesn't relate
> to database. Also, there is no mention of that in the package README file.
>
> Since the preferred way of configuring zabbix seems to be through setup.php,
> it might be a good idea to remove that default config to prevent clueless
> errors. Or maybe at least mention it in the package README.
>
> What do you think?
>
> Best Regards



--
Regards,
Robert Nagy

No comments:

Post a Comment