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

    Can't update kernel

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    22
    3.1k
    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.
    • J
      Jfulton
      last edited by

      I’m having issues with updating the kernel i successfully download the file but i get
      “/var/www/html/fog/lib/hooks/submenudata.hook.php, Line: 74, Message: Undefined index: node, Host: 10.5.0.19, Username: fog” i went to that config file but i dont know how to put the correct text in to correct the issue

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

        @jfulton FOG version?

        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
        • J
          Jfulton
          last edited by

          This post is deleted!
          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Jfulton
            last edited by

            @jfulton Have you looked over this? https://wiki.fogproject.org/wiki/index.php?title=Kernel_Update

            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
            • J
              Jfulton
              last edited by

              i am using fog 1.5.2 on fedora 26

              1 Reply Last reply Reply Quote 0
              • J
                Jfulton
                last edited by Jfulton

                I think the issue is with the way i have the IP address configured because i also have issues with PXE booting. also the wiki page on tftp didnt help much at all

                1 Reply Last reply Reply Quote 0
                • J
                  Jfulton
                  last edited by

                  now im getting
                  “Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): Login with USER first., Host: 10.5.0.19, Username: fog” can someone please help?

                  george1421G 1 Reply Last reply Reply Quote 0
                  • george1421G
                    george1421 Moderator @Jfulton
                    last edited by

                    @jfulton It would appears that someone has changed the linux user fog password on host 10.5.0.19. The linux user fog is a service account used by FOG (only). Might you have changed/reset this password after FOG was installed?

                    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!

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jfulton @george1421
                      last edited by

                      @george1421 im really not sure. i certainly didnt mean to. im attempting to reinstall now

                      george1421G 2 Replies Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @Jfulton
                        last edited by

                        @jfulton You can reinstall if you want, or you can fix it. That is up to you.

                        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!

                        J 1 Reply Last reply Reply Quote 0
                        • george1421G
                          george1421 Moderator @Jfulton
                          last edited by

                          @jfulton https://forums.fogproject.org/topic/11203/resyncing-fog-s-service-account-password

                          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!

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jfulton @george1421
                            last edited by

                            @george1421 ok i guess i screwed my entire server up because i reset all the passwords on storage node and tftp server and now i get
                            “Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): OOPS: cannot change directory:/home/fog, Host: 10.5.0.19, Username: fog”

                            george1421G 1 Reply Last reply Reply Quote 0
                            • george1421G
                              george1421 Moderator @Jfulton
                              last edited by

                              @jfulton ok you messed up the passwords by? Reinstalling fog or following the tutorial?

                              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!

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Jfulton @george1421
                                last edited by

                                @george1421 i followed the tutorial step by step just now. i copied the password from /opt/fog/.fogsettings into the management password field and the TFTP FTP Password field in the WebGUI.

                                george1421G 1 Reply Last reply Reply Quote 0
                                • george1421G
                                  george1421 Moderator @Jfulton
                                  last edited by

                                  @jfulton In addition to the fog settings password, you need to go into the storage node 10.5.0.19 and insure you have the password set there too.

                                  Understand that if you have a FOG server and storage nodes, each storage node has its own .fogsettings file and the password that is unique to that storage node. In that case you would only need to ensure the storage node values in the webui are correct. The FOG master node would need the fog settings updated.

                                  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!

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    Jfulton @george1421
                                    last edited by

                                    @george1421 I only have 1 storage node and I copied the password there as well. all passwords should be the same now

                                    george1421G 1 Reply Last reply Reply Quote 0
                                    • george1421G
                                      george1421 Moderator @Jfulton
                                      last edited by

                                      @jfulton Ok what you need to do now to ensure things are setup correctly.

                                      1. From a windows computer use the ftp command and ftp to each fog server using the user ID of fog and the password from the .fogsettings file on each server. If that works then go to step 2.
                                      2. Go into the web gui storage node management. Ensure the password listed for that storage node (both master and storage ndoes) match the .fogsettings file from each respective server.

                                      If both of those are in sync then you should be back in business.

                                      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!

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        Jfulton @george1421
                                        last edited by

                                        @george1421 just tried to ftp into my server and it failed. i got the username and password the same in .fogsettings, TFTP server options and storage node management options (i only have 1 storage node). still cant update kernel

                                        george1421G 1 Reply Last reply Reply Quote 0
                                        • george1421G
                                          george1421 Moderator @Jfulton
                                          last edited by

                                          @jfulton ok lets just focus on one thing your master FOG server.

                                          So from a windows machine you can not log into your master fog server using the user ID of fog and the password found in the .fogsettings file. That right there is going to be a problem for you. I’m going to also assume that you can not log into the fog server via putty with the same user ID and password. If this is the case then we need to fix the linux fog user’s password. Be sure to write down the password from the .fogsettings file. Then log into the fog server as root or su to root. Then key in passwd fog for the password use the password from the .fogsettings file. Once that is set then confirm you can log into the fog server using ftp from a windows client. Hopefully that will be a yes.

                                          Now go into the webui fog settings and ensure the password field there (2 places) contain the password from the .fogsettings file. Lastly go into the storage node settings for the master fog server and ensure the management password there matches the .fogsettings file. At this point everything should be back in sync.

                                          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!

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            Jfulton @george1421
                                            last edited by

                                            @george1421 okay i used passwd and set the same password there as i did for .fogsettings and the master fog server storage node and the TFTP server settings. then i attempted to log in remotely from windows and got
                                            “cannot change directory:/home/fog
                                            Connection closed by remote host”

                                            when i try to update the kernel i get
                                            “Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 463, Message: ftp_login(): OOPS: cannot change directory:/home/fog, Host: 10.5.0.19, Username: fog”
                                            i have both SELinux and Firewalld disabled

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

                                            269

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project