Failed to connect - listener

listener

#1

Hello,

After movina an image to a test Server , i am getting the following error.

----------------------------------
03.12.18 06:25:39.996  DEBUG_INIT
03.12.18 06:25:40.004  LISTENER    ( ERROR   ) : failed to connect to any notifier
03.12.18 06:25:40.004  LISTENER    ( WARN    ) : can not connect any server, retrying in 30 seconds
----------------------------

What should be done to have listener connect to a local host. or to resolve this problem on a duplicate test environment

rgds,

Riley


#2

Hello!

is this a UCS Master? Please verify be executing: ucr get server/role

If so, the Listener needs to connect to the local Notifier daemon. Check if it’s actually running:

root@master:~# ps auxf | grep [u]sr/sbin/univention-directory-notifier
root     19975  0.0  0.0   8692  1368 ?        S    Dez02   0:00      \_ /usr/sbin/univention-directory-notifier -o -d 1 -F

If you don’t see any output, try to restart the daemon:

root@master:~# /etc/init.d/univention-directory-notifier restart
Restarting univention-directory-notifier (via systemctl): univention-directory-notifier.service.

Did you change the IP address after moving the image to the test server?

Best regards,
Michael Grandjean


#3

Grandjean,

  1. It is , on a test environment ( testing migration through cyrus2dovecot)

root@mail:~# ucr get server/role
domaincontroller_master

  1. I see the output now. Restarted dovecot first and then directory notifier

oot 44018 0.0 0.0 8600 1808 ? S Dec04 0:00 | _ /usr/sbin/univention-directory-notifier -o -d 1 -F

  1. No IP change . It is the same as the production server on an isolated environment.

thanks,

Riley