Ubuntu 16.04 installing fog error- stopping web service failed
-
@kirkk DId you upgrade to Ubuntu 16.04 from a prior version?
-
-
@Tom-Elliott No it is a fresh install of ubuntu 16.04
-
@kirkk There’s most likely leftover files which you need to manually remove.
I think on Ubuntu you’ll have to remove all php folders in /etc/apache2
-
PHP 5 does not exist for Ubuntu 16.04. So this is troubling me.
Can you run:
sudo rm -rf /etc/php* /etc/apache* /var/www sudo apt-get purge libapache* php5* sudo apt-get autoremove --purge sudo apt-get update php_ver='7.0' php_verAdds='-7.0' ./installfog.sh -y
-
@Tom-Elliott I have run those commands and get the same error. @Quazz i couldnt find an apache2 folder in the etc/ directory
-
What’s output of:
sudo lsb_release -a
-
For all of these issues I think i figured it out.
Try this:
sudo -i php_ver='7.0' php_verAdds='-7.0' ./installfog.sh -y
-
-
@Tom-Elliott It got much farther this time, but stopped with this error.
-
@kirkk can you upload the whole log file please?
-
-
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.