Installation step failed - b-installfusion
Installation step failed - b-installfusion
We're attempting to install Fusion in our environment in a virtual machine on Hyper-V 2012. We've installed CentOS 6.4 i386 in the VM, with 2 virtual CPU, 2GB RAM and a 40GB VHDX.
The documentation at http://assets.nagios.com/downloads/nagi ... ctions.pdf works fine until we run ./fullinstall.
It runs through and then outputs "INSTALLATION ERROR!" and "The script that failed was './B-installfusion'"
install.log's last lines read:
Reloading httpd:
Creating postgres database and user...
-bash: /root/nagiosfusion/nagiosfusion/create_postgres_db.sh: Permission denied
if I run create_postgres_db.sh directly, it outputs "psql: FATAL: database "root" does not exist"
What are the next steps?
The documentation at http://assets.nagios.com/downloads/nagi ... ctions.pdf works fine until we run ./fullinstall.
It runs through and then outputs "INSTALLATION ERROR!" and "The script that failed was './B-installfusion'"
install.log's last lines read:
Reloading httpd:
Creating postgres database and user...
-bash: /root/nagiosfusion/nagiosfusion/create_postgres_db.sh: Permission denied
if I run create_postgres_db.sh directly, it outputs "psql: FATAL: database "root" does not exist"
What are the next steps?
Re: Installation step failed - b-installfusion
Run the following commands and show the output:
Code: Select all
grep postgres /etc/group
grep postgres /etc/passwd
sestatusBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Installation step failed - b-installfusion
Here's the output:
#grep postgres /etc/group
postgres
26:
#grep postgres /etc/passwd
postgres
26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash
#sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 24
Policy from config file: targeted
Any help is appreciated! Thanks!
#grep postgres /etc/group
postgres
#grep postgres /etc/passwd
postgres
#sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 24
Policy from config file: targeted
Any help is appreciated! Thanks!
Re: Installation step failed - b-installfusion
Are you running the fullinstall as user "root"? (you should be)
How permissive is your selinux "permissive" configuration? (sometimes clients need to fully disable it)
How permissive is your selinux "permissive" configuration? (sometimes clients need to fully disable it)
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Installation step failed - b-installfusion
I am running it as root.
Per the note displayed by the fullinstall script, this is a very basic install of CentOS. We haven't done any configuration on the OS so far, other than the IP addressing, so SELinux would be default for CentOS 6.4 x86.
Per the note displayed by the fullinstall script, this is a very basic install of CentOS. We haven't done any configuration on the OS so far, other than the IP addressing, so SELinux would be default for CentOS 6.4 x86.
Re: Installation step failed - b-installfusion
Could you post the install.log in entirety (in code wrpas)?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Installation step failed - b-installfusion
I hope this is what you're looking for...
Code: Select all
Nagios Fusion Installation Log
==========================
DATE: Mon Jun 17 16:24:25 EDT 2013
DISTRO INFO:
CentOS
6.4
i686
THIS IS A NEW INSTALL!
INSTALLING:
full=2012R1.5
major=2012
minor=R1.5
releasedate=2012-01-17
release=205
Configuring Yum...
centos-release-6-4.el6.centos.10.i686
Enabling RPMForge repo...
Installing RPMForge PKG: packages/rpmforge-release-0.5.2-2.el6.rf.i686.rpm
warning: packages/rpmforge-release-0.5.2-2.el6.rf.i686.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing... ##################################################
rpmforge-release ##################################################
Loaded plugins: fastestmirror, security
Determining fastest mirrors
* base: less.cogeco.net
* extras: less.cogeco.net
* rpmforge: apt.sw.be
* updates: centos.mirror.netelligent.ca
perl-Compress-Raw-Bzip2.i686 2.052-1.el6.rf rpmforge
rpmforge-release.i686 0.5.3-1.el6.rf rpmforge
rpmforge-release RPM installed OK
Enabling EPEL repo...
Installing EPEL PKG: ./packages/epel-release-6-5.noarch.rpm
warning: ./packages/epel-release-6-5.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ##################################################
epel-release ##################################################
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: less.cogeco.net
* epel: archive.linux.duke.edu
* extras: less.cogeco.net
* rpmforge: apt.sw.be
* updates: centos.mirror.netelligent.ca
epel-release.noarch 6-8 epel
perl-Compress-Raw-Bzip2.i686 2.052-1.el6.rf rpmforge
rpmforge-release.i686 0.5.3-1.el6.rf rpmforge
epel-release RPM installed OK
Enabling CentOS 6 Continuous Release repo...
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: less.cogeco.net
* epel: mirrors.cat.pdx.edu
* extras: less.cogeco.net
* rpmforge: apt.sw.be
* updates: centos.mirror.netelligent.ca
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package centos-release-cr.i686 10:6-0.el6.centos will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
centos-release-cr i686 10:6-0.el6.centos extras 3.9 k
Transaction Summary
================================================================================
Install 1 Package(s)
Total download size: 3.9 k
Installed size: 509
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : 10:centos-release-cr-6-0.el6.centos.i686 1/1
Verifying : 10:centos-release-cr-6-0.el6.centos.i686 1/1
Installed:
centos-release-cr.i686 10:6-0.el6.centos
Complete!
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: less.cogeco.net
* epel: mirrors.rit.edu
* extras: less.cogeco.net
* rpmforge: apt.sw.be
* updates: centos.mirror.netelligent.ca
epel-release.noarch 6-8 epel
perl-Compress-Raw-Bzip2.i686 2.052-1.el6.rf rpmforge
rpmforge-release.i686 0.5.3-1.el6.rf rpmforge
centos-release-cr RPM installed OK
Yum configured OK
Installing prerequisites...
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: less.cogeco.net
* epel: fedora.westmancom.com
* extras: less.cogeco.net
* rpmforge: apt.sw.be
* updates: centos.mirror.netelligent.ca
Setting up Install Process
Package dstat-0.7.0-1.el6.noarch already installed and latest version
Package unzip-6.0-1.el6.i686 already installed and latest version
Package 32:bind-utils-9.8.2-0.17.rc1.el6_4.4.i686 already installed and latest version
Package openssl-1.0.0-27.el6_4.2.i686 already installed and latest version
Package unzip-6.0-1.el6.i686 already installed and latest version
Package sysstat-9.0.4-20.el6.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gd.i686 0:2.0.35-11.el6 will be installed
--> Processing Dependency: libXpm.so.4 for package: gd-2.0.35-11.el6.i686
---> Package gd-devel.i686 0:2.0.35-11.el6 will be installed
--> Processing Dependency: zlib-devel for package: gd-devel-2.0.35-11.el6.i686
--> Processing Dependency: libpng-devel for package: gd-devel-2.0.35-11.el6.i686
--> Processing Dependency: libjpeg-devel for package: gd-devel-2.0.35-11.el6.i686
--> Processing Dependency: libXpm-devel for package: gd-devel-2.0.35-11.el6.i686
--> Processing Dependency: libX11-devel for package: gd-devel-2.0.35-11.el6.i686
--> Processing Dependency: freetype-devel for package: gd-devel-2.0.35-11.el6.i686
--> Processing Dependency: fontconfig-devel for package: gd-devel-2.0.35-11.el6.i686
---> Package httpd.i686 0:2.2.15-28.el6.centos will be installed
--> Processing Dependency: httpd-tools = 2.2.15-28.el6.centos for package: httpd-2.2.15-28.el6.centos.i686
--> Processing Dependency: libaprutil-1.so.0 for package: httpd-2.2.15-28.el6.centos.i686
--> Processing Dependency: libapr-1.so.0 for package: httpd-2.2.15-28.el6.centos.i686
--> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-28.el6.centos.i686
---> Package openssl-devel.i686 0:1.0.0-27.el6_4.2 will be installed
--> Processing Dependency: krb5-devel for package: openssl-devel-1.0.0-27.el6_4.2.i686
---> Package php.i686 0:5.3.3-22.el6 will be installed
--> Processing Dependency: php-common(x86-32) = 5.3.3-22.el6 for package: php-5.3.3-22.el6.i686
--> Processing Dependency: php-cli(x86-32) = 5.3.3-22.el6 for package: php-5.3.3-22.el6.i686
---> Package php-gd.i686 0:5.3.3-22.el6 will be installed
---> Package php-odbc.i686 0:5.3.3-22.el6 will be installed
--> Processing Dependency: php-pdo(x86-32) for package: php-odbc-5.3.3-22.el6.i686
--> Processing Dependency: libodbc.so.2 for package: php-odbc-5.3.3-22.el6.i686
---> Package php-pear.noarch 1:1.9.4-4.el6 will be installed
---> Package php-pgsql.i686 0:5.3.3-22.el6 will be installed
---> Package php-tidy.i686 0:5.3.3-22.el6 will be installed
--> Processing Dependency: libtidy-0.99.so.0 for package: php-tidy-5.3.3-22.el6.i686
---> Package php-xml.i686 0:5.3.3-22.el6 will be installed
---> Package postgresql.i686 0:8.4.13-1.el6_3 will be installed
---> Package postgresql-devel.i686 0:8.4.13-1.el6_3 will be installed
---> Package postgresql-libs.i686 0:8.4.13-1.el6_3 will be installed
---> Package postgresql-server.i686 0:8.4.13-1.el6_3 will be installed
---> Package rpmdevtools.noarch 0:7.5-2.el6 will be installed
--> Processing Dependency: rpm-build >= 4.4.2.1 for package: rpmdevtools-7.5-2.el6.noarch
--> Processing Dependency: fakeroot for package: rpmdevtools-7.5-2.el6.noarch
---> Package rrdtool.i686 0:1.3.8-6.el6 will be installed
--> Processing Dependency: dejavu-sans-mono-fonts for package: rrdtool-1.3.8-6.el6.i686
--> Processing Dependency: dejavu-lgc-sans-mono-fonts for package: rrdtool-1.3.8-6.el6.i686
---> Package xinetd.i686 2:2.3.14-38.el6 will be installed
--> Running transaction check
---> Package apr.i686 0:1.3.9-5.el6_2 will be installed
---> Package apr-util.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package apr-util-ldap.i686 0:1.3.9-3.el6_0.1 will be installed
---> Package dejavu-lgc-sans-mono-fonts.noarch 0:2.30-2.el6 will be installed
---> Package dejavu-sans-mono-fonts.noarch 0:2.30-2.el6 will be installed
---> Package fakeroot.i686 0:1.12.2-22.2.el6 will be installed
--> Processing Dependency: fakeroot-libs = 1.12.2-22.2.el6 for package: fakeroot-1.12.2-22.2.el6.i686
---> Package fontconfig-devel.i686 0:2.8.0-3.el6 will be installed
---> Package freetype-devel.i686 0:2.3.11-14.el6_3.1 will be installed
---> Package httpd-tools.i686 0:2.2.15-28.el6.centos will be installed
---> Package krb5-devel.i686 0:1.10.3-10.el6_4.3 will be installed
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.10.3-10.el6_4.3.i686
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.10.3-10.el6_4.3.i686
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.10.3-10.el6_4.3.i686
---> Package libX11-devel.i686 0:1.5.0-4.el6 will be installed
--> Processing Dependency: pkgconfig(xcb) >= 1.1.92 for package: libX11-devel-1.5.0-4.el6.i686
--> Processing Dependency: pkgconfig(xproto) for package: libX11-devel-1.5.0-4.el6.i686
--> Processing Dependency: pkgconfig(xcb) for package: libX11-devel-1.5.0-4.el6.i686
--> Processing Dependency: pkgconfig(kbproto) for package: libX11-devel-1.5.0-4.el6.i686
---> Package libXpm.i686 0:3.5.10-2.el6 will be installed
---> Package libXpm-devel.i686 0:3.5.10-2.el6 will be installed
---> Package libjpeg-turbo-devel.i686 0:1.2.1-1.el6 will be installed
---> Package libpng-devel.i686 2:1.2.49-1.el6_2 will be installed
---> Package libtidy.i686 0:0.99.0-19.20070615.1.el6 will be installed
---> Package php-cli.i686 0:5.3.3-22.el6 will be installed
---> Package php-common.i686 0:5.3.3-22.el6 will be installed
---> Package php-pdo.i686 0:5.3.3-22.el6 will be installed
---> Package rpm-build.i686 0:4.8.0-32.el6 will be installed
---> Package unixODBC.i686 0:2.2.14-12.el6_3 will be installed
--> Processing Dependency: libltdl.so.7 for package: unixODBC-2.2.14-12.el6_3.i686
---> Package zlib-devel.i686 0:1.2.3-29.el6 will be installed
--> Running transaction check
---> Package fakeroot-libs.i686 0:1.12.2-22.2.el6 will be installed
---> Package keyutils-libs-devel.i686 0:1.4-4.el6 will be installed
---> Package libcom_err-devel.i686 0:1.41.12-14.el6 will be installed
---> Package libselinux-devel.i686 0:2.0.94-5.3.el6_4.1 will be installed
--> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.3.el6_4.1.i686
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.3.el6_4.1.i686
---> Package libtool-ltdl.i686 0:2.2.6-15.5.el6 will be installed
---> Package libxcb-devel.i686 0:1.8.1-1.el6 will be installed
--> Processing Dependency: pkgconfig(xau) >= 0.99.2 for package: libxcb-devel-1.8.1-1.el6.i686
---> Package xorg-x11-proto-devel.noarch 0:7.6-25.el6 will be installed
--> Running transaction check
---> Package libXau-devel.i686 0:1.0.6-4.el6 will be installed
---> Package libsepol-devel.i686 0:2.0.41-4.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
gd i686 2.0.35-11.el6 base 141 k
gd-devel i686 2.0.35-11.el6 base 78 k
httpd i686 2.2.15-28.el6.centos updates 828 k
openssl-devel i686 1.0.0-27.el6_4.2 updates 1.1 M
php i686 5.3.3-22.el6 base 1.1 M
php-gd i686 5.3.3-22.el6 base 104 k
php-odbc i686 5.3.3-22.el6 base 49 k
php-pear noarch 1:1.9.4-4.el6 base 393 k
php-pgsql i686 5.3.3-22.el6 base 68 k
php-tidy i686 5.3.3-22.el6 base 35 k
php-xml i686 5.3.3-22.el6 base 101 k
postgresql i686 8.4.13-1.el6_3 base 2.8 M
postgresql-devel i686 8.4.13-1.el6_3 base 808 k
postgresql-libs i686 8.4.13-1.el6_3 base 204 k
postgresql-server i686 8.4.13-1.el6_3 base 3.4 M
rpmdevtools noarch 7.5-2.el6 base 109 k
rrdtool i686 1.3.8-6.el6 base 294 k
xinetd i686 2:2.3.14-38.el6 base 122 k
Installing for dependencies:
apr i686 1.3.9-5.el6_2 base 129 k
apr-util i686 1.3.9-3.el6_0.1 base 89 k
apr-util-ldap i686 1.3.9-3.el6_0.1 base 15 k
dejavu-lgc-sans-mono-fonts noarch 2.30-2.el6 base 393 k
dejavu-sans-mono-fonts noarch 2.30-2.el6 base 450 k
fakeroot i686 1.12.2-22.2.el6 base 74 k
fakeroot-libs i686 1.12.2-22.2.el6 base 23 k
fontconfig-devel i686 2.8.0-3.el6 base 209 k
freetype-devel i686 2.3.11-14.el6_3.1 updates 364 k
httpd-tools i686 2.2.15-28.el6.centos updates 73 k
keyutils-libs-devel i686 1.4-4.el6 base 28 k
krb5-devel i686 1.10.3-10.el6_4.3 updates 493 k
libX11-devel i686 1.5.0-4.el6 base 1.0 M
libXau-devel i686 1.0.6-4.el6 base 14 k
libXpm i686 3.5.10-2.el6 base 50 k
libXpm-devel i686 3.5.10-2.el6 base 33 k
libcom_err-devel i686 1.41.12-14.el6 base 31 k
libjpeg-turbo-devel i686 1.2.1-1.el6 base 96 k
libpng-devel i686 2:1.2.49-1.el6_2 base 112 k
libselinux-devel i686 2.0.94-5.3.el6_4.1 updates 136 k
libsepol-devel i686 2.0.41-4.el6 base 64 k
libtidy i686 0.99.0-19.20070615.1.el6 base 129 k
libtool-ltdl i686 2.2.6-15.5.el6 base 45 k
libxcb-devel i686 1.8.1-1.el6 base 174 k
php-cli i686 5.3.3-22.el6 base 2.2 M
php-common i686 5.3.3-22.el6 base 525 k
php-pdo i686 5.3.3-22.el6 base 74 k
rpm-build i686 4.8.0-32.el6 base 127 k
unixODBC i686 2.2.14-12.el6_3 base 382 k
xorg-x11-proto-devel noarch 7.6-25.el6 base 274 k
zlib-devel i686 1.2.3-29.el6 base 44 k
Transaction Summary
================================================================================
Install 49 Package(s)
Total download size: 19 M
Installed size: 71 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 1.9 MB/s | 19 MB 00:10
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : zlib-devel-1.2.3-29.el6.i686 1/49
Installing : freetype-devel-2.3.11-14.el6_3.1.i686 2/49
Installing : xorg-x11-proto-devel-7.6-25.el6.noarch 3/49
Installing : libXau-devel-1.0.6-4.el6.i686 4/49
Installing : libxcb-devel-1.8.1-1.el6.i686 5/49
Installing : libX11-devel-1.5.0-4.el6.i686 6/49
Installing : fontconfig-devel-2.8.0-3.el6.i686 7/49
Installing : 2:libpng-devel-1.2.49-1.el6_2.i686 8/49
Installing : libjpeg-turbo-devel-1.2.1-1.el6.i686 9/49
Installing : libcom_err-devel-1.41.12-14.el6.i686 10/49
Installing : dejavu-lgc-sans-mono-fonts-2.30-2.el6.noarch 11/49
Installing : dejavu-sans-mono-fonts-2.30-2.el6.noarch 12/49
Installing : keyutils-libs-devel-1.4-4.el6.i686 13/49
Installing : libsepol-devel-2.0.41-4.el6.i686 14/49
Installing : php-common-5.3.3-22.el6.i686 15/49
Installing : postgresql-libs-8.4.13-1.el6_3.i686 16/49
Installing : libXpm-3.5.10-2.el6.i686 17/49
Installing : apr-1.3.9-5.el6_2.i686 18/49
Installing : libselinux-devel-2.0.94-5.3.el6_4.1.i686 19/49
Installing : apr-util-1.3.9-3.el6_0.1.i686 20/49
Installing : postgresql-8.4.13-1.el6_3.i686 21/49
Installing : php-cli-5.3.3-22.el6.i686 22/49
Installing : php-pdo-5.3.3-22.el6.i686 23/49
Installing : httpd-tools-2.2.15-28.el6.centos.i686 24/49
Installing : apr-util-ldap-1.3.9-3.el6_0.1.i686 25/49
Installing : httpd-2.2.15-28.el6.centos.i686 26/49
Installing : krb5-devel-1.10.3-10.el6_4.3.i686 27/49
Installing : libXpm-devel-3.5.10-2.el6.i686 28/49
Installing : gd-2.0.35-11.el6.i686 29/49
Installing : fakeroot-libs-1.12.2-22.2.el6.i686 30/49
Installing : fakeroot-1.12.2-22.2.el6.i686 31/49
Installing : rpm-build-4.8.0-32.el6.i686 32/49
Installing : libtool-ltdl-2.2.6-15.5.el6.i686 33/49
Installing : unixODBC-2.2.14-12.el6_3.i686 34/49
Installing : libtidy-0.99.0-19.20070615.1.el6.i686 35/49
Installing : rpmdevtools-7.5-2.el6.noarch 36/49
Installing : gd-devel-2.0.35-11.el6.i686 37/49
Installing : openssl-devel-1.0.0-27.el6_4.2.i686 38/49
Installing : 1:php-pear-1.9.4-4.el6.noarch 39/49
Installing : php-tidy-5.3.3-22.el6.i686 40/49
Installing : php-odbc-5.3.3-22.el6.i686 41/49
Installing : php-5.3.3-22.el6.i686 42/49
Installing : php-pgsql-5.3.3-22.el6.i686 43/49
Installing : postgresql-server-8.4.13-1.el6_3.i686 44/49
Installing : postgresql-devel-8.4.13-1.el6_3.i686 45/49
Installing : php-gd-5.3.3-22.el6.i686 46/49
Installing : php-xml-5.3.3-22.el6.i686 47/49
Installing : rrdtool-1.3.8-6.el6.i686 48/49
Installing : 2:xinetd-2.3.14-38.el6.i686 49/49
Verifying : apr-util-1.3.9-3.el6_0.1.i686 1/49
Verifying : 2:libpng-devel-1.2.49-1.el6_2.i686 2/49
Verifying : httpd-tools-2.2.15-28.el6.centos.i686 3/49
Verifying : libtidy-0.99.0-19.20070615.1.el6.i686 4/49
Verifying : httpd-2.2.15-28.el6.centos.i686 5/49
Verifying : php-tidy-5.3.3-22.el6.i686 6/49
Verifying : libtool-ltdl-2.2.6-15.5.el6.i686 7/49
Verifying : php-gd-5.3.3-22.el6.i686 8/49
Verifying : postgresql-server-8.4.13-1.el6_3.i686 9/49
Verifying : rpmdevtools-7.5-2.el6.noarch 10/49
Verifying : libsepol-devel-2.0.41-4.el6.i686 11/49
Verifying : postgresql-8.4.13-1.el6_3.i686 12/49
Verifying : 1:php-pear-1.9.4-4.el6.noarch 13/49
Verifying : fontconfig-devel-2.8.0-3.el6.i686 14/49
Verifying : php-odbc-5.3.3-22.el6.i686 15/49
Verifying : keyutils-libs-devel-1.4-4.el6.i686 16/49
Verifying : dejavu-sans-mono-fonts-2.30-2.el6.noarch 17/49
Verifying : zlib-devel-1.2.3-29.el6.i686 18/49
Verifying : unixODBC-2.2.14-12.el6_3.i686 19/49
Verifying : libXau-devel-1.0.6-4.el6.i686 20/49
Verifying : freetype-devel-2.3.11-14.el6_3.1.i686 21/49
Verifying : apr-util-ldap-1.3.9-3.el6_0.1.i686 22/49
Verifying : openssl-devel-1.0.0-27.el6_4.2.i686 23/49
Verifying : php-5.3.3-22.el6.i686 24/49
Verifying : fakeroot-1.12.2-22.2.el6.i686 25/49
Verifying : php-common-5.3.3-22.el6.i686 26/49
Verifying : gd-devel-2.0.35-11.el6.i686 27/49
Verifying : php-xml-5.3.3-22.el6.i686 28/49
Verifying : libX11-devel-1.5.0-4.el6.i686 29/49
Verifying : dejavu-lgc-sans-mono-fonts-2.30-2.el6.noarch 30/49
Verifying : php-cli-5.3.3-22.el6.i686 31/49
Verifying : php-pdo-5.3.3-22.el6.i686 32/49
Verifying : xorg-x11-proto-devel-7.6-25.el6.noarch 33/49
Verifying : postgresql-libs-8.4.13-1.el6_3.i686 34/49
Verifying : libcom_err-devel-1.41.12-14.el6.i686 35/49
Verifying : apr-1.3.9-5.el6_2.i686 36/49
Verifying : rpm-build-4.8.0-32.el6.i686 37/49
Verifying : libselinux-devel-2.0.94-5.3.el6_4.1.i686 38/49
Verifying : libjpeg-turbo-devel-1.2.1-1.el6.i686 39/49
Verifying : libXpm-devel-3.5.10-2.el6.i686 40/49
Verifying : rrdtool-1.3.8-6.el6.i686 41/49
Verifying : gd-2.0.35-11.el6.i686 42/49
Verifying : libxcb-devel-1.8.1-1.el6.i686 43/49
Verifying : 2:xinetd-2.3.14-38.el6.i686 44/49
Verifying : postgresql-devel-8.4.13-1.el6_3.i686 45/49
Verifying : fakeroot-libs-1.12.2-22.2.el6.i686 46/49
Verifying : libXpm-3.5.10-2.el6.i686 47/49
Verifying : php-pgsql-5.3.3-22.el6.i686 48/49
Verifying : krb5-devel-1.10.3-10.el6_4.3.i686 49/49
Installed:
gd.i686 0:2.0.35-11.el6 gd-devel.i686 0:2.0.35-11.el6
httpd.i686 0:2.2.15-28.el6.centos openssl-devel.i686 0:1.0.0-27.el6_4.2
php.i686 0:5.3.3-22.el6 php-gd.i686 0:5.3.3-22.el6
php-odbc.i686 0:5.3.3-22.el6 php-pear.noarch 1:1.9.4-4.el6
php-pgsql.i686 0:5.3.3-22.el6 php-tidy.i686 0:5.3.3-22.el6
php-xml.i686 0:5.3.3-22.el6 postgresql.i686 0:8.4.13-1.el6_3
postgresql-devel.i686 0:8.4.13-1.el6_3 postgresql-libs.i686 0:8.4.13-1.el6_3
postgresql-server.i686 0:8.4.13-1.el6_3 rpmdevtools.noarch 0:7.5-2.el6
rrdtool.i686 0:1.3.8-6.el6 xinetd.i686 2:2.3.14-38.el6
Dependency Installed:
apr.i686 0:1.3.9-5.el6_2
apr-util.i686 0:1.3.9-3.el6_0.1
apr-util-ldap.i686 0:1.3.9-3.el6_0.1
dejavu-lgc-sans-mono-fonts.noarch 0:2.30-2.el6
dejavu-sans-mono-fonts.noarch 0:2.30-2.el6
fakeroot.i686 0:1.12.2-22.2.el6
fakeroot-libs.i686 0:1.12.2-22.2.el6
fontconfig-devel.i686 0:2.8.0-3.el6
freetype-devel.i686 0:2.3.11-14.el6_3.1
httpd-tools.i686 0:2.2.15-28.el6.centos
keyutils-libs-devel.i686 0:1.4-4.el6
krb5-devel.i686 0:1.10.3-10.el6_4.3
libX11-devel.i686 0:1.5.0-4.el6
libXau-devel.i686 0:1.0.6-4.el6
libXpm.i686 0:3.5.10-2.el6
libXpm-devel.i686 0:3.5.10-2.el6
libcom_err-devel.i686 0:1.41.12-14.el6
libjpeg-turbo-devel.i686 0:1.2.1-1.el6
libpng-devel.i686 2:1.2.49-1.el6_2
libselinux-devel.i686 0:2.0.94-5.3.el6_4.1
libsepol-devel.i686 0:2.0.41-4.el6
libtidy.i686 0:0.99.0-19.20070615.1.el6
libtool-ltdl.i686 0:2.2.6-15.5.el6
libxcb-devel.i686 0:1.8.1-1.el6
php-cli.i686 0:5.3.3-22.el6
php-common.i686 0:5.3.3-22.el6
php-pdo.i686 0:5.3.3-22.el6
rpm-build.i686 0:4.8.0-32.el6
unixODBC.i686 0:2.2.14-12.el6_3
xorg-x11-proto-devel.noarch 0:7.6-25.el6
zlib-devel.i686 0:1.2.3-29.el6
Complete!
Adding users and groups...
Users and groups added OK
Initializing PostgresQL...
Initializing database: [60G[[0;32m OK [0;39m]
Starting PostgresQL...
Starting postgresql service: [60G[[0;32m OK [0;39m]
Restarting PostgresQL...
Stopping postgresql service: [60G[[0;32m OK [0;39m]
Starting postgresql service: [60G[[0;32m OK [0;39m]
Database servers initialized OK
iptables: Flushing firewall rules: [60G[[0;32m OK [0;39m]
iptables: Setting chains to policy ACCEPT: filter [60G[[0;32m OK [0;39m]
iptables: Unloading modules: [60G[[0;32m OK [0;39m]
iptables: Applying firewall rules: [60G[[0;32m OK [0;39m]
Firewall rules updated OK
cp: cannot stat `nagiosxi/selinux': No such file or directory
SELinux Disabled
Archive: sourceguardian/ixed4.lin.x86-32.zip
inflating: /usr/lib/php/modules/ixed.4.3.lin
inflating: /usr/lib/php/modules/ixed.4.3ts.lin
inflating: /usr/lib/php/modules/ixed.4.4.lin
inflating: /usr/lib/php/modules/ixed.4.4ts.lin
inflating: /usr/lib/php/modules/ixed.5.0.0.lin
inflating: /usr/lib/php/modules/ixed.5.0.0ts.lin
inflating: /usr/lib/php/modules/ixed.5.0.1.lin
inflating: /usr/lib/php/modules/ixed.5.0.1ts.lin
inflating: /usr/lib/php/modules/ixed.5.0.2.lin
inflating: /usr/lib/php/modules/ixed.5.0.2ts.lin
inflating: /usr/lib/php/modules/ixed.5.0.lin
inflating: /usr/lib/php/modules/ixed.5.0ts.lin
inflating: /usr/lib/php/modules/ixed.5.1.lin
inflating: /usr/lib/php/modules/ixed.5.1ts.lin
inflating: /usr/lib/php/modules/ixed.5.2.lin
inflating: /usr/lib/php/modules/ixed.5.2ts.lin
inflating: /usr/lib/php/modules/ixed.5.3.lin
inflating: /usr/lib/php/modules/ixed.5.3ts.lin
Archive: sourceguardian/ixed4.lin.x86-32.zip
inflating: /usr/lib/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Adding Sourceguardian extension to php.ini
Stopping httpd: [60G[[0;31mFAILED[0;39m]
Starting httpd: [60G[[0;32m OK [0;39m]
Installed SourceGuardian loaders
Creating product directory...
Reloading httpd:
Creating postgres database and user...
-bash: /root/nagiosfusion/nagiosfusion/create_postgres_db.sh: Permission denied
Nagios Fusion Installation Log
==========================
DATE: Mon Jun 17 16:28:44 EDT 2013
DISTRO INFO:
CentOS
6.4
i686
THIS IS AN UPGRADE!
OLD VERSION:
full=2012R1.5
major=2012
minor=R1.5
releasedate=2012-01-17
release=205
INSTALLING:
full=2012R1.5
major=2012
minor=R1.5
releasedate=2012-01-17
release=205
Yum already configured - exiting.
Prereqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run 'yum update'
Users/groups already configured - skipping.
Database servers already initialized - skipping.
iptables: Flushing firewall rules: [60G[[0;32m OK [0;39m]
iptables: Setting chains to policy ACCEPT: filter [60G[[0;32m OK [0;39m]
iptables: Unloading modules: [60G[[0;32m OK [0;39m]
iptables: Applying firewall rules: [60G[[0;32m OK [0;39m]
Firewall rules updated OK
cp: cannot stat `nagiosxi/selinux': No such file or directory
SELinux Disabled
Sourceguardian already installed
Creating product directory...
Reloading httpd:
Creating postgres database and user...
-bash: /root/nagiosfusion/nagiosfusion/create_postgres_db.sh: Permission denied
Nagios Fusion Installation Log
==========================
DATE: Tue Jun 18 08:24:20 EDT 2013
DISTRO INFO:
CentOS
6.4
i686
THIS IS AN UPGRADE!
OLD VERSION:
full=2012R1.5
major=2012
minor=R1.5
releasedate=2012-01-17
release=205
INSTALLING:
full=2012R1.5
major=2012
minor=R1.5
releasedate=2012-01-17
release=205
Yum already configured - exiting.
Prereqs already installed - skipping...
Note: If you want to update the RPMs installed on this system, run 'yum update'
Users/groups already configured - skipping.
Database servers already initialized - skipping.
iptables: Flushing firewall rules: [60G[[0;32m OK [0;39m]
iptables: Setting chains to policy ACCEPT: filter [60G[[0;32m OK [0;39m]
iptables: Unloading modules: [60G[[0;32m OK [0;39m]
iptables: Applying firewall rules: [60G[[0;32m OK [0;39m]
Firewall rules updated OK
cp: cannot stat `nagiosxi/selinux': No such file or directory
SELinux Disabled
Sourceguardian already installed
Creating product directory...
Reloading httpd:
Creating postgres database and user...
-bash: /root/nagiosfusion/nagiosfusion/create_postgres_db.sh: Permission denied
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Installation step failed - b-installfusion
That is exactly what he meant, and thank you. I would suggest disabling selinux entirely. Likely it is only going to allow a su - postgres and then running postgres commands. Unfortunately our script does not account for that. So try disabling, and re-run the fullinstall.
setenforce disabled
./fullinstall
setenforce disabled
./fullinstall
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Installation step failed - b-installfusion
I disabled SELinux and have the same issue 
Re: Installation step failed - b-installfusion
What is the output of:
Code: Select all
ls -la /root/nagiosfusion/nagiosfusion/create_postgres_db.shFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.