Ad Widget

Collapse

How to restart frontend installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jhausherr
    Junior Member
    • Dec 2010
    • 3

    #1

    How to restart frontend installation

    Hi,

    I am currently installing the Zabbix PHP frontend and I am somehow stuck at stage 6, because of some special characters in my database password.

    I just keep getting the message that there is a config error due to an unexpected colon in the password string.

    I did try several ways to escape the colon which did not solve the problem and finally ended up changing the database password to one containing no special characters.

    Replacing the bad password in "zabbix.conf.php" with the new one had no effect
    as the file seems to be rewritten in step 6.

    *But* the old, broken password keeps coming back, regardless of what I do (deleting all files of the PHP frontend and copying them anew from the distribution, deleting zabbix.conf.php, restarting apache).

    How can I reset the frontend installation to a state that simply allows me to start over?? Where does the f*ing installation procedure store that old password and how can I change it so that the installation can continue?

    Thanks,
    Jens
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    The zabbix db username and password are also in /etc/zabbix/zabbix_server.conf

    MrKen
    Disclaimer: All of the above is pure speculation.

    Comment

    • jhausherr
      Junior Member
      • Dec 2010
      • 3

      #3
      I already changed the password in zabbix_server.conf. (The server already runs fine with the new password)

      There must be some other place the installation of the frontend keeps the entered password.

      The irritating aspect is that the first validation of the DB connection (i.e. when entered in stage 4 of the installation passed the connection check with the old password containing special characters. Installation seems to fail afterwards because the password ssems to be written to the configuration file without any escaping of special chars (in this case [':\])

      Any other idea where the password may be hiding?

      Jens

      Comment

      • MrKen
        Senior Member
        • Oct 2008
        • 652

        #4
        As far as I am aware the password is only written in zabbix_server.conf, and in zabbix.conf.php

        So, you changed the db password. Can you connect to the db on the command line using your new username and password?

        At Step 4, can you enter the new username and password successfully?

        What is the holdup at Step 6? Can you not just continue to Step 7 and download the zabbix.conf.php?

        Other than that, stop zabbix_server, stop mysql, then start mysql, and start zabbix_server.

        MrKen
        Disclaimer: All of the above is pure speculation.

        Comment

        • jhausherr
          Junior Member
          • Dec 2010
          • 3

          #5
          My main Problem is that I do not have the possibility to get to Step4 or anywhere else.

          All I get is a blank page with the following message:

          Parse error: syntax error, unexpected ':' in /var/www/secure/zabbix/conf/zabbix.conf.php on line 28

          The installation procedure seemingly seems to pick up where it left, unimpressed even by deleting all files of the php frontend under htdocs and restarting apache.
          It seems that the state of the installation and the entered values are saved in some place besides the applications files.

          Only by removing the rights on zabbix.conf.php I could revive the Installation GUI - maybe I could try to go back to step 4 and enter correct data.

          Jens

          Comment

          Working...