Configuring UDPCast Failed
-
@NayanaAdassuriya Wipe the box, start over and follow this from start to finish: https://wiki.fogproject.org/wiki/index.php?title=CentOS_7
-
@Wayne-Workman I have tried the steps in the wiki page in a new machine. I’m using Cetos7 virtual machine (that provide by my company). So I could not fallow the video that has Centos partition and installation steps. because machine is already setup with Centos 7.
This time I used the installation from git method. Now directly
Configuring UDPCast.........................................Failed!
I’m doubt, Not fallowing Centos installation could lead to this?
Here is the last few lines of the log* Setting up storage..........................................OK * Setting up and starting DHCP Server.........................Skipped * Setting up and starting TFTP and PXE Servers................OK * Setting up and starting VSFTP Server........................OK * Setting up FOG Snapins......................................OK * Setting up UDPCast..........................................OK * Configuring UDPCast.........................................Failed!
Thank you!
-
@NayanaAdassuriya If you use the git method then will you inspect the following directory
/opt/fogproject/bin/error_logs
if the install failed there should be a fog_error_<version> file. Please look through that file to see if it helps for us to know why the install has failed.When I get into the office (about 2.5 hours), I will repeat the install on a new VM to see if I can duplicate your error. If you do it twice then something must be wrong.
-
@george1421 Here I upload the error log there are three Mysql errors not sure those are relevant. Thank you!
0_1490266363167_fog_error_1.3.5.txt -
@NayanaAdassuriya The very last line is what is important in the case of udpcast.
Are you installing FOG as root or using sudo to install FOG?
-
@george1421 This is where its failing with the >> with permission denied. Basically it tells us the user account you use to install FOG doesn’t have rights to run
configure
.cd $udpcastout errorStat $? dots "Configuring UDPCast" >> ./configure >>$workingdir/error_logs/fog_error_${version}.log 2>&1 errorStat $? dots "Building UDPCast" make >>$workingdir/error_logs/fog_error_${version}.log 2>&1
I’m still going to create a new FOG vm this morning to ensure that the installer works correctly.
-
@george1421 yes I’m using sudo. does it required any special permission. if so how to set is to user. sorry I’m new to linux
-
@NayanaAdassuriya do you log into fog server as root?
I almost have a new centos 7 vm template done too. I will start to install FOG in about 30 minutes (as time permits)
-
Nothing is wrong with CentOS 7, it’s been passing my automated tests every day for over a month. The issue is in this pre-built VM he’s trying to use.
-
@george1421 I tried with both secondary user and root user. both shows the same issue. I have grated the permission to the secondary user this way. https://www.liquidweb.com/kb/how-to-add-a-user-and-grant-root-privileges-on-centos-7/
but still has the same issue. -
Can you provide the installer error log?
In your “installer” directory (the bin/) portition, you should have a folder called error_logs
In there will be a file for the 1.3.5 installer.
-
@george1421 as the root user
-
@Tom-Elliott already uploaded the error_log in the previous reply below
-
@Tom-Elliott permission denied to run ./configure
-
Mind running the installer as root?
The message it’s showing is configure is not allowed to run.
You may also want to try:
mount -o remount,exec /tmp
This should ensure you can execute within the tmp folder. If you do have to do the mount command, restart the server when done installing to ensure all the folders are mounted as they’re expected.
-
@Tom-Elliott You are the genius. This works like charm. I will buy you a jug of beer if you come to Singapore ever. probably you could consider add this work around to wiki. Thank you so much!
-
@NayanaAdassuriya Would you tell us which worked? Tom gave you two options.
-
@george1421 I have ran this like before start installation.
mount -o remount,exec /tmp