Ad Widget

Collapse

Init script for Gentoo platform

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andreas Bollhalder
    Senior Member
    Zabbix Certified Specialist
    • Apr 2007
    • 144

    #1

    Init script for Gentoo platform

    Hello all

    I run our Zabbix on a Gentoo 2007.0 installation. When I upgraded to 1.4.2, I adapted the init script provided with the source. After that, I didn't get any SMS. I reverted to the init script from the Portage for the version 1.1.7 and SMS has been working again.

    I can't explain, why this happened. I found out, that the smsclient 2.0.9 I used, couldn't create the lock file in "/var/lock/sms" for the modem when started with the init script from the ZABBIX sources. With the init script from the Gentoo package for 1.1.7 it works fine. In both cases, the ZABBIX process has been running as the user "zabbix".

    Maybe this helps if someone else encounter the same problem.

    Andreas
    Zabbix statistics
    Total hosts: 380 - Total items: 12190 - Total triggers: 4530 - Required server performance: 224.2
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Perhaps different init scripts start different versions of ZABBIX server. Note that starting from 1.4.2 all binaries are installed into sbin (not bin) by default.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Andreas Bollhalder
      Senior Member
      Zabbix Certified Specialist
      • Apr 2007
      • 144

      #3
      I did change the path to the correct server binary (1.4.2 in sbin). It seems, that there has been something wrong with the environment for the user zabbix when I used the init script from the sources. The server process itself did run fine, I got only the wiered behavior when executing the script for sending SMSs (couldn't create lock file for the modem, even the user zabbix could run the script by hand).

      Andreas
      Zabbix statistics
      Total hosts: 380 - Total items: 12190 - Total triggers: 4530 - Required server performance: 224.2

      Comment

      Working...