Moving Images and changing image location
-
What version of FOG are you running?
-
SVN 3463
-
Check this out.
When done, try to re-run your installer.
-
Should I change the “storagelocation=” in the .fogsettings to match my new location?
-
@Tim.Trageser said:
Should I change the “storagelocation=” in the .fogsettings to match my new location?
That’s probably a good idea.
-
Thanks. I just want to make sure my brain is not lieing to me.
-
So, I did all that and nothing changed. I still have nothing showing in Disk Information and When I try to Download an image it tells me I have to upload an image first.
-
Double Check your storage node credentials, make sure they match the local fog user’s credentials.
Double Check your TFTP_FTP credentials inside FOG Configuration -> FOG Settings
Double Check your /etc/exports file ??
-
I have checked all the passwords and the exports file. Everything is set to the same password and the exports file is pointing to the correct folder.
I check the permissions on the external drives folders and everything seems to be set correctly on that.
It has to be something with the way the external drive is set up, it is like FOG can’t see it.
-
I restarted my FOG machine and now Apache won’t start I get the below error on the command line:
mj@fog-server:/opt/trunk/bin$ sudo service apache2 start
- Starting web server apache2 *
- The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 12 of /etc/apache2/sites-enabled/001-fog.conf:
SSLCertificateFile: file ‘/var/www/fog/management/other/ssl/srvpublic.crt’ does not exist or is empty
Action ‘configtest’ failed.
The Apache error log may have more information.
Going to the logs now.
-
This is what is filling the apache logs:
[Tue May 26 16:23:52.091869 2015] [:error] [pid 10042] [client 172.25.100.46:58826] PHP Warning: mysqli::real_escape_string(): Couldn’t fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 146, referer: http://172.25.5.80/fog/management/index.php?node=home
[Tue May 26 16:23:53.348758 2015] [mpm_prefork:notice] [pid 10036] AH00169: caught SIGTERM, shutting down -
I am going to move the Apache issue to the Technical Help I think since it is now turning into something that is truely broken.
-
On the modified storage node, can you un-check the “Is Graph Enabled
(On Dashboard)” just to see if it makes a difference? -
I wish I could. Since Apache is not starting I can’t get to the Webpage.
-
@Tim.Trageser said:
move the Apache issue to the Technical Help I think since it is now turning into something
Can you re-run your installer?
-
Already did, no change.
-
@Tim-Trageser Can you rerun installer, but as:
sudo ./installfog.sh --recreate-vhost --recreate-CA --recreate-keys
-
No change still get * Setting up and starting Apache Web Server…Failed!
-
What exact distro of Linux and version are you running for this?
-
Ubuntu 14.04 LTS
Fog - SVN 3463