Announcement

Collapse
No announcement yet.

AJP Port problem

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

  • AJP Port problem

    Servus,

    I followed the installation for Debian(etch). Everything fine so far. Both java processes are running.
    But so far i cant log in an account: there seems to be a problem with the ajp port. Ajax is not accesseble via http://ox.mydomain/ajax:

    Code:
    Service Temporarily Unavailable
    
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Apache has the following in the error.log:

    Code:
    [Fri Dec 05 02:32:12 2008] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
    [Fri Dec 05 02:47:25 2008] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (127.0.0.1) failed
    [Fri Dec 05 02:47:25 2008] [error] ap_proxy_connect_backend disabling worker for (127.0.0.1)
    [Fri Dec 05 02:47:25 2008] [error] proxy: AJP: failed to make connection to backend: 127.0.0.1
    Port 8009 is closed:
    (nmap)
    Code:
    Interesting ports on localhost (127.0.0.1):
    Not shown: 1673 closed ports
    PORT      STATE SERVICE
    21/tcp    open  ftp
    22/tcp    open  ssh
    25/tcp    open  smtp
    993/tcp   open  imaps
    3306/tcp  open  mysql
    9999/tcp  open  abyss
    10000/tcp open  snet-sensor-mgmt
    Ports in ajp.properties and proxy_ajp.conf are set to 8009.

    I know, there are several theads for this kind of problem, but nothing wored so far.

    Any posible solution??

    Thx,
    Helge
    Last edited by Guest; 12-05-2008, 03:49 AM.

  • #2
    Hi,

    The problem is quite clear - the AJP Server of OX does not run so apache cannot make connections to it. Could you please post the output of the Open-Xchange Logfiles when starting the Groupware service? Even if the Java process is running there could be a severe problem that keeps sever components from running.

    Comment


    • #3
      No Problem, here we go:

      open-exchange-admin.log.0
      Code:
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.Activator start
      INFO: Starting Admindaemon...
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: org.eclipse.osgi already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: com.openexchange.caching already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: com.openexchange.common already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: com.openexchange.configread already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: com.openexchange.control already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: com.openexchange.global already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: com.openexchange.i18n already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: com.openexchange.management already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: com.openexchange.monitoring already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: com.openexchange.passwordchange.database already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: com.openexchange.server already started before admin.
      Dec 5, 2008 10:18:36 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
      INFO: javax.servlet already started before admin.
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.tools.AdminCache initOXProccess
      INFO: OX init starting...
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.tools.AdminCache initOXProccess
      INFO: ...OX init done!
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.tools.AdminCache initCache
      INFO: Init Cache
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.daemons.AdminDaemon initCache
      INFO: Cache and Pools initialized!
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.tools.AdminCache initAccessCombinations
      INFO: Processing access combinations...
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.tools.AdminCache initAccessCombinations
      INFO: Access combinations processed!
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.daemons.AdminDaemon$LocalServerFactory createServerSocket
      INFO: Admindaemon will listen on localhost!
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.rmi.impl.OXUser <init>
      INFO: Class loaded: com.openexchange.admin.rmi.impl.OXUser
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.rmi.impl.OXGroup <init>
      INFO: Class loaded: com.openexchange.admin.rmi.impl.OXGroup
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.rmi.impl.OXResource <init>
      INFO: Class loaded: com.openexchange.admin.rmi.impl.OXResource
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.rmi.impl.OXLogin <init>
      INFO: Class loaded: com.openexchange.admin.rmi.impl.OXLogin
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.daemons.Activator start
      INFO: Version: 6.6.0
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.daemons.Activator start
      INFO: Name: open_xchange_admin
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.daemons.Activator start
      INFO: Build: 6610
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.daemons.Activator start
      INFO: Admindaemon successfully started.
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
      INFO: open_xchange_admin changed to 2
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.tools.AdminCache initOXProccess
      INFO: OX init starting...
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.tools.AdminCache initOXProccess
      INFO: ...OX init done!
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.tools.AdminCache initCache
      INFO: Init Cache
      Dec 5, 2008 10:18:37 AM com.openexchange.admin.PluginStarter initCache
      INFO: Cache and Pools initialized!
      Dec 5, 2008 10:18:40 AM com.openexchange.admin.tools.monitoring.MonitorAgent startConnectors
      INFO: Admindaemon JMX server running on 127.0.0.1: service:jmx:rmi:///jndi/rmi://localhost:9998/server
      Dec 5, 2008 10:18:40 AM com.openexchange.admin.PluginStarter startJMX
      INFO: Admindaemon Name: oxserver
      Dec 5, 2008 10:18:40 AM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
      INFO: open_xchange_admin_plugin_hosting changed to 2
      Dec 5, 2008 10:18:40 AM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
      INFO: org.apache.commons.logging changed to 2
      Dec 5, 2008 10:18:41 AM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
      INFO: org.eclipse.equinox.event changed to 2
      Dec 5, 2008 10:18:41 AM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
      INFO: org.eclipse.osgi.services changed to 2
      open-xchange.log.0

      Code:
      Dec 5, 2008 11:18:59 AM com.openexchange.control.internal.GeneralControl shutdown
      INFO: Stopping system bundle...
      Dec 5, 2008 11:19:03 AM com.openexchange.authentication.database.osgi.Activator start
      INFO: starting bundle: com.openexchange.authentication.database
      Dec 5, 2008 11:19:04 AM com.openexchange.charset.osgi.CharsetActivator start
      INFO: starting bundle: com.openexchange.charset
      Dec 5, 2008 11:19:04 AM com.openexchange.charset.osgi.CharsetActivator start
      INFO: External charset provider replaced with collection charset provider
      Dec 5, 2008 11:19:04 AM com.openexchange.charset.osgi.CharsetActivator start
      INFO: Charset bundle successfully started
      Dec 5, 2008 11:19:04 AM com.openexchange.config.osgi.ConfigActivator start
      INFO: starting bundle: com.openexchange.configread
      Dec 5, 2008 11:19:04 AM com.openexchange.config.internal.ConfigurationImpl processDirectory
      INFO: Can't read /opt/open-xchange/etc/groupware/osgi/org.eclipse.osgi. Skipping.
      Dec 5, 2008 11:19:04 AM com.openexchange.control.osgi.ControlActivator start
      INFO: starting bundle: com.openexchange.control
      Dec 5, 2008 11:19:04 AM com.openexchange.server.ServiceHolderInit start
      INFO: Service usage inspection not enabled
      Dec 5, 2008 11:19:04 AM com.openexchange.server.GlobalActivator start
      INFO: Global bundle successfully started
      Dec 5, 2008 11:19:04 AM com.openexchange.groupware.settings.extensions.osgi.Activator handleConfigurationUpdate
      INFO: Updating configtree
      Dec 5, 2008 11:19:04 AM com.openexchange.i18n.osgi.I18nActivator initI18nServices
      INFO: All I18n services registered
      Dec 5, 2008 11:19:04 AM com.openexchange.management.osgi.ManagementActivator startBundle
      INFO: starting bundle: com.openexchange.management
      Dec 5, 2008 11:19:04 AM com.openexchange.management.internal.AbstractAgent addRMIRegistry
      INFO: RMI registry created on port 9999 and bind address localhost
      Dec 5, 2008 11:19:04 AM com.openexchange.management.internal.AbstractAgent addConnectorServer
      INFO: JMX connector server on service:jmx:rmi:///jndi/rmi://127.0.0.1:9999/server started
      Dec 5, 2008 11:19:04 AM com.openexchange.management.internal.ManagementAgentImpl initializeMBeanServer
      INFO: 
      
      	Use JConsole or MC4J to connect to MBeanServer with this url: service:jmx:rmi:///jndi/rmi://127.0.0.1:9999/server
      
      Dec 5, 2008 11:19:04 AM com.openexchange.management.internal.ManagementInit start
      INFO: JMX server successfully initialized.
      Dec 5, 2008 11:19:04 AM com.openexchange.management.internal.AbstractAgent registerMBean
      INFO: com.openexchange.control:name=Control registered
      Dec 5, 2008 11:19:04 AM com.openexchange.control.internal.ControlInit start
      INFO: JMX control applied
      Dec 5, 2008 11:19:04 AM com.openexchange.push.udp.osgi.PushUDPActivator start
      INFO: starting bundle: com.openexchange.push.udp
      Dec 5, 2008 11:19:04 AM com.openexchange.push.udp.PushInit start
      INFO: Starting Push UDP
      Dec 5, 2008 11:19:04 AM com.openexchange.push.udp.PushSocket <init>
      INFO: Starting Push Register Socket on Port: 44335
      Dec 5, 2008 11:19:04 AM com.openexchange.push.udp.PushOutputQueue <init>
      INFO: Starting PushOutputQueue
      Dec 5, 2008 11:19:04 AM com.openexchange.push.udp.PushMulticastSocket <init>
      INFO: Starting Multicast Socket on Port: 9982
      Dec 5, 2008 11:19:04 AM com.openexchange.push.udp.PushMulticastRequestTimer <init>
      INFO: Starting MulticastRequest
      This seems ok to me? Exept that osgi server.
      However - this is the open-xchange-osgi.log (hold tite)

      Code:
      !SESSION 2008-12-05 11:19:03.053 -----------------------------------------------
      eclipse.buildId=unknown
      java.version=1.5.0_14
      java.vendor=Sun Microsystems Inc.
      BootLoader constants: OS=linux, ARCH=x86_64, WS=motif, NL=en_US
      Command-line arguments:  -configuration file:/opt/open-xchange/etc/groupware/osgi
      
      !ENTRY org.eclipse.osgi 4 0 2008-12-05 11:19:03.483
      !MESSAGE Error reading configuration: /opt/open-xchange/etc/groupware/osgi/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
      !STACK 0
      java.io.FileNotFoundException: /opt/open-xchange/etc/groupware/osgi/org.eclipse.osgi/.manager/.fileTableLock (Permission denied)
      	at java.io.RandomAccessFile.open(Native Method)
      	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
      	at org.eclipse.core.runtime.internal.adaptor.Locker_JavaNio.lock(Locker_JavaNio.java:32)
      
      
      !ENTRY com.openexchange.caching 4 0 2008-12-05 11:19:04.188
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      
      !ENTRY com.openexchange.caching 4 0 2008-12-05 11:19:04.190
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      
      !ENTRY org.eclipse.osgi 4 0 2008-12-05 11:19:04.203
      !MESSAGE An unexpected runtime error has occurred.
      !STACK 0
      java.lang.NoClassDefFoundError: org/apache/jcs/engine/control/CompositeCacheManager
      	at com.openexchange.caching.internal.JCSCacheServiceInit.initializeCompositeCacheManager(JCSCacheServiceInit.java:168)
      	at com.openexchange.caching.internal.JCSCacheServiceInit.start(JCSCacheServiceInit.java:206)
      
      !ENTRY com.openexchange.caching 4 0 2008-12-05 11:19:04.204
      !MESSAGE 
      !STACK 0
      java.lang.NoClassDefFoundError: org/apache/jcs/engine/control/CompositeCacheManager
      	at com.openexchange.caching.internal.JCSCacheServiceInit.initializeCompositeCacheManager(JCSCacheServiceInit.java:168)
      	at com.openexchange.caching.internal.JCSCacheServiceInit.start(JCSCacheServiceInit.java:206)
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.213
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.221
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.222
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.223
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.224
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.225
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.226
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.227
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.302
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      	at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:251)
      	
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.305
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.306
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      	
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.307
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      	at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:251)
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.308
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.309
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.311
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.312
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      	at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:251)
      
      !ENTRY com.openexchange.data.conversion.ical.ical4j 4 0 2008-12-05 11:19:04.318
      !MESSAGE 
      !STACK 0
      org.osgi.framework.BundleException: Exception in com.openexchange.data.conversion.ical.ical4j.osgi.Activator.start() of bundle com.openexchange.data.conversion.ical.ical4j.
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
      	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350)
      	
      !ENTRY net.freeutils.jcharset 4 0 2008-12-05 11:19:04.558
      !MESSAGE 
      !STACK 0
      java.util.zip.ZipException: Permission denied
      	at java.util.zip.ZipFile.open(Native Method)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:203)
      	at java.util.zip.ZipFile.<init>(ZipFile.java:234)
      	at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:251)
      	a
      !ENTRY org.eclipse.osgi 4 0 2008-12-05 11:19:04.654
      !MESSAGE Bundle initial@reference:file:com.openexchange.data.conversion.ical.ical4j.jar/ [8] is not active.
      
      !ENTRY org.eclipse.osgi 4 0 2008-12-05 11:19:04.654
      !MESSAGE Bundle initial@reference:file:net.freeutils.jcharset.jar/ [26] is not active.
      
      !ENTRY org.eclipse.osgi 4 0 2008-12-05 11:19:33.891
      !MESSAGE 
      !STACK 0
      java.io.IOException: Permission denied
      	at java.io.UnixFileSystem.createFileExclusively(Native Method)
      	at java.io.File.checkAndCreate(File.java:1345)
      	at java.io.File.createTempFile(File.java:1434)
      	at org.eclipse.osgi.storagemanager.StorageManager.createTempFile(StorageManager.java:721)
      	at org.eclipse.osgi.storagemanager.StorageManager.getOutputStream(StorageManager.java:783)
      	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundleDatas(BaseStorage.java:489)
      	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:382)
      	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(BaseStorage.java:372)
      	at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(BaseStorage.java:1115)
      	at java.lang.Thread.run(Thread.java:595)
      
      !ENTRY org.eclipse.osgi 4 0 2008-12-05 11:19:33.891
      !MESSAGE 
      !STACK 0
      java.io.IOException: Permission denied
      	at java.io.UnixFileSystem.createFileExclusively(Native Method)
      	at java.io.File.checkAndCreate(File.java:1345)
      	at java.io.File.createTempFile(File.java:1434)
      	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveStateData(BaseStorage.java:539)
      	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:383)
      	at org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(BaseStorage.java:372)
      	at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(BaseStorage.java:1115)
      	at java.lang.Thread.run(Thread.java:595)
      I had to shorten this because of forum limits, but there seems to me a major poroblem???!!!
      That's so far.

      Comment


      • #4
        ahh okay!

        It seems like you've started the groupware as root by calling the script /opt/open-xchange/sbin/open-xchange-groupware instead of using /etc/init.d/open-xchange-groupware!

        This leads to the problem that files below /opt/open-xchange/etc/groupware/osgi/ (and maybe others too) are chown'ed to root which leads to the problem that when starting the groupware as system user "open-xchange", those files cannot be accessed.

        chown those directories and files to open-xchange should solve the problem.

        Please only use the init.d script to start the groupware.

        Comment


        • #5
          Thx for you help so far!

          I always use the init.d scrpits for start and stop.

          I looked up the owners to. Every file was root:root - but i changeonnd the whole /opt/open-xchange dir to root:root with -R to make shure. (hope i did not do anything wrong!)

          Restarted the hole thing - (apache, ox-admin and ox-groupware)

          Same problem...

          Comment


          • #6
            Hi,

            the problem IS that those files are chowned root:root and the OX startup script is working as user open-xchage - please chown that directory to open-xchange : open-xchange.

            Greetings

            Comment


            • #7
              Nope. Sill the same... change'ownd the whole /opt/open-xchange to open-xchange ----- restarted ... but didn't work out

              Comment


              • #8
                Still the same error at the log file?

                Comment


                • #9
                  indeed, all the same

                  Comment


                  • #10
                    Maybe there is something wrong with my java install... checking.

                    Comment


                    • #11
                      I'm just curious about the permission denied error - this typically arises if the permissions at the filesystem are wrong.

                      Comment


                      • #12
                        Typicly, yes.
                        Funny thing about it: I installed OX at home on a VM (all the same as my remote host)

                        There it is working fine. Im checking the diffrences.

                        Seems to be java for me...

                        Comment


                        • #13
                          Ok, little progress. The eclipse problem was - as you sugestetd - a problem with file permisstons. Checked the permissions of my running home installation.

                          Since from the apt-get, all permissions of /opt/open-xchange have to be root:root. Except for
                          Code:
                          /opt/open-xchange/etc/osgi
                          It has to be open-xchangepen-xchange

                          The osgi dir has to look like this:
                          Code:
                          /opt/open-xchange/etc/groupware/osgi# ls -l
                          insgesamt 10
                          drwxr-xr-x 2 root         root         1560 2008-11-30 22:12 bundle.d
                          -rw-r--r-- 1 open-xchange open-xchange 2866 2008-11-30 22:34 config.ini
                          -rw-r--r-- 1 root         root          374 2008-09-26 11:52 config.ini.template
                          drwx--x--x 4 open-xchange open-xchange  176 2008-12-06 18:32 org.eclipse.osgi
                          The whole org.eclipse.osgi has to be changeon'd -R to open-xchange.

                          The open-xchange-osgi.log is now cleaed of error messages.

                          But is dos not solve the AJP problem. My enabled Apache Mods:
                          Code:
                          alias.load	    authz_groupfile.load  cgi.load	dir.load      jk.load		php5.load	rewrite.load   status.load
                          auth_basic.load     authz_host.load	  deflate.conf	env.load      mime.load		proxy.conf	setenvif.load
                          authn_file.load     authz_user.load	  deflate.load	expires.load  negotiation.load	proxy.load	ssl.conf
                          authz_default.load  autoindex.load	  dir.conf	headers.load  php5.conf		proxy_ajp.load	ssl.load
                          All the same mods as on my Testsystem.

                          Portcsan of my Testsystem says 8009 is oben with ajp13
                          (No firewall on both systems)
                          This is not the case here.

                          Comment


                          • #14
                            Ok, another one.

                            For testing I installed tomcat5.5 (i know OX is not using tomcat anymore)
                            But with tomcat runnting, ajp13 suddenly turnd up with a portscan:

                            Code:
                            Interesting ports on localhost (127.0.0.1):
                            Not shown: 1671 closed ports
                            PORT      STATE SERVICE
                            21/tcp    open  ftp
                            22/tcp    open  ssh
                            25/tcp    open  smtp
                            465/tcp   open  smtps
                            993/tcp   open  imaps
                            3306/tcp  open  mysql
                            8009/tcp  open  ajp13
                            9999/tcp  open  abyss

                            Of course, OX refused to run:

                            Code:
                            Dec 6, 2008 8:25:18 PM com.openexchange.server.osgiservice.DeferredActivator signalAvailability
                            SEVERE: AJP-0021 Category=6 Message=AJP server socket could not be bound to port 8009. Probably another process is already listening on this port. exceptionID=2071012871-2
                            AJP-0021 Category=6 Message=AJP server socket could not be bound to port 8009. Probably another process is already listening on this port. exceptionID=2071012871-2
                            When tring to log in, I had a 404 - Error.

                            With tomcat disabled, log says:

                            Code:
                            ec 6, 2008 9:02:34 PM com.openexchange.ajp13.AJPv13Config logInfo
                            INFO: 
                            AJP CONFIGURATION:
                            	AJP_PORT=8009
                            	AJP_SERVER_THREAD_SIZE=1
                            	AJP_MAX_NUM_OF_SOCKETS=150
                            	AJP_MOD_JK=true
                            	AJP_LISTENER_POOL_SIZE=1
                            	AJP_LISTENER_READ_TIMEOUT=0
                            	AJP_CONNECTION_POOL=false
                            	AJP_CONNECTION_POOL_SIZE=100
                            	AJP_REQUEST_HANDLER_POOL=false
                            	AJP_REQUEST_HANDLER_POOL_SIZE=100
                            	AJP_WATCHER_ENABLED=true
                            	AJP_WATCHER_PERMISSION=false
                            	AJP_WATCHER_MAX_RUNNING_TIME=60000
                            	AJP_WATCHER_FREQUENCY=30000
                            	SERVLET_POOL_SIZE=1
                            	AJP_JVM_ROUTE=APP1
                            	AJP_CHECK_MAGIC_BYTES_STRICT=true
                            	AJP_LOG_FORWARD_REQUEST=false
                            	AJP_SERVLET_CONFIG_DIR=/opt/open-xchange/etc/groupware/servletConfig
                            	AJP_BIND_ADDR=/212.40.173.77
                            Dec 6, 2008 9:02:34 PM com.openexchange.ajp13.AJPv13ListenerPool initPool
                            INFO: 1 AJPv13-Listeners created!
                            Dec 6, 2008 9:02:34 PM com.openexchange.ajp13.AJPv13Server initializePools
                            The created listener is a bloody lie!!!!

                            But I also discovered that ajp wanted a config dir named
                            Code:
                            /opt/open-xchange/etc/groupware/servletConfig
                            It didn't even exist. I created it and verified it with my running version... even there this dir is non existent. So -- do i need it? And what should be inside?
                            Last edited by Guest; 12-06-2008, 10:08 PM.

                            Comment


                            • #15
                              FOUND IT!!!

                              Ok, folks. The problem was with the install script:

                              It changes the BIND address of the ajp interface to the host ip. This dos not work out, since ox will access ajp over the loopback device (127.0.0.1) Just edit
                              Code:
                              /opt/open-xchange/etc/groupware/ajp.properties
                              and change the folowing parameter

                              Code:
                              AJP_BIND_ADDR=YOUR.EXTERN.IP.ADDRESS
                              to

                              Code:
                              AJP_BIND_ADDR=*
                              (Assumuming you have only one network interface) did the trick for me. It should also work with 127.0.0.1

                              After restart of ox-groupware you will see the open ajp13 port at 8009tcp



                              Now I have to solve the mail server connection problem....

                              Comment

                              Working...
                              X