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

    Installation failure

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    14
    2.7k
    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
      jjml2
      last edited by

      Hello all,

      I’m a FOG newb - so my apologies in advance. I have tried multiple installation attempts of trunk on both Ubuntu 14.04 and Cent 7. Both systems have been yup/apt updated, firewall disabled, selinux disabled and rebooted prior to installation attempts. I receive the following error for both platforms:

      • Setting up storage…Failed!

      On both platforms, for_error_5852.log yields: “chmod: cannot access ‘/.mntcheck’: No such file or directory”

      My installation settings are pretty much default, see below. Would appreciate any guidance you might be able to give. Thanks in advance!

      ######################################################################

                        Here are the settings FOG will use:
                                 Base Linux: Redhat
                     Detected Linux Distribution: CentOS Linux
                          Server IP Address: 192.168.40.9
                                 Interface: ens160
                          Installation Type: Normal Server
                                     Donate: 0
                              Internationalization: 0
                              Image Storage Location: 
                                Using FOG DHCP: Yes
                         DHCP router Address: 192.168.40.1
                             DHCP DNS Address: 8.8.8.8
      
      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Are you installing this as a “storage node”, or as a “normal server”?

        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

        J 1 Reply Last reply Reply Quote 0
        • J
          jjml2 @Tom Elliott
          last edited by

          @Tom-Elliott Hi Tom, just a normal server.

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

            Was this on a fresh install or 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! 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

            J 1 Reply Last reply Reply Quote 0
            • J
              jjml2 @Tom Elliott
              last edited by

              @Tom-Elliott Hi Tom, fresh installs of both CentOS 7 and Ubuntu 14.04 both.

              1 Reply Last reply Reply Quote 0
              • I
                ITSolutions Testers
                last edited by

                When you set up the OS either Ubuntu or Cent are you creating a user named FOG? If so that could be the issue. FOG creates this user and it should not exist before hand. Try using a different username.

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

                  Please try updating.

                  I found a few conflicting entries and made things more streamlined.

                  Let me know if there’s still an issue. With any luck this change may even fix the Storage Node installation issues

                  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

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jjml2 @ITSolutions
                    last edited by

                    @ITSolutions No user called “FOG” or anything like it exists prior to installation. If you take a look at the error message it indicates that installation is complaining that the file /.mntcheck is not there - so the data suggests that this would not be an issue related to an existing user.

                    1 Reply Last reply Reply Quote 0
                    • J
                      jjml2 @Tom Elliott
                      last edited by

                      @Tom-Elliott Definitely gets farther, new failure tho:

                      • Press [Enter] key when database is updated/installed.

                      • Setting up storage…OK

                      • Setting up and starting DHCP Server…/lib/common/functions.sh: line 1464: ${subtract1fromAddress ${interface2broadcast $interface}}: bad substitution

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

                        Found that issue and fixed it. Thanks for reporting.

                        Let me know if there’s anything else.

                        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

                        J 2 Replies Last reply Reply Quote 0
                        • J
                          jjml2 @Tom Elliott
                          last edited by

                          @Tom-Elliott Tom, really appreciate the help thus far - thank you! I just did a fresh git pull on the CentOS 7 box after reverting to snapshot and still got the substitution error:

                          • Setting up and starting DHCP Server…/lib/common/functions.sh: line 1464: ${subtract1fromAddress ${interface2broadcast $interface}}: bad substitution
                          Tom ElliottT 1 Reply Last reply Reply Quote 0
                          • J
                            jjml2 @Tom Elliott
                            last edited by

                            @Tom-Elliott Just tried the Ubuntu VM as well for giggles - same error there unfortunately.

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

                              @jjml2 please try again. apparently it decided not to push last time around it should be good now.

                              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

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                jjml2 @Tom Elliott
                                last edited by

                                @Tom-Elliott Did a fresh pull and can confirm the install script now finishes successfully on CentOS 7. Will test on the Ubuntu box later just to confirm - but I imagine it will work there now as well. Thanks again for all of the help with this Tom.

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

                                194

                                Online

                                12.1k

                                Users

                                17.3k

                                Topics

                                155.3k

                                Posts
                                Copyright © 2012-2024 FOG Project