Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 2 of 2

Thread: OX Guard OX4UCS

  1. #1
    Join Date
    Sep 2014
    Location
    Berlin
    Posts
    8

    Default OX Guard OX4UCS

    Hallo,
    habe heute auf meinem UCS die OpenXchange Pakete aktualisieren können, dabei wurden die Softwarevoraussetzungen für OX Guard mitinstalliert,
    sodass ich danach aus dem App-Store heraus OX Guard installieren konnte. Installation hat alles ohne Fehlermeldung geklappt,
    jedoch lässt sich der OX Guard nicht in der App-Suite einschalten.

    Fehleranalyse zeigt:
    Code:
    Not Found 26.1.2015 11:48
    /appsuite/api/oxguard/login?action=login
    Anfrage-Body ausblenden
    &session=0660a599eed441eb822bb5187b699b4f&time=1422269316904
    {
      "user_id": 48,
      "ox_password": "****",
      "encr_password": "****",
      "sessionID": "0660a599eed441eb822bb5187b699b4f",
      "lang": "de_DE",
      "cid": "10",
      "email": "xxx@yyy.de",
      "extrapass": ""
    guard.log:
    Code:
    2015-01-26 11:30:42 DEBUG [main] c.o.g.c.Config [Config.java:534] OK Loading config file
    2015-01-26 11:30:42 ERROR [main] c.o.g.c.Config [Config.java:602] Unable to load password file
    2015-01-26 11:30:42 DEBUG [main] c.o.g.s.Check [Check.java:108] OK Connection to configdb
    2015-01-26 11:30:45 INFO [main] c.o.g.e.PgpKeys [PgpKeys.java:185] Created PGP/RSA Keys at 1422268245416
    2015-01-26 11:30:46 DEBUG [main] c.o.g.d.Keymanager [Keymanager.java:103] Not using cache, Creating master keys for dont@remove.com
    2015-01-26 11:30:47 INFO [main] c.o.g.e.PgpKeys [PgpKeys.java:185] Created PGP/RSA Keys at 1422268247066
    2015-01-26 11:30:47 DEBUG [main] c.o.g.d.Keymanager [Keymanager.java:103] Not using cache, Creating master keys for dont@remove.com
    2015-01-26 11:30:47 DEBUG [Thread-1] c.o.g.d.IdleConnectionMonitor [IdleConnectionMonitor.java:55] HTTP pool connections- In Pool : 1 Active: 0 Hold: 0
    2015-01-26 11:30:48 INFO [main] c.o.g.e.PgpKeys [PgpKeys.java:185] Created PGP/RSA Keys at 1422268248611
    2015-01-26 11:30:49 DEBUG [main] c.o.g.c.Config [Config.java:534] OK Loading config file
    2015-01-26 11:30:49 DEBUG [main] c.o.g.s.Check [Check.java:108] OK Connection to configdb
    2015-01-26 11:30:49 DEBUG [main] c.o.g.s.Check [Check.java:144] OK Connection to oxguard database
    2015-01-26 11:30:49 DEBUG [main] c.o.g.s.Check [Check.java:146] Configuration seems good
    2015-01-26 11:30:50 DEBUG [main] o.e.j.u.log [Log.java:173] Logging to Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog
    2015-01-26 11:30:50 DEBUG [main] o.e.j.u.c.ContainerLifeCycle [ContainerLifeCycle.java:304] org.eclipse.jetty.server.Server@3d9f47b7 added {qtp1890191192{STOPPED,8<=0<=200,i=0,q=0},AUTO}
    2015-01-26 11:30:51 INFO [main] c.o.g.s.Startup [Startup.java:133] Using file store as storage for cached objects
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-en_US.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-en_GB.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-de_DE.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-fr_FR.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-fr_CA.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-it_IT.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-pt_BR.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-es_ES.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-es_MX.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-nl_NL.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-pl_PL.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-ro_RO.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-cs_CZ.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-hu_HU.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-da_DK.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-sv_SE.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-ru_RU.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-sk_SK.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-lv_LV.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-ja_JP.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-zh_CN.po
    2015-01-26 11:30:51 INFO [main] c.o.g.o.Languages [Languages.java:227] Loading translation file templates-zh_TW.po
    2015-01-26 11:30:51 INFO [Timer-0] c.o.g.c.CleanCache [CleanCache.java:74] Running Scheduled cleanup of File Cache
    2015-01-26 11:30:51 INFO [Timer-0] c.o.g.c.CleanCache [CleanCache.java:98] Deleted 0 files
    2015-01-26 11:30:51 INFO [main] c.o.g.s.Startup [Startup.java:244] Guard server started
    2015-01-26 11:30:51 INFO [main] c.o.g.s.Startup [Startup.java:276] Version: 1.2.0-rev4:20150107170813
    2015-01-26 11:30:51 ERROR [main] c.o.g.s.Startup [Startup.java:249] Port already in use
    java.net.BindException: Die Adresse wird bereits verwendet
            at sun.nio.ch.Net.bind0(Native Method) ~[na:1.7.0_65]
            at sun.nio.ch.Net.bind(Net.java:444) ~[na:1.7.0_65]
            at sun.nio.ch.Net.bind(Net.java:436) ~[na:1.7.0_65]
            at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214) ~[na:1.7.0_65]
            at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) ~[na:1.7.0_65]
            at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:279) ~[jetty-server-9.1.0.v20131115.jar:9.1.0.v20131115]
            at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) ~[jetty-server-9.1.0.v20131115.jar:9.1.0.v20131115]
            at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:218) ~[jetty-server-9.1.0.v20131115.jar:9.1.0.v20131115]
            at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) ~[jetty-util-9.1.0.v20131115.jar:9.1.0.v20131115]
            at org.eclipse.jetty.server.Server.doStart(Server.java:336) ~[jetty-server-9.1.0.v20131115.jar:9.1.0.v20131115]
            at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) ~[jetty-util-9.1.0.v20131115.jar:9.1.0.v20131115]
            at com.openexchange.guard.server.Startup.main(Startup.java:246) ~[com.openexchange.guard.jar:na]
    dpkg -l 'open-xchange-guard*'
    Code:
    Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
    | Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
             Halb installiert/Trigger erWartet/Trigger anhängig
    |/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
    ||/ Name                                   Version                  Architektur              Beschreibung
    +++-======================================-========================-========================-=================================================================================
    ii  open-xchange-guard                     1.2.0-4                  all                      Guard - the Open-Xchange security solution. This package contains the Guard backe
    ii  open-xchange-guard-ui                  1.2.0-3                  all                      Guard - the Open-Xchange security solution
    ii  open-xchange-guard-ui-static           1.2.0-3                  all                      Guard - the Open-Xchange security solution
    proxy_http.conf
    Code:
    <Proxy balancer://oxguard>
                    Order deny,allow
                    Allow from all
    
                    BalancerMember http://localhost:8080/oxguard timeout=1800 smax=0 ttl=60 retry=60 loadfactor=100 route=OX1
                    ProxySet stickysession=JSESSIONID|jsessionid scolonpathdelim=ON
                    SetEnv proxy-initial-not-pooled
                    SetEnv proxy-sendchunked
            </Proxy>
            ProxyPass /appsuite/api/oxguard balancer://oxguard
    guard.properties:
    Code:
    # Warning: the value "com.openexchange.capability.guard" has been set via UCR variable "ox/cfg/guard.properties/com.openexchange.capability.guard" - please alter the UCR variable instead
    com.openexchange.capability.guard=true
    
    # Warning: the value "com.openexchange.capability.guard-drive" has been set via UCR variable "ox/cfg/guard.properties/com.openexchange.capability.guard-drive" - please alter the UCR variable instead
    com.openexchange.capability.guard-drive=true
    
    # Warning: the value "com.openexchange.capability.guard-mail" has been set via UCR variable "ox/cfg/guard.properties/com.openexchange.capability.guard-mail" - please alter the UCR variable instead
    com.openexchange.capability.guard-mail=true
    Was könnte das Problem sein?

    MFG Sascha

  2. #2
    Join Date
    Sep 2014
    Location
    Berlin
    Posts
    8

    Default

    Nachtrag:

    Ein Test aus der Konfigurationsbeschreibung funktioniert:
    root@pdc:/# /opt/open-xchange/guard/sbin/guard test YYY@XXX.de
    Response received. Testing JSON
    {"YYY@XXX":{"uid":48,"user":{"language":"de_DE","d isplayName":"YYY XXX"},"cid":10}}
    User id 48
    Context 10
    Language de_DE
    Name YYY XXX
    Success

    Habe ja erst gedacht, es wird sich mit irgendeinem Update erledigen, aber nun ist schon fast ein halbes Jahr vorbei und es geht immer noch nicht.
    Sorry für den Push, kann mir den niemand helfen?
    Last edited by photo; 06-10-2015 at 09:26 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •