Oct 22, 2012 11:41 PM
Can't change device title - error: [Errno 111] Connection refused
-
Like (0)
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
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
Sounds like a daemon or service died. Can you try running this script: https://github.com/dpetzel/zenoss_analyzer
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 docs/DOC-13400
OK - You are running with the suggested amount of CPU Cores. 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 rabbit@zenoss: nodedown
DIAGNOSTICS
===========
nodes in question: [rabbit@zenoss]
hosts, their running nodes and ports:
- zenoss: [{rabbitmqctl8811,50942}]
current node details:
- node name: rabbitmqctl8811@zenoss
- home dir: /var/lib/rabbitmq
- cookie hash: 84aXe1PgvZWWhO/1k30glQ==
ERROR - Configured amqpuser ("zenoss") missing inside rabbitmq
Error: unable to connect to node rabbit@zenoss: nodedown
DIAGNOSTICS
===========
nodes in question: [rabbit@zenoss]
hosts, their running nodes and ports:
- zenoss: [{rabbitmqctl8851,50414}]
current node details:
- node name: rabbitmqctl8851@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 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:
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 docs/DOC-13400
OK - You are running with the suggested amount of CPU Cores. 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 rabbit@zenoss: nodedown
DIAGNOSTICS
===========
nodes in question: [rabbit@zenoss]
hosts, their running nodes and ports:
- zenoss: [{rabbitmqctl20211,54912}]
current node details:
- node name: rabbitmqctl20211@zenoss
- home dir: /var/lib/rabbitmq
- cookie hash: 84aXe1PgvZWWhO/1k30glQ==
ERROR - Configured amqpuser ("zenoss") missing inside rabbitmq
Error: unable to connect to node rabbit@zenoss: nodedown
DIAGNOSTICS
===========
nodes in question: [rabbit@zenoss]
hosts, their running nodes and ports:
- zenoss: [{rabbitmqctl20251,41093}]
current node details:
- node name: rabbitmqctl20251@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 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:
Doug:
This wont work because of the rabbit issue I dont believe.
--Shane
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.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||