• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Error 1045 During Install on Storage Nodes

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    25
    4.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tom ElliottT
      Tom Elliott @Raymond Bell
      last edited by

      @Raymond-Bell what OS is the server running?

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      Raymond BellR 1 Reply Last reply Reply Quote 0
      • Raymond BellR
        Raymond Bell Testers @Tom Elliott
        last edited by Raymond Bell

        @Tom-Elliott said in Error 1045 During Install on Storage Nodes:

        @Raymond-Bell what OS is the server running?

        Server = Xubuntu 15.10 Minimal
        Node = Ubuntu 14.04 LTS

        Raymond Bell
        WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

        Tom ElliottT 1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott @Raymond Bell
          last edited by

          @Raymond-Bell please edit the file /etc/mysql/my.cnf and look for bind-address. Comment the line with a hash symbol.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          Raymond BellR 1 Reply Last reply Reply Quote 0
          • Raymond BellR
            Raymond Bell Testers @Tom Elliott
            last edited by

            @Tom-Elliott said in Error 1045 During Install on Storage Nodes:

            @Raymond-Bell please edit the file /etc/mysql/my.cnf and look for bind-address. Comment the line with a hash symbol.

            on server or node

            Raymond Bell
            WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @Raymond Bell
              last edited by

              @Raymond-Bell main server and when done restart the service with service mysql restart

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              Raymond BellR 3 Replies Last reply Reply Quote 0
              • Raymond BellR
                Raymond Bell Testers @Tom Elliott
                last edited by

                @Tom-Elliott
                Dont see it sorry

                #
                # The MySQL database server configuration file.
                #
                # You can copy this to one of:
                # - "/etc/mysql/my.cnf" to set global options,
                # - "~/.my.cnf" to set user-specific options.
                #
                # One can use all long options that the program supports.
                # Run program with --help to get a list of available options and with
                # --print-defaults to see which it would actually understand and use.
                #
                # For explanations see
                # http://dev.mysql.com/doc/mysql/en/server-system-variables.html
                
                #
                # * IMPORTANT: Additional settings that can override those from this file!
                #   The files must end with '.cnf', otherwise they'll be ignored.
                #
                
                !includedir /etc/mysql/conf.d/
                !includedir /etc/mysql/mysql.conf.d/
                ~
                ~
                ~
                

                Raymond Bell
                WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                1 Reply Last reply Reply Quote 0
                • Raymond BellR
                  Raymond Bell Testers @Tom Elliott
                  last edited by

                  @Tom-Elliott Found it on Storage Node side trying it now

                  Raymond Bell
                  WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @Raymond Bell
                    last edited by

                    @Raymond-Bell I don’t like ubuntu for these reasons…

                    They move things around and try to make it more “modular”

                    At anyrate, while in the server’s /etc/mysql folder (cd /etc/mysql) run the command grep -rl 'bind-address' . it should return the filename to the file (or files I suppose) that have that line in them.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    Raymond BellR 3 Replies Last reply Reply Quote 0
                    • Raymond BellR
                      Raymond Bell Testers @Tom Elliott
                      last edited by

                      @Tom-Elliott No Change

                      Raymond Bell
                      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                      1 Reply Last reply Reply Quote 0
                      • Raymond BellR
                        Raymond Bell Testers @Tom Elliott
                        last edited by

                        @Tom-Elliott said in Error 1045 During Install on Storage Nodes:

                        @Raymond-Bell I don’t like ubuntu for these reasons…

                        They move things around and try to make it more “modular”

                        At anyrate, while in the server’s /etc/mysql folder (cd /etc/mysql) run the command grep -rl 'bind-address' . it should return the filename to the file (or files I suppose) that have that line in them.

                        Found it

                        vi /etc/mysql/mysql.conf.d/mysqld.cnf

                        Raymond Bell
                        WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                        1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman
                          last edited by Wayne Workman

                          Wanna say to the Ubuntu-Linux devs that the mysql conf file structure is really over-the-top confusing and complex.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          1 Reply Last reply Reply Quote 0
                          • Raymond BellR
                            Raymond Bell Testers @Tom Elliott
                            last edited by

                            @Tom-Elliott
                            @Wayne-Workman

                            Run installer again on Storage Node to see if it get this error

                            Raymond Bell
                            WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                            1 Reply Last reply Reply Quote 0
                            • Raymond BellR
                              Raymond Bell Testers @Tom Elliott
                              last edited by

                              @Tom-Elliott
                              @Wayne-Workman

                              Same issue after commenting out Bind Address and restarting mysql

                               * Starting FOGSnapinReplicator Service........................OK
                               * Starting FOGScheduler Service...............................OK
                               * Starting FOGPingHosts Service...............................OK
                               * Setting up exports file.....................................OK
                               * Setting up and starting RPCBind.............................OK
                               * Setting up and starting NFS Server..........................OK
                              ERROR 1045 (28000): Access denied for user 'fogstorage'@'10.24.28.16' (using password: YES)
                              ERROR 1045 (28000): Access denied for user 'fogstorage'@'10.24.28.16' (using password: YES)
                              
                               * Setup complete
                              
                              
                               * You still need to setup this node in the fog management
                               | portal. You will need the username and password listed
                               | below.
                              

                              Raymond Bell
                              WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @Raymond Bell
                                last edited by Wayne Workman

                                @Raymond-Bell You don’t have to run the installer to test if it’s working or not, that takes way too long.

                                Instructions on connecting via CLI are in the wiki:
                                https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL#Testing_MySQL

                                mysql -u UserNameHere -pPasswordHere -h X.X.X.X -D fog
                                exit
                                

                                Or for you, use this and put in the password. Please note there is no space between -p and the password, this is correct and intentional.

                                mysql -u fogstorage -pPasswordHere -h x.x.x.x -D fog
                                exit
                                

                                If you get access denied, it’s not working. If you get in, it’s working.

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @Wayne Workman
                                  last edited by

                                  @Wayne-Workman The @10.24.28.16 is HIS side, not the IP to the server.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  Wayne WorkmanW Raymond BellR 3 Replies Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @Tom Elliott
                                    last edited by

                                    @Tom-Elliott correct and corrected.

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    1 Reply Last reply Reply Quote 0
                                    • Raymond BellR
                                      Raymond Bell Testers @Tom Elliott
                                      last edited by Raymond Bell

                                      @Tom-Elliott
                                      @Wayne-Workman

                                      root@fog-GX620-K2:/home/fog/Downloads/svn/bin# mysql -u fogstorage -ppassword -h 10.24.28.18 -D fog
                                      ERROR 1045 (28000): Access denied for user 'fog'@'10.24.28.16' (using password: YES)
                                      root@fog-GX620-K2:/home/fog/Downloads/svn/bin#
                                      

                                      Raymond Bell
                                      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                      1 Reply Last reply Reply Quote 0
                                      • Raymond BellR
                                        Raymond Bell Testers @Tom Elliott
                                        last edited by

                                        @Tom-Elliott
                                        @Wayne-Workman
                                        Got it to connect doing this command
                                        And the error is gone…

                                        Thanks guys we can close this issue now

                                        mysql
                                        GRANT ALL PRIVILEGES ON fog.* TO 'MysqlUserNameGoesHere'@'%' IDENTIFIED BY 'PasswordHere' WITH GRANT OPTION;
                                        

                                        Raymond Bell
                                        WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                                        1 Reply Last reply Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman
                                          last edited by

                                          Wanting to point out to readers this problem was due to no remote access enabled on the database, and the answer is in the wiki article “Troubleshoot MySQL”.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          • First post
                                            Last post

                                          142

                                          Online

                                          12.2k

                                          Users

                                          17.3k

                                          Topics

                                          155.4k

                                          Posts
                                          Copyright © 2012-2024 FOG Project