Archived community.zenoss.org | full text search
Skip navigation
3175 Views 3 Replies Latest reply: Apr 12, 2013 4:11 AM by jcurry RSS
pierrick prost Newbie 5 posts since
Mar 25, 2013
Currently Being Moderated

Apr 9, 2013 6:06 AM

Zenoss 4.2.3 Change server IP Address on Centos 6 64 bits - AMQPLAIN login refused: user 'zenoss' - invalid credentials"

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.

  • network conf (eth0) works great
  • DNS too
  • old ip addres : 192.168.7.250
  • new ip addres : 192.168.7.32
  • Hostname don't change it's alertcaserne
  • xxxxx my domain name

 

 

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


 


  • jcurry ZenossMaster 1,021 posts since
    Apr 15, 2008

    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

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points