Announcement

Collapse
No announcement yet.

Incorrect file format 'proc'

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

  • Incorrect file format 'proc'

    Hello!
    Excuse me for my English, translate the dictionary.
    I'm from Russia, and has worked with younger versions of OX, but now has decided to test the new version and immediately encountered problems which can not see from others, ask if you can help.
    I'm using, Debian 4.0 with the latest updates
    mysql 5.0.32-Debian_7etch8
    for installation instructions used
    1) http://www.open-xchange.com/wiki/ind...e_Installation
    2) http://www.open-xchange.com/wiki/ind...ion_Ubuntu8.04
    3) http://www.open-xchange.com/wiki/ind...dition_Debian4
    4) CVS http://213.165.93.78/ ~ mbraun / ox /

    As you may have noticed, I tried to put as a deb package or from source code, but a mistake in both cases one, and I can not do more to remove.
    The installation script creates a framework configdb, but it was I did not created until I removed lo these lines:
    /opt/open-xchange/etc/admindaemon/mysql/configdb.sql
    Code:
    #DROP PROCEDURE IF EXISTS get_configdb_id;
    DELIMITER //
    #CREATE PROCEDURE get_configdb_id() NOT DETERMINISTIC MODIFIES SQL DATA
    #BEGIN
    #    DECLARE identifier INT4 UNSIGNED;
    #    SET identifier = 0;
    #    SELECT id INTO identifier FROM configdb_sequence FOR UPDATE;
    #    IF 0 = identifier THEN
    #        INSERT INTO configdb_sequence (id) VALUES (identifier);
    #    END IF;
    #    SET identifier = identifier + 1;
    #    UPDATE configdb_sequence SET id = identifier;
    #    SELECT identifier;
    #END//
    #DELIMITER ;
    And a mistake "Incorrect file format 'proc'" propane database was created.
    However, it appeared to create a user oxadmin
    I quote the log:
    Code:
    server:/etc/apt# /opt/open-xchange/sbin/oxinstaller --oxdb-pass=admin1 --admin-pass=admin1 --maildomain tur.perm.ru
    initializing database (step 1/2)
    done
    Configuring services
    setting readUrl in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting writeUrl in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting readProperty.1 in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting readProperty.2 in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting writeProperty.1 in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting writeProperty.2 in /opt/open-xchange/etc/admindaemon/configdb.properties
    setting readUrl in /opt/open-xchange/etc/groupware/configdb.properties
    setting writeUrl in /opt/open-xchange/etc/groupware/configdb.properties
    setting readProperty.1 in /opt/open-xchange/etc/groupware/configdb.properties
    setting readProperty.2 in /opt/open-xchange/etc/groupware/configdb.properties
    setting writeProperty.1 in /opt/open-xchange/etc/groupware/configdb.properties
    setting writeProperty.2 in /opt/open-xchange/etc/groupware/configdb.properties
    setting CREATE_HOMEDIRECTORY in /opt/open-xchange/etc/admindaemon/User.properties
    setting SetupLink in /opt/open-xchange/etc/groupware/system.properties
    setting AUTO_TO_LOWERCASE_UID in /opt/open-xchange/etc/admindaemon/User.properties
    (Re)Starting Admin Daemon
    done
    initializing database (step 2/2)
    context 1 could not be created:
    Server response:
     java.sql.BatchUpdateException: Incorrect file format 'proc'
    user in context 1 could not be created:
    Server response:
     Authentication failed
    Server response:
     Authentication failed
    done
    setting up the system
    creating certificates
    certificate could not be created:
    Server response:
     Authentication failed
    chmod: невозможно получить доступ к `/etc/ssl/certs/eecert.pem': No such file or directory
    chmod: невозможно получить доступ к `/etc/ssl/private/eekey.pem': No such file or directory
    chgrp: невозможно получить доступ к `/etc/ssl/private/eekey.pem': No such file or directory
    configuring mail system
    using mail.tur.perm.ru as FQHN of the mail server
    Server response:
     Authentication failed
    done
    Give ask you what the problem?

  • #2
    PLS Help ME!

    PLS I need help...

    server:/opt/open-xchange# /opt/open-xchange/sbin/createcontext -A oxadminmaster -P admin1 -c 1 -u oxadmin -d "Context Admin" -g Admin -s User -p admin1 -L defaultcontext -e oxadmin@tur.perm.ru -q 1024 --access-combination-name=all
    context 1 could not be created:
    Server response:
    java.sql.BatchUpdateException: Incorrect file format 'proc'

    I'm kill this bad script, very bad script....

    Comment


    • #3
      Hi,

      could you please post the stacktrace (exact error message) at /var/log/open-xchange-admin.log.0 when executing the command?

      What version of OX are you using? It seems you've used many types of installation and maybe there are some fragments from older installations, using the Debian Guide at the Wiki and the package repositories mentioned there, should work fine on a clean system.

      Greetings

      Comment


      • #4
        Originally posted by Martin Braun View Post
        could you please post the stacktrace (exact error message) at /var/log/open-xchange-admin.log.0 when executing the command?
        Unfortunately now the server is not available to me later, I publish log

        Originally posted by Martin Braun View Post
        What version of OX are you using?
        I do understand the latest available in the repository

        Originally posted by Martin Braun View Post
        It seems you've used many types of installation and maybe there are some fragments from older installations,
        Installation is done on the server where there was OX and this error appeared immediately with the first installation, and then I started trying to put through CVS

        Originally posted by Martin Braun View Post
        using the Debian Guide at the Wiki and the package repositories mentioned there, should work fine on a clean system.
        I'm using http://www.open-xchange.com/wiki/ind...dition_Debian4

        Comment


        • #5
          Hi,

          obviously this is a error at the MySQL Setup, please check the mysql logs for more information and contact your distribution or database vendor.




          Greetings
          Last edited by Martin Heiland; 12-25-2008, 02:32 AM.

          Comment


          • #6
            The output from your install log as shown there:



            indicates, that you are using the old cvs version.

            Please install everything from scratch using the package version and especially run the initconfigdb part as documented there:

            Comment


            • #7
              open-xchange-admin.log.0

              Code:
              23.12.2008 23:14:47 com.openexchange.admin.rmi.impl.OXContextCommonImpl createcommon
              SEVERE: java.sql.BatchUpdateException: Incorrect file format 'proc'
              com.openexchange.admin.rmi.exceptions.StorageException: java.sql.BatchUpdateException: Incorrect file format 'proc'
                      at com.openexchange.admin.storage.mysqlStorage.OXUtilMySQLStorageCommon.createDatabase(OXUtilMySQLStorageCommon.java:131)
                      at com.openexchange.admin.storage.mysqlStorage.OXUtilMySQLStorage.createDatabase(OXUtilMySQLStorage.java:397)
                      at com.openexchange.admin.storage.mysqlStorage.OXContextMySQLStorage.create(OXContextMySQLStorage.java:1121)
                      at com.openexchange.admin.rmi.impl.OXContext.createmaincall(OXContext.java:712)
                      at com.openexchange.admin.rmi.impl.OXContextCommonImpl.createcommon(OXContextCommonImpl.java:135)
                      at com.openexchange.admin.rmi.impl.OXContext.create(OXContext.java:208)
                      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:466)
                      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
                      at java.lang.Thread.run(Thread.java:595)
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.daemons.Activator start
              INFO: Starting Admindaemon...
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
              INFO: org.eclipse.osgi already started before admin.
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
              INFO: com.openexchange.global already started before admin.
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
              INFO: com.openexchange.i18n already started before admin.
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
              INFO: com.openexchange.management already started before admin.
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
              INFO: com.openexchange.monitoring already started before admin.
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
              INFO: com.openexchange.passwordchange.database already started before admin.
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
              INFO: com.openexchange.server already started before admin.
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.daemons.AdminDaemon getCurrentBundleStatus
              INFO: javax.servlet already started before admin.
              Dec 25, 2008 4:22:35 AM com.openexchange.admin.tools.AdminCache initOXProccess
              INFO: OX init starting...
              Dec 25, 2008 4:22:36 AM com.openexchange.admin.tools.AdminCache initOXProccess
              INFO: ...OX init done!
              Dec 25, 2008 4:22:36 AM com.openexchange.admin.tools.AdminCache initCache
              INFO: Init Cache
              Dec 25, 2008 4:22:36 AM com.openexchange.admin.daemons.AdminDaemon initCache
              INFO: Cache and Pools initialized!
              Dec 25, 2008 4:22:36 AM com.openexchange.admin.tools.AdminCache initAccessCombinations
              INFO: Processing access combinations...
              Dec 25, 2008 4:22:36 AM com.openexchange.admin.tools.AdminCache initAccessCombinations
              INFO: Processing access combinations...
              Dec 25, 2008 4:22:36 AM com.openexchange.admin.tools.AdminCache initAccessCombinations
              INFO: Access combinations processed!
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.daemons.AdminDaemon$LocalServerFactory createServerSocket
              INFO: Admindaemon will listen on localhost!
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.rmi.impl.OXUser <init>
              INFO: Class loaded: com.openexchange.admin.rmi.impl.OXUser
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.rmi.impl.OXGroup <init>
              INFO: Class loaded: com.openexchange.admin.rmi.impl.OXGroup
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.rmi.impl.OXResource <init>
              INFO: Class loaded: com.openexchange.admin.rmi.impl.OXResource
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.rmi.impl.OXLogin <init>
              INFO: Class loaded: com.openexchange.admin.rmi.impl.OXLogin
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.daemons.Activator start
              INFO: Version: 6.6.0
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.daemons.Activator start
              INFO: Name: open_xchange_admin
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.daemons.Activator start
              INFO: Build: 6610
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.daemons.Activator start
              INFO: Admindaemon successfully started.
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
              INFO: open_xchange_admin changed to 2
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.tools.AdminCache initOXProccess
              INFO: OX init starting...
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.tools.AdminCache initOXProccess
              INFO: ...OX init done!
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.tools.AdminCache initCache
              INFO: Init Cache
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.PluginStarter initCache
              INFO: Cache and Pools initialized!
              Dec 25, 2008 4:22:37 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 25, 2008 4:22:37 AM com.openexchange.admin.PluginStarter startJMX
              INFO: Admindaemon Name: oxserver
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
              INFO: open_xchange_admin_plugin_hosting changed to 2
              Dec 25, 2008 4:22:37 AM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
              INFO: org.apache.commons.logging changed to 2
              Dec 25, 2008 4:22:38 AM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
              INFO: org.eclipse.equinox.event changed to 2
              Dec 25, 2008 4:22:38 AM com.openexchange.admin.daemons.AdminDaemon$1 bundleChanged
              INFO: org.eclipse.osgi.services changed to 2
              server:/var/log/open-xchange# apt-cache search open-xchange
              Code:
              open-xchange - Open-Xchange server scripts and configuration
              open-xchange-admin - Open Xchange Admin Daemon containing commandline tools and provisioning interface
              open-xchange-admin-client - The Open Xchange Admin Daemon RMI client library
              open-xchange-admin-doc - Documentation for the Open Xchange RMI client library.
              open-xchange-admin-plugin-hosting - Open Xchange Admin Hosting Plugin
              open-xchange-admin-plugin-hosting-doc - Documentation for the Open Xchange RMI client library.
              open-xchange-admin-soap - Open Xchange Admin SOAP API
              open-xchange-authentication-database - The Open-Xchange Database Authentication
              open-xchange-authentication-ldap - The Open-Xchange LDAP Authentication
              open-xchange-axis2 - The Open-Xchange Axis2 Bundle
              open-xchange-cache - The Open-Xchange Server Caching Bundle
              open-xchange-charset - charset bundle
              open-xchange-common - jar files and OSGi bundles commonly used by all open-xchange packages
              open-xchange-commons-logging-log4j - Fragment for commons logging for adding dependency to log4j
              open-xchange-configjump-generic - The Open-Xchange generic ConfigJump
              open-xchange-configread - The Open-Xchange Server Config Bundle
              open-xchange-control - The Open-Xchange Server Control Bundle
              open-xchange-data-conversion-ical4j - The Open-Xchange data conversion iCal4j implementation
              open-xchange-global - global bundle
              open-xchange-group-managerequest - The Open-Xchange Server Group Management Request Bundle
              open-xchange-gui - Package containing the AJAX gui
              open-xchange-i18n - The Open-Xchange i18n Bundle
              open-xchange-imap - The Open-Xchange Server IMAP Bundle
              open-xchange-jcharset - jcharset bundle
              open-xchange-log4j - log4j library bundle and xml configuration file
              open-xchange-mailfilter - Open Xchange Mailfilter Plugin
              open-xchange-management - The Open-Xchange Management Bundle
              open-xchange-monitoring - The Open-Xchange Monitoring Bundle
              open-xchange-online-help-he-de - Package containing german OX online help
              open-xchange-online-help-he-en - Package containing english OX online help
              open-xchange-online-help-he-fr - Package containing french OX online help
              open-xchange-passwordchange-database - The Open-Xchange Password Change Database Bundle
              open-xchange-passwordchange-servlet - The Open-Xchange Password Change Servlet
              open-xchange-push-udp - The Open-Xchange Server Push UDP Bundle
              open-xchange-resource-managerequest - The Open-Xchange Server Resource Manage Request Bundle
              open-xchange-server - The Open-Xchange Server Bundle
              open-xchange-sessiond - The Open-Xchange Server Session Daemon
              open-xchange-settings-extensions - The Open-Xchange Settings Extensions
              open-xchange-smtp - The Open-Xchange Server SMTP Bundle
              open-xchange-spamhandler-default - The Open-Xchange Default Spam Handler
              open-xchange-spamhandler-spamassassin - The Open-Xchange SpamAssassin Handler
              server:/var/log/open-xchange# apt-cache showpkg open-xchange
              Code:
              Package: open-xchange
              Versions:
              6.6.0-10(/var/lib/apt/lists/software.open-xchange.com_OX6_stable_DebianEtch_Packages)(/var/lib/dpkg/status)
              
              Reverse Depends:
              Dependencies:
              6.6.0-10 - open-xchange-server (0 (null)) adduser (0 (null)) open-xchange-authentication (0 (null)) open-xchange-cache (0 (null)) open-xchange-charset (0 (null)) open-xchange-configjump (0 (null)) open-xchange-configread (0 (null)) open-xchange-control (0 (null)) open-xchange-global (0 (null)) open-xchange-i18n (0 (null)) open-xchange-mailstore (0 (null)) open-xchange-jcharset (0 (null)) open-xchange-management (0 (null)) open-xchange-monitoring (0 (null)) open-xchange-push-udp (0 (null)) open-xchange-sessiond (0 (null)) open-xchange-smtp (0 (null)) open-xchange-spamhandler (0 (null)) open-xchange-spellcheck (0 (null)) open-xchange-settings-extensions (0 (null)) open-xchange-config-hosting (0 (null)) open-xchange-config-standard (0 (null)) open-xchange-config-hosting (0 (null)) open-xchange-config-standard (0 (null))
              Provides:
              6.6.0-10 - open-xchange-config
              Reverse Provides:
              Last edited by Guest; 12-25-2008, 01:52 PM.

              Comment

              Working...
              X