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

    Setting up and building UDPCast...Failed!

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    12
    3.6k
    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
      Jacob Dominguez
      last edited by

      When I open /etc/fstab this is wha the /tmp line looks like:

      /tmp /var/tmp none rw,noexec,nosuid,nodev,bind $

      Is this what you were asking? I am using Centos 6.4 by the way.

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

        Yes, that is what I was asking, and that’s why you’re getting that message.

        noexec,nosuid should not be there. UDPcast can’t build the files because it can’t execute the configure script in the /tmp folder.

        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
        • J
          Jacob Dominguez
          last edited by

          I still get the same error: Setting up and building UDPCast…Failed!

          I removed noexec and nosuid from that line.

          Is there another step I need to take? Here is the new line:

          /tmp /var/tmp none rw,bind 0 0

          I really appreciate your help by the way. This has been bothering me for a while and I have done a lot of troubleshooting.

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

            You’ll have to unmount and remount /tmp, but that can be dangerous. Restart the system and you should be good.

            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
            • J
              Jacob Dominguez
              last edited by

              I made the changes as you suggested, then rebooted the server. I see the changes have been made to the fstab file. Still getting the same error, however.

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

                Can you try this for your tmp line:
                [code]tmpfs /tmp tmpfs defaults,noatime 0 0[/code]

                And reboot of course.

                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
                • J
                  Jacob Dominguez
                  last edited by

                  Morning Tom. My tmpfs is not mounted in the /tmp folder. Here is my tmpfs line:
                  tmpfs /dev/shm tmpfs defaults 0 0

                  I do however, have this line in here as well:
                  /dev/mapper/VG0-tmp /tmp ext4 nodev,noexec,nosuid 1 2

                  This is the line I was editing yesterday:
                  /tmp /var/tmp none rw,bind 0 0

                  When I make changes to this file I should be able to just run “mount -a” afterwords, correct?

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

                    I believe so, but if you’re using /tmp as a mount point for /dev/mapper/VG0-tmp (as I imagine from the second line) you need to give the permissions to write and build. That or you could edit the location for the file to be extracted and built.

                    Edit (the installer folder where you cd bin then type ./installfog.sh) fog_1.1.0/lib/common/config.sh

                    The line number 37 current reads as:
                    [code]udpcasttmp=“/tmp/udpcast.tar.gz”;[/code]
                    Make it somewhere else such as:
                    [code]udpcasttmp=“/root/udpcast.tar.gz”;[/code]
                    Then save the file.

                    Then in the file fog_1.1.0/lib/common/functions.sh
                    The line number 128 currently reads as:
                    [code]cd /tmp;[/code]
                    Make it in the same location you’re placing the udpcast.tar.gz such as:
                    [code]cd /root;[/code]

                    Then save the file and try installing again.

                    If all is good you should have udp-cast installed successfully.

                    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
                    • J
                      Jacob Dominguez
                      last edited by

                      Thank you!

                      I edited my config and functions files as you suggested, and everything seems to have installed successfully.

                      Thanks for your time

                      1 Reply Last reply Reply Quote 0
                      • M
                        MarkusK
                        last edited by

                        when i try to build udpcast manualy i get the following error’s

                        root@fog:/root/udpcast-20120424# ./configure
                        checking for gcc… gcc
                        checking whether the C compiler works… yes
                        checking for C compiler default output file name… a.out
                        checking for suffix of executables…
                        checking whether we are cross compiling… configure: error: in /root/udpcast-20120424': configure: error: cannot run C compiled programs. If you meant to cross compile, use –host’.
                        See `config.log’ for more details.

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

                        172

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project