Ad Widget

Collapse

Configure DB Connection, Undefined index: PORT

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jmcnulty
    Member
    • Nov 2008
    • 33

    #1

    Configure DB Connection, Undefined index: PORT

    Hi, I'm building 1.6.1 on RHEL 4.7. I've got as far as section 4 of the Web setup but now I'm getting the following error at the top of the page:

    Undefined index: PORT[/var/www/html/zabbix/include/setup.inc.php:521]

    Populating the info in the box doesn't help and produces further mysql_connect() errors. I've already modified db.inc.php with the following:

    $DB_TYPE ="MYSQL";
    $DB_SERVER ="10.x.x.x";
    $DB_DATABASE ="zabbix";
    $DB_USER ="root";
    $DB_PASSWORD ="xxxxxxxx";

    (Server and Password hidden, but the password is the one used when creating the database)

    Am I just missing a port definition here, and what should it be?
  • jmcnulty
    Member
    • Nov 2008
    • 33

    #2
    Can someone help please?

    I'm trying to evaluate Zabbix as a replacement to an old Mon install that just doesn't cut it anymore. If this works then there's about 200 systems/devices on the LAN that need looking after (hint: potential support revenue here). But if I can't even get it installed then I won't be able to evaluate anything. And one of my colleagues keeps dropping Zenoss in the conversation

    Comment

    • jmcnulty
      Member
      • Nov 2008
      • 33

      #3
      Ok, never mind. I guessed that the port it was after was the Trapper port, and after adding $DB_PORT = "10051"; it's now working and I can connect to the database. Onwards and upwards.

      Comment

      • jmcnulty
        Member
        • Nov 2008
        • 33

        #4
        Well that was short lived. I completed the install, copied the zabbix.conf.php into the conf directory etc, clicked Finish and got presented with .... a BLANK web page.

        Have restarted the zabbix server and httpd. Same thing.

        Comment

        • jmcnulty
          Member
          • Nov 2008
          • 33

          #5
          Hm, am getting the following in httpd's error_log:

          [client 10.x.x.x] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /var/www/html/zabbix/include/forms.inc.php on line 885

          Comment

          • jmcnulty
            Member
            • Nov 2008
            • 33

            #6
            Fixed that too: increased the memory_limit to 128M in php.ini. Missed that in the PHP pre-requisite's table.

            I have a login at last

            Comment

            Working...