Installation failure



  • 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


  • @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.


  • Senior Developer

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



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



  • @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

  • Senior Developer

    Found that issue and fixed it. Thanks for reporting.

    Let me know if there’s anything else.



  • @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



  • @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.


  • Senior Developer

    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


  • Testers

    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.



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


  • Senior Developer

    Was this on a fresh install or update?



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


  • Senior Developer

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


Log in to reply
 

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.