Can't send item from devices

  • 7018501
  • 19-Jan-2017
  • 19-Feb-2021

Environment

Novell GroupWise Mobility Service 2014 R2 Support Pack 1 Hot Patch 1
GWAVA 6 build 30+

Situation

All Devices can't send mails
Devices have no error message when attempting to send mail
No mail sent from devices shows in the sent mail folder
GroupWise Mobility is not sending messages


Resolution

(A) Do the following to verify the preview feature of GWAVA is used in your GroupWise Mobility Configuration:
  1. Navigate to the following directory by typing cd /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/mobility/
  2. Type less connector.xml
  3. Type /gwava
  4. If you get a return on your search, you know that gwava is being used in your configuration

(B) Verify the status of devices ability to send out by doing the following:

  1. From a terminal window, enter the following command: tailf /var/log/datasync/connectors/groupwise-agent.log | grep -i "data1"

    Note: "data1" will be the subject of the future mail item that will be sent as a test; however, this can be replaced with the appropriate grep filter as needed.


  2. From another terminal window, enter the following command: tailf /var/log/datasync/connectors/mobility-agent.log | grep -i "data1"

    Note: "data1" will be the subject of the future mail item that will be sent as a test; however, this can be replaced with the appropriate grep filter as needed.

  3. From a problem device, send a new mail item with the subject data1. This should reveal if the test mail goes through both connectors (the two terminal windows used above). You will see the logs recording something happening if the devices can send mail. If you see nothing happening continue onto the next section.

(C) Since mail is not flowing through the connectors on GroupWise Mobility lets verify the following:
  1. Verify what port is being used by the GroupWise Mobility Server to connect to the GWAVA server.
  2. In a terminal on the GMS server type cd /etc/datasync/configengine/engines/default/pipelines/pipeline1/connectors/mobility/
  3. Type less connector.xml
  4. Type /49284
  5. If you get a return on this then you know the correct port is being used
  6. Now we can perform a telnet test on the GroupWise Mobility Server
  7. Type telnet ipaddressofgwavaserver 49284
  8. If it shows Connection refused you know that port is being blocked some how and move onto the next section
  9. If it shows Connected, then this portion of GWAVA is NOT your issue

(D) Disable GWAVA on the GroupWise Mobility Server with the following command, to see if it resolves your issue:

  1. In a terminal session on the GroupWise Mobility Server type the following ./previewfeature.sh -a disable --gwava
  2. Now repeat section (B) to test if mail is flowing through the GroupWise Mobility connectors
  3. If it is successful then contact GWAVA for assistance in resolving the port conflict



Cause

Do you see the following entry in the groupwise-agent.log located in /var/log/datasync/connectors:

2017-01-19 19:08:36.001 DEBUG [Device_Thread-24] [mobility_util:2270] [userID:] [eventID:] [objectID:] [] getting the gwava info from the config file...
2017-01-19 19:08:36.001 INFO [Device_Thread-24] [mobility_util:2282] [userID:] [eventID:] [objectID:] [] Sending to gwava - 4bc12e5fde7211e6b0e7da6292339773
2017-01-19 19:08:36.003 DEBUG [Device_Thread-24] [mobility_util:2303] [userID:] [eventID:] [objectID:] [] caught exception in get() - ('Connection aborted.', error(111, 'Connection refused'))
2017-01-19 19:08:36.010 ERROR [Device_Thread-24] [sendMail:836] [userID:cn=IT,ou=xxx,o=xxx] [eventID:] [objectID:] [Mail] Exception 'NoneType' object is not iterable
Traceback (most recent call last):
  File "./mobility/lib/device/sendMail.py", line 87, in doSendMail
TypeError: 'NoneType' object is not iterable

Some sort of port conflict is blocking GroupWise Mobilty devices from sending through to GWAVA and then on to GroupWise

Additional Information

2017-01-19 17:07:06.966 ERROR [Device_Thread-24] [sendMail:836] [userID:cn=IT,ou=xxx,o=xxx] [eventID:] [objectID:] [Mail] Exception 'NoneType' object is
 not iterable
Traceback (most recent call last):
  File "./mobility/lib/device/sendMail.py", line 87, in doSendMail
TypeError: 'NoneType' object is not iterable


See information from GWAVA:   http://support.gwava.com/kb/?View=entry&EntryID=2306