Ad Widget

Collapse

zabbix_server reports "cannot create locks"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • takagiwa
    Junior Member
    • Dec 2019
    • 2

    #1

    zabbix_server reports "cannot create locks"

    Hello,

    zabbix server reports error on log file "zabbix_server [****]: cannot create locks: cannot allocate shared memory for locks".
    Anybody could tell me how to resolve?

    I tried to change DebugLevel to 5 but I had no other message.
    I changed only the part about the database in the configuration file.

    I'm trying FreeBSD pkg.
    zabbix_server (Zabbix) 4.2.6
    Revision d3bb18bbc4 26 August 2019, compilation time: Nov 21 2019 18:16:09
    Running on FreeBSD *jail* 12.1-RELEASE-p1 GENERIC amd64

    I tried to change shared memory setting but not changed.
    # sysctl kern.ipc.shmall
    kern.ipc.shmall: 131072
    # sysctl kern.ipc.shmmax
    kern.ipc.shmmax: 536870912
    # sysctl -w kern.ipc.shmall=1048576
    kern.ipc.shmall: 131072 -> 1048576

    Best regards,
  • takagiwa
    Junior Member
    • Dec 2019
    • 2

    #2
    Helo,

    Finally I could start zabbix_server.
    I should run one or both command on host.
    # jail -m name=jail_name sysvshm=new
    # jail -m name=jail_name sysvsem=new
    I refereed https://blog.haraschak.com/zabbix-se...ebsd11-1-jail/

    Regads,

    Comment

    Working...