Discussion:
Can't change device title - error: [Errno 111] Connection refused
Doug C
2012-10-23 03:41:41 UTC
Permalink
Doug C [http://community.zenoss.org/people/thedukeness] created the discussion

"Can't change device title - error: [Errno 111] Connection refused"

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

--------------------------------------------------------------
When I added a bunch of devices it set the Device Title to the DNS name.  I'm going through and changing the Device Title in a number of the devices and about half went through no problem but the other half won't let me change them.  An "unable to connect to server" pop up flashes for a split second and then goes away.  It seems like it went through but then the name is not changed.  In the event.log I get the following error:

2012-10-22T20:30:29 ERROR Zope.SiteErrorLog 1350963029.430.644331978856 https://zenoss.mydomain.com/zport/dmd/Devices/Network/devices/gw-colo.mydomain.com/device_router https://zenoss.mydomain.com/zport/dmd/Devices/Network/devices/gw-colo.mydomain.com/device_router
Traceback (innermost last):
  Module ZPublisher.Publish, line 134, in publish
  Module Zope2.App.startup, line 301, in commit
  Module transaction._manager, line 89, in commit
  Module transaction._transaction, line 327, in commit
  Module transaction._transaction, line 397, in _callBeforeCommitHooks
  Module Products.ZenMessaging.queuemessaging.publisher, line 235, in beforeCompletionHook
  Module Products.ZenMessaging.queuemessaging.publisher, line 380, in channel
  Module zenoss.protocols.amqp, line 58, in getChannel
  Module amqplib.client_0_8.connection, line 129, in __init__
  Module amqplib.client_0_8.transport, line 281, in create_transport
  Module amqplib.client_0_8.transport, line 85, in __init__
error: [Errno 111] Connection refused
--------------------------------------------------------------

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

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-10-23 12:17:33 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Can't change device title - error: [Errno 111] Connection refused"

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

--------------------------------------------------------------
Sounds like a daemon or service died. Can you try running this script: https://github.com/dpetzel/zenoss_analyzer https://github.com/dpetzel/zenoss_analyzer
--------------------------------------------------------------

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

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]
Doug C
2012-10-23 17:35:14 UTC
Permalink
Doug C [http://community.zenoss.org/people/thedukeness] created the discussion

"Re: Can't change device title - error: [Errno 111] Connection refused"

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

--------------------------------------------------------------
Hi David.  I found reference to this utility in another post and ran it.  Here's what I got at first:

/////////////////////////////////////////////////
/////////////////////////////////////////////////

//// Analyzing on zenoss.dashbox.com

/////////////////////////////////////////////////
/////////////////////////////////////////////////
Connecting to your Zenoss Database to gather Additional Information
NO CHANGES WILL BE MADE
You Are Running Version 4.2.0
WARNING - 3833MB is less than the suggested minimum amount of RAM. Please see http://community.zenoss.org/docs/DOC-13400 http://community.zenoss.org/docs/DOC-13400
OK - You are running with the suggested amount of CPU Cores. http://community.zenoss.org/docs/DOC-13400 http://community.zenoss.org/docs/DOC-13400
OK - zenoss User Exists
ERROR - Daemon: zenhub not running
OK - mysql service is running
ERROR - rabbitmq-server service is not running
OK - memcached service is running
Error: unable to connect to node ***@zenoss: nodedown

DIAGNOSTICS
===========

nodes in question: [***@zenoss]

hosts, their running nodes and ports:
- zenoss: [{rabbitmqctl8811,50942}]

current node details:
- node name: ***@zenoss
- home dir: /var/lib/rabbitmq
- cookie hash: 84aXe1PgvZWWhO/1k30glQ==

ERROR - Configured amqpuser ("zenoss") missing inside rabbitmq
Error: unable to connect to node ***@zenoss: nodedown

DIAGNOSTICS
===========

nodes in question: [***@zenoss]

hosts, their running nodes and ports:
- zenoss: [{rabbitmqctl8851,50414}]

current node details:
- node name: ***@zenoss
- home dir: /var/lib/rabbitmq
- cookie hash: 84aXe1PgvZWWhO/1k30glQ==

WARNING - RabbitMQ Permissions for user zenoss on vhost /zenoss are not the default.
OK - /dev/shm has the proper permissions
OK - You Appear to have installed at least one Service Pack for 4.2.0
WARNING - You have not explicitly configured file descriptors per http://community.zenoss.org/docs/DOC-13428 http://community.zenoss.org/docs/DOC-13428
Your Score : 50%
Please review the output above for suggestions and recommendations to improve your Zenoss installation
If you are interested in additional information around performance tuning, please review:
* http://community.zenoss.org/message/51111#51111 http://community.zenoss.org/message/51111
* http://community.zenoss.org/docs/DOC-13402 http://community.zenoss.org/docs/DOC-13402




Since then I ran $ZENHOME/bin/zenoss_upgrade_pre and I'm getting a less favorable result:



/////////////////////////////////////////////////
/////////////////////////////////////////////////

//// Analyzing on zenoss.dashbox.com

/////////////////////////////////////////////////
/////////////////////////////////////////////////
Connecting to your Zenoss Database to gather Additional Information
NO CHANGES WILL BE MADE
You Are Running Version 4.2.0
WARNING - 3833MB is less than the suggested minimum amount of RAM. Please see http://community.zenoss.org/docs/DOC-13400 http://community.zenoss.org/docs/DOC-13400
OK - You are running with the suggested amount of CPU Cores. http://community.zenoss.org/docs/DOC-13400 http://community.zenoss.org/docs/DOC-13400
OK - zenoss User Exists
ERROR - Daemon: zenhub not running
ERROR - Daemon: zenjmx not running
ERROR - Daemon: zenwin not running
ERROR - Daemon: zeneventlog not running
ERROR - Daemon: zenwinperf not running
OK - mysql service is running
ERROR - rabbitmq-server service is not running
OK - memcached service is running
Error: unable to connect to node ***@zenoss: nodedown

DIAGNOSTICS
===========

nodes in question: [***@zenoss]

hosts, their running nodes and ports:
- zenoss: [{rabbitmqctl20211,54912}]

current node details:
- node name: ***@zenoss
- home dir: /var/lib/rabbitmq
- cookie hash: 84aXe1PgvZWWhO/1k30glQ==

ERROR - Configured amqpuser ("zenoss") missing inside rabbitmq
Error: unable to connect to node ***@zenoss: nodedown

DIAGNOSTICS
===========

nodes in question: [***@zenoss]

hosts, their running nodes and ports:
- zenoss: [{rabbitmqctl20251,41093}]

current node details:
- node name: ***@zenoss
- home dir: /var/lib/rabbitmq
- cookie hash: 84aXe1PgvZWWhO/1k30glQ==

WARNING - RabbitMQ Permissions for user zenoss on vhost /zenoss are not the default.
OK - /dev/shm has the proper permissions
OK - You Appear to have installed at least one Service Pack for 4.2.0
WARNING - You have not explicitly configured file descriptors per http://community.zenoss.org/docs/DOC-13428 http://community.zenoss.org/docs/DOC-13428
Your Score : 37%
Please review the output above for suggestions and recommendations to improve your Zenoss installation
If you are interested in additional information around performance tuning, please review:
* http://community.zenoss.org/message/51111#51111 http://community.zenoss.org/message/51111
* http://community.zenoss.org/docs/DOC-13402 http://community.zenoss.org/docs/DOC-13402
--------------------------------------------------------------

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

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]
Shane Scott
2012-10-23 19:20:32 UTC
Permalink
Shane Scott [http://community.zenoss.org/people/hackman238] created the discussion

"Re: Can't change device title - error: [Errno 111] Connection refused"

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

--------------------------------------------------------------
Doug:

This wont work because of the rabbit issue I dont believe.

--Shane
--------------------------------------------------------------

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

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-10-26 03:14:47 UTC
Permalink
dpetzel [http://community.zenoss.org/people/dpetzel] created the discussion

"Re: Can't change device title - error: [Errno 111] Connection refused"

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

--------------------------------------------------------------
I'm with Shane. These two lines are concerning
*ERROR - Daemon: zenhub not running*
OK - mysql service is running
*ERROR - rabbitmq-server service is not running*

I'm guesing zenhub is jacked, because rabbit is unhappy. At the very least I think the script as told us you need to focus on troubleshooting the rabbitmq issues first.
--------------------------------------------------------------

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

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