Ad Widget

Collapse

Thanks to all those that have helped

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gokiwi64
    Member
    • Jun 2020
    • 36

    #1

    Thanks to all those that have helped

    Just wanted to say thank you to those that have tried to help.

    This morning I had a hard disk crash that meant I had to install Linux Mint again - Unfortunately Mint does not come with the right version of some files -

    The following packages have unmet dependencies.
    zabbix-server-pgsql : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
    Depends: libevent-2.1-7 (>= 2.1.8-stable) but it is not installable
    Depends: libsnmp35 (>= 5.8+dfsg) but it is not installable
    E: Unable to correct problems, you have held broken packages.

    Yet when I run Synaptic Package Manager and look under "Broken" nothing is listed , however libc6 is the latest version for Linux Mint .

    Am at a complete loss yet again
  • Gokiwi64
    Member
    • Jun 2020
    • 36

    #2
    Okay so I was trying to install Ubuntu 20.04 when I tried to install Ubuntu 18.04 the installation succeed however the web page doesn't load instead I get



    <?php /* ** Zabbix ** Copyright (C) 2001-2020 Zabbix SIA ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; either version 2 of the License, or ** (at your option) any later version. ** ** This program is distributed in the hope that it will be useful, ** but WITHOUT ANY WARRANTY; without even the implied warranty of ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ** GNU General Public License for more details. ** ** You should have received a copy of the GNU General Public License ** along with this program; if not, write to the Free Software ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. **/ require_once dirname(__FILE__).'/include/classes/user/CWebUser.php'; CWebUser::disableSessionCookie();

    Comment

    • Gokiwi64
      Member
      • Jun 2020
      • 36

      #3
      aaaaagh so close yet so far :-(

      Have now got web page to load but is failing with
      • Minimum required size of PHP post is 16M (configuration option "post_max_size").
      • Minimum required limit on execution time of PHP scripts is 300 (configuration option "max_execution_time").
      • Minimum required limit on input parse time for PHP scripts is 300 (configuration option "max_input_time").
      • Time zone for PHP is not set (configuration parameter "date.timezone").

      I have apache.conf

      # Define /zabbix alias, this is the default
      <IfModule mod_alias.c>
      Alias /zabbix /usr/share/zabbix
      </IfModule>

      <Directory "/usr/share/zabbix">
      Options FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all

      <IfModule mod_php5.c>
      php_value max_execution_time 300
      php_value memory_limit 128M
      php_value post_max_size 16M
      php_value upload_max_filesize 2M
      php_value max_input_time 300
      php_value max_input_vars 10000
      php_value always_populate_raw_post_data -1
      # php_value date.timezone Europe/London
      </IfModule>
      <IfModule mod_php7.c>
      php_value max_execution_time 300
      php_value memory_limit 128M
      php_value post_max_size 16M
      php_value upload_max_filesize 2M
      php_value max_input_time 300
      php_value max_input_vars 10000
      php_value always_populate_raw_post_data -1
      php_value date.timezone Europe/London
      </IfModule>
      </Directory>

      <Directory "/usr/share/zabbix/conf">
      Order deny,allow
      Deny from all
      <files *.php>
      Order deny,allow
      Deny from all
      </files>
      </Directory>

      <Directory "/usr/share/zabbix/app">
      Order deny,allow
      Deny from all
      <files *.php>
      Order deny,allow
      Deny from all
      </files>
      </Directory>

      <Directory "/usr/share/zabbix/include">
      Order deny,allow
      Deny from all
      <files *.php>
      Order deny,allow
      Deny from all
      </files>
      </Directory>

      <Directory "/usr/share/zabbix/local">
      Order deny,allow
      Deny from all
      <files *.php>
      Order deny,allow
      Deny from all
      </files>
      </Directory>


      Comment

      • Gokiwi64
        Member
        • Jun 2020
        • 36

        #4
        So S U C C E S S , I now have a fully functioning Zabbix installation. Have a mixture or Windows and Linux devices via the agent and a mixture of Cisco and TP-Link devices via snmp. Well happy now

        Comment

        Working...