[ovirt-users] Installtion fail for Ovirt engine in CentOS 6.5
Alon Bar-Lev
alonbl at redhat.com
Mon Dec 15 19:58:17 UTC 2014
You chose automatic database configuration, setup fails trying to stop postgresql service.
2014-12-15 11:41:17 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:861 execute-output: ('/sbin/service', 'postgresql', 'stop') stdout:
Stopping postgresql service: [FAILED]
I do not see why in the log.
Can you please checkout /var/log/messages or /var/lib/pgsql/data/pg_log
If you do not need anything of postgresql you can revert to initial state and retry.
1. service stop postgresql
2. rm -fr /var/lib/pgsql/data
3. engine-setup
----- Original Message -----
> From: "Cong Yue" <Cong_Yue at alliedtelesis.com>
> To: "Николаев Алексей" <alexeynikolaev.post at yandex.ru>, "Alon Bar-Lev" <alonbl at redhat.com>
> Cc: users at ovirt.org
> Sent: Monday, December 15, 2014 9:53:30 PM
> Subject: RE: [ovirt-users] Installtion fail for Ovirt engine in CentOS 6.5
>
> It is centos 6.6 with the update from centos 6.5. What I did for OS
> installation is to install centos 6.5 minimum and did yum update from that
> version.
> In my server, it shows it is CentOS 6.6 now.
>
> Thanks,
> Cong
>
>
>
>
> From: Николаев Алексей [mailto:alexeynikolaev.post at yandex.ru]
> Sent: Monday, December 15, 2014 11:50 AM
> To: Alon Bar-Lev; Yue, Cong
> Cc: users at ovirt.org
> Subject: Re: [ovirt-users] Installtion fail for Ovirt engine in CentOS 6.5
>
> Why you are use CentOS 6.5 instead a CentOS 6.6?
>
>
> 15.12.2014, 22:46, "Alon Bar-Lev"
> <alonbl at redhat.com<mailto:alonbl at redhat.com>>:
>
> Please attach/paste:
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20141215113915-w7bbrh.log
>
> ----- Original Message -----
> From: "Cong Yue"
> <Cong_Yue at alliedtelesis.com<mailto:Cong_Yue at alliedtelesis.com>>
> To: users at ovirt.org<mailto:users at ovirt.org>
> Sent: Monday, December 15, 2014 9:43:33 PM
> Subject: [ovirt-users] Installtion fail for Ovirt engine in CentOS 6.5
>
>
>
> Hi
>
>
>
> I am trying to install Ovirt engine into centOS6.5 according to the manual
> as
> folows:
>
> http://www.ovirt.org/Quick_Start_Guide#Install_oVirt_Engine_.28Fedora_.2F_Red_Hat_Enterprise_Linux_.2F_CentOS.29
>
>
>
> I met one error during engine-setup, the message is as follows:
>
>
>
> ----
>
> [root at ovirt-mgmnt user1]# engine-setup
>
> [ INFO ] Stage: Initializing
>
> [ INFO ] Stage: Environment setup
>
> Configuration files:
>
> ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',
>
> '/etc/ovirt-engine-setup.conf.d/10-packaging.conf']
>
> Log file:
>
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20141215113915-w7bbrh.log
>
> Version: otopi-1.3.0 (otopi-1.3.0-1.el6) [ INFO ] Stage: Environment
> packages
> setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [
> INFO ] Stage: Environment customization
>
>
>
> --== PRODUCT OPTIONS ==--
>
>
>
> Configure Engine on this host (Yes, No) [Yes]:
>
> Configure WebSocket Proxy on this host (Yes, No) [Yes]:
>
>
>
> --== PACKAGES ==--
>
>
>
> [ INFO ] Checking for product updates...
>
>
>
> [ INFO ] No product updates found
>
>
>
> --== ALL IN ONE CONFIGURATION ==--
>
>
>
>
>
> --== NETWORK CONFIGURATION ==--
>
>
>
> Setup can automatically configure the firewall on this system.
>
> Note: automatic configuration of the firewall may overwrite current
> settings.
>
> Do you want Setup to configure the firewall? (Yes, No)
>
> [Yes]: [ INFO ] iptables will be configured as firewall manager.
>
> Host fully qualified DNS name of this server [ovirt-mgmnt]:
>
> [WARNING] Host name ovirt-mgmnt has no domain suffix [WARNING] Failed to
> resolve ovirt-mgmnt using DNS, it can be resolved only locally
>
>
>
> --== DATABASE CONFIGURATION ==--
>
>
>
> Where is the Engine database located? (Local, Remote) [Local]:
>
> Setup can configure the local postgresql server automatically for the engine
> to run. This may conflict with existing applications.
>
> Would you like Setup to automatically configure postgresql and create Engine
> database, or prefer to perform that manually?
>
> (Automatic, Manual) [Automatic]:
>
>
>
> --== OVIRT ENGINE CONFIGURATION ==--
>
>
>
> Engine admin password:
>
> Confirm engine admin password:
>
> [WARNING] Password is weak: it is based on a dictionary word
>
> Use weak password? (Yes, No) [No]: Yes
>
> Application mode (Both, Virt, Gluster) [Both]:
>
>
>
> --== PKI CONFIGURATION ==--
>
>
>
> Organization name for certificate [Test]:
>
>
>
> --== APACHE CONFIGURATION ==--
>
>
>
> Setup can configure the default page of the web server to present the
> application home page. This may conflict with existing applications.
>
> Do you wish to set the application as the default page of the web server?
> (Yes, No) [Yes]:
>
> Setup can configure apache to use SSL using a certificate issued from the
> internal CA.
>
> Do you wish Setup to configure that, or prefer to perform that manually?
> (Automatic, Manual) [Automatic]:
>
>
>
> --== SYSTEM CONFIGURATION ==--
>
>
>
> Configure an NFS share on this server to be used as an ISO Domain? (Yes, No)
> [Yes]:
>
> Local ISO domain path [/var/lib/exports/iso]:
>
> Local ISO domain ACL - note that the default will restrict access to
> ovirt-mgmnt only, for security reasons [ovirt-mgmnt(rw)]:
>
> Local ISO domain name [ISO_DOMAIN]:
>
>
>
> --== MISC CONFIGURATION ==--
>
>
>
>
>
> --== END OF CONFIGURATION ==--
>
>
>
> [ INFO ] Stage: Setup validation
>
> [WARNING] Less than 16384MB of memory is available
>
>
>
> --== CONFIGURATION PREVIEW ==--
>
>
>
> Application mode : both
>
> Datacenter storage type : False
>
> Firewall manager : iptables
>
> Update Firewall : True
>
> Host FQDN : ovirt-mgmnt
>
> Engine database name : engine
>
> Engine database secured connection : False
>
> Engine database host : localhost
>
> Engine database user name : engine
>
> Engine database host name validation : False
>
> Engine database port : 5432
>
> Engine installation : True
>
> NFS setup : True
>
> PKI organization : Test
>
> NFS mount point : /var/lib/exports/iso
>
> NFS export ACL : ovirt-mgmnt(rw)
>
> Configure local Engine database : True
>
> Set application as default page : True
>
> Configure Apache SSL : True
>
> Configure WebSocket Proxy : True
>
>
>
> Please confirm installation settings (OK, Cancel) [OK]:
>
> [ INFO ] Stage: Transaction setup
>
> [ INFO ] Stopping engine service
>
> [ INFO ] Stopping ovirt-fence-kdump-listener service [ INFO ] Stopping
> websocket-proxy service [ INFO ] Stage: Misc configuration [ INFO ] Stage:
> Package installation [ INFO ] Stage: Misc configuration [ INFO ] Creating
> PostgreSQL 'engine' database [ ERROR ] Failed to execute stage 'Misc
> configuration': Command '/sbin/service' failed to execute [ INFO ] Yum
> Performing yum transaction rollback [ INFO ] Stage: Clean up
>
> Log file is located at
>
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20141215113915-w7bbrh.log
>
> [ INFO ] Generating answer file
>
> '/var/lib/ovirt-engine/setup/answers/20141215114117-setup.conf'
>
> [ INFO ] Stage: Pre-termination
>
> [ INFO ] Stage: Termination
>
> [ ERROR ] Execution of setup failed
>
> ----
>
>
>
> Do I need do more preparations before install ovirt engine? I am using
> ovirt3.5 as the manual above advised.
>
>
>
> Thanks,
>
> Cong
>
>
>
>
>
>
>
>
> This e-mail message is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information. Any unauthorized review,
> use, disclosure or distribution is prohibited. If you are not the intended
> recipient, please contact the sender by reply e-mail and destroy all copies
> of the original message. If you are the intended recipient, please be
> advised that the content of this message is subject to access, review and
> disclosure by the sender's e-mail System Administrator.
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org<mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org<mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
>
> ________________________________
> This e-mail message is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information. Any unauthorized review,
> use, disclosure or distribution is prohibited. If you are not the intended
> recipient, please contact the sender by reply e-mail and destroy all copies
> of the original message. If you are the intended recipient, please be
> advised that the content of this message is subject to access, review and
> disclosure by the sender's e-mail System Administrator.
>
More information about the Users
mailing list