I unticked the 'Allow a GUI server to attach to this node' and now can't load the web GUI.
I have SSH enabled so what do I need to update to reverse my actions.
Issue while trying to connect to McAfee Web Gateway server.
Please restart MWG (/etc/init.d/mwg restart) and reload applet.
I guess depends how you managed to lock it out. This solution is when you have deselected the check box under central management called 'allow a gui server to attach to this node'. If that's not what's happened then best calling support or raising your own discussion.
Here's the instruction, I take no responsibility if it doesn't work or makes things worse. However it worked for me.
Enable GUI again after locked due to Cluster setup
If you setup a Central Management it may happen that you find yourself locked out and unable to access any GUI on either of the nodes part of the CM. This happens because attaching the GUI to the Coordinator gets disabled. You can enable if again following these steps.
You need to have enabled SSH or alternatively you will need to plug a laptop directly into webgateway
1. Log on to box with root and password
dmidecode | grep UUIDto get the UUID of this device
3. stop MWG completely:
4. Change into the most recent configuration:
cd `cat /opt/mwg/storage/active_configuration`(If that does not work look into /opt/mwg/storage/active_configuration to get the path to the active configuration. Change into that folder).(Note: the command "current" should do the trick for you in newer MWG versions)- cd into the folder holding the appliance specific configuration:
cd globalcd <UUID> (replace <UUID> with the UUID you have looked up in the first step)cd cfg
5. Edit the configuration:
vi com.scur.engine.cmclusternode.configuration.xmlSearch for "enableGUI". You will find that setting set to "false". Set it to "true". Save the changes.- Now run
/opt/mwg/bin/mwg-coordinator -F "file:IN=`cat /opt/mwg/storage/active_configuration`"
6. Check the /opt/mwg/log/mwg-errors/mwg-coordinator.errors.log logfile. It should tell you
OK - enforced as folder '/opt/mwg/storage/default/xxxxxxxxxxxxxxxx'.
7. Start MWG again:
8. Try to access the GUI again.