Chattanooga
Unix
Gnu
Android
Linux
Users
Group

 

Hot Topics:

Sponsoring:

Can't get oVirt going

From: Jonathan Calloway 
------------------------------------------------------
All (but mainly Lynn),

So, I've installed CentOS 6 using a visualization install.  I installed 
the packages and dependencies for oVirt.  However, when I run 
setup-engine and go through the prompts, it fails to complete with an 
error about the HTTP service not being able to start.

There error is:

Installing:
Configuring oVirt Engine...                             [ DONE ]
Configuring JVM...                                      [ DONE ]
Creating CA...                                          [ DONE ]
Updating ovirt-engine service...                        [ DONE ]
Setting Database Configuration...                       [ DONE ]
Setting Database Security...                            [ DONE ]
Creating Database...                                    [ DONE ]
Updating the Default Data Center Storage Type...        [ DONE ]
Editing oVirt Engine Configuration...                   [ DONE ]
Editing Postgresql Configuration...                     [ DONE ]
Configuring the Default ISO Domain...                   [ DONE ]
Configuring Firewall...                                 [ DONE ]
Starting ovirt-engine Service...                        [ DONE ]
Configuring HTTPD...                                 [ ERROR ]
Error: Can't start the httpd service
Please check log file 
/var/log/ovirt-engine/engine-setup

=============================================================== From: William Wade ------------------------------------------------------ Run a apachectl -t which checks the apache config file for errors. It looks like this command: /sbin/chkconfig httpd on is the first one to fail. It says it is getting nothing from the standard error or output, but you might want to try running it manually and see what you get.

=============================================================== From: JonathanCalloway ------------------------------------------------------ William, I was under the impression that oVirt didn't need Apache, and that the virtualization install of CentOS doesn't include it. I probably just need to install Apache after all. I did try service httpd start and got a "no such service" error ----- Original Message ----- From: "William Wade" To: "Chattanooga Unix Gnu Android Linux Users Group" Sent: Friday, April 19, 2013 8:08:51 AM Subject: Re: [Chugalug] Can't get oVirt going Run a apachectl -t which checks the apache config file for errors. It looks like this command: /sbin/chkconfig httpd on is the first one to fail. It says it is getting nothing from the standard error or output, but you might want to try running it manually and see what you get. All (but mainly Lynn), So, I've installed CentOS 6 using a visualization install. I installed the packages and dependencies for oVirt. However, when I run setup-engine and go through the prompts, it fails to complete with an error about the HTTP service not being able to start. There error is: Installing: Configuring oVirt Engine... [ DONE ] Configuring JVM... [ DONE ] Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Creating Database... [ DONE ] Updating the Default Data Center Storage Type... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall... [ DONE ] Starting ovirt-engine Service... [ DONE ] Configuring HTTPD... [ ERROR ] Error: Can't start the httpd service Please check log file /var/log/ovirt-engine/engine-setup

=============================================================== From: Lynn Dixon ------------------------------------------------------ Calloway, Did you install the engine, node, hypervisor from the all-in-one package? the command is: yum install ovirt-engine-setup-plugin-allinone That should get all of the packages needed to run ovirt on one machine.

=============================================================== From: JonathanCalloway ------------------------------------------------------ Lynn, No; I did yum install ovirt engine (per the documentation) ----- Original Message ----- From: "Lynn Dixon" To: "Chattanooga Unix Gnu Android Linux Users Group" Sent: Friday, April 19, 2013 1:08:42 PM Subject: Re: [Chugalug] Can't get oVirt going Calloway, Did you install the engine, node, hypervisor from the all-in-one package? the command is: yum install ovirt-engine-setup-plugin-allinone That should get all of the packages needed to run ovirt on one machine. William, I was under the impression that oVirt didn't need Apache, and that the virtualization install of CentOS doesn't include it. I probably just need to install Apache after all. I did try service httpd start and got a "no such service" error From: "William Wade" < willm.wade@gmail.com > To: "Chattanooga Unix Gnu Android Linux Users Group" < chugalug@chugalug.org > Sent: Friday, April 19, 2013 8:08:51 AM Subject: Re: [Chugalug] Can't get oVirt going Run a apachectl -t which checks the apache config file for errors. It looks like this command: /sbin/chkconfig httpd on is the first one to fail. It says it is getting nothing from the standard error or output, but you might want to try running it manually and see what you get. All (but mainly Lynn), So, I've installed CentOS 6 using a visualization install. I installed the packages and dependencies for oVirt. However, when I run setup-engine and go through the prompts, it fails to complete with an error about the HTTP service not being able to start. There error is: Installing: Configuring oVirt Engine... [ DONE ] Configuring JVM... [ DONE ] Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Creating Database... [ DONE ] Updating the Default Data Center Storage Type... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall... [ DONE ] Starting ovirt-engine Service... [ DONE ] Configuring HTTPD... [ ERROR ] Error: Can't start the httpd service Please check log file /var/log/ovirt-engine/engine-setup

=============================================================== From: Lynn Dixon ------------------------------------------------------ Check out the video here: http://www.ovirt.org/Documentation The very first video describes installing oVirt onto one single machine. The allinone command is the command he issues in the video.

=============================================================== From: Jonathan Calloway ------------------------------------------------------ Ok, so I've gone through and removed ovirt, and started over with the new command. Still no dice. I'm not sure if this is an ovrit issue, or an Apache issue. I'm still getting this error even if I just do /sbin/service httpd start: Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libapr-1.so.0: cannot open shared object file: No such file or directory

=============================================================== From: Jonathan Calloway ------------------------------------------------------ Ok, so I removed ovirt and started over with the command as you suggested. No dice. I'm starting to think that this is an Apache error rather than scrictly an ovirt issue. Even if I do /sbin/service httpd start, I still get this error: Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libapr-1.so.0: cannot open shared object file: No such file or directory

=============================================================== From: Jonathan Calloway ------------------------------------------------------ Update: It looks like installing the apr dev package got me past it: yum install apr-util-1.2.7-11.el5.x86

=============================================================== From: Lynn Dixon ------------------------------------------------------ The host found in failed state should be fine for now, its alarming that you haven't gotten a host configured for your machines. Just log into the portal and go through the motions of adding the local machine as a host in your datacenter, and that error should go away on subsequent boots. Have had a hard time getting behind a computer since I have been helping my wife post-surgery, and just now catching up with work emails, and personal emails. If you need any further help, I will try to reply.

=============================================================== From: Jonathan Calloway ------------------------------------------------------ I didn't think it would matter. However, I cannot add a host to the domain. From what I've read, it appears to be a database issue.