/Default.ipxe.....Operation not supported
-
@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?
-
It should be sure.
-
OK, so the installation using php5.5 worked succesfully, rebooted and tried to download image to a machine and encountered a chain load error and could not boot.
http://172.16.61.17/fog/service/ipxe/boot.php …Input/output errorCould not boot: Input/output error
Chainloading failed, hit ‘s’ for the ipxe shell; reboot in 10 seconds