Ad Widget

Collapse

Не стартует сервер после установки

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Slimm2
    Junior Member
    • Jun 2007
    • 21

    #1

    Не стартует сервер после установки

    Система RedHat Enterprise 4, mysql 5.0.22
    Скачал zabbix-1.6.6,
    собрал (./configure --with-mysql --with-net-snmp --enable-server)
    Сервер почему то не стартует
    Проверил права к zabbix_server.pid zabbix_server.log все как надо,
    в логах ни чего дельного не обнаружил

    27829:20091028:095037 ZABBIX Server stopped. ZABBIX 1.6.6 (revision 7836).
    28233:20091028:095136 ZABBIX Server stopped. ZABBIX 1.6.6 (revision 7836).
    28311:20091028:095156 Starting zabbix_server. ZABBIX 1.6.6 (revision 7836).
    28311:20091028:095156 **** Enabled features ****
    28311:20091028:095156 SNMP monitoring: YES
    28311:20091028:095156 WEB monitoring: YES
    28311:20091028:095156 Jabber notifications: NO
    28311:20091028:095156 ODBC: NO
    28311:20091028:095156 IPv6 support: NO
    28311:20091028:095156 **************************
    28311:20091028:095156 Query [SET CHARACTER SET utf8]
    28311:20091028:095156 Query [select refresh_unsupported from config where 1=1 and configid between 000000000000000 and 099999999999999]
    28311:20091028:095156 Query [select masterid from nodes where nodeid=0]
    28311:20091028:095156 In DBupdate_triggers_after_restart()
    28311:20091028:095156 Query [select distinct t.triggerid,t.expression,t.description,t.status,t. priority,t.value,t.url,t.comments from hosts h,items i,triggers t,functions f where f.triggerid=t.triggerid and f.itemid=i.itemid and h.hostid=i.hostid and i.nextcheck+i.delay<1256712716 and i.key_<>'status' and h.status not in (4,3) and i.type not in (2)]
    28311:20091028:095156 Query [select min(i.nextcheck+i.delay) from hosts h,items i,triggers t,functions f where f.triggerid=t.triggerid and f.itemid=i.itemid and h.hostid=i.hostid and i.nextcheck<>0 and t.triggerid=12768 and i.type not in (2)]
    28311:20091028:095156 No triggers to update (2)
    28311:20091028:095156 Query [select min(i.nextcheck+i.delay) from hosts h,items i,triggers t,functions f where f.triggerid=t.triggerid and f.itemid=i.itemid and h.hostid=i.hostid and i.nextcheck<>0 and t.triggerid=12769 and i.type not in (2)]
    28311:20091028:095156 No triggers to update (2)
    ...
    28311:20091028:095156 End of DBupdate_triggers_after_restart()
    28311:20091028:095156 In init_database_cache() size:816
    28321:20091028:095156 server #6 started [Trapper]
    28321:20091028:095156 In child_trapper_main()
    28322:20091028:095156 server #7 started [Trapper]
    28322:20091028:095156 In child_trapper_main()
    28321:20091028:095156 Query [SET CHARACTER SET utf8]
    28322:20091028:095156 Query [SET CHARACTER SET utf8]
    28323:20091028:095156 server #8 started [Trapper]
    28323:20091028:095156 In child_trapper_main()
    28323:20091028:095156 Query [SET CHARACTER SET utf8]
    28324:20091028:095156 server #9 started [Trapper]
    28324:20091028:095156 In child_trapper_main()
    28324:20091028:095156 Query [SET CHARACTER SET utf8]
    28325:20091028:095156 server #10 started [Trapper]
    28325:20091028:095156 In child_trapper_main()
    28325:20091028:095156 Query [SET CHARACTER SET utf8]
    28327:20091028:095156 server #11 started [ICMP pinger]
    28327:20091028:095156 In main_pinger_loop(num:1)
    28327:20091028:095156 Query [SET CHARACTER SET utf8]
    28329:20091028:095156 server #12 started [Alerter]
    28329:20091028:095156 Query [SET CHARACTER SET utf8]
    28329:20091028:095156 Query [select a.alertid,a.mediatypeid,a.sendto,a.subject,a.messa ge,a.status,mt.mediatypeid,mt.type,mt.description, mt.smtp_server,mt.smtp_helo,mt.smtp_email,mt.exec_ path,mt.gsm_modem,mt.username,mt.passwd,a.retries from alerts a,media_type mt where a.status=0 and a.mediatypeid=mt.mediatypeid and a.alerttype=0 and mt.mediatypeid between 000000000000000 and 099999999999999 order by a.clock]
    28331:20091028:095156 server #13 started [Housekeeper]
    28331:20091028:095156 Executing housekeeper
    28331:20091028:095156 Query [SET CHARACTER SET utf8]
    28331:20091028:095156 In housekeeping_history_and_trends(1256712716)
    28331:20091028:095156 Query [select itemid,history,trends from items]
    28331:20091028:095156 In delete_history(history,10001,5397540015687335943,0 )
    ...
    28339:20091028:095156 server #19 started [Escalator]
    28339:20091028:095156 In main_escalator_loop()
    28331:20091028:095156 In delete_history(history_uint,10071,5397540015687335 943,0)
    28331:20091028:095156 Query [select min(clock) from history_uint where itemid=10071]
    28331:20091028:095156 In delete_history(history_str,10071,53975400156873359 43,0)
    28331:20091028:095156 Query [select min(clock) from history_str where itemid=10071]
    28331:20091028:095156 In delete_history(history_text,10071,5397540015687335 943,0)
    28331:20091028:095156 Query [select min(clock) from history_text where itemid=10071]
    28331:20091028:095156 In delete_history(history_log,10071,53975400156873359 43,0)
    28331:20091028:095156 Query [select min(clock) from history_log where itemid=10071]
    28339:20091028:095156 Query [SET CHARACTER SET utf8]
    28331:20091028:095156 In delete_history(trends,10071,5397540015687336301,0)
    28331:20091028:095156 Query [select min(clock) from trends where itemid=10071]
    28339:20091028:095156 In process_escalations()
    28331:20091028:095156 In delete_history(history,10072,5397540015687335943,0 )
    28339:20091028:095156 Query [select escalationid,actionid,triggerid,eventid,r_eventid, esc_step,status from escalations where status in (0,1) and nextcheck<=1256712716 and escalationid between 000000000000000 and 099999999999999]
    28331:20091028:095156 Query [select min(clock) from history where itemid=10072]
    28331:20091028:095156 In delete_history(history_uint,10072,5397540015687335 943,0)
    ...
    28331:20091028:095157 Query [select min(clock) from history_str where itemid=10299]
    28311:20091028:095156 In main_watchdog_loop()
    28311:20091028:095157 One child process died. Exiting ...
    28321:20091028:095157 Got signal. Exiting ...
    28322:20091028:095157 Got signal. Exiting ...
    28323:20091028:095157 Got signal. Exiting ...
    28324:20091028:095157 Got signal. Exiting ...
    28325:20091028:095157 Got signal. Exiting ...
    28327:20091028:095157 Got signal. Exiting ...
    28329:20091028:095157 Got signal. Exiting ...
    28333:20091028:095157 Got signal. Exiting ...
    28336:20091028:095157 Got signal. Exiting ...
    28338:20091028:095157 Got signal. Exiting ...
    28339:20091028:095157 Got signal. Exiting ...
    28337:20091028:095156 End process_httptests()
    28337:20091028:095157 Got signal. Exiting ...
    28331:20091028:095157 Got signal. Exiting ...
    28311:20091028:095159 Query [SET CHARACTER SET utf8]
    28311:20091028:095159 In free_database_cache()
    28311:20091028:095159 End of free_database_cache()
    28311:20091028:095159 ZABBIX Server stopped. ZABBIX 1.6.6 (revision 7836).
  • Slimm2
    Junior Member
    • Jun 2007
    • 21

    #2
    Уважаемые, а вообще у когонибудь работает с Zabbix на Linux, в часности конечно интерисуют сборки RedHat, CentOS
    Что-то мне кажется, что моя проблема в системе, либо чего то не хватает либо что-то не так собрано
    Пробовал zabbix собирать с версии 1.4 под разными RedHat-ами и все время одна и таже проблема, не стартует ...
    Здесь писал, но получал только ответ: "подождите выхода следующей версии", ждал, устанавливал и ни чего, вот дошло до 1.6.6

    Может кто-нибудь подскажет что не так, готов предоставить любую доп. информацию

    Comment

    • den_crane
      Senior Member
      • Feb 2006
      • 272

      #3
      Чудеса какие-то, у меня заббикс до года без перезапуска работал, вот сейчас запущен Jun18
      # ps -ef|grep zabb|head
      zabbix 15306 1 0 Jun18 ? 00:00:03 /usr/local/sbin/zabbix_server

      # cat /etc/SuSE-release
      openSUSE 11.0 (i586)
      VERSION = 11.0

      Вы базу заново создали? Пустая?

      Может SELinux отключить?

      Comment

      • Slimm2
        Junior Member
        • Jun 2007
        • 21

        #4
        Да конечно база после инсталяции была создана с нуля:

        mysqladmin drop zabbix

        mysqladmin create zabbix
        mysql zabbix < create/schema/mysql.sql
        mysql zabbix < create/data/data.sql
        mysql zabbix < create/data/images_mysql.sql

        ни каких изменений через frontend не вносилось


        SELinux отключен ...

        Comment

        • Sasha
          Zabbix developer
          • Sep 2007
          • 60

          #5
          Вы не могли бы прислать полный лог на support at zabbix.com. К сожалению в данном логе не видно проблемы.

          Спасибо.
          ZABBIX Developer
          Riga, Latvia

          Comment

          • Slimm2
            Junior Member
            • Jun 2007
            • 21

            #6
            Лог выслал

            Большое спасибо за помощь

            Comment

            • Sasha
              Zabbix developer
              • Sep 2007
              • 60

              #7
              Судя по логу, не стартуют процессы, использующие SNMP библиотеку. Попробуйте отконфигурить без поддержки SNMP (./configure --with-mysql --enable-server) и попробовать еще раз.
              Если заработает, обновите SNMP библиотеку.
              На RHEL 5.3 (i386/x64) никаких проблем.
              ZABBIX Developer
              Riga, Latvia

              Comment

              • Slimm2
                Junior Member
                • Jun 2007
                • 21

                #8
                Sasha, большое спасибо!!!
                Все действительно как Вы сказали.
                Без поддержки net-snmp все заработало
                На CentOS 5.3, но уже с поддержкой net-snmp, тоже все завелось

                Огромное спасибо !!!

                Comment

                Working...