Web interface doesn't open after updating to 1.2
-
Same problem for all browsers. Here is the log file as requested
Script started on Wed 08 Oct 2014 09:59:02 AM CDT
Ubuntu..#######:. ..,#,.. .::##::.
.:###### .:;####:…;#;…
…##… …##;,;##::::.##…
,# …##…##:::## …::
## .::###,##. . ##.::#.:######::.
…##:::###::…#. … .#…#. #…#:::.
…:####:… …##…##::## … #
# . …##:,;##;:::#: … ##…
.# . .:;####;::::.##:::;#:…
# …:;###…###########################################
FOG
Free Computer Imaging Solution
[url]http://www.fogproject.org/[/url]
Developers:
Chuck Syperski
Jian Zhang
Peter Gilchrist
Tom Elliott
GNU GPL Version 3
###########################################
Version: 1.2.0 Installer/Updater
- Found FOG Settings from previous install at: /opt/fog/.fogsettings
- Performing upgrade using these settings…
Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.
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:[url]http://fogproject.org/?q=cryptocurrency[/url]
Would you like to donate computer resources to the FOG Project? [y/N] n
#####################################################################
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[/url]Here are the settings FOG will use:
Base Linux: Debian
Detected Linux Distribution: Ubuntu
Installation Type: Normal Server
Server IP Address: 10.26.3.9
DHCP router Address: 10.26.1.1
DHCP DNS Address: 10.26.1.15
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.26.3.9) 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.-
Preparing apt-get
-
Installing package: apache2
-
Installing package: php5
-
Installing package: php5-json
-
Installing package: php5-gd
-
Installing package: php5-cli
-
Installing package: php5-mysql
-
Installing package: php5-curl
-
Installing package: mysql-server
We are about to install MySQL Server on
this server, if MySQL isn’t installed already
you will be prompted for a root password.Press enter to acknowledge this message.
Reading package lists…
Building dependency tree…
Reading state information…
The following packages were automatically installed and are no longer required:
linux-headers-2.6.32-21
Use ‘apt-get autoremove’ to remove them.
The following packages will be upgraded:
mysql-server
1 upgraded, 0 newly installed, 0 to remove and 245 not upgraded.
Need to get 68.8kB of archives.
After this operation, 12.3kB disk space will be freed.
Get:1 [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-updates/main mysql-server 5.1.73-0ubuntu0.10.04.1 [68.8kB]
Fetched 68.8kB in 1s (63.2kB/s)
(Reading database … (Reading database … 5% (Reading database … 10% (Reading database … 15% (Reading database … 20% (Reading database … 25% (Reading database … 30% (Reading database … 35% (Reading database … 40% (Reading database … 45% (Reading database … 50% (Reading database … 55% (Reading database … 60% (Reading database … 65% (Reading database … 70% (Reading database … 75% (Reading database … 80% (Reading database … 85% (Reading database … 90% (Reading database … 95% (Reading database … 100% (Reading database … 222310 files and directories currently installed.)
Preparing to replace mysql-server 5.1.62-0ubuntu0.10.04.1 (using …/mysql-server_5.1.73-0ubuntu0.10.04.1_all.deb) …
Unpacking replacement mysql-server …
Setting up mysql-server (5.1.73-0ubuntu0.10.04.1) …- Installing package: mysql-client
- Installing package: tftpd-hpa
- Installing package: tftp-hpa
- Installing package: nfs-kernel-server
- Installing package: vsftpd
- Installing package: net-tools
- Installing package: wget
- Installing package: xinetd
- Installing package: sysv-rc-conf
- Installing package: tar
- Installing package: gzip
- Installing package: build-essential
- Installing package: cpp
- Installing package: gcc
- Installing package: g++
- Installing package: m4
- Installing package: htmldoc
- Installing package: lftp
- Installing package: openssh-server
- Installing package: php-gettext
- Installing package: clamav-freshclam
Confirming package installation.
- Checking package: apache2…OK
- Checking package: php5…OK
- Checking package: php5-json…OK
- Checking package: php5-gd…OK
- Checking package: php5-cli…OK
- Checking package: php5-mysql…OK
- Checking package: php5-curl…OK
- Checking package: mysql-server…OK
- Checking package: mysql-client…OK
- Checking package: tftpd-hpa…OK
- Checking package: tftp-hpa…OK
- Checking package: nfs-kernel-server…OK
- Checking package: vsftpd…OK
- Checking package: net-tools…OK
- Checking package: wget…OK
- Checking package: xinetd…OK
- Checking package: sysv-rc-conf…OK
- Checking package: tar…OK
- Checking package: gzip…OK
- Checking package: build-essential…OK
- Checking package: cpp…OK
- Checking package: gcc…OK
- Checking package: g++…OK
- Checking package: m4…OK
- Checking package: htmldoc…OK
- Checking package: lftp…OK
- Checking package: openssh-server…OK
- Checking package: php-gettext…OK
- Checking package: clamav-freshclam…OK
Configuring services.
- Setting up and starting MySql…OK
- Backing up user reports…OK
- Setting up and starting Apache Web Server…Failed!
Script done on Wed 08 Oct 2014 10:10:01 AM CDT
-
Here’s your problem:
Setting up and starting Apache Web Server…Failed!My guess, you installed lamp during installation of the OS?
-
OS was already installed and running 0.32, is there a command I can run to re-install apache?
-
Without the information on your OS and its version we can’t post the exact cmd to run.
-
The basic commands for uninstalling apache2 didn’t work so this is what I ended up on
sudo apt-get --purge remove apache2 apache2.2-common
sudo apt-get --purge remove apache2.2-common
sudo apt-get install apache2 apache2-mpm-prefork apache2.2-common libapache2-mod-php5 php5After doing that it was back to 0.32, so I ran the fog installer again and it worked without error, now on 1.2 with database and images intact! Hurray!
-
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.
-
[url]http://www.cyberciti.biz/faq/uninstall-apache-redhat-centos-rhel-fedora-linux-command/[/url]
Hope that helps!
Edit: FYI this will Uninstall apache2. You will then need to re-install apache2 using the fog install script.
-
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
-
-
Can you post your install log?
-
Looks like he did.
-
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.