Thanks Tom. It was firewalld. Someone should add that to the CentOS 7 wiki page. Other then that so far wiki installation page seems spot on for CentOS7.
Posts made by SuP3R_Ch1cKeN
-
RE: Web Management Page
-
Web Management Page
I know this is probably a simple fix and it’s just eluding me right now. I just finished installing fog 1.2.0 on my CentOS 7 server. I can access the management page from the fogserver itself. However, whenever I try to access it from any other computer it doesn’t load (Page cannot be displayed). Both ways via IP address. I can ping the fogserver and get replies. Any assistance would be appreciated.
-
RE: Web interface doesn't open after updating to 1.2
Just tried reinstalling CentOS 6.6 and it gave the same error. I’m going to try CentOS 7 later today when I have more time.
-
RE: Web interface doesn't open after updating to 1.2
Ok I uninstalled apache2 then ran the fog install script again. Failed at the same spot. Then I tried uninstalling apache2, php, MySQL, and HTTPD. Ran the fog installer again. Failed again in same spot.
Edit: Here’s the install log:
Version: 1.2.0 Installer/Updater
What version of Linux would you like to run the installation for?
1) Redhat Based Linux (Redhat, CentOS, Mageia) 2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu)
Choice: [1]
Staring Redhat / CentOS Installation.
…/lib/redhat/functions.sh: line 1: n#: command not foundFOG Server installation modes:
* Normal Server: (Choice N)
This is the typical installation type and
will install all FOG components for you on this
machine. Pick this option if you are unsure what to pick.* Storage Node: (Choice S) This install mode will only install the software required to make this server act as a node in a storage group
More information:
[URL=‘http://www.fogproject.org/wiki/index.php?title=InstallationModes’][U][COLOR=#1155cc]http://www.fogproject.org/[/COLOR][/U]wiki/index.php?title=InstallationModes[/URL][COLOR=#555555]What type of installation would you like to do? [N]
What is the IP address to be used by this FOG Server? [10.1.0.109]
Would you like to setup a router address for the DHCP server? [Y/n]
What is the IP address to be used for the router on the DHCP server? [10.1.0.1]Would you like to setup a DNS address for the DHCP server and client boot image? [Y/n]
What is the IP address to be used for DNS on the DHCP server and client boot image? [10.1.0.99]Would you like to change the default network interface from eth0?
If you are not sure, select No. [y/N]Would you like to use the FOG server for DHCP service? [Y/n] n
This version of FOG has internationalization support, would
you like to install the additional language packs? [y/N]Would you like to donate computer resources to the FOG Project
to mine cryptocurrency? This will only take place during active
tasks and should NOT have any impact on performance of your
imaging or other tasks. The currency will be used to pay for
FOG Project expenses and to support the core developers working
on the project. For more information see:[/COLOR][url]http://fogproject.org/?q=cryptocurrency[/url][COLOR=#555555]
Would you like to donate computer resources to the FOG Project? [y/N]
##############################[/COLOR]#######################################
FOG now has everything it needs to setup your server, but please
understand that this script will overwrite any setting you may
have setup for services like DHCP, apache, pxe, tftp, and NFS.It is not recommended that you install this on a production system
as this script modifies many of your system settings.This script should be run by the root user on Redhat or with sudo on Ubuntu.
** Notice ** Redhat users will need to disable SELinux and iptables in
order to use FOG
Please see our wiki for more information at [URL=‘http://www.fogproject.org/wiki’][U][COLOR=#1155cc]http://www.fogproject.org/wiki[/COLOR][/U][/URL]Here are the settings FOG will use:
Base Linux: Redhat
Detected Linux Distribution: CentOS
Installation Type: Normal Server
Server IP Address: 10.1.0.109
DHCP router Address: 10.1.0.1
DHCP DNS Address: 10.1.0.99
Interface: eth0
Using FOG DHCP: 0
Internationalization: 0
Donate: 0DHCP will NOT be setup but you must setup your current DHCP server to use FOG for PXE services. On a Linux DHCP server you must set: next-server On a Windows DHCP server you must set: option 066 & 067 Option 066 is the IP of the FOG Server: (e.g. 10.1.0.109) Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)
Are you sure you wish to continue (Y/N) y
Installation Started…
Installing required packages, if this fails
make sure you have an active internet connection.-
Packages to be installed: httpd php php-cli php-common php-gd php-mysql mysql mysql-server tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ lftp
-
Installing package: httpd
-
Installing package: php
-
Skipping package: php-cli (Already installed)
-
Skipping package: php-common (Already installed)
-
Skipping package: php-gd (Already installed)
-
Installing package: php-mysql
-
Installing package: mysql
Existing lock /var/run/yum.pid: another copy is running as pid 4777.
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: PackageKit
Memory : 19 M RSS (105 MB VSZ)
Started: Fri Jan 23 11:43:29 2015 - 00:06 ago
State : Sleeping, pid: 4777
Existing lock /var/run/yum.pid: another copy is running as pid 4988.
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: PackageKit
Memory : 19 M RSS (186 MB VSZ)
Started: Fri Jan 23 11:43:36 2015 - 00:01 ago
State : Sleeping, pid: 4988
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: PackageKit
Memory : 41 M RSS ( 88 MB VSZ)
Started: Fri Jan 23 11:43:36 2015 - 00:03 ago
State : Running, pid: 4988
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: PackageKit
Memory : 92 M RSS (139 MB VSZ)
Started: Fri Jan 23 11:43:36 2015 - 00:05 ago
State : Sleeping, pid: 4988
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: PackageKit
Memory : 92 M RSS (139 MB VSZ)
Started: Fri Jan 23 11:43:36 2015 - 00:07 ago
State : Sleeping, pid: 4988
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: PackageKit
Memory : 92 M RSS (139 MB VSZ)
Started: Fri Jan 23 11:43:36 2015 - 00:09 ago
State : Sleeping, pid: 4988 -
Installing package: mysql-server
-
Skipping package: tftp-server (Already installed)
-
Skipping package: nfs-utils (Already installed)
-
Skipping package: vsftpd (Already installed)
-
Skipping package: net-tools (Already installed)
-
Skipping package: wget (Already installed)
-
Skipping package: xinetd (Already installed)
-
Skipping package: tar (Already installed)
-
Skipping package: gzip (Already installed)
-
Skipping package: make (Already installed)
-
Skipping package: m4 (Already installed)
-
Skipping package: gcc (Already installed)
-
Skipping package: gcc-c++ (Already installed)
-
Skipping package: lftp (Already installed)
Confirming package installation.
- Checking package: httpd…OK
- Checking package: php…OK
- Checking package: php-cli…OK
- Checking package: php-common…OK
- Checking package: php-gd…OK
- Checking package: php-mysql…OK
- Checking package: mysql…OK
- Checking package: mysql-server…OK
- Checking package: tftp-server…OK
- Checking package: nfs-utils…OK
- Checking package: vsftpd…OK
- Checking package: net-tools…OK
- Checking package: wget…OK
- Checking package: xinetd…OK
- Checking package: tar…OK
- Checking package: gzip…OK
- Checking package: make…OK
- Checking package: m4…OK
- Checking package: gcc…OK
- Checking package: gcc-c++…OK
- Checking package: lftp…OK
Configuring services.
-
Setting up and starting MySQL…OK
-
Backing up user reports…OK
-
Did you leave the mysql password blank during install? (Y/n)
-
Setting up and starting Apache Web Server…Failed! (2)
Script done on Fri 23 Jan 2015 11:44:41 AM EST
-
-
RE: Web interface doesn't open after updating to 1.2
I believe I’m having the same issue as the OP (“Setting up and starting Apache Web Server…Failed!” however mine has “(2)” at the end). I was trying to use the same solution but I have CentOS 6 and “sudo yum --purge remove apache2 apache2.2-common” does not work. Sorry I’m a noob with Lunix.
-
RE: Outdated Fog system
However that’s the official name. That’s like saying since Vista(Windows version #6 and Japanese FF2) sucked it’s not really Windows 6 and windows 7 (Windows version #6.1 and FF4) is actually 6. The FF distributor that localized FF3 and FF4 to the US originally were retarded and messed things up. Which is why when they were released on the DS and PSP the names were corrected.
-
RE: Outdated Fog system
Technically Final Fantasy 4.
[URL=‘http://finalfantasy.wikia.com/wiki/Final_Fantasy_IV’][U][COLOR=#0066cc]http://finalfantasy.wikia.com/wiki/Final_Fantasy_IV[/COLOR][/U][/URL]
-
CentOS
I’m about to stand up a new FOG server on HyperV using a CentOS 7 server. I quickly looked through the forum and didn’t see anything regarding compatibility. Does anyone know any issues with CentOS 7 or should I just stick with 6.5?
-
RE: Fog 1.1.2: VBScript Fail
I would try adding this to the “Snapin Run With”[CODE]%SystemRoot%\SysWOW64\cscript.exe[/CODE]
This works better then “C:\Windows\System32\cscript.exe” incase the systemroot is something other than C:\ and if I recall right this runs the cscript in 32-bit mode and will execute on both 64-bit and 32-bit systems properly.
-
RE: PXE-E32: TFTP Open Timeout
[CODE]sudo gedit /etc/selinux/config [/CODE]
verify that selinux is actually disabled. -
RE: Anybody imaging correctly on 1.1.2?
A lot of people have. What issues are you having?
-
RE: Change Needed for VM to PXE boot to FOG...
Worked for 1.0.1. Different line number however. Thanks a lot netbootdisk.
-
RE: Image Problems
Stolen from Tom’s post:
Yes, but not real easily.
The way to do it is described below: (root access on FOG Server, use terminal or console.)[CODE]Code:
cd /tftpboot/fog/images
mkdir tmp
gunzip -d -c init.gz > init
mount -o loop init tmp
sed -i ‘s/PIGZ_COMP=“-3”;/PIGZ_COMP=“-0”;/’ tmp/bin/fog #THE -0 change to what you want. -0 is worst compression, -9 is best compression.
umount tmp
mv init.gz init.gz.orig
gzip -9 init
rm -rf tmp
[/CODE]Link to original thread:
[url]http://fogproject.org/forum/threads/compression.10000/#post-26638[/url] -
RE: Image Problems
[quote=“panthersfan25, post: 32167, member: 24585”]I got it resolved, not sure exactly what I let the startup repair run and resolved the issue, now it boots fine. Thanks for your help.
I have another quick question unrelated and I haven’t searched the forums for an answer but is there a tutorial or how to on compressing the image file size, I only allowed for 200GB and with 2 images I am at 54GB used…[/quote]
Go to FOG Configuration > FOG Settings > FOG Boot Settings > Move the slider for FOG_PIGZ_COMP
The lower you move it the less compression. I would think you would want to set it to 9. This will effect your upload speed but as far as I understand download should remain the same.
-
RE: Download Completed! Moving file to TFTP server...
I had a similar issue when I installed on Ubuntu. My issue was ftp for some reason wasn’t installed. Also I had to disable my firewall. Both of those would be a good place to start looking.
[CODE]sudo ufw disable[/CODE]
-
RE: Random question time... can i go back to pxelinux.0?
You can download any version of FOG. When you get to the following step in the installation you can change the version number to whatever you want. Go to: [url]https://svn.code.sf.net/p/freeghost/code/tags[/url] to see all the available versions.
[CODE]cd ~
svn co https://svn.code.sf.net/p/freeghost/code/tags/0.32 fog_0.32
cd fog_0.32/bin[/CODE] -
RE: Images upload but are maintaining the MAC address as the name and staying in the DEV folder
That seems odd. I would try the following code then try to upload again. However a temp workaround would be moving the files from the MAC address folder (/images/dev/{MAC address}) to a folder named the same as the image name(/images/{image name}).
[CODE]sudo chown -R fog:root /images[/CODE]
-
RE: Images upload but are maintaining the MAC address as the name and staying in the DEV folder
Does the image actually finish when you’re uploading or does it display a " every few seconds?