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.
Posts made by ManofValor
-
RE: Restarting Apache2 for fog vhost............................Failed!
-
RE: Restarting Apache2 for fog vhost............................Failed!
[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
-
RE: Restarting Apache2 for fog vhost............................Failed!
[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
-
Restarting Apache2 for fog vhost............................Failed!
Trying to update FOG and getting the above error.
CentOS7
Ver. 8415Also, 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.
-
RE: Does FOG work with iSCSI?
So this post can be solved, everything is working. I created an image and then redeployed it. Now on to looking into sysprep. Thanks guys.
-
RE: Does FOG work with iSCSI?
Got a strange thing happening. I’m on my Win7 machine, my usual work space, when I go to FOG management and storage node the password is the same as my login. When I look at it from my FOG server it’s the usual randomly generated password. When I try to update it back to random password it won’t change. The password under .fogsettings is the random password. What am I missing?
-
RE: Does FOG work with iSCSI?
OK, so I started to image and got this:
Tried to Google but no luck.
-
RE: Does FOG work with iSCSI?
@Wayne-Workman When you say blast I assume you mean delete? Just making sure its not another term or something…lol.
-
RE: Does FOG work with iSCSI?
Also, I’m still getting this error when clicking on the FOG Configuration in fog management.
Not Found
The requested URL /static/index.html was not found on this server.
-
RE: Does FOG work with iSCSI?
@Wayne-Workman said in Does FOG work with iSCSI?:
It’s not critical, but for backups to automatically happen when you re-run the installer or update, you need those fields inside of /opt/fog/.fogsettings just like it says. All you’d do is just add them, just as it says.
Ok, thanks.
Also, the command Tom gave has a typo. He was probably on cellular.
It’s
chmod -R 777 /images
Yeah I caught that. See I’m learning something…lol.
-
RE: Does FOG work with iSCSI?
@Tom-Elliott Awesome thanks. What about the first question, the FOG update one?
-
RE: Does FOG work with iSCSI?
I’m not sure I quite understand this message during the FOG install/update. Am I supposed to add those two lines to the .fogsettings file, cause I don’t see them in there? If so, does it matter where it goes?
######################################################################################## FOG has adjusted to using a login system to protect what can/cannot be downloaded We have detected that you don't have credentials defined to perform the backup If you would like the database to be backed up during install please define in your /opt/fog/.fogsettings file fogguiuser='usernameOfFOGGUI' fogguipass='passwordOfFOGGUIUser' You can also re-run this installer as: fogguiuser='usernameOfFOGGUI' fogguipass='passwordOfFOGGUIUser' ./installfog.sh -y ########################################################################################
Also, I believe I’ve got the iSCSI mounted right and ready to try an image.
# /etc/fstab # Created by anaconda on Thu Feb 18 14:47:41 2016 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # /dev/mapper/centos00-root00 / ext4 defaults 1 1 UUID=31117e50-bdd0-446a-8527-e08cebd24684 /boot ext4 defaults 1 2 /dev/mapper/fog-opt_fog_images /opt ext4 defaults 1 2 /dev/mapper/centos00-swap swap swap defaults 0 0 /opt/fog/images /images bind bind 0 0 /dev/sdb1 /opt/fog/images
[root@localhost bin]# df -H Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos00-root00 22G 7.4G 13G 37% / devtmpfs 2.0G 0 2.0G 0% /dev tmpfs 2.0G 6.6M 2.0G 1% /dev/shm tmpfs 2.0G 9.4M 2.0G 1% /run tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/sda5 1.1G 308M 639M 33% /boot /dev/mapper/fog-opt_fog_images 424G 240G 163G 60% /opt /dev/sdb1 8.9T 95M 8.5T 1% /images tmpfs 397M 8.2k 397M 1% /run/user/1000 tmpfs 397M 0 397M 0% /run/user/0
[root@localhost bin]# ls /opt/fog/images -a . .. dev lost+found .mntcheck postdownloadscripts [root@localhost bin]# ls /opt/fog/images/dev -a . .. .mntcheck
-
RE: Does FOG work with iSCSI?
Curious, why do I have two of the same sd’s, sdb and sdc? I was going to partition one, I guess it doesn’t matter but just wondering.
[root@localhost images]# dmesg | grep sd [ 4.849861] sd 1:0:0:0: [sda] 976707632 512-byte logical blocks: (500 GB/465 GiB) [ 4.850038] sd 1:0:0:0: [sda] Write Protect is off [ 4.850041] sd 1:0:0:0: [sda] Mode Sense: 6b 00 00 08 [ 4.850145] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 4.854445] sda: sda1 sda2 sda3 sda4 < sda5 sda6 > [ 4.855586] sd 1:0:0:0: [sda] Attached SCSI disk [ 8.932316] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 10.314292] sd 1:0:0:0: Attached scsi generic sg0 type 0 [ 12.148400] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null) [ 18.889193] talpa-vfshook: nfsd is on the skip list, not patching [ 25.390122] sd 5:0:0:0: Attached scsi generic sg3 type 0 [ 25.391593] sd 5:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16). [ 25.391837] sd 5:0:0:0: [sdb] 17488150528 512-byte logical blocks: (8.95 TB/8.14 TiB) [ 25.392079] sd 5:0:0:0: [sdb] Write Protect is off [ 25.392083] sd 5:0:0:0: [sdb] Mode Sense: 77 00 00 08 [ 25.392599] sd 5:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA [ 25.393716] sd 5:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16). [ 25.420711] sdb: unknown partition table [ 25.421463] sd 5:0:0:0: [sdb] Very big device. Trying to use READ CAPACITY(16). [ 25.423684] sd 5:0:0:0: [sdb] Attached SCSI disk [ 25.464766] sd 6:0:0:0: Attached scsi generic sg4 type 0 [ 25.466368] sd 6:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16). [ 25.466836] sd 6:0:0:0: [sdc] 17488150528 512-byte logical blocks: (8.95 TB/8.14 TiB) [ 25.467369] sd 6:0:0:0: [sdc] Write Protect is off [ 25.467373] sd 6:0:0:0: [sdc] Mode Sense: 77 00 00 08 [ 25.468057] sd 6:0:0:0: [sdc] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA [ 25.468843] sd 6:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16). [ 25.474337] sdc: unknown partition table [ 25.475430] sd 6:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16). [ 25.476647] sd 6:0:0:0: [sdc] Attached SCSI disk [10997.260848] nfsd: last server has exited, flushing export cache