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

    Error Installing Fog - FOG Multicast Management Server Failed

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    41
    23.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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      I’m starting to lean more towards this being a package issue.

      Are you sure you’re system is updated to it’s fullest extent?

      Also,

      After you’ve performed an install, can you give the last 20 lines of the file:

      /var/log/httpd/error_log

      This may be telling us your exact issue which would be extremely helpful as FOGMulticastManager is a PHP file, so error’s should be written there.

      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
      • C
        chad-bisd Moderator
        last edited by

        You can open another terminal using ALT+F2, and do a [CODE]tail -f /var/log/syslog[/CODE] as you do the install.

        Toggle between the screens using ALT+F1 for the installer and ALT+F2 for the log.

        This might help us find what is happening.

        The syslog may be in a different location for CentOS. I’m kind of spoiled to Ubuntu.


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

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

          CentOS is:

          [CODE]tail -f /var/log/messages[/CODE]

          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
          • A
            Amy Emberson
            last edited by

            Everything is updated, i made sure to run the updates through yum at least three times today before starting the FOG installation. One thing I probably should mention is that i have another NIC on this VM which is disabled for now. This shouldnt interfere should it? Our plan is to run this on every vlan on our network, which will require multiples NICs.

            As far as log files, no its been a while since I have used linux. I used to know bash shell really well bc of previous programming experience. Just been a while since ive utilized it. I will get you those lines as soon as I can.

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

              Alright,

              Is the nic you have available setup for bridged or NAT network?

              If it’s NAT, that’s probably why you’re having an issue, outside traffic is allowed, but incoming traffic is not. Even if this isn’t the direct cause of the issue, it will cause issues down the road. When I setup my VM (I already deleted it) I had it set to NAT, and although everything installed fine on mine, I use virtualbox rather than VMWare, so it may be slightly different configurations in that regard. I’d try making sure your VM is using a bridged adapter versus the VM NAT network system.

              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
              • C
                chad-bisd Moderator
                last edited by

                [B]When you run the installer, are you running it with SUDO or equivalent?[/B]

                If you are and still having the issue, continue…

                Ok. Checking through the 0.32 source code for a RedHat based install, it appears that it should be copying files to the init.d path and then trying to start those services using
                [CODE]
                service ${initdMCfullname} restart >/dev/null 2>&1;
                service ${initdMCfullname} status >/dev/null 2>&1;
                [/CODE]

                where initdMCfullname=“FOGMulticastManager”;

                the result of the “status” check is failing. Make sure in your init.d path (/etc/init.d possibly), you have a file called FOGMulticastManager, and its permissions are rwxr-xr-x root root.

                If you do, try running
                [CODE]
                sudo service FOGMulticastManager restart
                [/CODE]

                and check the output.

                If you need to, run
                [CODE]
                sudo service FOGMulticastManager status
                [/CODE] and check the output.


                If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                1 Reply Last reply Reply Quote 0
                • C
                  chad-bisd Moderator
                  last edited by

                  If you look at the “status” option in the /etc/init.d/FOGMulticastManager script, you’ll see the command it’s using to check the status when you call it using:
                  [CODE]sudo service FOGMulticastManager status[/CODE].

                  Looks to be
                  [CODE]sudo status FOGMulticastManager[/CODE]

                  What do those commands give you?


                  If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                  1 Reply Last reply Reply Quote 0
                  • A
                    Amy Emberson
                    last edited by

                    When trying to start the FOGMulticastManger service using
                    [CODE]service FOGMulticastManager start[/CODE]
                    It comes back and says Permission Denied. The path for that service is /opt/fog/service/FOGMulticastManager/FOGMulticastManager

                    I change the permissions like suggested above to rwxr-xr-x root root for the file /etc/init.d/FOGMulticastManager
                    Still says permission denied. The services are enabled.

                    NICs are set for bridged.

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

                      Make sure you’re installing fog as user root.

                      Also, make sure you’re running the command chad’s stated as root.

                      If you’re logged in as another user, who has sudo privileges:

                      run the installfog.sh with:
                      [CODE]sudo ./installfog.sh[/CODE]

                      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
                      • C
                        chad-bisd Moderator
                        last edited by

                        I updated my previous posts to include the sudo part just to clear up any confusion.


                        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                        1 Reply Last reply Reply Quote 0
                        • A
                          Amy Emberson
                          last edited by

                          I’m logged in as root. Everything I’ve done on this server has been as root

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

                            I’d, still, highly recommend just logging in as root. Or sudo up to root with the command:

                            [CODE]sudo su -[/CODE]

                            Then run the installer.

                            You’ll be in as root and won’t need to append the sudo command to every statement.

                            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
                            • C
                              chad-bisd Moderator
                              last edited by

                              If you are getting permission denied as root, even when using sudo, then there is something else wrong and not really a FOG problem. I don’t know where to go from here…


                              If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

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

                                It’s almost as if you’ve got umasks turned on and/or the root filesystem is set as noexec within the fstab file.

                                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
                                • A
                                  Amy Emberson
                                  last edited by

                                  We are going to start over from scratch. My boss wanted to use CentOS instead of Ubuntu because of more stability. I’ve convinced him now that we need to use what is RECOMMENDED! lol Sorry that this a been a roller coaster. Thanks for all your help!

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

                                    I don’t think CentOS is a problem. I run CentOS with no issues with fog. As I also performed my install with the same WIKI you did, it seems more like your system is just setup for noexec on the root filesystem which could be causing the issues you’re seeing. Essentially, the service FOGMulticastManager script is executing on a file, rather than a binary, it would cause the issues you’re seeing from what I can tell.

                                    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
                                    • A
                                      Amy Emberson
                                      last edited by

                                      I’m looking at /etc/fstab and all the filesystems are on default, none of them say noexec.

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

                                        Then I would say do the “from scratch” method you suggested as I haven’t any clue what else to try.

                                        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
                                        • A
                                          Amy Emberson
                                          last edited by

                                          Okay, I appreciate all your help!

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            chad-bisd Moderator
                                            last edited by

                                            If you use Ubuntu 12.04 LTS, then watch out for the tftp-hpa problem you get after rebooting where the tftpd-hpa tries to start before any interfaces have IP addresses bound to them. Many posts on this forum about this issue and how to work around it.

                                            Also make sure whatever OS you choose, then you do a full update after the install of the OS and before you try to install FOG, just so you don’t get anything wierd from an outdated package.


                                            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

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

                                            150

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project