Error encountered with VPD Policy in place

Local Platform: Windows XP
SQL DEV Version: 1.0.0.15.57
Host: Solaris Oracle 10.2.0.2.0
The problem I am incurring is related to using a VPD Policy and trying to update data via the table editor. I have included my function, the add policy statements and everything needed to duplicate this on the EMP table.
I am able to update the tables with the VPD policy in place using both SQLPLUS and the pl/sql editor region within SQL Developer..
The only thing that would need changed is before the function is compiled the user that you will be using to login to the database needs to be set within the function.
create or replace function
vpd_test_function
-- Function must have the following parameters
(schema in varchar2, tab in varchar2)
-- Function will return a string that is used as a WHERE clause
return varchar2
as
v_user varchar2(100);
out_string varchar2(4000) default null;
begin
-- get session user
v_user := UPPER(nvl(v('APP_USER'),USER));
-- create where clause when user is authorized to see parts of the table
if (v_user = 'DB_USER') then
out_string := out_string || '(nvl(deptno,0) <>10 and nvl(deptno,0) <>30)';
end if;
return out_string;
end;
begin
DBMS_RLS.add_policy
(object_schema => 'DB_USER',
object_name => 'EMP',
policy_name => 'VPD_TEST_POLICY',
function_schema => 'DB_USER',
policy_function => 'vpd_TEST_FUNCTION',
statement_types => 'SELECT,INSERT,UPDATE,DELETE');
end;
SELECT * FROM USER_POLICIES;
OBJECT_NAME POLICY_GROUP POLICY_NAME PF_OWNER PACKAGE FUNCTION SEL INS UPD DEL IDX CHK_OPTION ENABLE STATIC_POLICY POLICY_TYPE LONG_PREDICATE
EMP SYS_DEFAULT VPD_TEST_POLICY DB_USER VPD_TEST_FUNCTION YES YES YES YES NO NO YES NO DYNAMIC NO
1 rows selected
Change empno 7788 salary from 3000 to 85 results by clicking on a table and editing the value and clicking commit
UPDATE "DB_USER"."EMP" SET SAL = "85" WHERE ROWID = 'AAAXLmAAGAAAAylAAF' AND ORA_ROWSCN = '7788'
One error saving changes to table "DB_USER"."EMP":
Row 3: ORA-00904: "ORA_ROWSCN": invalid identifier
When run as a script or execute statement in SQL Developer (it works):
UPDATE EMP SET SAL = 85 WHERE EMPNO = 7788;
1 rows updated
Change policy by first dropping and then recreating, selecting to only apply the policy to select statements rather than INS,DEL,SEL,UPD:
BEGIN
DBMS_RLS.DROP_POLICY (
object_schema => 'DB_USER',
object_name => 'EMP',
policy_name => 'VPD_TEST_POLICY');
end;
begin
DBMS_RLS.add_policy
(object_schema => 'DB_USER',
object_name => 'EMP',
policy_name => 'VPD_TEST_POLICY',
function_schema => 'DB_USER',
policy_function => 'vpd_TEST_FUNCTION',
statement_types => 'SELECT');
end;
SELECT * FROM USER_POLICIES;
OBJECT_NAME POLICY_GROUP POLICY_NAME PF_OWNER PACKAGE FUNCTION SEL INS UPD DEL IDX CHK_OPTION ENABLE STATIC_POLICY POLICY_TYPE LONG_PREDICATE
EMP SYS_DEFAULT VPD_TEST_POLICY DB_USER VPD_TEST_FUNCTION YES NO NO NO NO NO YES NO DYNAMIC NO
1 rows selected
Change empno 7788 salary from 3000 to 85 results by clicking on a table and editing the value and clicking commit
One error saving changes to table "DB_USER"."EMP":
Row 3: Data updated by another user, cannot update row.
The following popup is displayed as well....
But once again when run as a script or execute statement in SQL Developer (it works):
UPDATE EMP SET SAL = 85 WHERE EMPNO = 7788;
1 rows updated
The last thing I would like to add is that if I drop the policy and I edit the table it works just fine ..
UPDATE "DB_USER"."EMP" SET SAL = "85" WHERE ROWID = 'AAAXLmAAGAAAAylAAF' AND ORA_ROWSCN = '57937995'
Commit Successful
The only twist is that if you notice when I have the VPD policy in place SQL Developer is aying that the ORA_ROWSCN is equal to EMPNO/the primary key and not the try ORA_ROWSCN...
Any ideas, I can file a TAR as well if you would like me to?
Thanks
Justin

I first identified the problem setting up VPD for a DB user, I granted them update privileges and I wanted to ensure everything was working and that is how I found it. So yes I logged into the DB as the "other user" and then went to "Other Users" and went to the table that was owned by another schema with a VPD policy when I first encounter the error.
It was when I setup the test case to post here on OTN that I discovered the error ALSO exists if I own the table as well so for me in my test cases it did not matter who the original owner of the table was. The only thing that mattered was whether or not a VPD policy was enabled on a table.

Similar Messages

  • Problem with VPD policy function

    Hi All,
    I'm trying to secure database tables with VPD and getting "ORA-28112: failed to execute policy function" error when I query the table.
    --My schema is "sales"
    grant crete any context to sales;
    -- created context using this statement
    create OR REPLACE context sales_APP_CTX using PKG_SECURITY ACCESSED GLOBALLY;
    -- Package spec
    CREATE OR REPLACE PACKAGE PKG_SECURITY is
    function vpd_sec_pol_func return varchar2 ;
    procedure set_sales_app_context(p_user varchar2,p_security_level varchar2);
    end;
    -- package body
    CREATE OR REPLACE PACKAGE BODY PKG_SECURITY is
    function vpd_sec_pol_func return varchar2 is
    -- v_user varchar2(100) := UPPER(portal.wwctx_api.get_user);
    begin
    if user not in ('SALES','ORACLE') then
    return ' state in (select state from app_user_states where user_id = sys_context(''SALES_APP_CTX'', ''APP_USER''))';
    else
    return null;
    end if;
    end;
    procedure set_sales_app_context(p_user varchar2,p_security_level varchar2) is
    begin
    dbms_session.set_context('SALES_APP_CTX','APP_USER',p_user);
    -- dbms_session.set_context('SALES_APP_CTX','SECURITY_LEVEL',p_security_level);
    end;
    end;
    -- Added the policy to the table
    begin
    dbms_rls.add_policy
    ( object_schema => 'SALES',
    object_name => 'SALES_SUMMARY',
    policy_name => 'SALES_SUMMARY_POLICY',
    function_schema => 'SALES',
    policy_function => 'PKG_SECURITY.VPD_SEC_POL_FUNC',
    statement_types => 'SELECT,INSERT,UPDATE,DELETE' ,
    update_check => TRUE );
    end;
    -- I was able to set context using sqlplus by executing the procedure
    exec PKG_SECURITY.set_sales_app_context('TEST_USER','R');
    What am I doing wrong?
    Thanks

    Hi,
    ml_huang wrote:
    Is it necessary to create 'Context' and 'Procedure' before the function and policy?It is not necessary to create a context.
    A context can be very useful for doing row-level security, but it is not required.
    Even if you are using SYS_CONTEXT, you can create the function first, if you want to.
    Sorry, I don't understand what 'Procedure' you mean.
    I have created a function (with no parameters) and a policy and kept getting the Ora-28112 error.Policy functions must accept 2 VARCHAR2 parameters. See the messages above.
    Any suggestions for me? Thanks!Start your own thread for your own question.
    I think more people will want to read (and therefore respond to) a new message with 0 replies than a 3-month old message with 4 replies.

  • Error In Executing VPD Policy Function

    Hi,
    I have 10.2.0.3 DB running on windows. I have created a function to implement
    the VPD. Here is code for Function:
    Create or Replace FUNCTION vpd_p return varchar2
    as
       retn varchar2(50) :=  user;
    begin
       if upper(user) = 'P10' then
          retn := 'DEPTNO = 10' ;
       end if;
       if upper(user) = 'SCOTT' then
         retn := 'DEPTNO = 10' ;
       end if;
       if user = 'P20' then
         retn := 'DEPTNO = 10 or DEPTNO = 20' ;
       end if;
        return retn;
    end;
    end;I add a policy as:
    Begin
    dbms_rls.add_policy
    ( 'SCOTT' ,
       'e' , 
       'MY_POLICY',
       'SCOTT' ,
       'vpd_p' , 
       'SELECT'
    end;When i am accessing the table on which i applied poliyc i was
    getting the following error:
    Policy function execution error:
    Logon user     : P10
    Table/View     : SCOTT.E
    Policy name    : MY_POLICY
    Policy function: SCOTT.PK_1.VPD_P
    ORA-06550: line 1, column 15:
    PLS-00306: wrong number or types of arguments in call to 'VPD_P'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    *** 2008-02-13 19:49:48.922
    Policy function execution error:
    Logon user     : P10
    Table/View     : SCOTT.E
    Policy name    : MY_POLICY
    Policy function: SCOTT.PK_1.VPD_P
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignoredWhen i modified my function to below code, it works fine:
    Create or Replace FUNCTION vpd_p (abc varchar2 , abcd varchar2)
    return varchar2
    as
       retn varchar2(50) :=  user;
    begin
       if upper(user) = 'P10' then
          retn := 'DEPTNO = 10' ;
       end if;
       if upper(user) = 'SCOTT' then
         retn := 'DEPTNO = 10' ;
       end if;
       if user = 'P20' then
         retn := 'DEPTNO = 10 or DEPTNO = 20' ;
       end if;
        return retn;
    end;
    end;Even if i change the DATATYPE for "abc" or "abcd" variables to NUMBER
    it starts giving the same error. So, my query is why we have to pass any
    two VARCHAR2 type variables to apply the VPD policy through function,
    even when we are not using these variables anywhere. In documentation
    also, i can't find any reason for same.
    Please suggest any reason for this abnormal behaviour.........

    my query is why we have to pass any
    two VARCHAR2 type variables to apply the VPD policy through function,
    even when we are not using these variables anywhere. In documentation
    also, i can't find any reason for same.Look the Usage Notes in the documentation:
    * the policy functions which generate dynamic predicates are called by the server. Following is the interface for the function:
    FUNCTION policy_function (object_schema IN VARCHAR2, object_name VARCHAR2)
    RETURN VARCHAR2
    --- object_schema is the schema owning the table of view.
    --- object_name is the name of table, view, or synonym to which the policy applies.

  • Error encountered with SAP Netweaver 2004S SR2 v7.0.9

    Hi.. I am trying to install the SAP Netweaver 2004S SR2 v7.0.9 but i have met with this error:
    Error:
    FSL-01002 Unable to create account abc\SAPServiceJ2E. HRESULT=0x80005009
    Error:
    MUT-03025 Caught EsyException in Modulecall: ESAPinstException: error text underfined.
    Error:
    FCO-00011 The step createAccounts with step key
    |NW_Workplace|ind|ind|ind|ind|NWERROR 2008-07-23 13:44:07
    ERROR 2008-07-23 13:44:07
    FCO-00011  The step createAccounts with step key |NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_Users_Create_Do|ind|ind|ind|ind|5|0|createAccounts was executed with status ERROR .
    Please advise how to solve this error.

    Hi Pong,
    I recommend you to read the [installation guides|https://websmp206.sap-ag.de/instguidesNW70] and then proceed with the installation...
    for the problem on hand just try to restart your installation.
    Regards,
    Srihari

  • Trying to implement a VPD policy but got the following error ORA-20001

    hey good day,
    I'm trying to implement a VPD policy to my application. After I have performed the below task (Label 1) in oracle 10g database. When I'm about to access my application page in ApEx 3.2.1 I got the following error
    ORA-20001: get_dbms_sql_cursor error ORA-28110: policy function or package CHARLES.VPD_PREDICATE has error
    any form of assistance will be greatly appreciated.
    thanks in advance
    Label 1
    USER is "VPD_ADMIN"
    SQL> create or replace context empnum_ctx using set_empnum_ctx_pkg;
    Context created.
    SQL> CREATE OR REPLACE PACKAGE set_empnum_ctx_pkg IS
      2    PROCEDURE set_empnum;
      3  END;
      4  /
    Package created.
    SQL> CREATE OR REPLACE PACKAGE BODY set_empnum_ctx_pkg IS
      2    PROCEDURE set_empnum IS
      3     emp_id NUMBER;
      4    BEGIN
      5     SELECT EMPNUM INTO emp_id FROM CHARLES.INSTRUCTOR
      6     WHERE upper(username) = nvl(v('APP_USER'), USER);
      7     DBMS_SESSION.SET_CONTEXT('empnum_ctx', 'empnum', emp_id);
      8
      9    EXCEPTION
    10      WHEN NO_DATA_FOUND THEN NULL;
    11    END;
    12  END;
    13  /
    Package body created.
    SQL> create or replace package vpd_policy as
      2    function vpd_predicate(object_schema in varchar2 default null, object_name in varchar2 default null)
      3     return varchar2;
      4  end;
      5  /
    Package created.
    SQL> create or replace package body vpd_policy as  function vpd_predicate(
      2   object_schema in varchar2 default null, object_name in varchar2 default null)
      3     return varchar2 as
      4
      5      BEGIN
      6     if (USER = 'ADMIN') and (v('APP_USER') is null) or
      7        (USER = 'MICHAEL.GRAY') and (v('APP_USER') is NULL) then
      8       return '';
      9     else
    10       return '(
    11             exists (
    12                     select  "INSTRUCTOR"."EMPNUM" as "EMPNUM",
    13                             "INSTRUCTOR"."FIRSTNAME" as "FIRSTNAME",
    14                             "INSTRUCTOR"."LASTNAME" as "LASTNAME",
    15                             "LOAD"."COURSEID" as "COURSEID",
    16                             "COURSE"."CREDIT" as "CREDIT",
    17                             "COURSE"."HPW" as "HPW",
    18                             "LOAD"."CAMPID" as "CAMPID",
    19                             "LOAD"."YR" as "YR",
    20                             "INSTRUCTOR"."POS" as "POS",
    21                             "INSTRUCTOR"."USERNAME" as "USERNAME",
    22                             "INSTRUCTOR"."DEPARTMENT_NAME" as "DEPARTMENT_NAME",
    23                             "LOAD"."SEMESTER" as "SEMESTER"
    24                     from    "COURSE" "COURSE",
    25                             "INSTRUCTOR" "INSTRUCTOR",
    26                             "LOAD" "LOAD"
    27                     where   "INSTRUCTOR"."EMPNUM"="LOAD"."EMPNUM"
    28                     and     "LOAD"."COURSEID"="COURSE"."COURSEID"
    29                     and     department_name = (
    30                                     select department_name from departments
    31                                     where upper (assigned_to) = nvl(v(''APP_USER''),USER) )
    32                                     )
    33
    34                     or upper(username) = nvl(v(''APP_USER''), USER)
    35                                                ) ';
    36
    37     END IF;
    38  END vpd_predicate;
    39  END vpd_policy;
    40  /
    Package body created.
    SQL> begin
      2  dbms_rls.add_policy(
      3  object_schema => 'charles',
      4  object_name => 'load',
      5  policy_name => 'Loading Policy',
      6  function_schema => 'charles',
      7  policy_function => 'vpd_predicate',
      8  statement_types => 'select, update, insert, delete');
      9  end;
    10  /
    PL/SQL procedure successfully completed.

    ORA-20001 isn't an Oracle error message it was coded into your application by a developer: Look it up.
    Consider too the following:
    EXCEPTION
       WHEN NO_DATA_FOUND THEN NULL;so if the employee identifier is not found ... is this really what you want? If an employee isn't valid shouldn't you know it?

  • Just purchased Adobe Acrobat XI, when i download it and select run a tab appears with title 'Confirm Upgrade of Acrobat Pro' i select continue, another tab apears stating 'Error Encountered' - Acrobat installer encountered and unexpected failure. Please t

    Just purchased Adobe Acrobat XI, when i download it and select run a tab appears with title 'Confirm Upgrade of Acrobat Pro' i select continue, another tab apears stating 'Error Encountered' - Acrobat installer encountered and unexpected failure. Please try again. If it continues to fail contact adobe support. Please assist me asap, i need this working ASAP as i specially purchased for immediate use.. thanks:)

    No, there was no option for enter the serial number, which i gather u mean by S/N?

  • Error encountered while communicating with primary IP-address

    Hi
    I have recently deployed my first Exchange Server. This is an Exchange Server 2013 Standard and I set up everything using this document on Technet for installation: http://technet.microsoft.com/en-us/library/bb124778(v=exchg.150).aspx
    For post-installation I used this document on Technet: http://technet.microsoft.com/en-us/library/bb124397(v=exchg.150).aspx
    I have setup access to port 25, 587, 143, 993, 110, 995, 80, 443 in my routers SPI-firewall and created DNAT rules for each of these ports as well. I can send mail without any issues, but I cannot receive. Reverse DNS is working both internally and externally.
    I can telnet to port 25 on my external IP and external domain which is exchange.mydomain.tld
    My Exchange-server is running inside a Gen1 Hyper-V virtual machine on a Windows Server 2012 R2.
    My Exchange Server has the following resources:
    OS: Windows Server 2012 R2
    CPU: 2 cores of AMD FX-6120 3.30GHz
    RAM: 3584MB
    HDD1: IDE 80GB VHDX - is currently used for all system files and for Exchange.
    HDD2: SCSI 127GB VHDX - will be used for Exchange DB and logs when everything is working.
    When sending mail from any internal or external e-mail address to an internal e-mail address I get the following error in Exchange Queue Viewer:
    "451 4.4.0 Error encountered while communicating with primary target IP address:"421 4.2.1 Unable to connect." Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate
    hosts. The Last"
    How can I solve this issue? If you need any more information please let me know and I will see if I can find it.

    Hi I have now tried to send mail to an internal address using telnet. This returned the following value:
    250 2.6.0 <[email protected]> [InternalId=1971389988866] Queued mail for delivery
    Next I tried to send to an external mail by using telnet and it returned this result when adding the reciepient:
    550 5.7.1 Unable to relay
    This is the output of the Test-Servicehealth cmdlet:
    Role                    : Mailbox Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeDelivery, MSExchangeIS, MSExchangeMailboxAssistant
                              s, MSExchangeRepl, MSExchangeRPC, MSExchangeServiceHost, MSExchangeSubmission, MSExchangeThro
                              ttling, MSExchangeTransportLogSearch, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Client Access Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeMailboxReplication, MSExchangeRPC, MSExchangeServi
                              ceHost, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Unified Messaging Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeServiceHost, MSExchangeUM, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Hub Transport Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeEdgeSync, MSExchangeServiceHost, MSExchangeTranspo
                              rt, MSExchangeTransportLogSearch, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Can we use this information to find a possible source for my issues?

  • Encountering with the error Client out of memory in Bex. . .

    Hello All,
    In the Bex report when I run for the 2000 sales organization selection the initial display is coming fine. When I try to drill down to the next levels in the result, I am encountering with the error 'CLENT OUT OF MEMORY'.
    The report is displaying sales document level data. I need to drill down on almost 6 fields like cost element, Profit center. Auth group, Cost center, Customer number... Up to 7 attributes.
    I am able to drill down up to 5 attributes when i try to drill down on the 6th one, the report ended up with this error.
    Note:  I am able to run the report for remaining sales orgs and can drill down on all the fields. Might be because of huge data not able drill down on 2000, not sure
    Any one could help me on this.
    Thanks in Advance,
    Lakshmi.

    I checked in the infoprovider level.
    For the same selection, we have around 450000 of cells.
    Thank you,
    Lakshmi.

  • I get an "Error Encountered" message from Semantec when I use Firefox to visit any web-site. What is wrong with Firefox?

    Even now while visiting support.mozilla.com, I get an "Error Encountered" message from Symantec. I don't get this message from Safari.
    Symantec suggests that I support the site to Symantec, but it is every web site I visit using Firefox.
    What's wrong with Firefox? on the Mac?

    See:
    *http://kb.mozillazine.org/Firefox_crashes
    *https://support.mozilla.com/kb/Firefox+crashes
    If you have submitted Breakpad crash reports then post the IDs of one or more Breakpad crash reports (bp-xxxxxxxx-xxxxxxxxx-xxxx-xxxxxxxxxxxx).<br />
    You can find the IDs of the submitted crash reports on the <i>about:crashes</i> page.<br />
    You can open the <b>about:crashes</b> page via the location bar, like you open a website.
    See:
    *http://kb.mozillazine.org/Breakpad (Mozilla Crash Reporter)
    *https://support.mozilla.com/kb/Mozilla+Crash+Reporter

  • Interface Builder encountered an error communicating with the iPhone Simulator

    Hi,
    I downloaded the latest iOS SDK and tried simple helloworld program. Once I try to build it in the xcode, it shows the following 2 errors. I tried to re-install the SDK several times, and it doesn't work. 
    CompileXIB MainWindow.xib
    cd /Users/qingzhao/Desktop/ch1/HelloWorld
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/qingzhao/Desktop/ch1/HelloWorld/build/Debug-iphonesimulator/HelloWorld.a pp/MainWindow.nib /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-09-22 13:07:18.333 ibtool[1155:607] Assertion Failure: [toolTask isRunning]
    2010-09-22 13:07:18.337 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.337 ibtool[1155:607] Line: 140
    2010-09-22 13:07:18.519 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b7dcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x00000001039b5e9f IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.519 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-09-22 13:07:18.520 ibtool[1155:607] Assertion Failure: NO
    2010-09-22 13:07:18.520 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.520 ibtool[1155:607] Line: 351
    2010-09-22 13:07:18.521 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b5f62 IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.521 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    What can I do  ? Thank you very much!!!

    I found this on stack overflow.com and thought it would apply to this article discussion for some users even though I don't understand how to revert the version (through git?)
    I think this is a compatibility issue. I think the .xib has moved to Xcode 4 (as shown by the line setenv IBC_MINIMUM_COMPATIBILITY_VERSION 4.2) which Xcode 3.2's version of ibtooldoes not understand.
    I think you need to revert to a version of the .xib prior to the update to Xcode 4.""

  • Interface Builder encountered an error communicating with the iPhone Simula

    Hi,
    I downloaded the latest iOS SDK and tried simple helloworld program. Once I try to build it in the xcode, it shows the following 2 errors. I tried to re-install the SDK several times, and it doesn't work.
    CompileXIB MainWindow.xib
    cd /Users/qingzhao/Desktop/ch1/HelloWorld
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/qingzhao/Desktop/ch1/HelloWorld/build/Debug-iphonesimulator/HelloWorld.a pp/MainWindow.nib /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-09-22 13:07:18.333 ibtool[1155:607] Assertion Failure: [toolTask isRunning]
    2010-09-22 13:07:18.337 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.337 ibtool[1155:607] Line: 140
    2010-09-22 13:07:18.519 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b7dcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x00000001039b5e9f IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.519 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-09-22 13:07:18.520 ibtool[1155:607] Assertion Failure: NO
    2010-09-22 13:07:18.520 ibtool[1155:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-09-22 13:07:18.520 ibtool[1155:607] Line: 351
    2010-09-22 13:07:18.521 ibtool[1155:607] Backtrace:
    0 IBCocoaTouchPlugin 0x00000001039b5f62 IBAskClassInTargetRuntimeForValueForKeyPathUsingRe sultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x0000000103a2d963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x0000000103a2d538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x0000000103a2d57b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001039b29f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x00000001039b682e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x00000001039b0515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x00000001039abcad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-09-22 13:07:18.521 ibtool[1155:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception infonull)
    /* com.apple.ibtool.errors */
    /Users/qingzhao/Desktop/ch1/HelloWorld/MainWindow.xib: error: ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1158) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception infonull)

    I'm using 10.6.4 and having the same issue. Reinstalled the newest SDK a few times (Xcode 3.2.4 with 4.1 of the iOS SDK). I can't build anything to run on the iPhone Simulator, but building regular Mac apps works fine. Here's what it tells me when I try to build and run:
    CompileXIB MainWindow.xib
    cd /Users/myusername/Development/iTennis
    setenv IBCMINIMUM_COMPATIBILITYVERSION 3.2
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile /Users/myusername/Development/iTennis/build/Debug-iphonesimulator/iTennis.app/M ainWindow.nib /Users/myusername/Development/iTennis/MainWindow.xib --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2 .sdk
    2010-10-26 17:07:21.838 ibtool[1428:607] Assertion Failure: [toolTask isRunning]
    2010-10-26 17:07:21.934 ibtool[1428:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-10-26 17:07:21.934 ibtool[1428:607] Line: 140
    2010-10-26 17:07:22.016 ibtool[1428:607] Backtrace:
    0 IBCocoaTouchPlugin 0x000000010383ddcc IBAttachToCocoaTouchTool + 1669
    1 IBCocoaTouchPlugin 0x000000010383be9f IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 147
    2 IBCocoaTouchPlugin 0x00000001038b3963 IBReleaseIsWildcat + 1791
    3 IBCocoaTouchPlugin 0x00000001038b3538 IBReleaseIsWildcat + 724
    4 IBCocoaTouchPlugin 0x00000001038b357b IBReleaseIsWildcat + 791
    5 IBCocoaTouchPlugin 0x00000001038389f9 IBReplaceClassNamePrefixWith + 1588
    6 IBCocoaTouchPlugin 0x000000010383c82e IBBuildMarshalledDescriptionOfDocument + 2093
    7 IBCocoaTouchPlugin 0x0000000103836515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    8 IBCocoaTouchPlugin 0x0000000103831cad IBUISegmentConfiguration + 2784
    9 ibtool 0x000000010000829f
    10 ibtool 0x0000000100006e0c
    11 ibtool 0x0000000100003161
    12 ibtool 0x0000000100001dbc
    2010-10-26 17:07:22.017 ibtool[1428:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    2010-10-26 17:07:22.018 ibtool[1428:607] Assertion Failure: NO
    2010-10-26 17:07:22.018 ibtool[1428:607] File: /SourceCache/IBCocoaTouchPlugin/IBCocoaTouchPlugin-123/IBPlugin/Utilities/IBObj ectMarshalling.m
    2010-10-26 17:07:22.018 ibtool[1428:607] Line: 351
    2010-10-26 17:07:22.019 ibtool[1428:607] Backtrace:
    0 IBCocoaTouchPlugin 0x000000010383bf62 IBAskClassInTargetRuntimeForValueForKeyPathUsingResultMarshallerWithContext + 342
    1 IBCocoaTouchPlugin 0x00000001038b3963 IBReleaseIsWildcat + 1791
    2 IBCocoaTouchPlugin 0x00000001038b3538 IBReleaseIsWildcat + 724
    3 IBCocoaTouchPlugin 0x00000001038b357b IBReleaseIsWildcat + 791
    4 IBCocoaTouchPlugin 0x00000001038389f9 IBReplaceClassNamePrefixWith + 1588
    5 IBCocoaTouchPlugin 0x000000010383c82e IBBuildMarshalledDescriptionOfDocument + 2093
    6 IBCocoaTouchPlugin 0x0000000103836515 IBBestTargetRuntimeForConversionFromTargetRuntime + 18393
    7 IBCocoaTouchPlugin 0x0000000103831cad IBUISegmentConfiguration + 2784
    8 ibtool 0x000000010000829f
    9 ibtool 0x0000000100006e0c
    10 ibtool 0x0000000100003161
    11 ibtool 0x0000000100001dbc
    2010-10-26 17:07:22.020 ibtool[1428:607] Message: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception info:(null)
    /* com.apple.ibtool.errors */
    /Users/myusername/Development/iTennis/MainWindow.xib: error: ibtool failed with exception: Interface Builder encountered an error communicating with the iPhone Simulator. If you choose to file a crash report or radar for this issue, please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" and include their content in your crash report.
    Failed to determine the value for systemColors of UIColor.
    Exception name: IBAssertionFailure
    Exception reason: Interface Builder encountered an error communicating with the iPhone Simulator. "Interface Builder Cocoa Touch Tool" (1431) failed to launch and exited with status 11. Please check Console.app for crash reports for "Interface Builder Cocoa Touch Tool" for further information.
    Exception backtrace:
    (null)
    Exception info:(null)

  • Exchange 2013 LED=441 4.4.1 Error encountered when trying to communicate with primary IP address

    Hello,
    Im running Exchange 2013 on Server 2012R2, and all has been fine for a while until some users complained that ome of there external recipients are not receiving their mails. if I look in the mail que I indeed see the messages stuck with the comment:
    [{LRT=14-4-2015 14:36:14};{LED=441 4.4.1 Error encountered while communicating with primary target IP addre
    ss: "Failed to connect. Winsock error code: 10013, Win32 error code: 10013." Attempted failover to alternat
    e host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate
    hosts.
    Initially i thought it might had to do with the PTR but I checked and the reverse lookup is fine, also the mail server ip's are not blacklisted. I've tried every suggestion on all forums I could find from changing MTU sizes to disabling TLS but nothing seems
    to work the majority of the mail goes out just fine but to a couple of domains it doesn't any input would be greatly appreciated.
    I have only the internal DNS server configured on the NIC, only one NIC is available and OWA, Outlook and Activesync clients work just fine.

    http://public.wsu.edu/~brians/errors/their.html
    If this is happening when you try to send to several domains, then I suggest you might be blacklisted or otherwise being considered a spam source.
    Do you have an SPF record?  Is your IP address in a blacklisted range?
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Error: _NSAutoreleaseNoPool() __NSCFDate autoreleased with no pool in place

    _NSAutoreleaseNoPool(): Object 0x407c40 of class __NSCFDate autoreleased with no pool in place - just leaking
    Stack: (0x92284cdf 0x92191562 0x203a)
    anyone seen this before? how do i fix it? Thanks : )

    Are you creating a new thread?
    If so, then the first thing you need to do at the start of the thread is allocate an autorelease pool. Check out the threading guide for examples.

  • Error while updating Group Policy

    Hello All,
    I get the below error while updating the group policy on the user machin.
    C:\Users\905288>gpupdate /force
    Updating Policy...
    User Policy update has completed successfully.
    The following warnings were encountered during user policy processing:
    Windows failed to apply the Internet Explorer Zonemapping settings. Internet Exp
    lorer Zonemapping settings might have its own log file. Please click on the "Mor
    e information" link.
    Computer Policy update has completed successfully.
    For more detailed information, review the event log or run GPRESULT /H GPReport.
    html from the command line to access information about Group Policy results.
    Is there a way I can find which group policy is causing this issue?

    > Do you want me to give you those site details as well?
    Hm - not really, I have no error with zone assignments. It's you with
    the error :)
    Verify your site entries against
    http://support.microsoft.com/kb/184456
    - most probably, some of them do not adhere to the allowed wildcard rules.
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • "Error encountered: ERROR: Final installdb run unsuccessful" during firmware cop installation

    Hi all,
    Just a heads up to anyone else who encounters this error when installing device firmware cop files onto CUCM.
    We were upgrading the firmware on our CUCM cluster (small - consists of 1 x Publisher and 1 x Subscriber) - running 8.0.2.40000-1
    I was installing:
    cmterm-7936-sccp.3-3-21.cop.sgn
    cmterm-7937-1-4-4-SCCP.cop.sgn
    cmterm-7941_7961-sccp.9-3-1SR2-1.cop.sgn
    cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn
    When doing so on the publisher server - it was throwing the following error output (note that the files actually ended up on the TFTP server but devices were not picking up the new firmware):
    Installation Status
    File           cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn
    Start Time           Thu Mar 06 19:34:24 WST 2014
    Status
    Error encountered: ERROR: Final installdb run unsuccessful
    03/06/2014 19:33:42 file_list.sh|Starting file_list.sh|<LVL::Info>
    03/06/2014 19:33:42 file_list.sh|Parse argument method=sftp|<LVL::Debug>
    03/06/2014 19:33:42 file_list.sh|Parse argument source_dir=/|<LVL::Debug>
    03/06/2014 19:33:42 file_list.sh|Parse argument dest_file=/var/log/install/downloaded_versions|<LVL::Debug>
    03/06/2014 19:33:42 file_list.sh|Parse argument remote_host=10.133.1.240|<LVL::Debug>
    03/06/2014 19:33:42 file_list.sh|Parse argument user_name=ccmadministrator|<LVL::Debug>
    03/06/2014 19:33:42 file_list.sh|Calling SFTP command with metering off|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|SFTP command complete (0)|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|List file (pre-filtered):|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|(CAPTURE) RSA|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|(CAPTURE) UC|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|(CAPTURE) WIRELESS|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|(CAPTURE) asa914-k8.bin|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|(CAPTURE) cmterm-7936-sccp.3-3-21.cop.sgn|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|(CAPTURE) cmterm-7937-1-4-4-SCCP.cop.sgn|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|(CAPTURE) cmterm-7941_7961-sccp.9-3-1SR2-1.cop.sgn|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|(CAPTURE) cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn|<LVL::Debug>
    03/06/2014 19:33:43 file_list.sh|/usr/local/bin/base_scripts/filter.sh file=/var/log/install/downloaded_versions|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|Parse argument file=/var/log/install/downloaded_versions|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|No patch type specified. Optional.|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|No upgrade mode specifed. Optional.|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|Current version is 8.0.2.40000-1|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|Processing token "RSA"|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|INorOUT=OUT RSA: Not a signed patch file|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|Processing token "UC"|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|INorOUT=OUT UC: Not a signed patch file|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|Processing token "WIRELESS"|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|INorOUT=OUT WIRELESS: Not a signed patch file|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|Processing token "asa914-k8.bin"|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|INorOUT=OUT asa914-k8.bin: Not a signed patch file|<LVL::Debug>
    03/06/2014 19:33:43 filter.sh|Processing token "cmterm-7936-sccp.3-3-21.cop.sgn"|<LVL::Debug>
    03/06/2014 19:33:44 filter.sh|INorOUT=IN cmterm-7936-sccp.3-3-21.cop.sgn: filter passed|<LVL::Debug>
    03/06/2014 19:33:44 filter.sh|Processing token "cmterm-7937-1-4-4-SCCP.cop.sgn"|<LVL::Debug>
    03/06/2014 19:33:44 filter.sh|INorOUT=IN cmterm-7937-1-4-4-SCCP.cop.sgn: filter passed|<LVL::Debug>
    03/06/2014 19:33:44 filter.sh|Processing token "cmterm-7941_7961-sccp.9-3-1SR2-1.cop.sgn"|<LVL::Debug>
    03/06/2014 19:33:44 filter.sh|INorOUT=IN cmterm-7941_7961-sccp.9-3-1SR2-1.cop.sgn: filter passed|<LVL::Debug>
    03/06/2014 19:33:44 filter.sh|Processing token "cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn"|<LVL::Debug>
    03/06/2014 19:33:44 filter.sh|INorOUT=IN cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn: filter passed|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|List file (post-filtered):|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) RSA:1|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) UC:1|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) WIRELESS:1|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) asa914-k8.bin:1|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) cmterm-7936-sccp.3-3-21.cop.sgn:0|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) cmterm-7937-1-4-4-SCCP.cop.sgn:0|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) cmterm-7941_7961-sccp.9-3-1SR2-1.cop.sgn:0|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn:0|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|List file (pre-structured):|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) RSA:1|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) UC:1|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) WIRELESS:1|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) asa914-k8.bin:1|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) cmterm-7936-sccp.3-3-21.cop.sgn:0|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) cmterm-7937-1-4-4-SCCP.cop.sgn:0|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) cmterm-7941_7961-sccp.9-3-1SR2-1.cop.sgn:0|<LVL::Debug>
    03/06/2014 19:33:44 file_list.sh|(CAPTURE) cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn:0|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|List file (post-structured):|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|(CAPTURE) <InstallList>|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|(CAPTURE)     <FilteredItem type="" file="RSA" result="1"/>|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|(CAPTURE)     <FilteredItem type="" file="UC" result="1"/>|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|(CAPTURE)     <FilteredItem type="" file="WIRELESS" result="1"/>|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|(CAPTURE)     <FilteredItem type="" file="asa914-k8.bin" result="1"/>|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|(CAPTURE)     <InstallItem type="copfile" secure-file="cmterm-7936-sccp.3-3-21.cop.sgn" version="" file="cmterm-7936-sccp.3-3-21.cop" reboot="no"/>|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|(CAPTURE)     <InstallItem type="copfile" secure-file="cmterm-7937-1-4-4-SCCP.cop.sgn" version="" file="cmterm-7937-1-4-4-SCCP.cop" reboot="no"/>|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|(CAPTURE)     <InstallItem type="copfile" secure-file="cmterm-7941_7961-sccp.9-3-1SR2-1.cop.sgn" version="" file="cmterm-7941_7961-sccp.9-3-1SR2-1.cop" reboot="no"/>|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|(CAPTURE)     <InstallItem type="copfile" secure-file="cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn" version="" file="cmterm-7945_7965-sccp.9-3-1SR2-1.cop" reboot="no"/>|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|(CAPTURE) </InstallList>|<LVL::Debug>
    03/06/2014 19:33:46 file_list.sh|success|<LVL::Info>
    03/06/2014 19:33:46 file_list.sh|file_list.sh complete (rc=0)|<LVL::Info>
    03/06/2014 19:34:19 upgrade_validate_file.sh|Starting upgrade_validate_file.sh|<LVL::Info>
    03/06/2014 19:34:19 upgrade_validate_file.sh|Parse argument method=sftp|<LVL::Debug>
    03/06/2014 19:34:19 upgrade_validate_file.sh|Parse argument source_dir=/|<LVL::Debug>
    03/06/2014 19:34:19 upgrade_validate_file.sh|Parse argument file_name=cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn|<LVL::Debug>
    03/06/2014 19:34:19 upgrade_validate_file.sh|Parse argument remote_host=10.133.1.240|<LVL::Debug>
    03/06/2014 19:34:19 upgrade_validate_file.sh|Parse argument user_name=ccmadministrator|<LVL::Debug>
    03/06/2014 19:34:19 upgrade_validate_file.sh|Getting patch size via sftp for cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn|<LVL::Info>
    03/06/2014 19:34:19 upgrade_validate_file.sh|Size of patch file = 6018125|<LVL::Info>
    03/06/2014 19:34:19 upgrade_validate_file.sh|Total space needs = 12036250|<LVL::Info>
    03/06/2014 19:34:19 upgrade_validate_file.sh|  Free space : 126461788160|<LVL::Info>
    03/06/2014 19:34:19 upgrade_validate_file.sh|Space needed : 24072500|<LVL::Info>
    03/06/2014 19:34:19 upgrade_validate_file.sh|There is enough space on device to proceed.|<LVL::Info>
    03/06/2014 19:34:19 upgrade_validate_file.sh|success|<LVL::Info>
    03/06/2014 19:34:19 upgrade_validate_file.sh|upgrade_validate_file.sh complete (rc=0)|<LVL::Info>
    03/06/2014 19:34:19 upgrade_get_file.sh|Starting upgrade_get_file.sh|<LVL::Info>
    03/06/2014 19:34:19 upgrade_get_file.sh|Parse argument method=sftp|<LVL::Debug>
    03/06/2014 19:34:19 upgrade_get_file.sh|Parse argument source_dir=/|<LVL::Debug>
    03/06/2014 19:34:19 upgrade_get_file.sh|Parse argument file_name=cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn|<LVL::Debug>
    03/06/2014 19:34:19 upgrade_get_file.sh|Parse argument dest_dir=/common/download/|<LVL::Debug>
    03/06/2014 19:34:19 upgrade_get_file.sh|Parse argument remote_host=10.133.1.240|<LVL::Debug>
    03/06/2014 19:34:19 upgrade_get_file.sh|Parse argument user_name=ccmadministrator|<LVL::Debug>
    03/06/2014 19:34:20 upgrade_get_file.sh|Starting SFTP of cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn|<LVL::Info>
    03/06/2014 19:34:21 upgrade_get_file.sh|SFTP command complete (0)|<LVL::Info>
    03/06/2014 19:34:21 upgrade_get_file.sh|Download of iso file RTMTStart|<LVL::Notice>
    03/06/2014 19:34:21 upgrade_get_file.sh|Create md5 "/common/download/cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn.md5"|<LVL::Info>
    03/06/2014 19:34:21 upgrade_get_file.sh|MD5(/common/download/cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn)= e3:02:d3:e1:89:ff:a1:eb:0a:71:52:03:ad:d7:e2:85|<LVL::Debug>
    03/06/2014 19:34:21 upgrade_get_file.sh|Create md5 complete|<LVL::Info>
    03/06/2014 19:34:21 upgrade_get_file.sh|Authenticate file "/common/download/cmterm-7945_7965-sccp.9-3-1SR2-1.cop.sgn"|<LVL::Info>
    03/06/2014 19:34:21 upgrade_get_file.sh|File authentication complete|<LVL::Debug>
    03/06/2014 19:34:21 upgrade_get_file.sh|Download of iso file RTMTFinish|<LVL::Notice>
    03/06/2014 19:34:22 upgrade_get_file.sh|success|<LVL::Info>
    03/06/2014 19:34:22 upgrade_get_file.sh|upgrade_get_file.sh complete (rc=0)|<LVL::Info>
    03/06/2014 19:34:24 Terminating active side processes
    03/06/2014 19:34:24 Terminating active side processes done
    03/06/2014 19:34:24 Terminating inactive side processes
    03/06/2014 19:34:24 Calling /usr/local/bin/base_scripts/sd_killPartitionB_PIDs.sh
    03/06/2014 19:34:24 Terminating inactive side processes done
    (13953) Thu Mar 6 19:34:30 WST 2014
    install option
    (13953) Thu Mar 6 19:34:30 WST 2014
    Successful untarring of option /common/download//cmterm-7945_7965-sccp.9-3-1SR2-1.cop.
    (13953) Thu Mar 6 19:34:36 WST 2014
    Publisher: Starting installdb... /bin/su -l informix -s /bin/sh -c "source /usr/local/cm/db/dblenv.bash /usr/local/cm ; source /usr/local/cm/db/informix/local/ids.env ; nice /usr/local/cm/bin/installdb -x /usr/local/cm/db/xml/xml"
    disablenotify  rc[0]
    xml DSN=ccm_super /usr/local/cm/db/xml/xml
    installXml  rc[1]
    enablenotify  dsn[DSN=ccm_super]
    enablenotify  rc[0]
    installdb Failure [-x] 1
    (13953) Thu Mar 6 19:34:47 WST 2014
    ERROR: Final installdb run unsuccessful
    I'd read in various places to perform a CLI command "run loadxml" - which we did but it produced the following output:
    admin:run loadxml
    This command is processor intensive, and may take a few minutes to run.
    It should only be run on the publisher.
    Some services may require a restart afterwards.
    This is a CPU intensive command and will take a considerable amount of time to complete. Do you want to continue (y/n)?
    Starting loadxml
    disablenotify  dsn[DSN=ccm_super]
    disablenotify  rc[0]
    xml DSN=ccm_super /usr/local/cm/db/xml/xml
    installXml  rc[1]
    enablenotify  dsn[DSN=ccm_super]
    enablenotify  rc[0]
    installdb Failure [-x] 1
    loadxml function complete
    Failure essentially.
    Note that the installation went ahead without issues on the Subscriber servers after we tried on the publisher. I believe this is due to it only copying the files to the TFTP server and not updating the database.
    I also noted that the following features vanished from the CUCM Administration GUI (the menus were there but the pages came up blank):
    "Enterprise Paramaters"
    "Enterprise Phone Configuration"
    "Service Parameters" (after selecting "server" & "service" drop down options, nothing was displayed)
    Within individual "Phone Configuration" - the entire "Product Specific Configuration Layout" was missing from all devices.
    I was also unable to export the 'Cisco Database Installation Service' logs from RTMT - it threw an error to the status bar at the bottom stating "Collection cancelled for node <publisher> due to the error" (and there was no error info output...joy!).
    I called in TAC and Roman Kramarski assisted me via WebEx to full resolution of the issue - thanks Roman
    After running "run loadxml"
    We ran the following command which showed us (after much wizzing by of entries) the list of log files, the 5th or so last file in the list being the log output from the "run loadxml" output -
    The command: "file list activelog /cm/trace/dbl/sdi detail date"
    Our file in question happened to be called "installdb20140306-230735.log" (like I said, was about 5th from the bottom of the list)
    Next we viewed the file:
    "file view activelog /cm/trace/dbl/sdi/installdb20140306-230735.log"
    In the file, fairly close to the top, it showed the following error message:
    "23:07:35.047 |   DOMErrorReporter::fatalError *ERROR* Fatal Error at file /usr/local/cm/db/xml/xml/366X_display_instance-fxo_port_gs.xml, line 56, column 22"
    This, along with the output of the run loadxml command, indicated that "/usr/local/cm/db/xml/xml/366X_display_instance-fxo_port_gs.xml" file was corrupted or incomplete.
    Roman (TAC) then used the Cisco access to root in order to look at the actual file.
    It was incomplete - it ended mid closure of a tag:
    "<name>OutputAttenuation</n#"
    (Instead of "<name>OutputAttenuation</name>" plus a whole bucketload more output.
    Luckily I had a fresh install of the exact same version of CUCM just installed on in a dev environment - so Roman was able to get into that one, TFTP the file out, and then TFTP the new file in.
    We moved the old corrupt file into another folder (as we renamed it initially and then ran "run loadxml" which produced the error again) - copied the new complete file into the folder - then "run loadxml" ran successfully.
    admin:run loadxml
    This command is processor intensive, and may take a few minutes to run.
    It should only be run on the publisher.
    Some services may require a restart afterwards.
    This is a CPU intensive command and will take a considerable amount of time to complete. Do you want to continue (y/n)?
    Starting loadxml
    disablenotify  dsn[DSN=ccm_super]
    disablenotify  rc[0]
    xml DSN=ccm_super /usr/local/cm/db/xml/xml
    installXml  rc[0]
    enablenotify  dsn[DSN=ccm_super]
    enablenotify  rc[0]
    installdb Success[-x]
    loadxml function complete
    NOTE that the running of run loadxml did not take that long and didn't cause any outages to my system.
    After we did this - the installations went ahead successfully.
    After a restart of the TFTP service on each server - firmware upgrades went ahead successfully.
    Basically - you can do the initial troubleshooting of checking logs of run loadxml and then pass that detail to Cisco TAC to get them to use root access to copy a fresh version of the file across.
    Hope this helps.

    Hi Thanks for the information, this help me a lot, I have the same issue but with some differences, because when I search the error on the log file, I saw
    08/25/2014 06:14:49.911 installdb|   DOMErrorReporter::fatalError *ERROR* Fatal Error at file , line 0, column 0
     message: An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/usr/local/cm/db/xml/xml/ICS77XX_MRP2XX_display_instance-bri.xml|
    08/25/2014 06:14:49.911 installdb|<--DOMErrorReporter::fatalError |
    When I search the file I couldn´t find it, so I think this could be because I made a booteable ISO from an upgrade from the Cisco Page, so I go to the production server version 6.1.2 and copied the file missing into my lab and run the command "run loadxml" sucessfully, after that everything works great!
    Thanks in advance for your time to post this.
    Regards!

Maybe you are looking for