Ad Widget

Collapse

Unable to login

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fr2632
    Junior Member
    • Jul 2015
    • 5

    #1

    Unable to login

    Hi there,

    The installation went ok, DB is created with users etc but when I go to http://server_ip/zabbix and done with the web installation (everything was marked "ok" in green) I cannot login.

    I checked the username and password in phpmyadmin to make sure and they are correct but it keeps saying "Login name or password is incorrect"

    Can you help me with this ? What do I need to check/modify/adjust in the system ?

    I installed zabbix on Centos 6.

    Thank you so much for your support!

    Regards
    Francesco
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Are you create tables and load default data?



    If you already created tables and loaded data, please try login with Username "Admin" and Password "zabbix".

    Comment

    • fr2632
      Junior Member
      • Jul 2015
      • 5

      #3
      Originally posted by Atsushi
      Are you create tables and load default data?



      If you already created tables and loaded data, please try login with Username "Admin" and Password "zabbix".
      Hi,

      Thank you for your reply. I already created tables and loaded data, I tried again :

      Code:
      [root@server create]# mysql -u root -p zabbix < schema.sql
      Enter password: 
      ERROR 1050 (42S01) at line 1: Table 'maintenances' already exists
      [root@server create]# mysql -u root -p zabbix < images.sql
      Enter password: 
      ERROR 1062 (23000) at line 1: Duplicate entry '1' for key 'PRIMARY'
      [root@server create]# mysql -u root -p zabbix < data.sql
      Enter password: 
      ERROR 1062 (23000) at line 2: Duplicate entry '10001' for key 'PRIMARY'
      [root@server create]# nano /etc/zabbix/zabbix_server.conf
      [root@server create]# service zabbix-server start
      Starting Zabbix server:                                    [  OK  ]
      Still cannot login with :

      Username "Admin" and Password "zabbix"
      or
      Username "zabbix" and Password "zabbix"

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        Is there error log of the Web server?

        Comment

        • fr2632
          Junior Member
          • Jul 2015
          • 5

          #5
          Originally posted by Atsushi
          Is there error log of the Web server?
          Good question, where can I find the log ?

          Comment

          • Atsushi
            Senior Member
            • Aug 2013
            • 2028

            #6
            If you use CentOS 6 and httpd package, httpd will output errors in /var/log/httpd/error_log.

            Comment

            • fr2632
              Junior Member
              • Jul 2015
              • 5

              #7
              Originally posted by Atsushi
              If you use CentOS 6 and httpd package, httpd will output errors in /var/log/httpd/error_log.
              Thanks! See the output attached (could not copy/paste here)
              Attached Files

              Comment

              • Atsushi
                Senior Member
                • Aug 2013
                • 2028

                #8
                I think that there is a problem with the execution environment for PHP.
                If you using a standard package of CentOS 6, that error does not occur in such a place.

                What is the detailed version of Zabbix?
                How do you have installed?
                Did you change the configuration file manually?

                Comment

                • fr2632
                  Junior Member
                  • Jul 2015
                  • 5

                  #9
                  Originally posted by Atsushi
                  I think that there is a problem with the execution environment for PHP.
                  If you using a standard package of CentOS 6, that error does not occur in such a place.

                  What is the detailed version of Zabbix?
                  How do you have installed?
                  Did you change the configuration file manually?
                  I have followed the how-to on this link https://www.zabbix.com/documentation..._from_packages

                  Yes, I have changed the configuration manually. Thanks

                  Comment

                  Working...