/Default.ipxe.....Operation not supported
-
@finvader How about this:
Edit the FOG Settings file (/opt/fog/.fogsettings)
Change the IP address to 127.0.0.1
Put your system on the network for internet access and run the installer.
When done, Put the system back on its main network.
You may need to edit the GUI after moving as I think it will reset the node to look at 127.0.0.1. To do this goto: FOG GUI->Storage Management Page->All Storage nodes-><YOUR RELEVANT NODE> IP address.
This should be good to go.
-
When you run the installer after it’s complete you will also likely need to edit the /tftpboot/default.ipxe file.
It will change the IP address its calling to 127.0.0.1
Edit the file and change to whatever your server’s normal IP address is.
-
@Tom-Elliott rgr that on it now
-
OK so I changed to 127.0.0.1 and it still fails database backup.
I tailed the log and here is what it says
connecting to 127.0.0.1 connected
Http request sent, awaiting response 500 internal server error
-
@finvader Whats in your apache error log?
-
[error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected ‘&’ in /var/www/html/fog/commons/init.php on line 110
Here is the init.php
110 foreach ((array)$paths as &$element) {
111 $allpaths[] = dirname($element[0]);
112 unset($element);
113 } -
@finvader Is this a new install of FOG on a new Centos server? (i.e. did you remember to disable the centos firewall and disable selinux?)
-
What version of PHP is installed?
-
Iptables disabled
selinux is permissive -
Installing over old 1.2.0 of fog
-
Package php-5.3.3-48.el6_8.x86_64 already installed and latest version
Nothing to do
[root@fog-server commons]# php -v
PHP 5.3.3 (cli) (built: Aug 11 2016 20:33:53)
Copyright 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright 1998-2010 Zend Technologies -
Then something else is afoot.
How, exactly, are you install 1.3.0?
-
@Tom-Elliott My production FOG server running Centos 7 v1511 has php at 5.6.28. (just be aware I didn’t do anything crazy with my production server, this is straight out of the box).
-
Should have clarified, just realized this is centos 6.8
-
Doesn’t matter.
How are you installing FOG 1.3.0? I need exact details, such as what you’re using to get the latest and greatest.
See, fog installs a specific repository and uses that repository to install php packages. The fact that you are only ever getting php 5.3 is really off.
You might need to run:
yum -y remove --erase php*
-
Was told this was a centos 7 server, in fact this is centos 6.8
-
Yum is only giving me 5.3.3
-
yum install git -y
cd ~
mkdir git
cd git
git clone --depth 1 https://github.com/FOGProject/fogproject.git
cd fogproject/bin
./installfog.sh -
@finvader if you run:
yum -y update php* --enablerepo=remi,remi-php56
-
@Tom-Elliott i now have php 5.5 the command you posted did not work correctly, i wget the the remi repo and it gave me remi-php55. Is that good enough?