pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Question about failed to start Zabbix server 5.0 (pkgsrc-wip)



Hello,

In Aug 8, I committed zabbix50-* packages to pkgsrc-wip repository.
These packages could build in NetBSD 9.0 amd64, but Zabbix server
has problem that failed to starting with this log:

"cannot remove shared memory for self-monitoring collector: [22] Invalid
argument"

This error happen in these lines in Zabbix (src/libs/zbxself/selfmon.c).

        if (-1 == shmctl(shm_id, IPC_RMID, 0))
        {
                zabbix_log(LOG_LEVEL_WARNING, "cannot remove shared memory for self-monitoring collector: %s",
                                zbx_strerror(errno));
        }

Is it NetBSD specific issue? I read shmctl(2) but I have no idea why
failed the system call.

Thank you,

P.S. Thank you otis@ for fix some issues. I found your commit in Git log.
-- 
Yuuki Enomoto <uki%e-yuuki.org@localhost>
B684 4BF2 9CD4 961F 510A  8121 7B4D FF44 2348 20B8

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index