Discussion:
Install using the install script
Ben Whetter
2013-07-25 11:24:31 UTC
Permalink
Ben Whetter [http://community.zenoss.org/people/bentenens] created the discussion

"Install using the install script"

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

--------------------------------------------------------------
Hi,

Very green around the whole issue of Zenoss installs, so please be gentle! I have run the core-autodeploy script as per this page http://wiki.zenoss.org/Install_Zenoss, but when I get to the rabbitmq start, it fails with the error:

+Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}+
+rabbitmq-server.+
+Command failure: /sbin/service rabbitmq-server start+

So I check startup_log:

+Activating RabbitMQ plugins ...+
+0 plugins activated:+

+node with name "rabbit" already running on "Zenoss"+

+DIAGNOSTICS+
+===========+

+nodes in question: [***@Zenoss]+

+hosts, their running nodes and ports:+
+- Zenoss: [{rabbit,39375}]+

+current node details:+
+- node name: ***@Zenoss+
+- home dir: /var/lib/rabbitmq+
+- cookie hash: H7PbyCCnYO6ukRaujpJUPA==+

startup_err has no info.

Zenoss Gods, before I incur your wrath I have tried Google, yes, so put the Caps Lock down. I tried this:

http://community.zenoss.org/thread/18927

And also this:

http://www.couyon.net/1/post/2012/07/so-you-want-to-run-rabbitmq-on-rhelcentos-6.html

But have mercy Zenoss Gods as you have to know the magic words to put into Google before the correct answers come out. And as a new user to Zenoss, I have no idea what to ask about, hence I am here.

I am using Centos 6.4 (64 bit) with whatever version of Zenoss the script pulls down.

Any help appreciated.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2013-07-25 13:16:04 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
I had really good luck using a clean install of Scientific Linux (or CENTOS) 6.3 and newer and the autodeploy script. You can't use the autodeploy script to update from, say, 4.2.3 to 4.2.4. If you're doing a new install, I don't know how you'd already have the rabbitmq already running. Maybe do a new OS install, and run the script?

If you're doing an upgrade, you already have the queue created... ?

--
James Pulver
ZCA Member
CLASSE Computer Group
Cornell University
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ben Whetter
2013-07-25 13:21:46 UTC
Permalink
Ben Whetter [http://community.zenoss.org/people/bentenens] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
Hi,

Thanks for getting back. Not sure myself how I have rabbitmq already running. Fresh install of Centos. Do I need to do the very basic Centos install then?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2013-07-25 13:34:21 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
The most basic install is recommended from the community if you're not conversant with Zenoss and Centos...

--
James Pulver
ZCA Member
CLASSE Computer Group
Cornell University
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ben Whetter
2013-07-25 15:50:32 UTC
Permalink
Ben Whetter [http://community.zenoss.org/people/bentenens] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
OK, so I have just done a clean install of CentOS with minimal installation, and tried the script, same error:


+Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}+
+rabbitmq-server.+
+Command failure: /sbin/service rabbitmq-server start+


Ahhhhh!
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-07-25 16:05:57 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
Ben,

Just a few questions.....which version of CentOS did you install, did you fully patch/update it before running the install script, and what version of rabbitmq-server are you running?

You might also try the below command to see if it helps:
chown -R rabbitmq:rabbitmq /var/lib/rabbitmq/mnesia

Hydruid
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ben Whetter
2013-07-26 14:33:42 UTC
Permalink
Ben Whetter [http://community.zenoss.org/people/bentenens] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
Hi,

I'm using CentOS 6.4, and have tried patching fully, and using the "chown -R rabbitmq:rabbitmq /var/lib/rabbitmq/mnesia" as you suggested. Neither of which has worked. I don't know the version of rabbitmq, it's whatever gets pulled down with the install script. Very strange...

Ben
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-07-26 14:38:56 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
Do you mind providing a copy of your /etc/hosts file? Just curious about
one thing.
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ben Whetter
2013-07-26 14:45:15 UTC
Permalink
Ben Whetter [http://community.zenoss.org/people/bentenens] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
No problem:

"[***@zenoss ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
[***@zenoss ~]#
"
--------------------------------------------------------------

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

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

"Re: Install using the install script"

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

--------------------------------------------------------------
Maybe we're looking at this with the wrong angle, can you confirm that
rabbit is installed and the version?

Something like:

rpm -qa | grep rabbit
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ben Whetter
2013-07-26 15:11:20 UTC
Permalink
Ben Whetter [http://community.zenoss.org/people/bentenens] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
Hi,

The rabbit version is rabbitmq-server-2.8.7-1.noarch. Incase it makes a difference, I am running the install through a proxy?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-07-26 15:18:29 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
Ben.....that makes a huge difference, I've helped people who have issues
that are forced to use a proxy to access the internet. There are certain
calls in the script to download files (e.g. Maven .pom files) that don't
seem to play nice with a proxy.

Any chance you could bypass the proxy during the install?
--------------------------------------------------------------

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

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

"Re: Install using the install script"

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

--------------------------------------------------------------
Just received this information in IRC:
(10:33:18 AM) trelane: hydruid, if curl/wget are set up to use a proxy it should play nicely
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ben Whetter
2013-07-29 12:01:48 UTC
Permalink
Ben Whetter [http://community.zenoss.org/people/bentenens] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
Hi I can confirm it is not the Proxy as I have done a proxy free install and it still wont work.
--------------------------------------------------------------

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

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

"Re: Install using the install script"

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

--------------------------------------------------------------
Same error with no proxy?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ben Whetter
2013-07-29 12:59:36 UTC
Permalink
Ben Whetter [http://community.zenoss.org/people/bentenens] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
Yes thats correct. No proxy and a fresh install of CentOS 6.4 on a different virtual plaform.
--------------------------------------------------------------

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

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

"Re: Install using the install script"

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

--------------------------------------------------------------
I will spin up a fresh VM and see what happens, you used the minimal iso
correct?
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ben Whetter
2013-07-29 13:05:44 UTC
Permalink
Ben Whetter [http://community.zenoss.org/people/bentenens] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
Hi,

I used CentOS-6.4-x86_64-bin-DVD1.iso, and then selected the minimal install.
--------------------------------------------------------------

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

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

"Re: Install using the install script"

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

--------------------------------------------------------------
I use the minimal CentOS installer.  I find it's best to make sure you don't get junk you don't need.  I have been trying to do a manual install (no auto install script) because I prefer to list out the steps myself and I have been running into a bunch of issues.

I will try a clean install of CentOS 6.4 minimal with the autodeploy script today and provide my feedback.

Manuel
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
themactech
2013-07-29 17:10:20 UTC
Permalink
themactech [http://community.zenoss.org/people/themactech] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
Ok, installed from CentOS minimal, then here is what I did:

-Configured the ethernet for fixed IP
-Set DNS
-Created zenoss user
-Added zenoss user to sudoer's file
-Installed some miscelleanous packages I will need for my zenpacks
-Installed Webmin
-Set NTP sync
-Updated packages
-Set up BIND (my zenoss machines are always their own DNS server, I set forwarder for outside resolution)
-Disabled SELINUX

I then did the autodeploy script procedure, and all worked fine, zenoss is up.

Manuel
--------------------------------------------------------------

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

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-07-29 17:19:34 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Install using the install script"

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

--------------------------------------------------------------
I was able to successfully install on CentOS 6.4 minimal install, no issues
once I added that VM to be excluded from our internet filter.

Basic steps I followed:
yum update
reboot
yum update
cd zenoss-core-autodeploy-*
./core-autodeploy.sh
yum install wget
1. Removed a few other mysql packages but had to run the script twice (was
blocked by content filter)
yum remove mysql-libs-5.1.69-1.el6_4.x86_64
./core-autodeploy.sh
--------------------------------------------------------------

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

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

"Re: Install using the install script"

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

--------------------------------------------------------------
Just to let you know, that I tried again recently and it all went through first time. Not sure what went wrong there. Thanks to everyone for their help.
--------------------------------------------------------------

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

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

"Re: Install using the install script"

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

--------------------------------------------------------------
Glad to hear you got it working!
--------------------------------------------------------------

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

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