Setting up and building UDPCast...Failed!
-
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.
-
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.
-
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.
-
You’ll have to unmount and remount /tmp, but that can be dangerous. Restart the system and you should be good.
-
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.
-
Can you try this for your tmp line:
[code]tmpfs /tmp tmpfs defaults,noatime 0 0[/code]And reboot of course.
-
Morning Tom. My tmpfs is not mounted in the /tmp folder. Here is my tmpfs line:
tmpfs /dev/shm tmpfs defaults 0 0I do however, have this line in here as well:
/dev/mapper/VG0-tmp /tmp ext4 nodev,noexec,nosuid 1 2This is the line I was editing yesterday:
/tmp /var/tmp none rw,bind 0 0When I make changes to this file I should be able to just run “mount -a” afterwords, correct?
-
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.
-
Thank you!
I edited my config and functions files as you suggested, and everything seems to have installed successfully.
Thanks for your time
-
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.