Error Installing Fog - FOG Multicast Management Server Failed
-
[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 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?
-
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/FOGMulticastManagerI 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.
-
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] -
I updated my previous posts to include the sudo part just to clear up any confusion.
-
I’m logged in as root. Everything I’ve done on this server has been as root
-
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.
-
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…
-
It’s almost as if you’ve got umasks turned on and/or the root filesystem is set as noexec within the fstab file.
-
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!
-
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.
-
I’m looking at /etc/fstab and all the filesystems are on default, none of them say noexec.
-
Then I would say do the “from scratch” method you suggested as I haven’t any clue what else to try.
-
Okay, I appreciate all your help!
-
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.
-
See the following
[url]http://fogproject.org/forum/threads/tftp-problems.6442/[/url]