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

    Updating Database failed! Failed to open stream!

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    40
    6.3k
    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.
    • K
      Kevin Talbot @george1421
      last edited by george1421

      @george1421 for the node (172.16.100.246)

      itsupport@259-fog:~$ ls -la /images
      total 100
      drwxrwxrwx 22 fog  root  4096 Nov 30 10:53 .
      drwxr-xr-x 27 root root  4096 Nov 30 10:53 ..
      drwxrwxrwx  6 fog  root  4096 Nov 30 10:53 dev
      drwxrwxrwx  2 fog  root  4096 Jun  7 10:17 Latitude3540Win7-Office2013-i3
      drwxrwxrwx  2 fog  root  4096 Jul  4 11:37 Latitude3570Win7-NoOffice-i5
      drwxrwxrwx  2 fog  root  4096 Apr 11  2018 Latitude3580Win7-NoOffice-i5
      drwxrwxrwx  2 fog  root  4096 Oct 26 21:06 Latitude3590-Win10
      drwxrwxrwx  2 fog  root  4096 Oct 11 12:04 Latitude5490-Win10-k1
      drwxrwxrwx  2 fog  root  4096 Apr 17  2018 LatitudeE5530Win7-NoOffice-HD3000
      drwxrwxrwx  2 fog  root  4096 Jul  4 14:21 LatitudeE5540Win7-Office2013-i3
      drwxrwxrwx  2 fog  root  4096 Jul  5 10:20 LatitudeE5540Win7-Office2013-i5
      drwxrwxrwx  2 fog  root  4096 Jan  2  2018 LatitudeE5550Win7-NoOffice-i5
      drwxrwxrwx  2 fog  root  4096 Feb  6  2018 LatitudeE5570Win7-Office2016-i5
      drwxrwxrwx  2 fog  root 16384 Sep 24 14:13 lost+found
      -rwxrwxrwx  1 fog  root     0 Sep 24 16:55 .mntcheck
      drwxrwxrwx  2 fog  root  4096 Jul  6 17:04 Optiplex3020MWin7-Workshop
      drwxrwxrwx  2 fog  root  4096 Jan  4  2018 Optiplex3030Win7-NoOffice
      drwxrwxrwx  2 fog  root  4096 Aug 17 10:27 Optiplex3240Win7-NoOffice
      drwxrwxrwx  2 fog  root  4096 Mar 22  2018 Optiplex380Win7-NoOffice
      drwxrwxrwx  2 fog  root  4096 Nov 28  2017 Optiplex380Win7-Office2007
      drwxrwxrwx  2 fog  root  4096 Nov 28  2017 Optiplex380Win7-Office2010
      drwxrwxrwx  2 fog  root  4096 Oct  4 11:52 Optiplex5250Win10
      drwxrwxrwx  2 fog  root  4096 Nov 30 10:53 postdownloadscripts
      
      itsupport@259-fog:~$ ls -la /images/dev
      total 24
      drwxrwxrwx  6 fog root 4096 Nov 30 10:53 .
      drwxrwxrwx 22 fog root 4096 Nov 30 10:53 ..
      drwxrwxrwx  2 fog root 4096 Nov 14 07:25 54bf642068ae
      drwxrwxrwx  2 fog root 4096 Nov 30 14:13 54bf64334d40
      drwxrwxrwx  2 fog root 4096 Oct 26 12:06 54bf64495fa7
      -rwxrwxrwx  1 fog root    0 Nov 27  2017 .mntcheck
      drwxrwxrwx  2 fog root 4096 Nov 30 10:53 postinitscripts
      itsupport@259-fog:~$
      
      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @Kevin Talbot
        last edited by george1421

        @Kevin-Talbot Ok that raised another question. Why don’t we see the directories with mac addresses like you posted with the screen shot? Never mind I see that is a different host

        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
        • george1421G
          george1421 Moderator @Kevin Talbot
          last edited by

          @Kevin-Talbot what about selinux status?

          The permissions look ok? Did you try to drag and drop a mac address directory from /images/dev to /images logged in with the fog account?

          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!

          K 2 Replies Last reply Reply Quote 0
          • K
            Kevin Talbot @george1421
            last edited by

            @george1421 I just dragged 54bf64334d40 folder to images with no issues0_1543588149440_drag.JPG

            george1421G 1 Reply Last reply Reply Quote 0
            • K
              Kevin Talbot @george1421
              last edited by

              @george1421 the original error appears to indicate it is trying to move 54bf64334d40 on the 172.16.220.246 though?0_1543588313701_error.JPG

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

                @Kevin-Talbot well this is a good one. It “should be” working.

                In the storage node configuration for this remote node. The image path and ftp path point to /images?

                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!

                K 1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @Kevin Talbot
                  last edited by

                  @Kevin-Talbot said in Updating Database failed! Failed to open stream!:

                  @george1421 the original error appears to indicate it is trying to move 54bf64334d40 on the 172.16.220.246 though?0_1543588313701_error.JPG

                  Ah that explains the not able to find the stream error. I’m looking at the kernel parameters from your post. I don’t see where its referencing 172.16.220.246. From the kernels parameters it should be interacting with 172.16.100.246

                  Can you post a screen shot of the storage node configuration for this remote node?

                  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
                  • K
                    Kevin Talbot @george1421
                    last edited by

                    @george1421 I must be missing something very stupid somewhere…

                    Both ubuntu firewalls are off btw!

                    0_1543588613404_node.JPG

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

                      @Kevin-Talbot We may need to turn this back over to the developers since it should not be doing what its doing.

                      Just for clarity, are you using the location plugin to direct the clients to the proper storage nodes?

                      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!

                      K 1 Reply Last reply Reply Quote 1
                      • K
                        Kevin Talbot @george1421
                        last edited by

                        @george1421 said in Updating Database failed! Failed to open stream!:

                        proper storage nodes?

                        George you are the HERO thankyou !!!

                        So a long time ago we did use locations but stopped using them.

                        However, it appears a colleague has added a new location with the new node name attached and ticked the: Use inits and kernels from this node box…grrrrrr

                        I added the location to the host and restarted the capture and bingo all sorted!!!

                        Sorry to waste your time!

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

                          @Kevin-Talbot Well this is one for the record books.

                          As always, its the last place you looked is where the problem is found. We should have started looking in the last place first. 😉

                          I’m glad you have it sorted out. Everything was pointing towards it should have been 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!

                          K 2 Replies Last reply Reply Quote 0
                          • K
                            Kevin Talbot @george1421
                            last edited by

                            @george1421 said in Updating Database failed! Failed to open stream!:

                            s it should have been working…

                            Always the way George unfortunately but we go there many thanks for your help!

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kevin Talbot @george1421
                              last edited by

                              @george1421 if I delete the one location will it just go by the image storage group default?

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

                                @Kevin-Talbot correct without the location plugin and locations being defined all target computers will use the main fog server for image capture. If you want to capture and deploy from storage nodes you need the location plugin, then assign the storage node and target computers to that location so everything stays local to the storage node.

                                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
                                  jeremyvdv
                                  last edited by

                                  Hello

                                  I do not understand …

                                  I have this problem but I find the plugin rental customers?

                                  Thank you

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

                                  178

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project