Stopping web service... Failed! during Storage Node install
-
@Wayne-Workman Hi Wayne, I’ve got Centos 6.5 on all the other FOG boxes (main server and 7 storage nodes plus this problem one). Would you recommend I upgrade to Centos 7 going forward? Good excuse to start playing with version 7 I guess but want to keep as close to FOG best practice as possible.
Don’t expect to hear back from anyone til new year now. Go crack open a beverage of your choice (I’m leaning towards an 18 year old Balvennie myself) and have a great Christmas everyone…
Cheers, Kiweegie.
-
@Kiweegie said:
Would you recommend I upgrade to Centos 7 going forward?
Absolutely. Enjoy the Balvennie.
-
@Kiweegie The error message says that you have php 5.6 installed on this system, additionally you have other repositories enabled for this client. I see epel and remi, rpmforge all enabled. This is the cause of the issue with this box you have conflicting packages.
This part is a guess (although probably spot on) you are trying to install this RPM php-fpm which is for php 5.36 which is conflicting with 5.6. I would assume the right package for 5.6 is php56-fpm. This is not a FOG problem but a system owner issue (Merry Christmas). You probably have other stuff loaded on this FOG server that needed php5.6, which would explain the other repositories being loaded.
I have FOG trunk running on Centos 6.5 without issue, including the trunk upgrades. My dev FOG environment is running Centos 7 without issue too. But in both cases I only have FOG running on these servers.
-
@george1421 a full install is fine. It’s the storage node install that fails. I had the exact same issue with a new CentOS 7 install
-
@Wayne-Workman said:
@george1421 a full install is fine. It’s the storage node install that fails. I had the exact same issue with a new CentOS 7 install
Let me make sure i understand this. The issue is with the storage node install, right? If so I can spin up a new centos 6.5 instance in about 10 minutes. I can confirm this with a clean install if needed. But I’m not seeing this as an issue unless the FOG installer is bringing in other repositories. That also doesn’t explain how/who php5.6 is install on this target computer. Either way I can confirm this on a clean install.
-
Well just for giggles I tried this on a vanilla install of Ubuntu 14.04.3 with only SSH installed and got this
What is the storage location for your images directory? (/images) * Setting up fog user............................................OK OK * Stopping web service........................................OK * Setting up Apache and PHP files.............................OK * Testing and removing symbolic links if found................OK * Backing up old data.........................................OK * Copying new files to web folder.............................OK * Creating config file........................................OK * Downloading inits, kernels, and the fog client..............OK * Enabling apache and fpm services on boot....................Failed!
Assuming the installer should still work with Ubuntu this would look to be an issue with the FOG installer.
I’m going to try minimal Centos 6.5 install next then Centos 7 though from Waynes comments he had same issue on a Centos 7 Storage node installation. What is different in the Normal vs Storage node installation that could cause this?
regards Kiweegie.
-
@Kiweegie I will confirm on Centos 6.5 to save you time. I have a template already setup in ESXi to spin up a new instance. I just haven’t do this test yet. I’ll have a go-no answer for you in about 30 minutes.
-
The storage node also failed under centos 6.5 but at a different spot.
* What is the storage location for your images directory? (/images) * Setting up fog user............................................OK * Stopping web service........................................Failed!
-
@George1421 Hi George thanks for the effort. I’d actually reinstalled FOG Storage Node again using Centos 6.5 before I saw your post. I’m seeing same error again but gratified its not just me…
I thought about rebuilding this as a normal node instead and have one normal node to govern my remote sites and one for main office. I get a failure message on normal node set up too now.
* Setting up storage..........................................Failed!
GUI shows Storage nodes and Storage groups etc and seems to be editable so perhaps a red herring though I’ve found another post from yourself George with the same issue.
I’m not going to throw too much more effort at new normal node setup for the time being and will sit tight hoping on resolutuion of the original storage node issue.
regards Kiweegie.
-
Here is a bug for the normal node setup too. It says as you saw failed setting up storage. But if you run the installer a second time it will install OK.
If you go this route, you will have to go into the fog settings and get the linux account information for the fog user. You will need to setup the linux password for the fog user to match what is configured in the fog database. It sounds hard, but just get the settings from the default storage node pane and then do a
passwd fog xxxxxxxx
from the console as root. Where xxxxxxx is the password gleaned from the storage node pane. -
@george1421 Hi George
not difficult at all based on those instructions let me give that a crack.
Kiweegie
-
@Kiweegie No its not hard. If you get it wrong, after you upload the image it will not be able to move it to the /images folder and on the target computer’s screen you will see unable to login to fog account with password xxxxx that gave me the idea to search the gui for the right password and update the fog user in linux.
The best solution is for when the developers get back from holiday to fix the installer so it works right. But if you are in a tight spot and need it now this route will work.
-
@Kiweegie What ever happened with the errors about TFTP and PXE?
-
@Wayne-Workman Hi Wayne, I had to give up on the Storage node set up and go with a separate Normal node as I need to get this back up and running sooner than later
The node which is causing issue is the storage node for head office so I’m just going to set up that box as a normal node instead and split the roles so we have one node for head office and one for the remote sites. It may even make things simpler.
I can spin up another Storage node at some point to aid in diagnosis of the original issue but for now my priority is getting our FOG solution back up and running again.
regards Kiweegie