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

    Issue when Updating to Version 1.6.0-beta.2082 | sed: can't read /etc/nfs.conf:

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    2
    8
    222
    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.
    • falkoF
      falko Moderator
      last edited by

      Hi,

      When trying to update I receive the error below

      I do not have a /etc/nfs.conf file, what should be in it?

      !!!
      !! The installer was not able to run all the way to the end as !!
      !! something has caused it to fail. The following few lines are !!
      !! from the error log file which might help us figure out what’s !!
      !! wrong. Please add this information when reporting an error. !!
      !! As well you might want to take a look at the full error log !!
      !! in /root/fogproject/bin/error_logs/fog_error_1.6.0-beta.2082.log !!
      !!!

      install -d /usr/local/share/man/man1
      install -m 644 udp-sender.1 udp-receiver.1 /usr/local/share/man/man1
      install -d /usr/local/include/udpcast
      install -m 644 rateGovernor.h /usr/local/include/udpcast
      sed: can’t read /etc/nfs.conf: No such file or directory

      Thanks

      Tom ElliottT 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @falko
        last edited by

        @falko That’s interesting.

        /etc/nfs.conf is supposed to be the defacto location for the nfs configuration though I suppose it could should up in other places.

        https://man7.org/linux/man-pages/man5/nfs.conf.5.html

        I suppose I’ll have to be more specific in the calls but it’s okay I have to remove the entry anyway.

        Thanks for letting me know.

        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

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

          @falko I have updated the code for both working-1.6 and dev-branch to revert the changes to port=20048 to commented out.

          Moved the code to set the mountd port only by use of an nfs.conf.d directory.

          This should prevent the problems of port being set in multiple places on subsequent updates.

          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

          falkoF 1 Reply Last reply Reply Quote 0
          • falkoF
            falko Moderator @Tom Elliott
            last edited by

            @Tom-Elliott thanks Tom, updated 👍

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

              @falko And it worked?

              Now I did add checking to see which file to use, can you tell me what output of:
              rpcinfo -p gives 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! 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

              falkoF 1 Reply Last reply Reply Quote 0
              • falkoF
                falko Moderator @Tom Elliott
                last edited by

                @Tom-Elliott It let me install without issue, I have not imaged anything yet

                OUTPUT:
                program vers proto port service
                100000 4 tcp 111 portmapper
                100000 3 tcp 111 portmapper
                100000 2 tcp 111 portmapper
                100000 4 udp 111 portmapper
                100000 3 udp 111 portmapper
                100000 2 udp 111 portmapper
                100005 1 udp 44827 mountd
                100005 1 tcp 44615 mountd
                100005 2 udp 53244 mountd
                100005 2 tcp 58437 mountd
                100005 3 udp 52261 mountd
                100005 3 tcp 38371 mountd
                100003 3 tcp 2049 nfs
                100003 4 tcp 2049 nfs
                100227 3 tcp 2049
                100003 3 udp 2049 nfs
                100227 3 udp 2049
                100021 1 udp 43652 nlockmgr
                100021 3 udp 43652 nlockmgr
                100021 4 udp 43652 nlockmgr
                100021 1 tcp 44617 nlockmgr
                100021 3 tcp 44617 nlockmgr
                100021 4 tcp 44617 nlockmgr

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

                  @falko Imaging will work in your case, I’m just not sure how you can have NFS without having /etc/nfs.conf.

                  I did the 2 points I’m aware of:
                  /etc/nfs.conf
                  /usr/etc/nfs.conf

                  but I have no idea where your nfs.conf file is 😞

                  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

                  falkoF 1 Reply Last reply Reply Quote 0
                  • falkoF
                    falko Moderator @Tom Elliott
                    last edited by

                    @Tom-Elliott me neither!

                    I have run a search on the server (Debian 11) and it appears I do not have one at all?

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

                    138

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project