Discussion:
Core 4.2 Install MySql Error
davis226
2012-08-23 14:42:42 UTC
Permalink
davis226 [http://community.zenoss.org/people/davis226] created the discussion

"Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
I am trying to install Core 4.2 on CentOS 6.3....  I execute these commands from the install page:

# wget --no-check-certificate https://raw.github.com/zenoss/core-autodeploy/master/core-autodeploy-4.2.sh
# chmod +x core-autodeploy-4.2.sh
# ./core-autodeploy-4.2.sh
After doing so, I receive this output:

[***@myserver ~]$ wget --no-check-certificate https://raw.github.com/zenoss/core-autodeploy/master/core-autodeploy-4.2.sh https://raw.github.com/zenoss/core-autodeploy/master/core-autodeploy-4.2.sh
--2012-08-22 17:05:51--  https://raw.github.com/zenoss/core-autodeploy/master/core-autodeploy-4.2.sh https://raw.github.com/zenoss/core-autodeploy/master/core-autodeploy-4.2.sh
Resolving raw.github.com... 207.97.227.243
Connecting to raw.github.com|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7143 (7.0K) [text/plain]
Saving to: “core-autodeploy-4.2.sh”
100%[======================================>] 7,143       --.-K/s   in 0s     
2012-08-22 17:05:51 (304 MB/s) - “core-autodeploy-4.2.sh” saved [7143/7143]
[***@myserver ~]$ chmod +x core-autodeploy-4.2.sh
[***@myserver ~]$ ./core-autodeploy-4.2.sh
*It appears that the distro-supplied version of MySQL is at least partially installed.*
*Please remove these packages, as well as their dependencies (often postfix), and then*
*retry this script:*
*mysql-libs-5.1.61-4.el6.x86_64*

I am not well versed in linux....so how do I correct the MySQL dependency error?

Thanks......

--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-08-23 14:48:08 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
try `yum erase *mysql-libs*`
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
davis226
2012-08-23 15:19:59 UTC
Permalink
davis226 [http://community.zenoss.org/people/davis226] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
Thanks....that got me past the MySQL errror.  After installing all the dependencies, it got down to this part and failed:

Installing Zenoss
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: updates.interworx.info
* epel: mirror.hiwaay.net
* extras: mirror.serversurgeon.com
* updates: mirror.rackspace.com
Setting up Local Package Process
Cannot open: zenoss-4.2.0.el6.x86_64.rpm. Skipping.
Nothing to do
Configuring and Starting some Base Services
error reading information on service memcached: No such file or directory
Command failure: /sbin/chkconfig memcached on

Any other ideas?


--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-08-23 15:21:26 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
There are no errors higher up in the output?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
davis226
2012-08-23 15:26:49 UTC
Permalink
davis226 [http://community.zenoss.org/people/davis226] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
None that I see.....all dependencies downloaded and installed successfully.  Should I try rerunning the install again or will that fail since those items have already been installed?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-08-23 15:33:00 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
It won't hurt to re-run, although it mightcomplain a little about things being installed already. Do you see the RPM files in /tmp?

Also its odd that memcached is not listed as  service....
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
davis226
2012-08-23 15:36:15 UTC
Permalink
davis226 [http://community.zenoss.org/people/davis226] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
I found another post here with the same issue:  http://community.zenoss.org/thread/18286 http://community.zenoss.org/thread/18286

How do you manually download the installation files and where would I place them?

--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-08-23 15:41:03 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
try this:
cd /tmp
wget http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.0/zenoss-4.2.0.el6.x86_64.rpm/download http://sourceforge.net/projects/zenoss/files/zenoss-4.2/zenoss-4.2.0/zenoss-4.2.0.el6.x86_64.rpm/download
wget http://sourceforge.net/projects/zenoss/files/zenpacks-4.2/zenpacks-4.2.0/zenoss-core-zenpacks-4.2.0.el6.x86_64.rpm/download http://sourceforge.net/projects/zenoss/files/zenpacks-4.2/zenpacks-4.2.0/zenoss-core-zenpacks-4.2.0.el6.x86_64.rpm/download

yum -y localinstall --enablerepo=epel zenoss-4.2.0.el6.x86_64.rpm

for service in memcached snmpd zenoss; do
/sbin/chkconfig $service on
/sbin/service $service start
done

yum -y localinstall zenoss-core-zenpacks-4.2.0.el6.x86_64.rpm
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
davis226
2012-08-23 15:54:53 UTC
Permalink
davis226 [http://community.zenoss.org/people/davis226] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
Thanks for all the asisstance.  Those commands did the trick.....

The core cause of my issue was that our corporate web filter blocked the download of those two files......

I appreciate you help.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-08-23 16:07:24 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
Glad it worked, Given this has come up, more than once the script should probably be updated to detected the files are missing.

In your case were the files not there at all, or where they incomplete?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
davis226
2012-08-23 16:15:07 UTC
Permalink
davis226 [http://community.zenoss.org/people/davis226] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
They were not there at all.....our corporate web filter had blocked downloads completely.

Thanks again!
--------------------------------------------------------------

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

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dpetzel
2012-08-24 00:22:19 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Core 4.2 Install MySql Error"

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

--------------------------------------------------------------
I just submitted a pull request to zenoss, with a minor patch to the script which will ensure the RPM actually downloaded before proceeding. Should make it clearer for other users with the same issue.
--------------------------------------------------------------

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

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