Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-16881

zabbix-server is runing but have not child process,and web is error 301

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • None
    • Server (S)
    • None

      Steps to reproduce:

      hello ! I change some config about mem,and apache , then restart zabbix-server ~

      now zabbix-server is running,but have not child process,and web con't to be open ~

      the log is nothing~

      please help me! thank you!

       

      *#*service zabbix-server status

      Redirecting to /bin/systemctl status zabbix-server.service
      ● zabbix-server.service - Zabbix Server
       Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendor preset: disabled)
       Active: active (running) since Thu 2019-11-07 14:55:04 CST; 29min ago
       Process: 7371 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=0/SUCCESS)
       Process: 7386 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
       Main PID: 7388 (zabbix_server)
       CGroup: /system.slice/zabbix-server.service
       └─7388 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
      Nov 07 14:55:04 zabbix-10-1-0-100 systemd[1]: Starting Zabbix Server...
      Nov 07 14:55:04 zabbix-10-1-0-100 systemd[1]: zabbix-server.service: Supervising process 7388 which is not our child. We'll most likely not notice when it exits.
      Nov 07 14:55:04 zabbix-10-1-0-100 systemd[1]: Started Zabbix Server.
       
      

       

      #log info 

       
      5408:20191107:145504.275 Zabbix Server stopped. Zabbix 3.2.11 (revision 76339).
       7388:20191107:145504.299 Starting Zabbix Server. Zabbix 3.2.11 (revision 76339).
       7388:20191107:145504.300 ****** Enabled features ******
       7388:20191107:145504.300 SNMP monitoring: YES
       7388:20191107:145504.300 IPMI monitoring: YES
       7388:20191107:145504.300 Web monitoring: YES
       7388:20191107:145504.300 VMware monitoring: YES
       7388:20191107:145504.300 SMTP authentication: YES
       7388:20191107:145504.300 Jabber notifications: YES
       7388:20191107:145504.300 Ez Texting notifications: YES
       7388:20191107:145504.300 ODBC: YES
       7388:20191107:145504.300 SSH2 support: YES
       7388:20191107:145504.300 IPv6 support: YES
       7388:20191107:145504.300 TLS support: YES
       7388:20191107:145504.300 ******************************
       7388:20191107:145504.300 using configuration file: /etc/zabbix/zabbix_server.conf
       7388:20191107:145504.300 In zbx_load_modules()
       7388:20191107:145504.300 End of zbx_load_modules():SUCCEED
       7388:20191107:145504.300 In init_database_cache()
       7388:20191107:145504.300 In zbx_mem_create() descr:'history cache' param:'HistoryCacheSize' size:16777216
       7388:20191107:145504.300 zbx_shmget() removing existing shm_id:223707188
       7388:20191107:145504.300 valid user addresses: [0x7f2e8771a170, 0x7f2e88719ff0] total size: 16776832
       7388:20191107:145504.300 End of zbx_mem_create()
       7388:20191107:145504.300 In zbx_mem_create() descr:'history index cache' param:'HistoryIndexCacheSize' size:4194304
       7388:20191107:145504.300 zbx_shmget() removing existing shm_id:223739957
       7388:20191107:145504.300 valid user addresses: [0x7f2e8731a180, 0x7f2e87719ff0] total size: 4193904
       7388:20191107:145504.300 End of zbx_mem_create()
       7388:20191107:145504.300 In init_trend_cache()
       7388:20191107:145504.300 In zbx_mem_required_size() size:0 chunks_num:1 descr:'trend cache' param:'TrendCacheSize'
       7388:20191107:145504.300 End of zbx_mem_required_size() size:422
       7388:20191107:145504.300 In zbx_mem_create() descr:'trend cache' param:'TrendCacheSize' size:4194304
       7388:20191107:145504.300 zbx_shmget() removing existing shm_id:223772726
       7388:20191107:145504.301 valid user addresses: [0x7f2e86f1a170, 0x7f2e87319ff0] total size: 4193920
       7388:20191107:145504.301 End of zbx_mem_create()
       7388:20191107:145504.301 End of init_trend_cache()
       7388:20191107:145504.301 End of init_database_cache()
       7388:20191107:145504.301 In init_configuration_cache() size:8388608
       7388:20191107:145504.301 In zbx_mem_create() descr:'configuration cache' param:'CacheSize' size:7130317
       7388:20191107:145504.301 zbx_shmget() removing existing shm_id:223805495
       7388:20191107:145504.301 valid user addresses: [0x7f2e8684d170, 0x7f2e86f19cc0] total size: 7129936
       7388:20191107:145504.301 End of zbx_mem_create()
       7388:20191107:145504.301 In zbx_strpool_create()
       7388:20191107:145504.301 In zbx_mem_create() descr:'string pool' param:'CacheSize' size:1258291
       7388:20191107:145504.301 zbx_shmget() removing existing shm_id:223838264
       7388:20191107:145504.301 valid user addresses: [0x7f2e91216168, 0x7f2e91349328] total size: 1257920
       7388:20191107:145504.301 End of zbx_mem_create()
       7388:20191107:145504.301 End of zbx_strpool_create()
       7388:20191107:145504.301 End of init_configuration_cache()
       7388:20191107:145504.301 In init_selfmon_collector()
       7388:20191107:145504.301 init_selfmon_collector() size:25296
       7388:20191107:145504.301 zbx_shmget() removing existing shm_id:223871033
       7388:20191107:145504.301 End of init_selfmon_collector() collector:0x7f2e91369000
       7388:20191107:145504.301 In zbx_vc_init()
       7388:20191107:145504.301 In zbx_mem_required_size() size:0 chunks_num:1 descr:'value cache size' param:'ValueCacheSize'
       7388:20191107:145504.301 End of zbx_mem_required_size() size:427
       7388:20191107:145504.301 In zbx_mem_create() descr:'value cache size' param:'ValueCacheSize' size:8388608
       7388:20191107:145504.301 zbx_shmget() removing existing shm_id:223936571
       7388:20191107:145504.301 valid user addresses: [0x7f2e8604d170, 0x7f2e8684cff0] total size: 8388224
       7388:20191107:145504.301 End of zbx_mem_create()
       7388:20191107:145504.302 End of zbx_vc_init()
       7388:20191107:145504.302 In zbx_db_get_database_type()
       7388:20191107:145504.302 In DBconnect() flag:0
       7388:20191107:145504.309 End of DBconnect():0
       7388:20191107:145504.309 query [txnlev:0] [select userid from users limit 1]
       
      

       

      #zabbix_server.conf

       

      
      LogFile=/var/log/zabbix/zabbix_server.log
      PidFile=/var/run/zabbix/zabbix_server.pid
      
      DBHost=**
      DBPort=**
      DBName=zabbix
      DBUser=**
      DBPassword=**
      StartPollers=50
      StartPollersUnreachable=10
      StartPingers=10
      StartDiscoverers=5
      StartDBSyncers=5
      #StartVMwareCollectors=5
      #VMwareFrequency=20
      #VMwareCacheSize=128M
      #CacheSize=1G
      #HistoryCacheSize=256M
      #HistoryIndexCacheSize=256M
      #TrendCacheSize=512M
      #ValueCacheSize=512M
      #HousekeepingFrequency=12
      #MaxHousekeeperDelete=10000
      Timeout=15
      AlertScriptsPath=/usr/lib/zabbix/alertscripts
      ExternalScripts=/usr/lib/zabbix/externalscripts
      Fping6Location=
      LogSlowQueries=3000
      DebugLevel=4
       
      

       

      #httpd/conf.d/zabbix.conf

       

      cat /etc/httpd/conf.d/zabbix.conf
      #
      # Zabbix monitoring system php web frontend
      #
      Alias /zabbix /usr/share/zabbix
      <Directory "/usr/share/zabbix">
       Options FollowSymLinks
       AllowOverride None
       Require all granted
      <IfModule mod_php5.c>
       php_value max_execution_time 300
       php_value memory_limit 512M
       php_value post_max_size 256M
       php_value upload_max_filesize 2M
       php_value max_input_time 300
       php_value always_populate_raw_post_data -1
       # php_value date.timezone Europe/Riga
       </IfModule>
      </Directory>
      <Directory "/usr/share/zabbix/conf">
       Require all denied
      </Directory>
      <Directory "/usr/share/zabbix/app">
       Require all denied
      </Directory>
      <Directory "/usr/share/zabbix/include">
       Require all denied
      </Directory>
      <Directory "/usr/share/zabbix/local">
       Require all denied
      </Directory>
      

       

            zabbix.support Zabbix Support Team
            WytheNet WytheNet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: