CentOS 7: Could not download init.xz properly, FOG will not install
-
My FOG installation keeps failing with this part:
- Downloading kernel, init and fog-client binaries… * Could not download init.xz properly
The error logs show this information at the end:
New password: Retype new password: Changing password for user fog.
passwd: all authentication tokens updated successfully.
sha256sum: init.xz.sha256: No such file or directory
sha256sum: init.xz.sha256: No such file or directory
sha256sum: init.xz.sha256: No such file or directory
sha256sum: init.xz.sha256: No such file or directory
sha256sum: init.xz.sha256: No such file or directory
sha256sum: init.xz.sha256: No such file or directory
sha256sum: init.xz.sha256: No such file or directory
sha256sum: init.xz.sha256: No such file or directory
sha256sum: init.xz.sha256: No such file or directory
sha256sum: init.xz.sha256: No such file or directoryI have no idea what this means. Should I try an older version of CentOS?
-
You should not require downgrading CentOS in order to download the binaries for FOG.
The No such file or directory, itself, seems fine, as the first time it checks for it (and the binaries don’t exist) you will get the error, however the fact that it tried the 10 times and failed leaves me to think maybe you’re behind a proxy server?
In that case you’ll likely need to create a .curlrc file that provides the system with proxy information.
I’m only guessing based on the (very) limited information I’m seeing right now.
I’m also guessing you’re attempting to install FOG 1.5.5 from the master branch of git (or you downloaded a tar.gz?)
-
I’m following the instructions for CentOS 7 on the Wiki which has the git method. I’m running it on a VirtualBox VM that’s directly connected to the Internet.
-
@fhrivers CentOS 7 should definitely be working fine. We are testing the installer on an automated basis: http://fogtesting.theworkmans.us/
It’s strange. Can you please try downloading the binaries manually?
cd fogproject/tmp curl --silent -kOL https://fogproject.org/inits/init.xz curl --silent -kOL https://fogproject.org/inits/init.xz.sha256 curl --silent -kOL https://fogproject.org/inits/init_32.xz curl --silent -kOL https://fogproject.org/inits/init_32.xz.sha256 curl --silent -kOL https://fogproject.org/kernels/bzImage curl --silent -kOL https://fogproject.org/kernels/bzImage.sha256 curl --silent -kOL https://fogproject.org/kernels/bzImage32 curl --silent -kOL https://fogproject.org/kernels/bzImage32.sha256 curl --silent -kOL https://github.com/FOGProject/fog-client/releases/download/0.11.16/FOGService.msi curl --silent -kOL https://github.com/FOGProject/fog-client/releases/download/0.11.16/SmartInstaller.exe curl --silent -kOL https://github.com/FOGProject/fog-client/releases/download/0.11.16/FOGService.msi.sha256 curl --silent -kOL https://github.com/FOGProject/fog-client/releases/download/0.11.16/SmartInstaller.exe.sha256
Then re-run the installer:
cd ../bin ./installfog.sh ...
-
@Sebastian-Roth said in CentOS 7: Could not download init.xz properly, FOG will not install:
curl --silent -kOL https://fogproject.org/inits/init.xz
I did all of this and still the same error and identical errors in the install logs.
-
@Sebastian-Roth said in CentOS 7: Could not download init.xz properly, FOG will not install:
curl --silent -kOL https://fogproject.org/inits/init_32.xz
When I take out the --silent I get this error: curl: (35) TCP connection reset by peer
-
@Sebastian-Roth said in CentOS 7: Could not download init.xz properly, FOG will not install:
Also, it seems as if the stuff from the Github url loads fine. I can’t load anything from the fogproject url. In fact when I paste the fogproject url in my browser I get an error too.
-
@fhrivers Do you guys have a web filter? Potentially a web filter blocking https://fogproject.org ?
I can download the files just fine so I’m not quite sure what’s going on and this is the best guess I can give.
-
@Tom-Elliott Yes, we’re blocking freeware and shareware sites but I haven’t had any problems getting to the site. But I’ll add it to the webfilter anyways.
-
@fhrivers That did it. I assumed that since I could browse this site, I didn’t need to add it to the web filter. I’m up and running! Thanks!