Announcement

Collapse
No announcement yet.

Adding frst user problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • xiao
    Guest replied
    I cannot create the first user , somebody can help me with this error:

    servidor3:/home/administrador# /etc/init.d/open-xchange-admin restart
    Restarting Open-Xchange Admin Daemon: open-xchange-admin.
    servidor3:/home/administrador# /opt/open-xchange/sbin/createuser -A oxadmin -P "servi75" --username leonardo_forero --displayname "Leonardo F" --password invecil --email leonardo_forero@servimail --givenname leonardo --surname forero --language en_US --timezone America/Bogota --department systemas --company "Servioptica" -c 1
    Server response:
    com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.AuthenticationFailedException: Login failed: authentication failure
    com.openexchange.admin.rmi.exceptions.StorageExcep tion: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.AuthenticationFailedException: Login failed: authentication failure
    at com.openexchange.admin.rmi.impl.OXUser.create(OXUs er.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 59)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(Str eamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:1 42)
    at java.rmi.server.RemoteObjectInvocationHandler.invo keRemoteMethod(RemoteObjectInvocationHandler.java: 178)
    at java.rmi.server.RemoteObjectInvocationHandler.invo ke(RemoteObjectInvocationHandler.java:132)
    at $Proxy0.create(Unknown Source)
    at com.openexchange.admin.console.user.Create.maincal l(Create.java:98)
    at com.openexchange.admin.console.user.CreateCore.com monfunctions(CreateCore.java:77)
    at com.openexchange.admin.console.user.Create.<init>( Create.java:82)
    at com.openexchange.admin.console.user.Create.main(Cr eate.java:73)
    Caused by: com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPEx ception: javax.mail.AuthenticationFailedException: Login failed: authentication failure
    at com.openexchange.admin.rmi.impl.OXUserIMAPImpl.cre ate(OXUserIMAPImpl.java:517)
    at com.openexchange.admin.rmi.impl.OXUser.create(OXUs er.java:218)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 59)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    servidor3:/home/administrador#

    Leave a comment:


  • Martin Heiland
    replied
    Hi Pedro,

    there is a growing amount of documentation and definitions at the wiki, everybody is invited to contribute and the crtitical parts are already contained. On a first look i can see that you try to add a user to context 5002 - did you really added so much contexts?
    At the default installation, context 1 is created. Adding a user to a context that does not exist will cause unpredictable reactions, like this NPE. You should also not try to enter string values where numeric input is required. "5002" is not equal to 5002 for example.

    To work with the command line interface (CLT), please consult the description shown when calling the tool(s) with --help. I am currently working on a better documentation at the wiki, how to use these tools but there is still much to do.

    Greetings
    Last edited by Martin Heiland; 07-11-2007, 01:05 AM.

    Leave a comment:


  • pedro
    Guest replied
    Trouble when i try to add the fisrt user!!

    First:
    Anobody has a tutorial about openxchange management??

    I already installed all requirements from this application and it seems that's everthing is o.k. When I tried to add the first user , i got the ce error( a NullPointerException) below:

    root@testmail ~]# /etc/init.d/open-xchange-admin start
    Starting Open-Xchange Admin Daemon: open-xchange-admin.
    [root@testmail ~]# /opt/open-xchange/sbin/createuser -A oxadmin -P "sin" --username teste --displayname "Test" --password sin --email test.test@gmail.com --givenname Test --surname Test --language en_US --timezone Europe/London --department Decryption --company "Garden" -c "5002"
    Exception in thread "main" java.lang.NullPointerException
    at com.openexchange.database.Database.get(Database.ja va:111)
    at com.openexchange.server.DBPool.pickupWriteable(DBP ool.java:75)
    at com.openexchange.admin.storage.sqlStorage.OXAdminP oolDBPool.getWRITEConnectionForCONFIGDB(OXAdminPoo lDBPool.java:102)
    at com.openexchange.admin.tools.AdminCache.getWRITECo nnectionForCONFIGDB(AdminCache.java:187)
    at com.openexchange.admin.storage.mysqlStorage.OXTool MySQLStorage.selectwithint(OXToolMySQLStorage.java :1244)
    at com.openexchange.admin.storage.mysqlStorage.OXTool MySQLStorage.existsContext(OXToolMySQLStorage.java :139)
    at com.openexchange.admin.rmi.BasicAuthenticator.doAu thentication(BasicAuthenticator.java:128)
    at com.openexchange.admin.rmi.impl.OXUser.create(OXUs er.java:153)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastSe rverRef.java:305)
    at sun.rmi.transport.Transport$1.run(Transport.java:1 59)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport. java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages( TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(Str eamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:1 42)
    at java.rmi.server.RemoteObjectInvocationHandler.invo keRemoteMethod(RemoteObjectInvocationHandler.java: 178)
    at java.rmi.server.RemoteObjectInvocationHandler.invo ke(RemoteObjectInvocationHandler.java:132)
    at $Proxy0.create(Unknown Source)
    at com.openexchange.admin.console.user.Create.<init>( Create.java:140)
    at com.openexchange.admin.console.user.Create.main(Cr eate.java:78)
    [root@testmail ~]#


    It seems that the openxchange can't connect with MySQL to write the changes.

    Could someone save me?? =D

    Thanks
    Pedro
    Last edited by Guest; 07-10-2007, 11:08 PM.

    Leave a comment:


  • slybob
    Guest replied
    whoops

    Neo, the web interface is up and running. It seems that when I close the CLI that I executed
    Code:
    /opt/open-xchange/sbin/open-xchange-groupware &
    in it closes the application also. Any ideas why this might be?

    Code:
    Fehlermeldung: FLS-0004: Kein Zugriff auf Dateispeicher: file:/var/opt/open-xchange/filespool/1_ctx_store
    Fehlermeldung: MSG-0096: No IMAP account exists for user Open-Xchange (2) in context 1
    These two appear in the web interface. Now when I try to createuser I get,

    Code:
    root@openxchange:~# /opt/open-xchange/sbin/createuser -A oxadmin -P "tape-deck" --username alan_turing2 --displayname "Alan Turing" --password 3nIgm4 --email alan_turing@bletchleypark.invalid --givenname Alan --surname Turing --language en_US --timezone Europe/London --department Decryption --company "Bletchley Park"
    Exception in thread "main" java.lang.IllegalStateException: Timer already cancelled.
            at java.util.Timer.sched(Timer.java:354)
            at java.util.Timer.scheduleAtFixedRate(Timer.java:296)
            at com.openexchange.pooling.ReentrantLockPool.registerCleaner(ReentrantLockPool.java:543)
            at com.openexchange.database.Pools.getPool(Pools.java:158)
            at com.openexchange.database.Database.get(Database.java:160)
            at com.openexchange.database.Database.get(Database.java:153)
            at com.openexchange.database.Database.get(Database.java:133)
            at com.openexchange.server.DBPool.pickup(DBPool.java:71)
            at com.openexchange.admin.storage.sqlStorage.OXAdminPoolDBPool.getREADConnectionForContext(OXAdminPoolDBPool.java:87)
            at com.openexchange.admin.tools.AdminCache.getREADConnectionForContext(AdminCache.java:182)
            at com.openexchange.admin.auth.MySQLAuthenticationImpl.authenticate(MySQLAuthenticationImpl.java:99)
            at com.openexchange.admin.rmi.BasicAuthenticator.doAuthentication(BasicAuthenticator.java:82)
            at com.openexchange.admin.rmi.impl.OXUser.create(OXUser.java:130)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:585)
            at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
            at sun.rmi.transport.Transport$1.run(Transport.java:153)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
            at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
            at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
            at java.lang.Thread.run(Thread.java:595)
            at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
            at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
            at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:179)
            at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:132)
            at $Proxy0.create(Unknown Source)
            at com.openexchange.admin.console.user.Create.<init>(Create.java:149)
            at com.openexchange.admin.console.user.Create.main(Create.java:79)
    Cheers,

    Andy

    Leave a comment:


  • slybob
    Guest replied
    New Error

    Neo,
    Did as bens post asked and got this;

    Code:
    root@openxchange:/var/log# /opt/open-xchange/sbin/createuser -A oxadmin -P ******** --username alan_turing --displayname "Alan Turing" --password 3nIgm4 --email alan_turing@bletchleypark.invalid --givenname Alan --surname Turing --language en_US --timezone Europe/London --department Decryption --company "Bletchley Park"
    Server response:
     com.openexchange.admin.plugins.PluginException: com.openexchange.admin.rmi.exceptions.OXUserIMAPException: javax.mail.AuthenticationFailedException: Login failed: authentication failure
    Got the same error with both sock and host auth with pam_mysql.so

    auth.log
    Code:
    Mar 21 16:05:56 openxchange saslauthd[1521]: detach_tty      : master pid is: 1521
    Mar 21 16:05:56 openxchange saslauthd[1521]: ipc_init        : listening on socket: /var/run/saslauthd/mux
    Mar 21 16:05:56 openxchange sshd[1539]: Server listening on :: port 22.
    Mar 21 16:11:14 openxchange sshd[1713]: Accepted password for root from 192.168.0.5 port 50365 ssh2
    Mar 21 16:11:14 openxchange sshd[1715]: (pam_unix) session opened for user root by root(uid=0)
    Mar 21 16:27:01 openxchange saslauthd[1521]: server_exit     : master exited: 1521
    Mar 21 16:27:01 openxchange saslauthd[3236]: detach_tty      : master pid is: 3236
    Mar 21 16:27:01 openxchange saslauthd[3236]: ipc_init        : listening on socket: /var/run/saslauthd/mux
    Mar 21 16:28:32 openxchange saslauthd[3236]: server_exit     : master exited: 3236
    Mar 21 16:28:32 openxchange sshd[1539]: Received signal 15; terminating.
    Mar 21 16:30:52 openxchange saslauthd[5344]: detach_tty      : master pid is: 5344
    Mar 21 16:30:52 openxchange saslauthd[5344]: ipc_init        : listening on socket: /var/run/saslauthd/mux
    Mar 21 16:30:52 openxchange sshd[5361]: Server listening on :: port 22.
    Mar 21 16:31:42 openxchange sshd[5490]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.0.5  user=root
    Mar 21 16:31:43 openxchange sshd[5490]: Failed password for root from 192.168.0.5 port 56239 ssh2
    Mar 21 16:31:47 openxchange sshd[5490]: Accepted password for root from 192.168.0.5 port 56239 ssh2
    Mar 21 16:31:47 openxchange sshd[5492]: (pam_unix) session opened for user root by root(uid=0)
    Mar 21 19:29:34 openxchange sshd[14298]: Accepted password for root from 192.168.0.5 port 56026 ssh2
    Mar 21 19:29:34 openxchange sshd[14302]: (pam_unix) session opened for user root by root(uid=0)
    Mar 22 00:06:08 openxchange sshd[26575]: Accepted password for root from 192.168.0.2 port 47954 ssh2
    Mar 22 00:06:08 openxchange sshd[26579]: (pam_unix) session opened for user root by root(uid=0)
    Mar 22 09:22:44 openxchange sshd[19755]: Accepted password for root from 192.168.0.2 port 47385 ssh2
    Mar 22 09:22:44 openxchange sshd[19759]: (pam_unix) session opened for user root by root(uid=0)
    Mar 22 10:01:15 openxchange sudo:     root : TTY=pts/0 ; PWD=/tmp/tomcat-connectors-1.2.21-src/native ; USER=root ; COMMAND=/usr/bin/apt-get install build-essential
    Mar 22 11:20:52 openxchange saslauthd[5345]: (pam_unix) check pass; user unknown
    Mar 22 11:20:52 openxchange saslauthd[5345]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
    Mar 22 11:20:55 openxchange saslauthd[5345]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module
    Mar 22 11:20:55 openxchange saslauthd[5345]: do_auth         : auth failure: [user=alan_turing] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]
    Mar 22 11:46:45 openxchange saslauthd[5346]: (pam_unix) check pass; user unknown
    Mar 22 11:46:45 openxchange saslauthd[5346]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=
    Mar 22 11:46:46 openxchange saslauthd[5346]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module
    Mar 22 11:46:46 openxchange saslauthd[5346]: do_auth         : auth failure: [user=alan_turing] [service=imap] [realm=] [mech=pam] [reason=PAM auth error]
    Error 503
    I got mod_jk compiled with;
    Code:
      ./configure --with-apxs=/opt/apache2/bin/apxs
    but Im still getting error 503. Do I need to compile with jni? i.e
    Code:
    ./configure --with-apxs=/opt/apache2/bin/apxs --with-java-home=/usr/lib --with-java-platform=2 -enable-jni
    I tried to do it with jni but it was looking for the wrong file. etc etc.

    Thanks

    Andy

    Leave a comment:


  • neo
    Guest replied
    Originally posted by slybob View Post
    Neo,

    I did indeed have that error in my previous build. But linking the newer version as the older version didn't work (or maybe it did, just hadn't got to that error yet)

    you want me to check the last line of createuser? the script?

    Code:
    $JAVA_BIN -classpath $LIBPATH/ox_admindaemon.jar:$LIBPATH/ox_admin_console_ee.jar:$LIBPATH/commons-cli-1.0.jar $JAVAMAIN $*
    Sorry, if I'm not quite understanding you. Its certainly no inconvenience.
    Ok, please add the IMAP-Plugin again.

    Leave a comment:


  • slybob
    Guest replied
    Neo,

    I did indeed have that error in my previous build. But linking the newer version as the older version didn't work (or maybe it did, just hadn't got to that error yet)

    you want me to check the last line of createuser? the script?

    Code:
    $JAVA_BIN -classpath $LIBPATH/ox_admindaemon.jar:$LIBPATH/ox_admin_console_ee.jar:$LIBPATH/commons-cli-1.0.jar $JAVAMAIN $*
    Sorry, if I'm not quite understanding you. Its certainly no inconvenience.

    Leave a comment:


  • neo
    Guest replied
    Originally posted by slybob View Post
    Okay, so it was working. I got to have a little play, wet my appetite etc etc,

    503 error, I keep on getting this 503 error, I think its because of mod-jk. Im still running the standard Ubuntu install of it because I cant find a binary for apache2! the tomcat guys keep trying to get me to move the whole thing over to tomcat!? I did find some source at http://tomcat.apache.org/connectors-doc/ but the build instructions are missing??!!??
    mod_jk.log
    Have a look here : http://www.apache.org/dist/tomcat/to...nux/jk-1.2.21/

    Originally posted by slybob View Post
    I still cant add my first user, below is the input and output of my attempt. Its rather odd because when I did get in the application I was ble to make notes and appointments etc etc but I expect this it thru a different mechanism.

    Code:
    root@openxchange:/var/log/open-xchange# /opt/open-xchange/sbin/createuser -A oxadmin -P "tape-deck" --username alan_turing --displayname "Alan Turing" --password 3nIgm4 --email alan_turing@bletchleypark.invalid --givenname Alan --surname Turing --language en_US --timezone Europe/London --department Decryption --company "Bletchley Park"
    Exception in thread "main" java.lang.NoClassDefFoundError: com/openexchange/admin/rmi/extensions/OXUserIMAPExtension
            at com.openexchange.admin.console.user.Create.<init>(Create.java:148)
            at com.openexchange.admin.console.user.Create.main(Create.java:79)
    root@openxchange:/var/log/open-xchange#
    BTW, Im running ubuntu 6.06(dapper) which is an openVZ virtual machine.

    thanks,

    Andy
    This we had in the last post or did I miss something?

    Check the last line of createuser again please, sorry for the inconvenience.

    Leave a comment:


  • slybob
    Guest replied
    ah, problems problems

    Okay, so it was working. I got to have a little play, wet my appetite etc etc,

    503 error
    , I keep on getting this 503 error, I think its because of mod-jk. Im still running the standard Ubuntu install of it because I cant find a binary for apache2! the tomcat guys keep trying to get me to move the whole thing over to tomcat!? I did find some source at http://tomcat.apache.org/connectors-doc/ but the build instructions are missing??!!??
    mod_jk.log
    Code:
    [Wed Mar 21 19:43:51 2007] [error] init_jk::mod_jk.c (2356): Initializing shm:/etc/apache2/logs/jk-runtime-status errno=2
    [Wed Mar 21 19:43:51 2007] [error] jk_child_init::mod_jk.c (2312): Attachning shm:/etc/apache2/logs/jk-runtime-status errno=2
    [Wed Mar 21 19:43:51 2007] [error] jk_child_init::mod_jk.c (2312): Attachning shm:/etc/apache2/logs/jk-runtime-status errno=2
    [Wed Mar 21 19:44:36 2007] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13_worker failed
    [Wed Mar 21 19:44:36 2007] ajp13_worker www.moonet.co.uk 0.000537
    
    [Wed Mar 21 19:45:56 2007] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13_worker failed
    [Wed Mar 21 19:45:56 2007] ajp13_worker www.moonet.co.uk 0.000421
    
    [Wed Mar 21 20:15:52 2007] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13_worker failed
    [Wed Mar 21 20:15:52 2007] ajp13_worker www.moonet.co.uk 0.000456
    
    [Wed Mar 21 20:16:07 2007] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13_worker failed
    [Wed Mar 21 20:16:07 2007] ajp13_worker www.moonet.co.uk 0.000512
    
    [Wed Mar 21 23:20:16 2007] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13_worker failed
    [Wed Mar 21 23:20:16 2007] ajp13_worker www.raggajungle.org.uk 0.000467
    
    [Thu Mar 22 00:06:27 2007] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13_worker failed
    [Thu Mar 22 00:06:27 2007] ajp13_worker www.moonet.co.uk 0.000402
    
    [Thu Mar 22 00:06:36 2007] [error] ajp_service::jk_ajp_common.c (1758): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13_worker failed
    [Thu Mar 22 00:06:36 2007] ajp13_worker www.moonet.co.uk 0.000447
    I still cant add my first user, below is the input and output of my attempt. Its rather odd because when I did get in the application I was ble to make notes and appointments etc etc but I expect this it thru a different mechanism.

    Code:
    root@openxchange:/var/log/open-xchange# /opt/open-xchange/sbin/createuser -A oxadmin -P "tape-deck" --username alan_turing --displayname "Alan Turing" --password 3nIgm4 --email alan_turing@bletchleypark.invalid --givenname Alan --surname Turing --language en_US --timezone Europe/London --department Decryption --company "Bletchley Park"
    Exception in thread "main" java.lang.NoClassDefFoundError: com/openexchange/admin/rmi/extensions/OXUserIMAPExtension
            at com.openexchange.admin.console.user.Create.<init>(Create.java:148)
            at com.openexchange.admin.console.user.Create.main(Create.java:79)
    root@openxchange:/var/log/open-xchange#
    BTW, Im running ubuntu 6.06(dapper) which is an openVZ virtual machine.

    thanks,

    Andy

    Leave a comment:


  • neo
    Guest replied
    Originally posted by slybob View Post
    Guys, Just got it working.

    Its beautiful.


    Indeed, it was a great work OX did the last year

    Leave a comment:


  • slybob
    Guest replied
    rebuild 3

    Guys, Just got it working.

    Its beautiful.

    Leave a comment:


  • neo
    Guest replied
    Originally posted by slybob View Post
    Thanks
    does this mean I should rebuild? Or can I bodge it?
    A rebuild is better :-)

    Leave a comment:


  • slybob
    Guest replied
    I did neither

    Thanks
    does this mean I should rebuild? Or can I bodge it?

    Leave a comment:


  • neo
    Guest replied
    Originally posted by slybob View Post
    mysql-connector-java-3.1.14-bin.jar is present in /opt/open-xchange/lib/ (although in you howto you specified 3.1.13).
    3.1.14 works fine as well.
    Did you create a link to 3.1.13 or did you change the build.xml?
    I created a link to 3.1.13...

    Originally posted by slybob View Post
    on the front page Im still getting error 503
    After a fresh restart of the services, it takes a bit time the application is available.

    Leave a comment:


  • slybob
    Guest replied
    Incarnation 2

    Going over the instructions I realised I bodged a couple of things. I have started from scratch on a new VE and I've come to the same step of adding the first user.

    Code:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/openexchange/admin/rmi/extensions/OXUserIMA                           PExtension
            at com.openexchange.admin.console.user.Create.<init>(Create.java:148)
            at com.openexchange.admin.console.user.Create.main(Create.java:79)
    open-xchange.log.0
    Code:
    21-Mar-2007 11:38:22 Starter <init>
    INFO: Server Footprint : 1372590168
    21-Mar-2007 11:38:22 Starter <init>
    SEVERE: Initializing the configuration failed.
    CFG-0006 Category=10 Message=Can't load class "com.mysql.jdbc.Driver". exceptionID=1372590168-1
            at com.openexchange.configuration.ConfigDB.init(ConfigDB.java:208)
            at com.openexchange.configuration.ConfigurationInit.init(ConfigurationInit.java:75)
            at Starter.<init>(Starter.java:115)
            at ComfireServer.main(ComfireServer.java:62)
    Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
            at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:164)
            at com.openexchange.configuration.ConfigDB.init(ConfigDB.java:206)
            ... 3 more
    mysql-connector-java-3.1.14-bin.jar is present in /opt/open-xchange/lib/ (although in you howto you specified 3.1.13).

    on the front page Im still getting error 503

    I'll see if I can dig out 3.1.13 from somewhere

    Cheers,

    Andy

    Leave a comment:

Working...
X