FOG Node - getversion.php Missing
-
@Wayne-Workman
Yes, this is the message I receive:
I can confirm that username and password is the same as what’s listed in the FOG Configuration settings. The IP address is also that of the main FOG server.
-
@RobTitian16 Can you successfully ping the main fog server from this problematic storage node?
-
More often than not, this is because of the “bind-address” configuration setting in /etc/my.cnf (your location might be /etc/mysql/my.cnf, or elsewhere from however ubuntu decides to layout the configuration).
-
@Tom-Elliott What is the preference at the moment? 127.0.0.1 or localhost ?
-
@Wayne-Workman YOu should remove bind-address entirely.
-
bind-address already seems to be commented out. Is there anything else I can check?
And yes, I can ping the server perfectly fine from the problematic node.I wonder if it’s the way I installed the storage node? I did:
cd /opt
sudo wget http://downloads.sourceforge.net/freeghost/fog_1.2.0.tar.gz
sudo tar -xvzf fog_1.2.0.tar.gz
cd fog_1.2.0/
cd bin
sudo ./installfog.shAnd then from the installation menu, selected to install the node.
I’m currently running Ubuntu 14.04, the same as my FOG server.
Perhaps I need to update the version of the FOG storage node? Is it the same process as updating the FOG server? -
@RobTitian16 If bind-address is already commented, then you might need to change the ‘fogstorage’@‘%’ password.
I think you can do this if you login as the mysql ‘root’ user.
mysql -u root SET PASSWORD FOR 'fogstorage'@'%' = PASSWORD('fs22290863734'); exit
-
@Tom-Elliott I tried doing that, but I receive the following error:
As you can see, I then tried to find the file it referenced, but it seems like it hasn’t been installed… have I installed the FOG node wrong somehow?
-
@RobTitian16 You need to run that on the main server, not the node.
-
@Tom-Elliott Ah, thanks for that. I can now run: mysql -h hostHere -u userHere -pPasswordhere -D fog on the node and connect in to the database on the FOG server. However, it’s still not showing correctly on the GUI… it’s still showing the same thing, even when using the same credentials to add the storage node.
-
@RobTitian16 That’s because the file simply doesn’t exist on the remote node.
For the node that’s giving the issue can you run:
rm -rf /var/www/fog /var/www/html/fog
Update your fog installation folder as needed (either
git pull
orsvn up
) and rerun the installer? -
@Tom-Elliott Excellent - that’s fixed it! Many thanks
-
@RobTitian16 said in FOG Node - getversion.php Missing:
I wonder if it’s the way I installed the storage node? I did:
cd /opt
sudo wget http://downloads.sourceforge.net/freeghost/fog_1.2.0.tar.gz
sudo tar -xvzf fog_1.2.0.tar.gz
cd fog_1.2.0/
cd bin
sudo ./installfog.shA 1.2.0 storage node will never work right with a 1.3.0 server.
-
@Wayne-Workman Indeed - many thanks for your help