Re: [Users] installing ovirt-engine on fc17 - postgresql service cannot be executed from /etc/init.d/postgresql

2012-11-14 Thread Alexey Kardashevskiy

On 14/11/12 00:01, Juan Hernandez wrote:

On 11/13/2012 10:13 AM, Eli Mesika wrote:



- Original Message -

From: Alexey Kardashevskiy a...@ozlabs.ru
To: Juan Hernandez jhern...@redhat.com
Cc: users@ovirt.org
Sent: Tuesday, November 13, 2012 2:05:27 AM
Subject: Re: [Users] installing ovirt-engine on fc17 - postgresql service 
cannot be executed from
/etc/init.d/postgresql

On 12/11/12 20:14, Juan Hernandez wrote:

On 11/12/2012 06:45 AM, Alexey Kardashevskiy wrote:

Hi!

I am trying to configure ovirt-engine and having a problem that it
cannot
finish because cannot create database because there is no
/etc/init.d/postgresql. How do I fix my setup? Some packages
missing? Below
is some information. Thanks.


The system is Fedora17/_ppc64_ (not x86 if it matters) with my 3.6
kernel.

Below is the console output after running postgresql-setup
initdb and
engine-setup and the log produced by the engine-setup script.


[root@vpl2 aik]# yum info ovirt-engine
Loaded plugins: downloadonly, versionlock
Installed Packages
Name: ovirt-engine
Arch: noarch
Version : 3.1.0
Release : 2.fc17
Size: 1.3 M
Repo: installed
   From repo   : ovirt-stable
Summary : Management server for Open Virtualization
URL : http://www.ovirt.org
License : ASL 2.0
Description : oVirt Engine is a feature-rich server virtualization
management
   : system that provides advanced capabilities for
   managing the Open
   : virtualization infrastructure for Servers and
   Desktops.

[root@vpl2 aik]# ls -la /etc/init.d/postgresql
ls: cannot access /etc/init.d/postgresql: No such file or
directory

[root@vpl2 aik]# postgresql-setup initdb
Initializing database ... OK

[root@vpl2 aik]# engine-setup
Welcome to oVirt Engine setup utility

WARNING: oVirt Engine setup has already been run on this host.
To remove all configuration and reset oVirt Engine please run
engine-cleanup.
Please be advised that executing engine-setup without cleanup is
not supported.
Would you like to proceed? (yes|no): no
Installation stopped, Goodbye.
[root@vpl2 aik]# engine-setup
Welcome to oVirt Engine setup utility

WARNING: oVirt Engine setup has already been run on this host.
To remove all configuration and reset oVirt Engine please run
engine-cleanup.
Please be advised that executing engine-setup without cleanup is
not supported.
Would you like to proceed? (yes|no): yes
HTTP Port  [80] :
HTTPS Port  [443] :
Host fully qualified domain name, note that this name should be
fully
resolvable  [vpl2.ozlabs.ibm.com] :
Password for Administrator (admin@internal) :
Confirm password :
Organization Name for the Certificate: ozlabs
The default storage type you will be using  ['NFS'| 'FC'| 'ISCSI']
  [NFS] :
Enter DB type for installation ['remote'| 'local']  [local] :
Local database password :
Confirm password :
Should the installer configure NFS share on this server to be used
as an
ISO Domain? ['yes'| 'no']  [yes] :
Local ISO domain path: /data/iso
Display name for the ISO Domain: local-iso-share
Firewall ports need to be opened.
You can let the installer configure iptables automatically
overriding the
current configuration. The old configuration will be backed up.
Alternately you can configure the firewall later using an example
iptables
file found under /usr/share/ovirt-engine/conf/iptables.example
Configure iptables ? ['yes'| 'no']: yes

oVirt Engine will be installed using the following configuration:
=
http-port: 80
https-port:443
host-fqdn: vpl2.ozlabs.ibm.com
auth-pass: 
org-name:  ozlabs
default-dc-type:   NFS
db-remote-install: local
db-local-pass: 
nfs-mp:/data/iso
iso-domain-name:   local-iso-share
config-nfs:yes
override-iptables: yes
Proceed with the configuration listed above? (yes|no): yes

Installing:
Configuring oVirt-engine...  [ DONE ]
Creating CA...   [ DONE ]
Editing JBoss Configuration...   [ DONE ]
Setting Database Configuration...[ DONE ]
Setting Database Security... [ DONE ]
Creating Database...  [ ERROR ]
Database creation failed
Please check log file
/var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log for
more information

[root@vpl2 aik]# ps ax|grep postgresql
13655 pts/2S+ 0:00 grep --color=auto postgresql



*

Here is a part of the
/var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log , can
post the
whole thing but it is quite big and seems to be irrelevant to the
issue.


2012-11-12 16:07:01::DEBUG::engine-setup::940::root:: engine db
creation

Re: [Users] installing ovirt-engine on fc17 - postgresql service cannot be executed from /etc/init.d/postgresql

2012-11-13 Thread Eli Mesika


- Original Message -
 From: Alexey Kardashevskiy a...@ozlabs.ru
 To: Juan Hernandez jhern...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, November 13, 2012 2:05:27 AM
 Subject: Re: [Users] installing ovirt-engine on fc17 - postgresql service 
 cannot be executed from
 /etc/init.d/postgresql
 
 On 12/11/12 20:14, Juan Hernandez wrote:
  On 11/12/2012 06:45 AM, Alexey Kardashevskiy wrote:
  Hi!
 
  I am trying to configure ovirt-engine and having a problem that it
  cannot
  finish because cannot create database because there is no
  /etc/init.d/postgresql. How do I fix my setup? Some packages
  missing? Below
  is some information. Thanks.
 
 
  The system is Fedora17/_ppc64_ (not x86 if it matters) with my 3.6
  kernel.
 
  Below is the console output after running postgresql-setup
  initdb and
  engine-setup and the log produced by the engine-setup script.
 
 
  [root@vpl2 aik]# yum info ovirt-engine
  Loaded plugins: downloadonly, versionlock
  Installed Packages
  Name: ovirt-engine
  Arch: noarch
  Version : 3.1.0
  Release : 2.fc17
  Size: 1.3 M
  Repo: installed
From repo   : ovirt-stable
  Summary : Management server for Open Virtualization
  URL : http://www.ovirt.org
  License : ASL 2.0
  Description : oVirt Engine is a feature-rich server virtualization
  management
: system that provides advanced capabilities for
managing the Open
: virtualization infrastructure for Servers and
Desktops.
 
  [root@vpl2 aik]# ls -la /etc/init.d/postgresql
  ls: cannot access /etc/init.d/postgresql: No such file or
  directory
 
  [root@vpl2 aik]# postgresql-setup initdb
  Initializing database ... OK
 
  [root@vpl2 aik]# engine-setup
  Welcome to oVirt Engine setup utility
 
  WARNING: oVirt Engine setup has already been run on this host.
  To remove all configuration and reset oVirt Engine please run
  engine-cleanup.
  Please be advised that executing engine-setup without cleanup is
  not supported.
  Would you like to proceed? (yes|no): no
  Installation stopped, Goodbye.
  [root@vpl2 aik]# engine-setup
  Welcome to oVirt Engine setup utility
 
  WARNING: oVirt Engine setup has already been run on this host.
  To remove all configuration and reset oVirt Engine please run
  engine-cleanup.
  Please be advised that executing engine-setup without cleanup is
  not supported.
  Would you like to proceed? (yes|no): yes
  HTTP Port  [80] :
  HTTPS Port  [443] :
  Host fully qualified domain name, note that this name should be
  fully
  resolvable  [vpl2.ozlabs.ibm.com] :
  Password for Administrator (admin@internal) :
  Confirm password :
  Organization Name for the Certificate: ozlabs
  The default storage type you will be using  ['NFS'| 'FC'| 'ISCSI']
   [NFS] :
  Enter DB type for installation ['remote'| 'local']  [local] :
  Local database password :
  Confirm password :
  Should the installer configure NFS share on this server to be used
  as an
  ISO Domain? ['yes'| 'no']  [yes] :
  Local ISO domain path: /data/iso
  Display name for the ISO Domain: local-iso-share
  Firewall ports need to be opened.
  You can let the installer configure iptables automatically
  overriding the
  current configuration. The old configuration will be backed up.
  Alternately you can configure the firewall later using an example
  iptables
  file found under /usr/share/ovirt-engine/conf/iptables.example
  Configure iptables ? ['yes'| 'no']: yes
 
  oVirt Engine will be installed using the following configuration:
  =
  http-port: 80
  https-port:443
  host-fqdn: vpl2.ozlabs.ibm.com
  auth-pass: 
  org-name:  ozlabs
  default-dc-type:   NFS
  db-remote-install: local
  db-local-pass: 
  nfs-mp:/data/iso
  iso-domain-name:   local-iso-share
  config-nfs:yes
  override-iptables: yes
  Proceed with the configuration listed above? (yes|no): yes
 
  Installing:
  Configuring oVirt-engine...  [ DONE ]
  Creating CA...   [ DONE ]
  Editing JBoss Configuration...   [ DONE ]
  Setting Database Configuration...[ DONE ]
  Setting Database Security... [ DONE ]
  Creating Database...  [ ERROR ]
  Database creation failed
  Please check log file
  /var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log for
  more information
 
  [root@vpl2 aik]# ps ax|grep postgresql
  13655 pts/2S+ 0:00 grep --color=auto postgresql
 
 
 
  *
 
  Here is a part of the
  /var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log , can

Re: [Users] installing ovirt-engine on fc17 - postgresql service cannot be executed from /etc/init.d/postgresql

2012-11-13 Thread Juan Hernandez
On 11/13/2012 10:13 AM, Eli Mesika wrote:
 
 
 - Original Message -
 From: Alexey Kardashevskiy a...@ozlabs.ru
 To: Juan Hernandez jhern...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, November 13, 2012 2:05:27 AM
 Subject: Re: [Users] installing ovirt-engine on fc17 - postgresql service 
 cannot be executed from
 /etc/init.d/postgresql

 On 12/11/12 20:14, Juan Hernandez wrote:
 On 11/12/2012 06:45 AM, Alexey Kardashevskiy wrote:
 Hi!

 I am trying to configure ovirt-engine and having a problem that it
 cannot
 finish because cannot create database because there is no
 /etc/init.d/postgresql. How do I fix my setup? Some packages
 missing? Below
 is some information. Thanks.


 The system is Fedora17/_ppc64_ (not x86 if it matters) with my 3.6
 kernel.

 Below is the console output after running postgresql-setup
 initdb and
 engine-setup and the log produced by the engine-setup script.


 [root@vpl2 aik]# yum info ovirt-engine
 Loaded plugins: downloadonly, versionlock
 Installed Packages
 Name: ovirt-engine
 Arch: noarch
 Version : 3.1.0
 Release : 2.fc17
 Size: 1.3 M
 Repo: installed
   From repo   : ovirt-stable
 Summary : Management server for Open Virtualization
 URL : http://www.ovirt.org
 License : ASL 2.0
 Description : oVirt Engine is a feature-rich server virtualization
 management
   : system that provides advanced capabilities for
   managing the Open
   : virtualization infrastructure for Servers and
   Desktops.

 [root@vpl2 aik]# ls -la /etc/init.d/postgresql
 ls: cannot access /etc/init.d/postgresql: No such file or
 directory

 [root@vpl2 aik]# postgresql-setup initdb
 Initializing database ... OK

 [root@vpl2 aik]# engine-setup
 Welcome to oVirt Engine setup utility

 WARNING: oVirt Engine setup has already been run on this host.
 To remove all configuration and reset oVirt Engine please run
 engine-cleanup.
 Please be advised that executing engine-setup without cleanup is
 not supported.
 Would you like to proceed? (yes|no): no
 Installation stopped, Goodbye.
 [root@vpl2 aik]# engine-setup
 Welcome to oVirt Engine setup utility

 WARNING: oVirt Engine setup has already been run on this host.
 To remove all configuration and reset oVirt Engine please run
 engine-cleanup.
 Please be advised that executing engine-setup without cleanup is
 not supported.
 Would you like to proceed? (yes|no): yes
 HTTP Port  [80] :
 HTTPS Port  [443] :
 Host fully qualified domain name, note that this name should be
 fully
 resolvable  [vpl2.ozlabs.ibm.com] :
 Password for Administrator (admin@internal) :
 Confirm password :
 Organization Name for the Certificate: ozlabs
 The default storage type you will be using  ['NFS'| 'FC'| 'ISCSI']
  [NFS] :
 Enter DB type for installation ['remote'| 'local']  [local] :
 Local database password :
 Confirm password :
 Should the installer configure NFS share on this server to be used
 as an
 ISO Domain? ['yes'| 'no']  [yes] :
 Local ISO domain path: /data/iso
 Display name for the ISO Domain: local-iso-share
 Firewall ports need to be opened.
 You can let the installer configure iptables automatically
 overriding the
 current configuration. The old configuration will be backed up.
 Alternately you can configure the firewall later using an example
 iptables
 file found under /usr/share/ovirt-engine/conf/iptables.example
 Configure iptables ? ['yes'| 'no']: yes

 oVirt Engine will be installed using the following configuration:
 =
 http-port: 80
 https-port:443
 host-fqdn: vpl2.ozlabs.ibm.com
 auth-pass: 
 org-name:  ozlabs
 default-dc-type:   NFS
 db-remote-install: local
 db-local-pass: 
 nfs-mp:/data/iso
 iso-domain-name:   local-iso-share
 config-nfs:yes
 override-iptables: yes
 Proceed with the configuration listed above? (yes|no): yes

 Installing:
 Configuring oVirt-engine...  [ DONE ]
 Creating CA...   [ DONE ]
 Editing JBoss Configuration...   [ DONE ]
 Setting Database Configuration...[ DONE ]
 Setting Database Security... [ DONE ]
 Creating Database...  [ ERROR ]
 Database creation failed
 Please check log file
 /var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log for
 more information

 [root@vpl2 aik]# ps ax|grep postgresql
 13655 pts/2S+ 0:00 grep --color=auto postgresql



 *

 Here is a part of the
 /var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log , can
 post the
 whole thing but it is quite big and seems to be irrelevant to the
 issue

Re: [Users] installing ovirt-engine on fc17 - postgresql service cannot be executed from /etc/init.d/postgresql

2012-11-12 Thread Juan Hernandez
On 11/12/2012 06:45 AM, Alexey Kardashevskiy wrote:
 Hi!
 
 I am trying to configure ovirt-engine and having a problem that it cannot 
 finish because cannot create database because there is no 
 /etc/init.d/postgresql. How do I fix my setup? Some packages missing? Below 
 is some information. Thanks.
 
 
 The system is Fedora17/_ppc64_ (not x86 if it matters) with my 3.6 kernel.
 
 Below is the console output after running postgresql-setup initdb and 
 engine-setup and the log produced by the engine-setup script.
 
 
 [root@vpl2 aik]# yum info ovirt-engine
 Loaded plugins: downloadonly, versionlock
 Installed Packages
 Name: ovirt-engine
 Arch: noarch
 Version : 3.1.0
 Release : 2.fc17
 Size: 1.3 M
 Repo: installed
  From repo   : ovirt-stable
 Summary : Management server for Open Virtualization
 URL : http://www.ovirt.org
 License : ASL 2.0
 Description : oVirt Engine is a feature-rich server virtualization management
  : system that provides advanced capabilities for managing the 
 Open
  : virtualization infrastructure for Servers and Desktops.
 
 [root@vpl2 aik]# ls -la /etc/init.d/postgresql
 ls: cannot access /etc/init.d/postgresql: No such file or directory
 
 [root@vpl2 aik]# postgresql-setup initdb
 Initializing database ... OK
 
 [root@vpl2 aik]# engine-setup
 Welcome to oVirt Engine setup utility
 
 WARNING: oVirt Engine setup has already been run on this host.
 To remove all configuration and reset oVirt Engine please run engine-cleanup.
 Please be advised that executing engine-setup without cleanup is not 
 supported.
 Would you like to proceed? (yes|no): no
 Installation stopped, Goodbye.
 [root@vpl2 aik]# engine-setup
 Welcome to oVirt Engine setup utility
 
 WARNING: oVirt Engine setup has already been run on this host.
 To remove all configuration and reset oVirt Engine please run engine-cleanup.
 Please be advised that executing engine-setup without cleanup is not 
 supported.
 Would you like to proceed? (yes|no): yes
 HTTP Port  [80] :
 HTTPS Port  [443] :
 Host fully qualified domain name, note that this name should be fully 
 resolvable  [vpl2.ozlabs.ibm.com] :
 Password for Administrator (admin@internal) :
 Confirm password :
 Organization Name for the Certificate: ozlabs
 The default storage type you will be using  ['NFS'| 'FC'| 'ISCSI']  [NFS] :
 Enter DB type for installation ['remote'| 'local']  [local] :
 Local database password :
 Confirm password :
 Should the installer configure NFS share on this server to be used as an 
 ISO Domain? ['yes'| 'no']  [yes] :
 Local ISO domain path: /data/iso
 Display name for the ISO Domain: local-iso-share
 Firewall ports need to be opened.
 You can let the installer configure iptables automatically overriding the 
 current configuration. The old configuration will be backed up.
 Alternately you can configure the firewall later using an example iptables 
 file found under /usr/share/ovirt-engine/conf/iptables.example
 Configure iptables ? ['yes'| 'no']: yes
 
 oVirt Engine will be installed using the following configuration:
 =
 http-port: 80
 https-port:443
 host-fqdn: vpl2.ozlabs.ibm.com
 auth-pass: 
 org-name:  ozlabs
 default-dc-type:   NFS
 db-remote-install: local
 db-local-pass: 
 nfs-mp:/data/iso
 iso-domain-name:   local-iso-share
 config-nfs:yes
 override-iptables: yes
 Proceed with the configuration listed above? (yes|no): yes
 
 Installing:
 Configuring oVirt-engine...  [ DONE ]
 Creating CA...   [ DONE ]
 Editing JBoss Configuration...   [ DONE ]
 Setting Database Configuration...[ DONE ]
 Setting Database Security... [ DONE ]
 Creating Database...  [ ERROR ]
 Database creation failed
 Please check log file 
 /var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log for more 
 information
 
 [root@vpl2 aik]# ps ax|grep postgresql
 13655 pts/2S+ 0:00 grep --color=auto postgresql
 
 
 
 *
 
 Here is a part of the 
 /var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log , can post the 
 whole thing but it is quite big and seems to be irrelevant to the issue.
 
 
 2012-11-12 16:07:01::DEBUG::engine-setup::940::root:: engine db creation is 
 logged at /var/log/ovirt-engine//engine-db-install-2012_11_12_16_07_01.log
 2012-11-12 16:07:01::DEBUG::common_utils::309::root:: Executing command -- 
 '/usr/share/ovirt-engine/dbscripts/engine-db-install.sh -l 
 engine-db-install-2012_11_12_16_07_01.log -w  -u postgres -s 
 localhost -p 5432 -r local'
 2012-11-12 

Re: [Users] installing ovirt-engine on fc17 - postgresql service cannot be executed from /etc/init.d/postgresql

2012-11-12 Thread Alexey Kardashevskiy

On 12/11/12 20:14, Juan Hernandez wrote:

On 11/12/2012 06:45 AM, Alexey Kardashevskiy wrote:

Hi!

I am trying to configure ovirt-engine and having a problem that it cannot
finish because cannot create database because there is no
/etc/init.d/postgresql. How do I fix my setup? Some packages missing? Below
is some information. Thanks.


The system is Fedora17/_ppc64_ (not x86 if it matters) with my 3.6 kernel.

Below is the console output after running postgresql-setup initdb and
engine-setup and the log produced by the engine-setup script.


[root@vpl2 aik]# yum info ovirt-engine
Loaded plugins: downloadonly, versionlock
Installed Packages
Name: ovirt-engine
Arch: noarch
Version : 3.1.0
Release : 2.fc17
Size: 1.3 M
Repo: installed
  From repo   : ovirt-stable
Summary : Management server for Open Virtualization
URL : http://www.ovirt.org
License : ASL 2.0
Description : oVirt Engine is a feature-rich server virtualization management
  : system that provides advanced capabilities for managing the Open
  : virtualization infrastructure for Servers and Desktops.

[root@vpl2 aik]# ls -la /etc/init.d/postgresql
ls: cannot access /etc/init.d/postgresql: No such file or directory

[root@vpl2 aik]# postgresql-setup initdb
Initializing database ... OK

[root@vpl2 aik]# engine-setup
Welcome to oVirt Engine setup utility

WARNING: oVirt Engine setup has already been run on this host.
To remove all configuration and reset oVirt Engine please run engine-cleanup.
Please be advised that executing engine-setup without cleanup is not supported.
Would you like to proceed? (yes|no): no
Installation stopped, Goodbye.
[root@vpl2 aik]# engine-setup
Welcome to oVirt Engine setup utility

WARNING: oVirt Engine setup has already been run on this host.
To remove all configuration and reset oVirt Engine please run engine-cleanup.
Please be advised that executing engine-setup without cleanup is not supported.
Would you like to proceed? (yes|no): yes
HTTP Port  [80] :
HTTPS Port  [443] :
Host fully qualified domain name, note that this name should be fully
resolvable  [vpl2.ozlabs.ibm.com] :
Password for Administrator (admin@internal) :
Confirm password :
Organization Name for the Certificate: ozlabs
The default storage type you will be using  ['NFS'| 'FC'| 'ISCSI']  [NFS] :
Enter DB type for installation ['remote'| 'local']  [local] :
Local database password :
Confirm password :
Should the installer configure NFS share on this server to be used as an
ISO Domain? ['yes'| 'no']  [yes] :
Local ISO domain path: /data/iso
Display name for the ISO Domain: local-iso-share
Firewall ports need to be opened.
You can let the installer configure iptables automatically overriding the
current configuration. The old configuration will be backed up.
Alternately you can configure the firewall later using an example iptables
file found under /usr/share/ovirt-engine/conf/iptables.example
Configure iptables ? ['yes'| 'no']: yes

oVirt Engine will be installed using the following configuration:
=
http-port: 80
https-port:443
host-fqdn: vpl2.ozlabs.ibm.com
auth-pass: 
org-name:  ozlabs
default-dc-type:   NFS
db-remote-install: local
db-local-pass: 
nfs-mp:/data/iso
iso-domain-name:   local-iso-share
config-nfs:yes
override-iptables: yes
Proceed with the configuration listed above? (yes|no): yes

Installing:
Configuring oVirt-engine...  [ DONE ]
Creating CA...   [ DONE ]
Editing JBoss Configuration...   [ DONE ]
Setting Database Configuration...[ DONE ]
Setting Database Security... [ DONE ]
Creating Database...  [ ERROR ]
Database creation failed
Please check log file
/var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log for more information

[root@vpl2 aik]# ps ax|grep postgresql
13655 pts/2S+ 0:00 grep --color=auto postgresql



*

Here is a part of the
/var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log , can post the
whole thing but it is quite big and seems to be irrelevant to the issue.


2012-11-12 16:07:01::DEBUG::engine-setup::940::root:: engine db creation is
logged at /var/log/ovirt-engine//engine-db-install-2012_11_12_16_07_01.log
2012-11-12 16:07:01::DEBUG::common_utils::309::root:: Executing command --
'/usr/share/ovirt-engine/dbscripts/engine-db-install.sh -l
engine-db-install-2012_11_12_16_07_01.log -w  -u postgres -s
localhost -p 5432 -r local'
2012-11-12 16:07:01::DEBUG::common_utils::335::root:: output = Running
local installation
[engine-db-install] 

[Users] installing ovirt-engine on fc17 - postgresql service cannot be executed from /etc/init.d/postgresql

2012-11-11 Thread Alexey Kardashevskiy

Hi!

I am trying to configure ovirt-engine and having a problem that it cannot 
finish because cannot create database because there is no 
/etc/init.d/postgresql. How do I fix my setup? Some packages missing? Below 
is some information. Thanks.



The system is Fedora17/_ppc64_ (not x86 if it matters) with my 3.6 kernel.

Below is the console output after running postgresql-setup initdb and 
engine-setup and the log produced by the engine-setup script.



[root@vpl2 aik]# yum info ovirt-engine
Loaded plugins: downloadonly, versionlock
Installed Packages
Name: ovirt-engine
Arch: noarch
Version : 3.1.0
Release : 2.fc17
Size: 1.3 M
Repo: installed
From repo   : ovirt-stable
Summary : Management server for Open Virtualization
URL : http://www.ovirt.org
License : ASL 2.0
Description : oVirt Engine is a feature-rich server virtualization management
: system that provides advanced capabilities for managing the Open
: virtualization infrastructure for Servers and Desktops.

[root@vpl2 aik]# ls -la /etc/init.d/postgresql
ls: cannot access /etc/init.d/postgresql: No such file or directory

[root@vpl2 aik]# postgresql-setup initdb
Initializing database ... OK

[root@vpl2 aik]# engine-setup
Welcome to oVirt Engine setup utility

WARNING: oVirt Engine setup has already been run on this host.
To remove all configuration and reset oVirt Engine please run engine-cleanup.
Please be advised that executing engine-setup without cleanup is not supported.
Would you like to proceed? (yes|no): no
Installation stopped, Goodbye.
[root@vpl2 aik]# engine-setup
Welcome to oVirt Engine setup utility

WARNING: oVirt Engine setup has already been run on this host.
To remove all configuration and reset oVirt Engine please run engine-cleanup.
Please be advised that executing engine-setup without cleanup is not supported.
Would you like to proceed? (yes|no): yes
HTTP Port  [80] :
HTTPS Port  [443] :
Host fully qualified domain name, note that this name should be fully 
resolvable  [vpl2.ozlabs.ibm.com] :

Password for Administrator (admin@internal) :
Confirm password :
Organization Name for the Certificate: ozlabs
The default storage type you will be using  ['NFS'| 'FC'| 'ISCSI']  [NFS] :
Enter DB type for installation ['remote'| 'local']  [local] :
Local database password :
Confirm password :
Should the installer configure NFS share on this server to be used as an 
ISO Domain? ['yes'| 'no']  [yes] :

Local ISO domain path: /data/iso
Display name for the ISO Domain: local-iso-share
Firewall ports need to be opened.
You can let the installer configure iptables automatically overriding the 
current configuration. The old configuration will be backed up.
Alternately you can configure the firewall later using an example iptables 
file found under /usr/share/ovirt-engine/conf/iptables.example

Configure iptables ? ['yes'| 'no']: yes

oVirt Engine will be installed using the following configuration:
=
http-port: 80
https-port:443
host-fqdn: vpl2.ozlabs.ibm.com
auth-pass: 
org-name:  ozlabs
default-dc-type:   NFS
db-remote-install: local
db-local-pass: 
nfs-mp:/data/iso
iso-domain-name:   local-iso-share
config-nfs:yes
override-iptables: yes
Proceed with the configuration listed above? (yes|no): yes

Installing:
Configuring oVirt-engine...  [ DONE ]
Creating CA...   [ DONE ]
Editing JBoss Configuration...   [ DONE ]
Setting Database Configuration...[ DONE ]
Setting Database Security... [ DONE ]
Creating Database...  [ ERROR ]
Database creation failed
Please check log file 
/var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log for more information


[root@vpl2 aik]# ps ax|grep postgresql
13655 pts/2S+ 0:00 grep --color=auto postgresql



*

Here is a part of the 
/var/log/ovirt-engine/engine-setup_2012_11_12_16_06_23.log , can post the 
whole thing but it is quite big and seems to be irrelevant to the issue.



2012-11-12 16:07:01::DEBUG::engine-setup::940::root:: engine db creation is 
logged at /var/log/ovirt-engine//engine-db-install-2012_11_12_16_07_01.log
2012-11-12 16:07:01::DEBUG::common_utils::309::root:: Executing command -- 
'/usr/share/ovirt-engine/dbscripts/engine-db-install.sh -l 
engine-db-install-2012_11_12_16_07_01.log -w  -u postgres -s 
localhost -p 5432 -r local'
2012-11-12 16:07:01::DEBUG::common_utils::335::root:: output = Running 
local installation
[engine-db-install] postgresql service cannot be executed from 
/etc/init.d/postgresql


2012-11-12