Ad Widget

Collapse

Upgrade 1.6 to 1.8 patch problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • antani
    Member
    • Apr 2008
    • 50

    #1

    Upgrade 1.6 to 1.8 patch problem

    Zabbix 1.6.1
    Hello, i'm having problems applying the patch to mysql:
    mysql zabbix < patch.sql
    ERROR 1050 (42S01) at line 2: Table 'auditlog_details' already exists

    I've dropped the table and reapplyied the patch:
    ERROR 1050 (42S01) at line 14: Table 'autoreg_host' already exists

    then:
    ERROR 1050 (42S01) at line 35: Table 'expressions' already exists
    ERROR 1050 (42S01) at line 11: Table 'globalmacro' already exists
    ERROR 1050 (42S01) at line 21: Table 'graph_theme' already exists
    Last edited by antani; 15-12-2009, 16:44.
  • emilode
    Junior Member
    Zabbix Certified Specialist
    • Jul 2009
    • 7

    #2
    I have the same problem here. At first run I get "Duplicate key name 'actions_1'. Dropping the table and rerunning the patch gives 'auditlog_details already exists' and I can't drop that table, mysql gives an error 1091 (check that column/key exists).

    Running FreeBSD, mysql 5.0.51a.

    Comment

    • antani
      Member
      • Apr 2008
      • 50

      #3
      Originally posted by emilode
      I can't drop that table, mysql gives an error 1091 (check that column/key exists).
      Try this:
      - backup db
      - stop mysql
      - remove table from disk /var/lib/mysql/zabbix/
      - restart mysql

      Comment

      Working...