StarOffice Update 6 = Unable to open database tables anymore

Since I updated my StarOffice installallation to StarOffice 8 Product Update 6 I can't open the tables in my firebird and mysql databases. The connection is successfully established but when I try to open a table StarOffice freezes and about 30 seconds later I get the following error messages:
Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Programme\Sun\StarOffice 8\program\soffice.BIN
abnormal program terminationWhen I revert back to StarOffice 8 Product Update 5 everything is ok again.
I'm using StarOffice under Windows XP SP2 (German) with all available patches. I'm able to reproduce the error with JRE 1.4.2 and 1.5.0.
The problem also exists in OpenOffice 2.2.
Thanks for help
Sebastian
edit: This seems to be a bug. For more Informations look at
http://www.openoffice.org/issues/show_bug.cgi?id=74732
and for an OpenOffice inofficial fix
http://dba.openoffice.org/servlets/ProjectDocumentList?folderID=547&expandFolder=547&folderID=0

Monday 30 April 2007
From your description, the only thing I can think of is that SO8 comes with Mastersoft filters for MacWord up to version 5.1. It may be possible that SO8-PP6 is reading something in the file header and trying to open the file using the Mastersoft filter. OOo does not have the filters.
To test I would try to open the file making sure to select the filter to be used, rather than using auto open.
Phil

Similar Messages

  • Unable to update or insert into Access database table using OleDB, and it doesn't return any errors.

    I'm new to VS. I have run the following code. It does not produce any error, and it does not add or update data to my Access database table.
    dbUpdate("UPDATE prgSettings SET varValue='test' WHERE varSetting='test'")   
    Function dbUpdate(ByVal _SQLupdate As String) As String
            Dim OleConn As New OleDbConnection(My.Settings.DatabaseConnectionString.ToString)
            Dim oleComm As OleDbCommand
            Dim returnValue As Object
            Dim sqlstring As String = _SQLupdate.ToString
            Try
                OleConn.Open()
                MsgBox(OleConn.State.ToString)
                oleComm = New OleDbCommand(sqlstring, OleConn)
                returnValue = oleComm.ExecuteNonQuery()
            Catch ex As Exception
                ' Error occurred while trying to execute reader
                ' send error message to console (change below line to customize error handling)
                Console.WriteLine(ex.Message)
                Return 0
            End Try
            MsgBox(returnValue)
            Return returnValue
    End Function
    Any suggestions will be appreciated.
    Thanks.

    You code looks pretty good, at a quick glance.  Maybe you can simplify things a bit.
    For Insert, please see these samples.
    http://www.java2s.com/Code/CSharp/Database-ADO.net/Insert.htm
    For Update, please see these samples.
    http://www.java2s.com/Code/CSharp/Database-ADO.net/Update.htm
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.
    Best to keep samples here to VB.NET
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • N95 software update - "unable to open database"

    Hi all,
    Ive just done the update to V 20.0.016 and it seemed to work ok. I can add contacts, add calendar but it wont sync with my PC.
    it gives "unable to open database" on the phone.
    have tried removing the battery for 5 mins, the hard reset (though holding four buttons down was hard), restore to factory settings and reinastalled the update to no avail.
    any clues would be appreciated.
    Adie

    I had the same error message after updating my firmware. However, I had my config set to "delete all" data on phone before copying data from phone to PC. When I removed this setting and actually put something in the phone database all has worked fine.

  • Update A Column In A Database Table.

    I am unable to update a column in a database table.
    For example; I have ten records in an EMP table without having any EMPNO. I want to UPDATE (insert) 10 different EMPNO in a table. How can I do it? All I know is that there are ten records in the table; this means that I cannot use a WHERE clause with different criteria for each row.
    Thanks.

    Try something like this
    SQL> select * from emp_1
      2  /
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    14 rows selected.
    SQL> insert into emp_1(empno, ename, job, mgr, hiredate, sal, comm, deptno)
      2  select null, ename, job, mgr, hiredate, sal, comm, deptno
      3    from emp_1
      4   where rownum <= 10
      5  /
    10 rows created.
    SQL> select * from emp_1
      2  /
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
               SMITH      CLERK           7902 17-DEC-80        800                    20
               ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
               WARD       SALESMAN        7698 22-FEB-81       1250        500         30
               JONES      MANAGER         7839 02-APR-81       2975                    20
               MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
               BLAKE      MANAGER         7839 01-MAY-81       2850                    30
               CLARK      MANAGER         7839 09-JUN-81       2450                    10
               SCOTT      ANALYST         7566 19-APR-87       3000                    20
               KING       PRESIDENT            17-NOV-81       5000                    10
               TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
    24 rows selected.
    SQL> select max(empno) from emp_1
      2  /
    MAX(EMPNO)
          7934
    SQL> create sequence emp_seq start with 7935
      2  /
    Sequence created.
    SQL> update emp_1 set empno = emp_seq.nextval where empno is null
      2  /
    10 rows updated.
    SQL> select * from emp_1
      2  /
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
          7935 SMITH      CLERK           7902 17-DEC-80        800                    20
          7936 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7937 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7938 JONES      MANAGER         7839 02-APR-81       2975                    20
          7939 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7940 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7941 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7942 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7943 KING       PRESIDENT            17-NOV-81       5000                    10
          7944 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
    24 rows selected.

  • How to update field values in a database table using module pool prg?

    hi
    how to update field values in a database table using module pool prg?
    we created a customized table, and we put 2 push buttons in screen painter update and display.
    but update is not working?
    data is enter into screen fields and to internal table, but it is not updated in database table.
    thanks in adv
    vidya

    HI,
    we already used the update statement. but its not working.
    plz check this.
    *& Module Pool       ZCUST_CALL_REC
    PROGRAM  ZCUST_CALL_REC.
    TABLES: ZCUST_CALL_REC,ZREMARKS.
    data:  v_kun_low like ZCUST_CALL_REC-kunnr ,
           v_kun_high like ZCUST_CALL_REC-kunnr,
           v_bud_low like ZCUST_CALL_REC-budat,
           v_bud_high like ZCUST_CALL_REC-budat.
    ranges r_kunnr for ZCUST_CALL_REC-kunnr  .
    ranges r_budat for zcust_call_rec-budat.
    DATA: ITAB TYPE STANDARD TABLE OF ZCUST_CALL_REC WITH HEADER LINE,
          JTAB TYPE STANDARD TABLE OF ZREMARKS WITH HEADER LINE.
    *data:begin of itab occurs 0,
        MANDT LIKE ZCUST_CALL_REC-MANDT,
        kunnr like ZCUST_CALL_REC-kunnr,
        budat like ZCUST_CALL_REC-budat,
        code like ZCUST_CALL_REC-code,
        remarks like ZCUST_CALL_REC-remarks,
        end of itab.
    *data:begin of Jtab occurs 0,
        MANDT LIKE ZCUST_CALL_REC-MANDT,
        kunnr like ZCUST_CALL_REC-kunnr,
        budat like ZCUST_CALL_REC-budat,
        code like ZCUST_CALL_REC-code,
        remarks like ZCUST_CALL_REC-remarks,
        end of Jtab.
    CONTROLS:vcontrol TYPE TABLEVIEW USING SCREEN '9001'.
    CONTROLS:vcontrol1 TYPE TABLEVIEW USING SCREEN '9002'.
    *start-of-selection.
    *&      Module  USER_COMMAND_9000  INPUT
          text
    MODULE USER_COMMAND_9000 INPUT.
    CASE sy-ucomm.
    WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
    SET SCREEN 0.
    LEAVE SCREEN.
    CLEAR sy-ucomm.
    WHEN 'ENQUIRY'.
    perform multiple_selection.
    perform append_CUSTOMER_code.
    PERFORM SELECT_DATA.
    call screen '9001'.
    WHEN 'UPDATE'.
          perform append_CUSTOMER_code.
          PERFORM SELECT_DATA.
          call screen '9002'.
          perform update on commit.
    WHEN 'DELETE'.
          perform append_CUSTOMER_code.
          PERFORM SELECT_DATA.
          call screen '9002'.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9000  INPUT
    *&      Module  STATUS_9000  OUTPUT
          text
    MODULE STATUS_9000 OUTPUT.
      SET PF-STATUS 'ZCUSTOMER'.
    SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_9000  OUTPUT
    *&      Module  USER_COMMAND_9001  INPUT
          text
    MODULE USER_COMMAND_9001 INPUT.
    CASE sy-ucomm.
    WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
    SET SCREEN 0.
    LEAVE SCREEN.
    CLEAR sy-ucomm.
    endcase.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Module  STATUS_9001  OUTPUT
          text
    MODULE STATUS_9001 OUTPUT.
      SET PF-STATUS 'ZCUSTOMER'.
    SET TITLEBAR 'xxx'.
    move itab-MANDT   to zcust_call_rec-MANDT.
    move itab-kunnr   to zcust_call_rec-kunnr.
    move itab-budat   to zcust_call_rec-budat.
    move itab-code    to zcust_call_rec-code.
    move itab-remarks to zcust_call_rec-remarks.
    vcontrol-lines = sy-dbcnt.
    ENDMODULE.                 " STATUS_9001  OUTPUT
    *&      Module  USER_COMMAND_9002  INPUT
          text
    module  USER_COMMAND_9002 input.
    CASE sy-ucomm.
       WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
          SET SCREEN 0.
          LEAVE SCREEN.
          CLEAR sy-ucomm.
       WHEN 'UPDATE'.
             perform move_data.
         UPDATE ZCUST_CALL_REC FROM TABLE ITAB.
            IF SY-SUBRC = 0.
               MESSAGE I000(0) WITH 'RECORDS ARE UPDATED'.
             ELSE.
               MESSAGE E001(0) WITH 'RECORDS ARE NOT UPDATED'.
            ENDIF.
      WHEN 'DELETE'.
             perform move_data.
             DELETE ZCUST_CALL_REC FROM TABLE ITAB.
              IF SY-SUBRC = 0.
               MESSAGE I000(0) WITH 'RECORDS ARE DELETED'.
             ELSE.
               MESSAGE E001(0) WITH 'RECORDS ARE NOT DELETED'.
            ENDIF.
    endcase.
    endmodule.                 " USER_COMMAND_9002  INPUT
    *&      Module  STATUS_9002  OUTPUT
          text
    module STATUS_9002 output.
      SET PF-STATUS 'ZCUSTOMER1'.
    SET TITLEBAR 'xxx'.
    endmodule.                 " STATUS_9002  OUTPUT
    *&      Module  update_table  OUTPUT
          text
    module update_table output.
         move itab-MANDT   to zcust_call_rec-MANDT.
         move itab-kunnr   to zcust_call_rec-kunnr.
         move itab-budat   to zcust_call_rec-budat.
         move itab-code    to zcust_call_rec-code.
         move itab-remarks to zcust_call_rec-remarks.
    vcontrol-lines = sy-dbcnt.
    endmodule.                 " update_table  OUTPUT
    ***Selection Data
    FORM SELECT_DATA.
    SELECT  mandt kunnr budat code remarks  FROM zcust_call_rec INTO
                            table itab
                             WHERE kunnr IN r_kunnr AND BUDAT IN R_BUDAT.
    ENDFORM.
    ****append vendor code
    FORM APPEND_CUSTOMER_CODE.
    clear r_kunnr.
    clear itab.
    clear r_budat.
    refresh r_kunnr.
    refresh itab.
    refresh r_kunnr.
    IF r_kunnr  IS INITIAL
                  AND NOT v_kun_low IS INITIAL
                   AND NOT v_kun_high IS INITIAL.
                        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                                    EXPORTING
                                       input         = v_kun_low
                                    IMPORTING
                                       OUTPUT        = r_kunnr-low.
                       CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                                  EXPORTING
                                      input         = v_kun_high
                                  IMPORTING
                                      OUTPUT        = r_kunnr-high.
                     r_kunnr-option = 'BT'.
                     r_kunnr-sign = 'I'.
                     append r_kunnr.
       PERFORM V_BUDAT.
    ELSEIF r_kunnr  IS INITIAL
                  AND NOT v_kun_low IS INITIAL
                   AND  v_kun_high IS INITIAL.
                        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                                    EXPORTING
                                       input         = v_kun_low
                                    IMPORTING
                                       OUTPUT        = r_kunnr-low.
                    r_kunnr-SIGN = 'I'.
                    r_kunnr-OPTION = 'EQ'.
                    APPEND r_kunnr.
       PERFORM V_BUDAT.
    ELSEIF r_kunnr IS INITIAL
                  AND  v_kun_low IS INITIAL
                   AND NOT v_kun_high IS INITIAL.
                        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                                    EXPORTING
                                       input         = v_kun_low
                                    IMPORTING
                                       OUTPUT        = r_kunnr-low.
                    r_kunnr-SIGN = 'I'.
                    r_kunnr-OPTION = 'EQ'.
                    APPEND r_kunnr.
          PERFORM V_BUDAT.
    ELSEIF r_kunnr IS INITIAL
                  AND  v_kun_low IS INITIAL
                   AND  v_kun_high IS INITIAL.
                        IF SY-SUBRC = 0.
                             MESSAGE I003(0) WITH 'ENTER CUSTOMER NUMBER'.
                              CALL SCREEN '9000'.
                        ENDIF.
    PERFORM V_BUDAT.
    ENDIF.
    ENDFORM.
    FORM V_BUDAT.
    IF  R_BUDAT IS INITIAL
                   AND NOT v_BUD_low IS INITIAL
                   AND NOT v_BUD_high IS INITIAL.
                     r_budat-low = v_bud_low.
                     r_budat-high = v_bud_high.
                     r_budat-option = 'BT'.
                     r_budat-sign = 'I'.
                     append r_budat.
             ELSEIF  R_BUDAT IS INITIAL
                   AND NOT v_BUD_low IS INITIAL
                   AND  v_BUD_high IS INITIAL.
                     r_budat-low = v_bud_low.
                     r_budat-high = v_bud_high.
                     r_budat-option = 'EQ'.
                     r_budat-sign = 'I'.
                     append r_budat.
             ELSEIF  R_BUDAT IS INITIAL
                   AND  v_BUD_low IS INITIAL
                   AND NOT v_BUD_high IS INITIAL.
                     r_budat-HIGH = v_bud_HIGH.
                     r_budat-option = 'EQ'.
                     r_budat-sign = 'I'.
                     append r_budat.
              ELSEIF  R_BUDAT IS INITIAL
                   AND  v_BUD_low IS INITIAL
                   AND  v_BUD_high IS INITIAL.
                   IF SY-SUBRC = 0.
                       MESSAGE I002(0) WITH 'ENTER POSTING DATE'.
                      CALL SCREEN '9000'.
                    r_budat-low = ''.
                    r_budat-option = ''.
                    r_budat-sign = ''.
                    ENDIF.
            ENDIF.
    ENDFORM.
    *&      Form  update
          text
    -->  p1        text
    <--  p2        text
    form update .
    commit work.
    endform.                    " update
    *&      Form  move_data
          text
    -->  p1        text
    <--  p2        text
    form move_data .
       clear itab.
      refresh itab.
           move-corresponding  zcust_call_rec to itab.
           MOVE ZCUST_CALL_REC-MANDT   TO ITAB-MANDT.
           MOVE ZCUST_CALL_REC-KUNNR   TO ITAB-KUNNR.
           MOVE ZCUST_CALL_REC-BUDAT   TO ITAB-BUDAT.
           MOVE ZCUST_CALL_REC-CODE    TO ITAB-CODE.
           MOVE ZCUST_CALL_REC-REMARKS TO ITAB-REMARKS.
         APPEND ITAB.
         delete itab where kunnr is initial.
    endform.                    " move_data
    thanks in adv
    vidya

  • Mac Manager: Unable to open databases

    I'm running the 10.4 upgrade and Mac Manager. I'm suddenly unable to open the MM admin program and am given the following error:
    Unable to open databases on "OurServer" because of an unknown error: A disk error has occurred
    I've tried rebuilding the databases by following the directions in Article 88023, but that hasn't changed anything. I still can't open MM and our users are unable to login.
    Any help would be greatly appreciated

    I have 5 buildings that are still using MM. We recently upgraded the servers from 10.2.8 to 10.3.9. When I try to admin MM on the 10.3 servers from my laptop with 10.4.7 I get an error, something like, unable to access database, folder not found.
    However if I run MM admin from a 10.3 workstation it works fine. have you tried to admin MM from a different workstation?
    iBOOK G4   Mac OS X (10.4.7)  

  • User unable to open Database in RSC 3.1

    Hey Everyone
    I've got a user whose unable to open a database in RoboSource Control 3.1. She receives no error and RSC just sits there like DB connection was never opened. She can open other databases.
    I've tried different accounts on her machine and the database won't open for them either, but her account can open the database from other machines. I've repaired and uninstalled/reinstalled RSC but to no avail. I originally thought this to be a cache problem, but since it's affecting other accounts I'm no longer sure.
    Has anyone seen something like this before?
    Thanks!

    I am out of the office until 27-07-2009.
    If you require assistance please contact the helpdesk at
    [email protected] or +1 709 724 8529.
    Thanks
    Note: This is an automated response to your message  "[RoboSource Control]
    User unable to open Database in RSC 3.1" sent on 7/24/2009 8:43:06 PM.
    This is the only notification you will receive while this person is away.
    This e-mail may contain confidential information and the sender does not waive any related rights and obligations. If you are not the intended recipient please notify the sender and discard it.

  • Handling update and insert in a database table

    Hi guys,
    I have some data in a database table which I created.Every day some new records come into the table.what i want is that if the account no of the new record which comes say today already exists in the table hen I do not insert a new record but only update the value field related to the account no.
    Being more explicit:
    say my table has two columns
    acc no        value.
    10                3500
    Now as for the existing account no 10 say a new value 300 comes in I want that a new field is not created rather the value is made to 3500+300.
    and if an accno 20 comes which is not there in table a new row is aded for that.
    Any suggestions would be appreciated.
    Thanks

    Hi
    you can do the following way.
    report ztest.
    data: begin of itab occurs 0,
            accno type char10,
            value type i,
          end of itab.
    data: it_acc like itab occurs 0 with header line,
          it_acc1 like itab occurs 0 with header line.
    Assume already value in itab.
    select *
      into table it_acc
      from zacc
        for all entries in table itab.
    where accno eq itab-accno.
    loop at it_acc.
      collect it_acc to it_acc1.
    endloop.
    loop at itab.
      collect itab to it_acc1.
    endloop.
    modify zacc from table it_acc1.
    Reward points, if it is useful.
    Regards
    Raja.
    Edited by: Ravindra Raja on May 28, 2008 5:38 PM

  • Based on single Doc number Multiple line items update to in single Z database table

    Dear Frds,
    Based on single Doc number Multiple line items update to database table
    Example : Doc Num: Janu
    If users are using different doc number again the line items are modifying and replacing to new document Number . Pls Help me Screen attached as
    Like CS01 Transaction

    Dear Frds,
    Based on single Doc number Multiple line items update to database table
    Example : Doc Num: Janu
    If users are using different doc number again the line items are modifying and replacing to new document Number . Pls Help me Screen attached as
    Like CS01 Transaction

  • How to update small letters into a database table

    Hi Guys,
                    Iam updating a database table. I want to update lower case letters into the table. But by default all the lower case gets converted to Uppercase. How to acheive this requriement.?
    Regards.
    Harish.

    hi
    On the domain of the particular field , within the definition tab you have to select the lower case check box . Only if this is checked then alone the values with lower case will be saved else it will be converted to upper case by default.
    Hope this will answer your need.
    Please give 10 points
    - Dheepak

  • Error prompts when Automatic Update Cycle --Unable to open changes.txt

    Hi all,
    i have a problem when start Automatic Update Cycle in Indexer tab in Repository Manager. It prompts me that
    Indexing abort at .....Unable to open /app/ucm/server/search/update/changes.txt
    Then i checked the changes.txt file but find it is blank.
    The version of my Content Server is 10GR3.
    Anyone knows why?
    Thanks,
    Jiahua
    Edited by: user7230116 on 2009-7-9 上午12:35
    Edited by: user7230116 on 2009-7-9 上午12:35

    Are you using verity?
    Try this:
    Stop services (admin and regular)
    Delete the <install>\<instance>\search\update\changes.txt file
    Restart both services
    This may allow Verity to start the indexing process over.
    Test.

  • Master unable to open database

    I am trying to run a replicated Berkeley DB instance and while the environment is created successfully and the master is elected, when the master attempts to open the database it returns an ENOENT. According the the documentation (and replication guide) this type of error occurs upon open when a replica attempts to open the database when it has not been created yet. While this makes sense for the replica, it doesn't seem like the master should ever return this error, particularly since the master has the DB_CREATE flag set. It is unclear to my why it is that the master replica is unable to open the database, does anyone know why this is occurring?
    Here is the relevant code:
    try
    u_int32_t envFlags;
    // First initialize the database enviroment information
    envFlags = DB_CREATE | // If the environment does not exist, create it.
    DB_RECOVER | // Run normal recovery
    DB_INIT_LOCK | // Initialize locking
    DB_INIT_LOG | // Initialize logging
    DB_INIT_MPOOL | // Initialize the cache
    DB_INIT_TXN | // Initialize transactions
    DB_INIT_REP | // Initialize replication
    DB_THREAD; // free-threaded (thread-safe)
    env_->set_errfile(stderr);
    //Sets verbose output to make replication easier to debug
    env_->set_verbose(DB_VERB_REPLICATION, 1);
    //Configure the local server
    env_->repmgr_set_local_site(local_.ip.c_str(), local_.port, 0);
    env_->repmgr_add_remote_site(replica.ip.c_str(), replica.port, NULL, 0);
    env_->rep_set_nsites(2);
    //If a role is specified then set the databases priority accordingly.
    switch ( r )
    case MASTER:
    env_->rep_set_priority(500);
    cerr << "Master Priority" << endl;
    break;
    case SLAVE:
    env_->rep_set_priority(50);
    cerr << "Slave Priority" << endl;
    break;
    case UNKNOWN:
    default:
    env_->rep_set_priority(5);
    cerr << "Unkown Priority" << endl;
    break;
    env_->set_app_private(&status);
    env_->set_event_notify(callback_handler);
    env_->repmgr_set_ack_policy(DB_REPMGR_ACKS_ONE);
    env_->set_timeout(1000000, DB_SET_TXN_TIMEOUT);
    env_->set_tx_max(10000);
    env_->set_lk_detect(DB_LOCK_MINWRITE);
    env_->open(path.c_str(), envFlags, 0);
    env_->repmgr_start(3, DB_REP_ELECTION);
    sleep(5);
    db_ = new Db(env_, 0);
    u_int32_t dbFlags = 0;
    bool isOpen = false;
    while(!isOpen)
    dbFlags = DB_AUTO_COMMIT;
    if( status.role == MASTER )
    cout << "Setting DB_CREATE Flag " << endl;
    dbFlags |= DB_CREATE;
    if( db_ == NULL )
    db_ = new Db(env_, 0);
    db_->set_error_stream(&std::cerr);
    cerr << "Attempting to open db" << endl;
    try
    db_->open(NULL, dbFileName_.c_str(), NULL, DB_BTREE, dbFlags, 0);
    cerr << "DB Opened successfully" << endl;
    isOpen = true;
    break;
    catch(DbException dbe)
    /* It is expected that this condition will be triggered
    * when client sites start up.
    * It can take a while for the master site to be found
    * and synced, and no DB will be available until then.
    if (dbe.get_errno() == ENOENT) {
    cerr << status.id << " DB not available yet, retrying." << endl;
    db_->close(0);
    db_ = NULL;
    } else {
    env_->err(dbe.get_errno(), "DB->open");
    throw dbe;
    sleep(5);
    // DbException is not a subclass of std::exception, so we
    // need to catch them both.
    catch(DbException &e)
    std::cerr << "Error opening database: " << dbFileName_ << "\n";
    std::cerr << e.what() << std::endl;
    catch(std::exception &e)
    std::cerr << "Error opening database: " << dbFileName_ << "\n";
    std::cerr << e.what() << std::endl;
    I am running this code with verbose replication output on a local machine. I start a single client on port 9090 and add a replica on port 9091 (the replica does not start since the first client does not return). I have tried cleaning out the folder where is db is written to and it makes no difference. I have provided some /* comments */ to augment what is being output.
    REP_UNDEF: EID 0 is assigned for site localhost:9091
    9090 Master Priority
    REP_UNDEF: Read in gen 9
    REP_UNDEF: Read in egen 9
    REP_UNDEF: rep_start: Found old version log 14
    CLIENT: dbs/ rep_send_message: msgv = 5 logv 14 gen = 9 eid -1, type newclient, LSN [0][0] nogroup nobuf
    event: DB_EVENT_REP_CLIENT, I am now a replication client
    CLIENT: starting election thread
    CLIENT: elect thread to do: 0
    CLIENT: repmgr elect: opcode 0, finished 0, master -2
    CLIENT: init connection to site localhost:9091 with result 115
    connecting to site localhost:9091: Connection refused
    Done sleeping, trying to open dbs
    /* Environment has been opened, now the client will try to open the database */
    Attempting to open db
    DB not available yet, retrying.
    /* Open fails since it is a client and there is no master to create the database yet */
    CLIENT: elect thread to do: 1
    DB_ENV->rep_elect:WARNING: nvotes (1) is sub-majority with nsites (2)
    DB_ENV->rep_elect:WARNING: nvotes (1) is sub-majority with nsites (2)
    CLIENT: Start election nsites 2, ack 1, priority 500
    Attempting to open db
    CLIENT: Tallying VOTE1[0] (2147483647, 9)
    CLIENT: Beginning an election
    CLIENT: dbs/ rep_send_message: msgv = 5 logv 14 gen = 9 eid -1, type vote1, LSN [1][5174] nogroup nobuf
    DB not available yet, retrying.
    CLIENT: Tallying VOTE2[0] (2147483647, 9)
    CLIENT: Counted my vote 1
    CLIENT: Skipping phase2 wait: already got 1 votes
    CLIENT: Got enough votes to win; election done; winner is 2147483647, gen 9
    CLIENT: Election finished in 2.098189000 sec
    CLIENT: Election done; egen 10
    event: DB_EVENT_REP_ELECTED
    CLIENT: Ended election with 0, sites 0, egen 10, flags 0x200a01
    CLIENT: Election done; egen 10
    CLIENT: New master gen 10, egen 11
    CLIENT: Establishing group as master.
    MASTER: rep_start: Old log version was 14
    MASTER: dbs/ rep_send_message: msgv = 5 logv 14 gen = 10 eid -1, type newmaster, LSN [1][5174] nobuf
    MASTER: restore_prep: No prepares. Skip.
    MASTER: dbs/ rep_send_message: msgv = 5 logv 14 gen = 10 eid -1, type log, LSN [1][5174]
    event: DB_EVENT_REP_MASTER
    event: DB_EVENT_REP_MASTER
    MASTER: election thread is exiting
    /* Client gets elected to be the master, and thus can set the db create flag */
    Setting DB_CREATE Flag
    Attempting to open db
    MASTER: dbs/ rep_send_message: msgv = 5 logv 14 gen = 10 eid -1, type log, LSN [1][5210] flush
    DB not available yet, retrying.
    /* Master cannot open the database event though the db create flag is set, this is the issue */
    Setting DB_CREATE Flag
    Attempting to open db
    MASTER: dbs/ rep_send_message: msgv = 5 logv 14 gen = 10 eid -1, type log, LSN [1][5272] flush
    DB not available yet, retrying.
    /* repeated indefinitely */
    Can anyone help? Thank you.

    dbFileName is "./dbs/test.db" and the dbs folder exists. I tried putting 777 permissions on the folder as well as using " dbs/test.db" to no avail.
    I removed the database and all logs and ran it again for the same time as before and below is the db_printlog output:
    [1][28]__txn_recycle: rec: 14 txnp 0 prevlsn [0][0]
         min: 2147483648
         max: 4294967295
    [1][64]__fop_create: rec: 143 txnp 80000001 prevlsn [0][0]
         name: ./dbs/80000000.f1e7a7fc0
         appname: 1
         mode: 660
    [1][128]__fop_create: rec: 143 txnp 80000003 prevlsn [0][0]
         name: ./dbs/80000002.b856343a0
         appname: 1
         mode: 660
    [1][192]__fop_create: rec: 143 txnp 80000005 prevlsn [0][0]
         name: ./dbs/80000004.f447bb460
         appname: 1
         mode: 660
    [1][256]__fop_create: rec: 143 txnp 80000007 prevlsn [0][0]
         name: ./dbs/80000006.d66a33830
         appname: 1
         mode: 660
    [1][320]__fop_create: rec: 143 txnp 80000009 prevlsn [0][0]
         name: ./dbs/80000008.d59895bb0
         appname: 1
         mode: 660

  • MDT 2012 - Update Deploymentshare: Unable to open the specified WIM file

    Hi @ all
    wie have updated our Litetouch boot image using DISM and know we try to update the deploymentshare but we get the following error.  
    === Making sure the deployment share has the latest x86 tools ===
    === Processing LiteTouchPE (x86) boot image ===
    Building requested boot image profile.
    System.Management.Automation.CmdletInvocationException: Unable to open the specified WIM file. ---> System.Exception: Unable to open the specified WIM file. ---> System.ComponentModel.Win32Exception: The system cannot find the file specified
       --- End of inner exception stack trace ---
       at Microsoft.BDD.Core.BDDWimFile..ctor(String wimPath, Boolean forUpdate)
       at Microsoft.BDD.PSSnapIn.UpdateDeploymentPoint.UpdateBootImage(String template, String platform, String dpPath, Boolean createISO, String isoName)
       at Microsoft.BDD.PSSnapIn.UpdateDeploymentPoint.ProcessRecord()
       at System.Management.Automation.CommandProcessor.ProcessRecord()
       --- End of inner exception stack trace ---
       at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
       at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
       at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()
    Unable to open the specified WIM file? The image ist is stil in the boot folder.
    Anybody an idea or an solution for that problem?
    Thank's
    Adrian

    I had installed ADK to utilize the latest and greatest DISM tool. That broke WAIK and the boot.wim could not be found when updating the deployment shares. Thanks for the pointer...
    Paul Prindle MCP, A+
    That is because WAIK and ADK are unsupported as side-by-side installations.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    How to ask a question that is fixable.

  • Unable to open database in READ ONLY mode

    When trying to open database in READ ONLY MODE it says needs recovery. How ever database opens succesfully in READ WRITE MODE.
    1) Startup mount
    2) SQL> ALTER DATABASE OPEN READ ONLY;
    ALTER DATABASE OPEN READ ONLY
    ERROR at line 1:
    ORA-16005: database requires recovery
    But database opens succesfully when opened in READ WRITE mode.

    user12038051 wrote:
    When trying to open database in READ ONLY MODE it says needs recovery. How ever database opens succesfully in READ WRITE MODE.
    1) Startup mount
    2) SQL> ALTER DATABASE OPEN READ ONLY;
    ALTER DATABASE OPEN READ ONLY
    ERROR at line 1:
    ORA-16005: database requires recovery
    But database opens succesfully when opened in READ WRITE mode.
    sqlplus '/as sysdba'
    shutdown imediate;
    startup;
    shutdown imediate;
    startup mount;
    recover database;
    alter database open read only;

  • Oracle 10G Express:Unable To open DataBase Home Page

    I am not able to open Database Home page.
    http://127.0.0.1:8040/apex
    I verified the below steps:
    1.OracleListener and Service are starting up fine.
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleXETNSListener
    The OracleXETNSListener service is starting.
    The OracleXETNSListener service was started successfully.
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>net start OracleServiceXE
    The OracleServiceXE service is starting.......
    The OracleServiceXE service was started successfully.
    2. netsat output - local host listening to port 8040
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>netstat -an | find "8040"
    TCP 127.0.0.1:8040 0.0.0.0:0 LISTENING
    3. Http port in database
    C:\oraclexe\app\oracle\product\10.2.0\server\BIN>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Aug 20 18:11:13 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: system
    Enter password:
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select dbms_xdb.gethttpport() from dual;
    DBMS_XDB.GETHTTPPORT()
    8040
    SQL>
    4. Disabled Personal Firewall before starting the Service and Listener
    5. listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 8040))
    DEFAULT_SERVICE_LISTENER = (XE)
    CONNECT_TIMEOUT_LISTENER=10
    6.tnsnames.ora
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 8040))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    7. Listener log when i try to open the database home page.
    Started with pid=180
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8040)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    20-AUG-2006 17:28:23 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    20-AUG-2006 17:30:34 * 12502
    TNS-12502: TNS:listener received no CONNECT_DATA from client
    Can someone help me how to get to the home page.

    What does your lsnrctl status give you?

Maybe you are looking for