Discussion:
auto-deploy fails on mysql install (RHEL 6)
Zev Mo Green
2013-05-10 13:27:30 UTC
Permalink
Zev Mo Green [http://community.zenoss.org/people/zevmo] created the discussion

"auto-deploy fails on mysql install (RHEL 6)"

To view the discussion, visit: http://community.zenoss.org/message/73115#73115

--------------------------------------------------------------
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 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 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 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
Location: http://sdlc-esd.sun.com/ESD6/JSCDL/jdk/6u31-b04/jre-6u31-linux-x64-rpm.bin?AuthParam=1368191145_128eed9d2638e0f216f12453ed7ca96e&GroupName=JSC&FilePath=/ESD6/JSCDL/jdk/6u31-b04/jre-6u31-linux-x64-rpm.bin&File=jre-6u31-linux-x64-rpm.bin&BHost=javadl.sun.com http://sdlc-esd.sun.com/ESD6/JSCDL/jdk/6u31-b04/jre-6u31-linux-x64-rpm.bin?AuthParam=1368191145_128eed9d2638e0f216f12453ed7ca96e&GroupName=JSC&FilePath=/ESD6/JSCDL/jdk/6u31-b04/jre-6u31-linux-x64-rpm.bin&File=jre-6u31-linux-x64-rpm.bin&BHost=javadl.sun.com [following]
--2013-05-10 09:03:44-- http://sdlc-esd.sun.com/ESD6/JSCDL/jdk/6u31-b04/jre-6u31-linux-x64-rpm.bin?AuthParam=1368191145_128eed9d2638e0f216f12453ed7ca96e&GroupName=JSC&FilePath=/ESD6/JSCDL/jdk/6u31-b04/jre-6u31-linux-x64-rpm.bin&File=jre-6u31-linux-x64-rpm.bin&BHost=javadl.sun.com http://sdlc-esd.sun.com/ESD6/JSCDL/jdk/6u31-b04/jre-6u31-linux-x64-rpm.bin?AuthParam=1368191145_128eed9d2638e0f216f12453ed7ca96e&GroupName=JSC&FilePath=/ESD6/JSCDL/jdk/6u31-b04/jre-6u31-linux-x64-rpm.bin&File=jre-6u31-linux-x64-rpm.bin&BHost=javadl.sun.com
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 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 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 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 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 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 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 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 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 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 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 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 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
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73115#73115]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Andrew Kirch
2013-05-10 13:53:02 UTC
Permalink
Andrew Kirch [http://community.zenoss.org/people/akirch] created the discussion

"Re: auto-deploy fails on mysql install (RHEL 6)"

To view the discussion, visit: http://community.zenoss.org/message/73116#73116

--------------------------------------------------------------
Zev,

Zenoss requires 4gb of ram for <200 devices and 8gb of ram thereafter.  Therefore you must run an AMD64(x86_64) verson of Centos.  For more information please see the wiki for a list of http://wiki.zenoss.org/Install_Zenoss#Supported_Operating_Systems Supported Operating Systems.

Andrew Kirch
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73116#73116]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Zev Mo Green
2013-05-10 14:06:15 UTC
Permalink
Zev Mo Green [http://community.zenoss.org/people/zevmo] created the discussion

"Re: auto-deploy fails on mysql install (RHEL 6)"

To view the discussion, visit: http://community.zenoss.org/message/73117#73117

--------------------------------------------------------------
According to the supported OS list, "Red Hat Enterprise Linux 64-bit 6.x (recommended) or 5.x" is exactly what I am running.

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
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73117#73117]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Andrew Kirch
2013-05-10 14:24:08 UTC
Permalink
Andrew Kirch [http://community.zenoss.org/people/akirch] created the discussion

"Re: auto-deploy fails on mysql install (RHEL 6)"

To view the discussion, visit: http://community.zenoss.org/message/73118#73118

--------------------------------------------------------------
Zev,

Please take a look again at the uname -a you posted...
Yours:
Linux 2.6.32-279.22.1.el6.i686 <--- i686.
Mine:
Linux  2.6.32-358.el6.x86_64 <-- x86_64
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73118#73118]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
nilie
2013-05-10 15:00:52 UTC
Permalink
nilie [http://community.zenoss.org/people/nilie] created the discussion

"Re: auto-deploy fails on mysql install (RHEL 6)"

To view the discussion, visit: http://community.zenoss.org/message/73120#73120

--------------------------------------------------------------
You need 64bit Linux and yours is 32bit. Only 64bit Linux is supported for Zenoss v4.x installations.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73120#73120]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Zev Mo Green
2013-05-10 15:54:12 UTC
Permalink
Zev Mo Green [http://community.zenoss.org/people/zevmo] created the discussion

"Re: auto-deploy fails on mysql install (RHEL 6)"

To view the discussion, visit: http://community.zenoss.org/message/73152#73152

--------------------------------------------------------------
Damn, wrong kickstart used.  Don't know why I didn't see that.  Thanks!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73152#73152]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...