Restarting Apache2 for fog vhost............................Failed!
Trying to update FOG and getting the above error.
Also, just now realized after I attempted to update I cannot get to fog management online. Just get the spinning circle in the browser tab.
I tried to update because I was having trouble capturing an image so I wanted to start with an update. Got stuck at bottom line and then would reboot.
Well, I’m not sure what happened but I tried to restart it yesterday and then it wouldn’t boot up. Something about no controller. Anyway, I guess CentOS 7 gives you the ability to boot from a last known good configuration and when I did that everything worked. I updated FOG and Apache2 went through without a hitch. Sorry to waste your time, thanks guys.
@Wayne-Workman I didn’t know what was installed so I tried both options to get info.
@Tom-Elliott why apache2 then? Eh. Red hat / centos / Fedora would be:
yum remove httpd -y
yum install httpd -y
@Wayne-Workman he’s running redhat of some sort, probably centos.
@ManofValor try reinstalling apache.
apt-get remove apache2 -y
apt-get install apache2 -y
@Tom-Elliott I stopped it
@ManofValor is the systemctl command still hung?
[root@localhost etc]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos00-root00 20G 7.3G 12G 40% / devtmpfs 1.9G 0 1.9G 0% /dev tmpfs 1.9G 5.4M 1.9G 1% /dev/shm tmpfs 1.9G 183M 1.7G 10% /run tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup /dev/sda5 969M 302M 602M 34% /boot /dev/mapper/fog-opt_fog_images 395G 223G 152G 60% /opt /dev/sdb1 8.1T 93G 7.6T 2% /images tmpfs 379M 16K 379M 1% /run/user/1000
Please get output of
df -hmy guess is it’s hung because there is no more disk space.
[root@localhost bin]# service apache2 restart Redirecting to /bin/systemctl restart apache2.service Failed to restart apache2.service: Unit apache2.service failed to load: No such file or directory.
right now it’s hung on systemctl restart httpd for a couple min now
I don’t know what you’re trying to boot, the web server isn’t running (the failed on restarting apache2 is the indicator).
What do you get if you run:
service apache2 restartor
systemctl restart httpd