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

/bin/fog.upload doesn't exist

Scheduled Pinned Locked Moved
FOG Problems
3
7
1.8k
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.
  • T
    Technolust
    last edited by Technolust Nov 10, 2022, 1:28 PM Nov 10, 2022, 6:47 PM

    Getting error: Could not verify mount point, check if .mntcheck exists (/bin/fog.upload)

    [root@fogserver ~]$ ls -alrt /fogserver/images/
    total 116
    drwxrwxrwx.  2 fogproject root     4096 Oct 19  2018 T470-Win10
    drwxrwxrwx.  2 fogproject root     4096 Jan 22  2019 postdownloadscripts
    -rwxrwxrwx.  1 fogproject root        0 Jan 22  2019 .mntcheck
    drwxrwxrwx.  2 fogproject root     4096 Jan 22  2019 T480-Win10
    

    Missing fog.upload

    [root@fogserver ~]$ ls /bin/ | grep -i fog
    [root@fogserver ~]$
    

    Here is the Storage Path:

    0800d893-5799-4dcf-acf3-57f21e330141-image.png

    Thoughts?

    G 1 Reply Last reply Nov 11, 2022, 12:01 AM Reply Quote 0
    • G
      george1421 Moderator @Technolust
      last edited by Nov 11, 2022, 12:01 AM

      @technolust said in /bin/fog.upload doesn't exist:

      /fogserver/images/

      Let me make some guesses here.
      /fogserver/images/ is an nfs mounted file system? If so that won’t work with FOG, since FOS Linux connects to the fog server using NFS. Its akin to MS Windows mounting a remote share as the W: drive then trying to share the W: drive out to another computer. You can’t share an NFS mounted network share.

      /fogserver/images/ if that is a local filesystem on the FOG server, then did you update the exports file in the /etc directory? Because that file shares /images and /images/dev directories not /fogserver/images share.

      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!

      T 1 Reply Last reply Nov 11, 2022, 5:39 PM Reply Quote 0
      • T
        Technolust @george1421
        last edited by Technolust Nov 11, 2022, 11:45 AM Nov 11, 2022, 5:39 PM

        @george1421 Hey George, this is a local file system on the fogserver itself. I don’t believe we changed the exports file but there are a few people who access the server so it is possible. The only caveat is this was working a few weeks ago and is now not working. Here is the contents of the exports file:

        [root@fogserver etc]$ ls -lrt | grep exports
        drwxr-xr-x.  2 root root     4096 Oct 14  2021 exports.d
        -rw-r--r--.  1 root root      194 Nov 19  2021 exports
        [root@fogserver etc]$ sudo vim exports
        /fogserver/images *(ro,sync,no_wdelay,no_subtree_check,insecure_locks,no_root_squash,insecure,fsid=0)
        /fogserver/images/dev *(rw,async,no_wdelay,no_subtree_check,no_root_squash,insecure,fsid=1)
        

        Thoughts?

        G 1 Reply Last reply Nov 11, 2022, 6:04 PM Reply Quote 0
        • G
          george1421 Moderator @Technolust
          last edited by Nov 11, 2022, 6:04 PM

          @technolust OK those settings are right for the exports file.

          So lets run this command

          showmount -e 127.0.0.1 This will list the exported file systems. If this shows /fogserver/images and /fogserver/images/dev

          Then its exported correctly.

          The next steps are to check your firewall to make sure its disabled or you have NFS protocol enabled in your firewall.

          If that doesn’t pan out as the problem, then is the fog server on the same ip subnet as the target computer? If no, do you have any screening firewalls in between the subnets?

          Lastly we can debug from the target computer. But lets run down the easy stuff first.

          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!

          T 1 Reply Last reply Nov 11, 2022, 9:24 PM Reply Quote 0
          • T
            Technolust @george1421
            last edited by Nov 11, 2022, 9:24 PM

            @george1421 Here is the showmount:

            [root@fogserver ~]$ showmount -e 127.0.0.1
            Export list for 127.0.0.1:
            /fogserver/images/dev *
            /fogserver/images     *
            [root@fogserver ~]$
            [root@fogserver ~]$ firewall-cmd --list-all
            FirewallD is not running
            [root@fogserver ~]$
            

            Filesystem is local so NFS is not being used either. Is there any reason why fog.upload is missing or is there a way to create it? We may have to troubleshoot on the client side to see.

            Host is on a different subnet but is able to see fogserver from PXE even shows the fogserver version. Fails when checking mounted file system.

            Here is fstab:

            [root@fogserver ~]$ cat /etc/fstab
            
            #
            # /etc/fstab
            # Created by anaconda on Fri Jan 18 14:32:07 2019
            #
            # Accessible filesystems, by reference, are maintained under '/dev/disk'
            # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
            #
            UUID=d3680351-a819-4c0c-89a1-b057c9d706a6 /               ext4    defaults        1 1
            UUID=80abf18a-7119-46a7-ac46-422183088f2e /boot           ext4    defaults        1 2
            UUID=7bac224f-c127-4d8e-8f51-e44aad453bc0 swap            swap    defaults        0 0
            UUID=3a7d35ea-a600-4d0f-b40a-848b54a9bd3e /fogserver      ext4    defaults        0 0
            UUID=c4bbc7df-8517-4f33-b9a6-374cbd8374da /fog_archives   ext4    defaults        0 0
            

            Here are the mounts:

            [root@fogserver ~]$ lsblk
            NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
            sda      8:0    0  100G  0 disk
            ├─sda1   8:1    0  4.1G  0 part /boot
            ├─sda2   8:2    0    8G  0 part [SWAP]
            └─sda3   8:3    0   86G  0 part /
            sdb      8:16   0    2T  0 disk
            └─sdb1   8:17   0    2T  0 part /fogserver
            sdc      8:32   0    4T  0 disk /fog_archives
            [root@fogserver ~]$ df -h
            Filesystem      Size  Used Avail Use% Mounted on
            /dev/sda3        85G   51G   30G  64% /
            /dev/sda1       4.0G  351M  3.4G  10% /boot
            /dev/sdb1       2.0T  1.1T  813G  58% /fogserver
            /dev/sdc        4.0T  460G  3.4T  12% /fog_archives
            [jkrinsky@fogserver ~]$
            
            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Nov 12, 2022, 5:49 PM

              @technolust said in /bin/fog.upload doesn't exist:

              Is there any reason why fog.upload is missing or is there a way to create it?

              There is a misunderstanding I suppose. The error message is not saying /bin/fog.upload doesn’t exist but rather it can’t find .mntcheck which should exist in /fogserver/images/dev/ in your case.

              mkdir /fogserver/images/dev
              chmod 777 /fogserver/images/dev/
              touch /fogserver/images/dev/.mntcheck
              exportfs -r -v
              

              That should fix things for you.

              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

              T 1 Reply Last reply Nov 14, 2022, 3:08 PM Reply Quote 0
              • T
                Technolust @Sebastian Roth
                last edited by Nov 14, 2022, 3:08 PM

                @sebastian-roth said in /bin/fog.upload doesn't exist:

                mkdir /fogserver/images/dev
                chmod 777 /fogserver/images/dev/
                touch /fogserver/images/dev/.mntcheck
                exportfs -r -v

                Thanks for the help on this @Sebastian-Roth this was the fix. I also 777 .mntcheck but not sure if this is/was necessary.

                1 Reply Last reply Reply Quote 0
                • G geardog referenced this topic on Feb 14, 2025, 10:08 PM
                • 1 / 1
                1 / 1
                • First post
                  3/7
                  Last post

                260

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project