Removing the apache and php packages........................Failed
-
@thiagotw Looks like you’re not root when you run the installer.
-
@wayne-workman Should i use sudo ./installfog.sh ? because i did and got the same error.
-
@thiagotw Sudo might work - I recommend actually becoming root first. Like this:
sudo -i # Navigate to fogproject/bin ./installfog.sh
The first line makes you root properly, it does an actual full login and sets the right environment variables for root.
Does this server have internet access? Can you ping www.google.com or 8.8.8.8 ?
-
@wayne-workman Thx for the fast answer,
So i did what you suggest, but still get the same error.
I remembered something that happened during the ubuntu update, an error, which damaged some packages,
so I used sudo apt-get remove apache2 to remove apache and those damaged files manually it worked .
However I was not sure how much damage was, so I reinstalled everything. -
@thiagotw What do you see when running
sudo apt-get -f install
? Any errors? If not tryapt-get install apache2 libapache2-mod-php7.1 php7.1
and see what happens. I am sure you will see an error. -
@sebastian-roth Hi! Thx for answer, you guys are great! i think you can mark this topic as solved, i did a different method for fix, but your method probably going to work too.
-
@thiagotw Please explain what method you chose so others might be able to try it too.
-
@tom-elliott sure! i´ts on my 3rd message already, sorry i forgot to Code the text.
-
So just to clarify,
You ran:
sudo apt-get remove apache2
Then everything worked?
-
@tom-elliott Yah, Thx for the attention. Now step two Configuring Fog for the first time for my local network scenario. I will open new topic for that tho.
-
I find that answer difficult to believe - looking at the log in the first post, there were lots more failures than apache.
-
@wayne-workman Like i said, i remove all damaged files manually, where the base command was
sudo apt-get remove xxxxx
Also I may usesudo apt-get xxxx and sudo apt-get upgrade xxxx
Sorry if i don´t detail my fix steps very well, my english isn’t good