OX enable ActiveSync for user accounts


#1

Hello,

after purchasing license I thought ActiveSync will be activated automatically but looks like had to install via UCS/Repository Settings oxmobility and oxoutlook . I did follow this tutorial oxpedia.org/wiki/index.php?title … tion_Guide for UCS and when i did try to enable ActiveSync I get error:

[code]root@server:/opt/open-xchange/etc# /opt/open-xchange/sbin/changecontext -c 1 -A oxadminmaster -P $(< /etc/ox-secrets/master.secret) --access-usm on --access-active-sync on
context 1 could not be changed:
Server response:
Context does not exist
at com.openexchange.admin.rmi.impl.OXContext.change(OXContext.java:333)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
at sun.rmi.transport.Transport$2.run(Transport.java:202)
at sun.rmi.transport.Transport$2.run(Transport.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
at com.sun.proxy.$Proxy0.change(Unknown Source)
at com.openexchange.admin.console.context.Change.maincall(Change.java:94)
at com.openexchange.admin.console.context.ChangeCore.commonfunctions(ChangeCore.java:110)
at com.openexchange.admin.console.context.Change.(Change.java:73)
at com.openexchange.admin.console.context.Change.main(Change.java:77)

[/code]

So when i add account on phone or outlook it’s pass all the verification but inbox are empty . Maybe I miss something ? Thank you .


#2

Can’t delete this topic but fixed it by check UCR context id was 10 not 1 .