Hy everyone,
i try since some days to change IP address on my servers. I use this post message/71469#71469 but it doens't work for me.
/etc/hosts :
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 alertcaserne.xxxxx alertcaserne
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
/etc/sysconfig/network :
NETWORKING=yes
HOSTNAME=alertcaserne.xxxxx
/etc/resolv.conf :
nameserver my dns ip server
domain xxxxx
search xxxxx
/etc/rabbitmq/rabbitmq-env.conf :
HOSTNAME=alertcaserne
NODENAME=rabbit@alertcaserne
[root@alertcaserne ~]# service zenoss status
Daemon: zeneventserver program running; pid=2015
Daemon: zopectl program running; pid=2105
Daemon: zenhub program running; pid=2155
Daemon: zenjobs program running; pid=2199
Daemon: zeneventd program running; pid=2244
Daemon: zenping program running; pid=2353
Daemon: zensyslog program running; pid=2577
Daemon: zenstatus program running; pid=2422
Daemon: zenactiond program running; pid=2451
Daemon: zentrap program running; pid=2584
Daemon: zenmodeler program running; pid=2522
Daemon: zenperfsnmp program running; pid=2598
Daemon: zencommand program running; pid=2634
Daemon: zenprocess program running; pid=2669
Daemon: zenrrdcached program running; pid=2670
Daemon: zenjmx program running; pid=2729
Daemon: zeneventlog program running; pid=2800
Daemon: zenwin program running; pid=2842
Daemon: zenwinperf program running; pid=2879
/var/log/rabbit/rabbit@localhost.log :
=INFO REPORT==== 9-Apr-2013::11:17:02 ===
accepting AMQP connection <0.304.0> ([::1]:54249 -> [::1]:5672)
=ERROR REPORT==== 9-Apr-2013::11:17:03 ===
closing AMQP connection <0.287.0> ([::1]:54245 -> [::1]:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
=INFO REPORT==== 9-Apr-2013::11:17:03 ===
accepting AMQP connection <0.308.0> ([::1]:54250 -> [::1]:5672)
=ERROR REPORT==== 9-Apr-2013::11:17:04 ===
closing AMQP connection <0.291.0> ([::1]:54246 -> [::1]:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
=ERROR REPORT==== 9-Apr-2013::11:17:04 ===
closing AMQP connection <0.295.0> ([::1]:54247 -> [::1]:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
=ERROR REPORT==== 9-Apr-2013::11:17:05 ===
closing AMQP connection <0.300.0> ([::1]:54248 -> [::1]:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
=INFO REPORT==== 9-Apr-2013::11:17:05 ===
accepting AMQP connection <0.312.0> ([::1]:54251 -> [::1]:5672)
=ERROR REPORT==== 9-Apr-2013::11:17:05 ===
closing AMQP connection <0.304.0> ([::1]:54249 -> [::1]:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
=INFO REPORT==== 9-Apr-2013::11:17:05 ===
accepting AMQP connection <0.316.0> ([::1]:54252 -> [::1]:5672)
=ERROR REPORT==== 9-Apr-2013::11:17:06 ===
closing AMQP connection <0.308.0> ([::1]:54250 -> [::1]:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
=INFO REPORT==== 9-Apr-2013::11:17:07 ===
accepting AMQP connection <0.320.0> ([::1]:54253 -> [::1]:5672)
It's looks listening on ::1 interface password errors.
Zenoss web GUI work's but alarmes, devices ... all are empty.
[IMG]http://img24.imageshack.us/img24/7596/bugzenoss.jpg[/IMG]
I appreciate some helps ...I'm stuck and cand not upgrade my zenoss
.
somes news, I comment ::1 on my /etc/host and now errors appears on ::1 and 127.0.0.1
/var/log/rabbit/rabbit@localhost.log :
=INFO REPORT==== 9-Apr-2013::11:31:39 ===
accepting AMQP connection <0.366.0> (127.0.0.1:46095 -> 127.0.0.1:5672)
=ERROR REPORT==== 9-Apr-2013::11:31:40 ===
closing AMQP connection <0.362.0> (127.0.0.1:46094 -> 127.0.0.1:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
=INFO REPORT==== 9-Apr-2013::11:31:40 ===
accepting AMQP connection <0.370.0> (127.0.0.1:46096 -> 127.0.0.1:5672)
=INFO REPORT==== 9-Apr-2013::11:31:40 ===
accepting AMQP connection <0.374.0> ([::1]:55267 -> [::1]:5672)
=INFO REPORT==== 9-Apr-2013::11:31:41 ===
accepting AMQP connection <0.378.0> ([::1]:55268 -> [::1]:5672)
=ERROR REPORT==== 9-Apr-2013::11:31:42 ===
closing AMQP connection <0.366.0> (127.0.0.1:46095 -> 127.0.0.1:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
=INFO REPORT==== 9-Apr-2013::11:31:42 ===
accepting AMQP connection <0.382.0> (127.0.0.1:46099 -> 127.0.0.1:5672)
=ERROR REPORT==== 9-Apr-2013::11:31:43 ===
closing AMQP connection <0.370.0> (127.0.0.1:46096 -> 127.0.0.1:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
=INFO REPORT==== 9-Apr-2013::11:31:43 ===
accepting AMQP connection <0.386.0> (127.0.0.1:46100 -> 127.0.0.1:5672)
=ERROR REPORT==== 9-Apr-2013::11:31:43 ===
closing AMQP connection <0.374.0> ([::1]:55267 -> [::1]:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
=ERROR REPORT==== 9-Apr-2013::11:31:44 ===
closing AMQP connection <0.378.0> ([::1]:55268 -> [::1]:5672):
{channel0_error,starting,
{amqp_error,access_refused,
"AMQPLAIN login refused: user 'zenoss' - invalid credentials",
'connection.start_ok'}}
Nothing on startup_err.log, shutdown_err.log ..
[root@alertcaserne rabbitmq]# ll
total 76
-rw-r--r-- 1 rabbitmq rabbitmq 67746 9 avril 11:33 rabbit@localhost.log
-rw-r--r-- 1 rabbitmq rabbitmq 0 9 avril 11:30 rabbit@localhost-sasl.log
-rw-r--r-- 1 root root 0 9 avril 11:30 shutdown_err
-rw-r--r-- 1 root root 56 9 avril 11:30 shutdown_log
-rw-r--r-- 1 root root 0 9 avril 11:30 startup_err
-rw-r--r-- 1 root root 3122 9 avril 11:30 startup_log
Startup_log :
+---+ +---+
| | | |
| | | |
| | | |
| +---+ +-------+
| |
| RabbitMQ +---+ |
| | | |
| v2.8.7 +---+ |
| |
+-------------------+
AMQP 0-9-1 / 0-9 / 0-8
Copyright (C) 2007-2012 VMware, Inc.
Licensed under the MPL. See http://www.rabbitmq.com/
node : rabbit@localhost
app descriptor : /usr/lib/rabbitmq/lib/rabbitmq_server-2.8.7/sbin/../ebin/rabbit.app
home dir : /var/lib/rabbitmq
config file(s) : (none)
cookie hash : lLvLRHJFovz8UZ4ypGSvCw==
log : /var/log/rabbitmq/rabbit@localhost.log
sasl log : /var/log/rabbitmq/rabbit@localhost-sasl.log
database dir : /var/lib/rabbitmq/mnesia/rabbit@localhost
erlang version : 5.8.5
-- rabbit boot start
starting file handle cache server ...done
starting worker pool ...done
starting database ...done
starting database sync ...done
starting codec correctness check ...done
-- external infrastructure ready
starting plugin registry ...done
starting auth mechanism cr-demo ...done
starting auth mechanism amqplain ...done
starting auth mechanism plain ...done
starting statistics event manager ...done
starting logging server ...done
starting exchange type direct ...done
starting exchange type fanout ...done
starting exchange type headers ...done
starting exchange type topic ...done
-- kernel ready
starting alarm handler ...done
starting node monitor ...done
starting cluster delegate ...done
starting guid generator ...done
starting memory monitor ...done
-- core initialized
starting empty DB check ...done
starting exchange, queue and binding recovery ...done
starting mirror queue slave sup ...done
starting adding mirrors to queues ...done
-- message delivery logic ready
starting error log relay ...done
starting networking ...done
starting direct client ...done
starting notify cluster nodes ...done
broker running
I compare with another install of Zenoss ..everything on Rabbit MQ configuration as disappear after i change IP address ...
it's possible to reassign Rabbit configuration ???
-------------------------------------------------------------------------------------------------------------------------------------------
[root@alertcaserne ~]# rabbitmqctl report
Reporting server status on {{2013,4,9},{12,3,24}}
Status of node rabbit@localhost ...
[{pid,1480},
{running_applications,[{rabbit,"RabbitMQ","2.8.7"},
{os_mon,"CPO CXC 138 46","2.2.7"},
{sasl,"SASL CXC 138 11","2.1.10"},
{mnesia,"MNESIA CXC 138 12","4.5"},
{stdlib,"ERTS CXC 138 10","1.17.5"},
{kernel,"ERTS CXC 138 10","2.14.5"}]},
{os,{unix,linux}},
{erlang_version,"Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:30] [kernel-poll:true]\n"},
{memory,[{total,25854992},
{processes,10554072},
{processes_used,10532928},
{system,15300920},
{atom,1139905},
{atom_used,1139294},
{binary,243424},
{code,11368014},
{ets,778272}]},
{vm_memory_high_watermark,0.4},
{vm_memory_limit,1607701299},
{disk_free_limit,1000000000},
{disk_free,47421390848},
{file_descriptors,[{total_limit,924},
{total_used,7},
{sockets_limit,829},
{sockets_used,5}]},
{processes,[{limit,1048576},{used,134}]},
{run_queue,0},
{uptime,578}]
Cluster status of node rabbit@localhost ...
[{nodes,[{disc,[rabbit@localhost]}]},{running_nodes,[rabbit@localhost]}]
Application environment of node rabbit@localhost ...
[{auth_backends,[rabbit_auth_backend_internal]},
{auth_mechanisms,['PLAIN','AMQPLAIN']},
{backing_queue_module,rabbit_variable_queue},
{cluster_nodes,[]},
{collect_statistics,none},
{collect_statistics_interval,5000},
{default_permissions,[<<".*">>,<<".*">>,<<".*">>]},
{default_user,<<"guest">>},
{default_user_tags,[administrator]},
{default_vhost,<<"/">>},
{delegate_count,16},
{disk_free_limit,1000000000},
{error_logger,{file,"/var/log/rabbitmq/rabbit@localhost.log"}},
{frame_max,131072},
{hipe_compile,false},
{included_applications,[]},
{log_levels,[{connection,info}]},
{msg_store_file_size_limit,16777216},
{msg_store_index_module,rabbit_msg_store_ets_index},
{queue_index_max_journal_entries,262144},
{sasl_error_logger,{file,"/var/log/rabbitmq/rabbit@localhost-sasl.log"}},
{server_properties,[]},
{ssl_cert_login_from,distinguished_name},
{ssl_listeners,[]},
{ssl_options,[]},
{tcp_listen_options,[binary,
{packet,raw},
{reuseaddr,true},
{backlog,128},
{nodelay,true},
{linger,{true,0}},
{exit_on_close,false}]},
{tcp_listeners,[5672]},
{trace_vhosts,[]},
{vm_memory_high_watermark,0.4}]
Connections:
Channels:
Queues on /zenoss:
Queues on /:
Exchanges on /zenoss:
name type durable auto_delete internal arguments
amq.headers headers true false false []
amq.direct direct true false false []
amq.fanout fanout true false false []
direct true false false []
amq.rabbitmq.trace topic true false false []
amq.match headers true false false []
amq.topic topic true false false []
Exchanges on /:
name type durable auto_delete internal arguments
amq.direct direct true false false []
amq.topic topic true false false []
amq.rabbitmq.trace topic true false false []
amq.rabbitmq.log topic true false false []
amq.fanout fanout true false false []
amq.headers headers true false false []
direct true false false []
amq.match headers true false false []
Bindings on /zenoss:
Bindings on /:
Consumers on /zenoss:
Consumers on /:
Permissions on /zenoss:
Permissions on /:
user configure write read
guest .* .* .*
End of server status report
...done.
[root@alertcaserne ~]#
There is a process documented at the back of the Zenoss Admin guide that says if you change the IP address or hostname then you effectively have to recreate your rabbit stuff. It is under section 14.8 - "Host Name Changes" and gives you the process to follow.
If you have a new install Zenoss 4.2.3, then you will also need to modify the documented instructions slightly because your AMQP password won't be zenoss - see this append message/71139#71139 . If you upgraded from 4. to 4.2.3 then your password is probably still zenoss. Either way, check with $ZENHOME/etc/global.conf.
Other than that, the process should be quick, straightforward - and fix your problem!
Cheers,
Jane
|
Follow Us On Twitter »
|
Latest from the Zenoss Blog » |
|
Community | Products | Services Resources | Customers Partners | About Us | |
|
|
|
Copyright © 2005-2011 Zenoss, Inc.
|
||||||
