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

Backslash as a last DB password character breaks the frontend

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 6.0.26, 6.4.11
    • Frontend (F)
    • None

      Steps to reproduce:

      1. Generate the DB password for the Zabbix frontend DB user with a backslash '\' character
      2. Define it into the frontend configuration file .
        $DB['PASSWORD']                 = '<password>\';
        

      Result:

      Browser

      HTTP ERROR 500 
      

      Web engine error log

      [error] 33828#33828: *8 FastCGI sent in stderr: "PHP message: PHP Parse error:  syntax error, unexpected identifier "SCHEMA" in /etc/zabbix/web/zabbix.conf.php on line 12" while reading response header from upstream, client: 87.116.160.112, server: , request: "GET / HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/zabbix.sock:",
      

      No problems

            zabbix.dev Zabbix Development Team
            igorbach Igor Gorbach
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: