• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
208
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.
  • F
    falko Moderator
    last edited by Aug 14, 2024, 6:55 AM

    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

    T 2 Replies Last reply Aug 14, 2024, 9:59 AM Reply Quote 0
    • T
      Tom Elliott @falko
      last edited by Aug 14, 2024, 9:59 AM

      @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
      • T
        Tom Elliott @falko
        last edited by Aug 14, 2024, 10:47 AM

        @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

        F 1 Reply Last reply Aug 14, 2024, 11:08 AM Reply Quote 0
        • F
          falko Moderator @Tom Elliott
          last edited by Aug 14, 2024, 11:08 AM

          @Tom-Elliott thanks Tom, updated 👍

          T 1 Reply Last reply Aug 14, 2024, 11:09 AM Reply Quote 0
          • T
            Tom Elliott @falko
            last edited by Aug 14, 2024, 11:09 AM

            @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

            F 1 Reply Last reply Aug 14, 2024, 12:11 PM Reply Quote 0
            • F
              falko Moderator @Tom Elliott
              last edited by Aug 14, 2024, 12:11 PM

              @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

              T 1 Reply Last reply Aug 14, 2024, 12:17 PM Reply Quote 0
              • T
                Tom Elliott @falko
                last edited by Aug 14, 2024, 12:17 PM

                @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

                F 1 Reply Last reply Aug 14, 2024, 12:30 PM Reply Quote 0
                • F
                  falko Moderator @Tom Elliott
                  last edited by Aug 14, 2024, 12:30 PM

                  @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
                  1 / 1
                  • First post
                    4/8
                    Last post

                  241

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project