I'm running RHEL 6 64bit, and I am experiencing a few bugs in the auto-deploy script. I'm hoping someone could help (before I go to manual install mode).
Linux 2.6.32-279.22.1.el6.i686 #1 SMP Sun Jan 13 09:20:24 EST 2013 i686 i686 i386 GNU/Linux
Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
12G RAM
-------------------------------------------------------------
+ echo 'Downloading Oracle JRE'
Downloading Oracle JRE
+ try wget -N -O jre-6u31-linux-x64-rpm.bin 'http://javadl.sun.com/webapps/download/AutoDL?BundleId=59622'
+ wget -N -O jre-6u31-linux-x64-rpm.bin 'http://javadl.sun.com/webapps/download/AutoDL?BundleId=59622'
WARNING: timestamping does nothing in combination with -O. See the manual
for details.
--2013-05-10 09:03:44-- http://javadl.sun.com/webapps/download/AutoDL?BundleId=59622
Connecting to x.x.x.x:xxxx... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Connecting to x.x.x.x:xxxx... connected.
Proxy request sent, awaiting response... 200 OK
Length: 20713803 (20M) [application/x-sdlc]
Saving to: “jre-6u31-linux-x64-rpm.bin”
100%[=========================================================================================================>] 20,713,803 3.47M/s in 6.7s
2013-05-10 09:03:51 (2.96 MB/s) - “jre-6u31-linux-x64-rpm.bin” saved [20713803/20713803]
+ '[' 0 -ne 0 ']'
+ try chmod +x jre-6u31-linux-x64-rpm.bin
+ chmod +x jre-6u31-linux-x64-rpm.bin
+ '[' 0 -ne 0 ']'
+ echo 'Installing JRE'
Installing JRE
+ try ./jre-6u31-linux-x64-rpm.bin
+ ./jre-6u31-linux-x64-rpm.bin
Unpacking...
Checksumming...
Extracting...
./jre-6u31-linux-x64-rpm.bin: line 88: ./install.sfx.2724: cannot execute binary file
Done.
+ '[' 0 -ne 0 ']'
+ echo 'Downloading and installing MySQL RPMs'
Downloading and installing MySQL RPMs
+ for file in '$mysql_client_rpm' '$mysql_server_rpm' '$mysql_shared_rpm' '$mysql_compat_rpm'
+ '[' '!' -f MySQL-client-5.5.28-1.linux2.6.x86_64.rpm ']'
+ try wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-client-5.5.28-1.linux2.6.x86_64.rpm
+ wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-client-5.5.28-1.linux2.6.x86_64.rpm
--2013-05-10 09:03:51-- http://wiki.zenoss.org/download/core/mysql/MySQL-client-5.5.28-1.linux2.6.x86_64.rpm
Connecting to x.x.x.x:xxxx... connected.
Proxy request sent, awaiting response... 200 OK
Length: 17643830 (17M) [application/x-redhat-package-manager]
Saving to: “MySQL-client-5.5.28-1.linux2.6.x86_64.rpm”
100%[=========================================================================================================>] 17,643,830 368K/s in 17s
2013-05-10 09:04:08 (1.01 MB/s) - “MySQL-client-5.5.28-1.linux2.6.x86_64.rpm” saved [17643830/17643830]
+ '[' 0 -ne 0 ']'
+ '[' '!' -f MySQL-client-5.5.28-1.linux2.6.x86_64.rpm ']'
+ try yum -y --nogpgcheck localinstall MySQL-client-5.5.28-1.linux2.6.x86_64.rpm
+ yum -y --nogpgcheck localinstall MySQL-client-5.5.28-1.linux2.6.x86_64.rpm
Loaded plugins: refresh-packagekit, rhnplugin, security
Setting up Local Package Process
Examining MySQL-client-5.5.28-1.linux2.6.x86_64.rpm: MySQL-client-5.5.28-1.linux2.6.x86_64
Cannot add package MySQL-client-5.5.28-1.linux2.6.x86_64.rpm to transaction. Not a compatible architecture: x86_64
Nothing to do
+ '[' 0 -ne 0 ']'
+ for file in '$mysql_client_rpm' '$mysql_server_rpm' '$mysql_shared_rpm' '$mysql_compat_rpm'
+ '[' '!' -f MySQL-server-5.5.28-1.linux2.6.x86_64.rpm ']'
+ try wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-server-5.5.28-1.linux2.6.x86_64.rpm
+ wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-server-5.5.28-1.linux2.6.x86_64.rpm
--2013-05-10 09:04:09-- http://wiki.zenoss.org/download/core/mysql/MySQL-server-5.5.28-1.linux2.6.x86_64.rpm
Connecting to x.x.x.x:xxxx... connected.
Proxy request sent, awaiting response... 200 OK
Length: 53525543 (51M) [application/x-redhat-package-manager]
Saving to: “MySQL-server-5.5.28-1.linux2.6.x86_64.rpm”
100%[=========================================================================================================>] 53,525,543 150K/s in 76s
2013-05-10 09:05:25 (688 KB/s) - “MySQL-server-5.5.28-1.linux2.6.x86_64.rpm” saved [53525543/53525543]
+ '[' 0 -ne 0 ']'
+ '[' '!' -f MySQL-server-5.5.28-1.linux2.6.x86_64.rpm ']'
+ try yum -y --nogpgcheck localinstall MySQL-server-5.5.28-1.linux2.6.x86_64.rpm
+ yum -y --nogpgcheck localinstall MySQL-server-5.5.28-1.linux2.6.x86_64.rpm
Loaded plugins: refresh-packagekit, rhnplugin, security
Setting up Local Package Process
Examining MySQL-server-5.5.28-1.linux2.6.x86_64.rpm: MySQL-server-5.5.28-1.linux2.6.x86_64
Cannot add package MySQL-server-5.5.28-1.linux2.6.x86_64.rpm to transaction. Not a compatible architecture: x86_64
Nothing to do
+ '[' 0 -ne 0 ']'
+ for file in '$mysql_client_rpm' '$mysql_server_rpm' '$mysql_shared_rpm' '$mysql_compat_rpm'
+ '[' '!' -f MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm ']'
+ try wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm
+ wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm
--2013-05-10 09:05:25-- http://wiki.zenoss.org/download/core/mysql/MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm
Connecting to x.x.x.x:xxxx... connected.
Proxy request sent, awaiting response... 200 OK
Length: 2012747 (1.9M) [application/x-redhat-package-manager]
Saving to: “MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm”
100%[=========================================================================================================>] 2,012,747 534K/s in 3.8s
2013-05-10 09:05:29 (521 KB/s) - “MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm” saved [2012747/2012747]
+ '[' 0 -ne 0 ']'
+ '[' '!' -f MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm ']'
+ try yum -y --nogpgcheck localinstall MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm
+ yum -y --nogpgcheck localinstall MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm
Loaded plugins: refresh-packagekit, rhnplugin, security
Setting up Local Package Process
Examining MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm: MySQL-shared-5.5.28-1.linux2.6.x86_64
Cannot add package MySQL-shared-5.5.28-1.linux2.6.x86_64.rpm to transaction. Not a compatible architecture: x86_64
Nothing to do
+ '[' 0 -ne 0 ']'
+ for file in '$mysql_client_rpm' '$mysql_server_rpm' '$mysql_shared_rpm' '$mysql_compat_rpm'
+ '[' '!' -f MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm ']'
+ try wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm
+ wget -N http://wiki.zenoss.org/download/core/mysql/MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm
--2013-05-10 09:05:29-- http://wiki.zenoss.org/download/core/mysql/MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm
Connecting to x.x.x.x:xxxx... connected.
Proxy request sent, awaiting response... 200 OK
Length: 5175531 (4.9M) [application/x-redhat-package-manager]
Saving to: “MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm”
100%[=========================================================================================================>] 5,175,531 541K/s in 9.3s
2013-05-10 09:05:38 (546 KB/s) - “MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm” saved [5175531/5175531]
+ '[' 0 -ne 0 ']'
+ '[' '!' -f MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm ']'
+ try yum -y --nogpgcheck localinstall MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm
+ yum -y --nogpgcheck localinstall MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm
Loaded plugins: refresh-packagekit, rhnplugin, security
Setting up Local Package Process
Examining MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm: MySQL-shared-compat-5.5.28-1.linux2.6.x86_64
Cannot add package MySQL-shared-compat-5.5.28-1.linux2.6.x86_64.rpm to transaction. Not a compatible architecture: x86_64
Nothing to do
+ '[' 0 -ne 0 ']'
+ echo 'Installing optimal /etc/my.cnf settings'
Installing optimal /etc/my.cnf settings
+ cat
+ echo 'Configuring MySQL'
Configuring MySQL
+ enable_service mysql
+ try /sbin/chkconfig mysql on
+ /sbin/chkconfig mysql on
error reading information on service mysql: No such file or directory
+ '[' 1 -ne 0 ']'
+ echo 'Command failure: /sbin/chkconfig' mysql on
Command failure: /sbin/chkconfig mysql on
+ exit 1