I did a fresh install again and did sudo -i and installed if from that prompt the first time, and everything worked now. It is currently up and running, thanks for all the help.
Posts
- 
RE: Ubuntu 16.04 installing fog error- stopping web service failedposted in FOG Problems
 - 
RE: Ubuntu 16.04 installing fog error- stopping web service failedposted in FOG Problems
@Tom-Elliott
 It got much farther this time, but stopped with this error. - 
RE: Ubuntu 16.04 installing fog error- stopping web service failedposted in FOG Problems
@Tom-Elliott I have run those commands and get the same error. @Quazz i couldnt find an apache2 folder in the etc/ directory
 - 
RE: Ubuntu 16.04 installing fog error- stopping web service failedposted in FOG Problems
@Tom-Elliott No it is a fresh install of ubuntu 16.04
 - 
RE: Ubuntu 16.04 installing fog error- stopping web service failedposted in FOG Problems
@Tom-Elliott I have done that for the install, it still gives the php5 error, i even purged php5 packages running it with the php7 command.
 - 
RE: Ubuntu 16.04 installing fog error- stopping web service failedposted in FOG Problems
I have gone through that wiki and tried ever one of those tweaks to the best of my knowledge. Here is the error log i get:
/usr/bin/lsb_release
/bin/systemctl
Reading package lists…
Building dependency tree…
Reading state information…
software-properties-common is already the newest version (0.96.20.1).
python-software-properties is already the newest version (0.96.20.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
30 Jun 09:27:03 ntpdate[3377]: adjust time server 69.164.201.165 offset -0.008843 sec
gpg: keyring/tmp/tmp9ca7koah/secring.gpg' created gpg: keyring/tmp/tmp9ca7koah/pubring.gpg’ created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp9ca7koah/trustdb.gpg: trustdb created
gpg: key E5267A6C: public key “Launchpad PPA for Ondřej Surý” imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:2 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu xenial InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 94.5 kB in 3s (25.9 kB/s)
Reading package lists…
Reading package lists…
Building dependency tree…
Reading state information…
ntpdate is already the newest version (1:4.2.8p4+dfsg-3ubuntu5).
software-properties-common is already the newest version (0.96.20.1).
python-software-properties is already the newest version (0.96.20.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
30 Jun 09:27:26 ntpdate[3652]: adjust time server 69.164.201.165 offset 0.001753 sec
Generating locales (this might take a while)…
en_US.UTF-8… done
Generation complete.
gpg: keyring/tmp/tmpjv7g3mk9/secring.gpg' created gpg: keyring/tmp/tmpjv7g3mk9/pubring.gpg’ created
gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpjv7g3mk9/trustdb.gpg: trustdb created
gpg: key E5267A6C: public key “Launchpad PPA for Ondřej Surý” imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:2 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu xenial InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 94.5 kB in 4s (21.9 kB/s)
Reading package lists…
ii apache2 2.4.18-2ubuntu3 amd64 Apache HTTP Server
dpkg-query: no packages found matching php5
dpkg-query: no packages found matching php5-json
dpkg-query: no packages found matching php5-gd
dpkg-query: no packages found matching php5-curl
mysql-server-5.7
mysql-server
mysql-server-core-5.7
ii mysql-server 5.7.12-0ubuntu1.1 all MySQL database server (metapackage depending on the latest version)
ii mysql-client 5.7.12-0ubuntu1.1 all MySQL database client (metapackage depending on the latest version)
ii tftpd-hpa 5.2+20150808-1ubuntu1 amd64 HPA’s tftp server
ii tftp-hpa 5.2+20150808-1ubuntu1 amd64 HPA’s tftp client
ii nfs-kernel-server 1:1.2.8-9ubuntu12 amd64 support for NFS kernel server
ii vsftpd 3.0.3-3ubuntu2 amd64 lightweight, efficient FTP server written for security
ii net-tools 1.60-26ubuntu1 amd64 NET-3 networking toolkit
ii wget 1.17.1-1ubuntu1.1 amd64 retrieves files from the web
ii xinetd 1:2.3.15-6 amd64 replacement for inetd with many enhancements
ii sysv-rc-conf 0.99-7 all SysV init runlevel configuration tool for the terminal
ii tar 1.28-2.1 amd64 GNU version of the tar archiving utility
ii gzip 1.6-4ubuntu1 amd64 GNU compression utilities
ii build-essential 12.1ubuntu2 amd64 Informational list of build-essential packages
ii cpp 4:5.3.1-1ubuntu1 amd64 GNU C preprocessor (cpp)
ii gcc 4:5.3.1-1ubuntu1 amd64 GNU C compiler
ii g++ 4:5.3.1-1ubuntu1 amd64 GNU C++ compiler
ii m4 1.4.17-5 amd64 macro processing language
ii htmldoc 1.8.27-8ubuntu1 amd64 HTML processor that generates indexed HTML, PS, and PDF
ii lftp 4.6.3a-1build2 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs
ii openssh-server 1:7.2p2-4ubuntu1 amd64 secure shell (SSH) server, for secure access from remote machines
ii php-gettext 1.0.11-2build1 all read gettext MO files directly, without requiring anything other than PHP
dpkg-query: no packages found matching php5-mcrypt
dpkg-query: no packages found matching php5-mysqlnd
ii curl 7.47.0-1ubuntu2 amd64 command line tool for transferring data with URL syntax
ii libc6:amd64 2.23-0ubuntu3 amd64 GNU C Library: Shared libraries
ii libcurl3:amd64 7.47.0-1ubuntu2 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii zlib1g:amd64 1:1.2.8.dfsg-2ubuntu4 amd64 compression library - runtime
Reading package lists…
Building dependency tree…
Reading state information…
apache2 is already the newest version (2.4.18-2ubuntu3).
build-essential is already the newest version (12.1ubuntu2).
cpp is already the newest version (4:5.3.1-1ubuntu1).
curl is already the newest version (7.47.0-1ubuntu2).
g++ is already the newest version (4:5.3.1-1ubuntu1).
gcc is already the newest version (4:5.3.1-1ubuntu1).
gzip is already the newest version (1.6-4ubuntu1).
lftp is already the newest version (4.6.3a-1build2).
libc6 is already the newest version (2.23-0ubuntu3).
libcurl3 is already the newest version (7.47.0-1ubuntu2).
m4 is already the newest version (1.4.17-5).
net-tools is already the newest version (1.60-26ubuntu1).
nfs-kernel-server is already the newest version (1:1.2.8-9ubuntu12).
tar is already the newest version (1.28-2.1).
tftp-hpa is already the newest version (5.2+20150808-1ubuntu1).
tftpd-hpa is already the newest version (5.2+20150808-1ubuntu1).
vsftpd is already the newest version (3.0.3-3ubuntu2).
xinetd is already the newest version (1:2.3.15-6).
zlib1g is already the newest version (1:1.2.8.dfsg-2ubuntu4).
htmldoc is already the newest version (1.8.27-8ubuntu1).
php-gettext is already the newest version (1.0.11-2build1).
sysv-rc-conf is already the newest version (0.99-7).
mysql-client is already the newest version (5.7.12-0ubuntu1.1).
mysql-server is already the newest version (5.7.12-0ubuntu1.1).
openssh-server is already the newest version (1:7.2p2-4ubuntu1).
wget is already the newest version (1.17.1-1ubuntu1.1).
Calculating upgrade…
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ii apache2 2.4.18-2ubuntu3 amd64 Apache HTTP Server
ii mysql-server 5.7.12-0ubuntu1.1 all MySQL database server (metapackage depending on the latest version)
ii mysql-server 5.7.12-0ubuntu1.1 all MySQL database server (metapackage depending on the latest version)
ii mysql-client 5.7.12-0ubuntu1.1 all MySQL database client (metapackage depending on the latest version)
ii tftpd-hpa 5.2+20150808-1ubuntu1 amd64 HPA’s tftp server
ii tftp-hpa 5.2+20150808-1ubuntu1 amd64 HPA’s tftp client
ii nfs-kernel-server 1:1.2.8-9ubuntu12 amd64 support for NFS kernel server
ii vsftpd 3.0.3-3ubuntu2 amd64 lightweight, efficient FTP server written for security
ii net-tools 1.60-26ubuntu1 amd64 NET-3 networking toolkit
ii wget 1.17.1-1ubuntu1.1 amd64 retrieves files from the web
ii xinetd 1:2.3.15-6 amd64 replacement for inetd with many enhancements
ii sysv-rc-conf 0.99-7 all SysV init runlevel configuration tool for the terminal
ii tar 1.28-2.1 amd64 GNU version of the tar archiving utility
ii gzip 1.6-4ubuntu1 amd64 GNU compression utilities
ii build-essential 12.1ubuntu2 amd64 Informational list of build-essential packages
ii cpp 4:5.3.1-1ubuntu1 amd64 GNU C preprocessor (cpp)
ii gcc 4:5.3.1-1ubuntu1 amd64 GNU C compiler
ii g++ 4:5.3.1-1ubuntu1 amd64 GNU C++ compiler
ii m4 1.4.17-5 amd64 macro processing language
ii htmldoc 1.8.27-8ubuntu1 amd64 HTML processor that generates indexed HTML, PS, and PDF
ii lftp 4.6.3a-1build2 amd64 Sophisticated command-line FTP/HTTP/BitTorrent client programs
ii openssh-server 1:7.2p2-4ubuntu1 amd64 secure shell (SSH) server, for secure access from remote machines
ii php-gettext 1.0.11-2build1 all read gettext MO files directly, without requiring anything other than PHP
ii curl 7.47.0-1ubuntu2 amd64 command line tool for transferring data with URL syntax
ii libc6:amd64 2.23-0ubuntu3 amd64 GNU C Library: Shared libraries
ii libcurl3:amd64 7.47.0-1ubuntu2 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour)
ii zlib1g:amd64 1:1.2.8.dfsg-2ubuntu4 amd64 compression library - runtime
Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully
Failed to stop FOGMulticastManager.service: Unit FOGMulticastManager.service not loaded.
Failed to stop FOGImageReplicator.service: Unit FOGImageReplicator.service not loaded.
Failed to stop FOGSnapinReplicator.service: Unit FOGSnapinReplicator.service not loaded.
Failed to stop FOGScheduler.service: Unit FOGScheduler.service not loaded.
Failed to stop FOGPingHosts.service: Unit FOGPingHosts.service not loaded.
Synchronizing state of mysql.service with SysV init with /lib/systemd/systemd-sysv-install…
Executing /lib/systemd/systemd-sysv-install enable mysql
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2016-06-30 09:28:00 CDT; 2s ago
Process: 4272 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)
Process: 4267 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 4271 (mysqld)
CGroup: /system.slice/mysql.service
└─4271 /usr/sbin/mysqldJun 30 09:27:59 FOG-SERVER systemd[1]: Starting MySQL Community Server…
Jun 30 09:28:00 FOG-SERVER systemd[1]: Started MySQL Community Server.
Failed to stop php5-fpm.service: Unit php5-fpm.service not loaded. - 
Ubuntu 16.04 installing fog error- stopping web service failedposted in FOG Problems
I have been experiencing some issues installing the latest version (i believe) 5790 of fog onto my ubuntu desktop 16.04 LTS. This is a fresh install fully updated with only subversion installed. When i run the sudo ./installfog.sh command i run through all the steps but it errors on stopping web service every time. Any help would be appreciated. I have tried running the install as php7 as well, and that has yielded the same error. Thanks in advance
* Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Ubuntu * Server IP Address: * Server Subnet Mask: 255.255.255.0 * Interface: ens160 * Installation Type: Normal Server * Donate: 0 * Internationalization: 0 * Image Storage Location: /images * Using FOG DHCP: No * DHCP 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 and filename * On a Windows DHCP server you must set options 066 and 067 * Option 066/next-server is the IP of the FOG Server: (e.g. ) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * Installation Started * Installing required packages, if this fails | make sure you have an active internet connection. * Adding needed repository....................................OK * Preparing Package Manager...................................OK * Packages to be installed: apache2 php5 php5-json php5-gd php5-cli php5-curl mysql-server mysql-client tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php-gettext php5-mcrypt php5-mysqlnd curl libc6 libcurl3 zlib1g php5-fpm libapache2-mod-php5 * Skipping package: apache2...................................(Already Installed) * Skipping package: php5......................................(Does not exist) * Skipping package: php5-json.................................(Does not exist) * Skipping package: php5-gd...................................(Does not exist) * Skipping package: php5-cli..................................(Does not exist) * Skipping package: php5-curl.................................(Does not exist) * Skipping package: mysql-server..............................(Already Installed) * Skipping package: mysql-client..............................(Already Installed) * Skipping package: tftpd-hpa.................................(Already Installed) * Skipping package: tftp-hpa..................................(Already Installed) * Skipping package: nfs-kernel-server.........................(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: sysv-rc-conf..............................(Already Installed) * Skipping package: tar.......................................(Already Installed) * Skipping package: gzip......................................(Already Installed) * Skipping package: build-essential...........................(Already Installed) * Skipping package: cpp.......................................(Already Installed) * Skipping package: gcc.......................................(Already Installed) * Skipping package: g++.......................................(Already Installed) * Skipping package: m4........................................(Already Installed) * Skipping package: htmldoc...................................(Already Installed) * Skipping package: lftp......................................(Already Installed) * Skipping package: openssh-server............................(Already Installed) * Skipping package: php-gettext...............................(Already Installed) * Skipping package: php5-mcrypt...............................(Does not exist) * Skipping package: php5-mysqlnd..............................(Does not exist) * Skipping package: curl......................................(Already Installed) * Skipping package: libc6.....................................(Already Installed) * Skipping package: libcurl3..................................(Already Installed) * Skipping package: zlib1g....................................(Already Installed) * Skipping package: php5-fpm..................................(Does not exist) * Skipping package: libapache2-mod-php5.......................(Does not exist) * Updating packages as needed.................................OK * Confirming package installation * Checking package: apache2...................................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: curl......................................OK * Checking package: libc6.....................................OK * Checking package: libcurl3..................................OK * Checking package: zlib1g....................................OK * Configuring services * Setting up fog user.........................................Already setup * Setting up fog password.....................................OK * Stopping FOGMulticastManager.service Service................OK * Stopping FOGImageReplicator.service Service.................OK * Stopping FOGSnapinReplicator.service Service................OK * Stopping FOGScheduler.service Service.......................OK * Stopping FOGPingHosts.service Service.......................OK * Setting up and starting MySQL...............................OK * Backing up user reports.....................................Done * Stopping web service........................................Failed! - 
RE: Intel NUC DC53427HYE stuck at "ipxe initialising devices.."posted in FOG Problems
Changing the boot file to ipxe.efi fixes the issue. Just change between those settings then depending on the type of device I am trying to image?
 - 
RE: Intel NUC DC53427HYE stuck at "ipxe initialising devices.."posted in FOG Problems
I have tried both legacy and uefi, and both enabled at the same time. I am currently running undionly.kpxe
when on uefi only it goes >>checking media presence >>media present >>starting pxe over ipv4 (then switches to) >>starting pxe over ipv6. and does not move past that point. I will try looking at the EFI link and get back to you. - 
Intel NUC DC53427HYE stuck at "ipxe initialising devices.."posted in FOG Problems
Having issues with a pxe boot on an Intel nuc. I tried several of these new nuc’s all have the same issue. From another topic i read on the forums i also tried to boot to a live CD then do a reboot (something about giving the nic a clean reboot), that does not work either. Just did a new SVN checkout and reinstall of fog version: 5325 Error persists. Any thoughts or help anyone can think of? Thanks!
 - 
RE: Not a partclone image anymoreposted in FOG Problems
Alright I will update and let you know what happens. Thanks!
 - 
RE: Not a partclone image anymoreposted in FOG Problems
Yes It looks like that is what is happening to the other test machine.
 - 
RE: Not a partclone image anymoreposted in FOG Problems
I just re-uploded one of my images and immediately attempted to re-deploy it to my 2 test machines, it worked for one but the other still has the partclone image error. so maybe they just need to be re uploaded.
 - 
RE: Not a partclone image anymoreposted in FOG Problems
Partimage doesn’t read the image, and it looks way different, I definitely remember making the images with partclone then.
 - 
RE: Not a partclone image anymoreposted in FOG Problems
They are all listed as partclone images, I will change one to partimage and see if it works. Thanks!
 - 
RE: Not a partclone image anymoreposted in FOG Problems
Where is that config file located that I can change the value to partimage from partclone.
 

