GetString in ocidml.cpp fails

Hi.
I've installed Oracle 9i release 9.2.0.1 and have compiled the ocidml.cpp - demo program. But when I run it the call to getString in DisplayAllRows create an Assertion failure (Debug). The program runs as expected if I remove the call to getString.
Does anybody know what I can do about this?
Thanks in advance!
Ingrid

----- BEGIN CODE:
* occidml - To exhibit the insertion, Selection, updating and deletion of
* a row through OCCI.
* Description
* Create a program which has insert, select, update & delete as operations.
* Perform all these operations using OCCI interface.
#include <iostream>
#include <occi.h>
using namespace oracle::occi;
using namespace std;
class occidml
private:
Environment *env;
Connection *conn;
Statement *stmt;
public:
occidml (string user, string passwd, string db)
env = Environment::createEnvironment (Environment::DEFAULT);
conn = env->createConnection (user, passwd, db);
~occidml ()
env->terminateConnection (conn);
Environment::terminateEnvironment (env);
* Insertion of a row with dynamic binding, PreparedStatement functionality.
void insertBind (int c1, string c2)
string sqlStmt = "INSERT INTO author_tab VALUES (:x, :y)";
stmt=conn->createStatement (sqlStmt);
try{
stmt->setInt (1, c1);
stmt->setString (2, c2);
stmt->executeUpdate ();
cout << "insert - Success" << endl;
}catch(SQLException ex)
cout<<"Exception thrown for insertBind"<<endl;
cout<<"Error number: "<< ex.getErrorCode() << endl;
cout<<ex.getMessage() << endl;
conn->terminateStatement (stmt);
* Inserting a row into the table.
void insertRow ()
string sqlStmt = "INSERT INTO author_tab VALUES (111, 'ASHOK')";
stmt = conn->createStatement (sqlStmt);
try{
stmt->executeUpdate ();
cout << "insert - Success" << endl;
}catch(SQLException ex)
cout<<"Exception thrown for insertRow"<<endl;
cout<<"Error number: "<< ex.getErrorCode() << endl;
cout<<ex.getMessage() << endl;
conn->terminateStatement (stmt);
* updating a row
void updateRow (int c1, string c2)
string sqlStmt =
"UPDATE author_tab SET author_name = :x WHERE author_id = :y";
stmt = conn->createStatement (sqlStmt);
try{
stmt->setString (1, c2);
stmt->setInt (2, c1);
stmt->executeUpdate ();
cout << "update - Success" << endl;
}catch(SQLException ex)
cout<<"Exception thrown for updateRow"<<endl;
cout<<"Error number: "<< ex.getErrorCode() << endl;
cout<<ex.getMessage() << endl;
conn->terminateStatement (stmt);
* deletion of a row
void deleteRow (int c1, string c2)
string sqlStmt =
"DELETE FROM author_tab WHERE author_id= :x AND author_name = :y";
stmt = conn->createStatement (sqlStmt);
try{
stmt->setInt (1, c1);
stmt->setString (2, c2);
stmt->executeUpdate ();
cout << "delete - Success" << endl;
}catch(SQLException ex)
cout<<"Exception thrown for deleteRow"<<endl;
cout<<"Error number: "<< ex.getErrorCode() << endl;
cout<<ex.getMessage() << endl;
conn->terminateStatement (stmt);
* displaying all the rows in the table
void displayAllRows ()
// string sqlStmt = "SELECT author_id, author_name FROM author_tab";
string sqlStmt = "SELECT InSchema, Attribute FROM NameStore WHERE InSchema IN (SELECT TopConcept FROM ConceptTree START WITH SubConcept IN ( SELECT IsA FROM TypeOf WHERE LOWER(Instance) = LOWER('Hrúz Mária')) CONNECT BY SubConcept = PRIOR TopConcept) AND IsKey = 1 UNION SELECT InSchema, Attribute FROM NameStore WHERE InSchema IN (SELECT IsA FROM TypeOf WHERE LOWER(Instance) = LOWER('Hrúz Mária')) AND IsKey = 1 UNION SELECT InSchema, n.Attribute FROM NameStore n, Attributes a WHERE TypeOf IN (SELECT TopConcept FROM ConceptTree START WITH SubConcept IN ( SELECT IsA FROM TypeOf WHERE LOWER(Instance) = LOWER('Hrúz Mária')) CONNECT BY SubConcept = PRIOR TopConcept) AND n.Attribute = a.Attribute UNION SELECT InSchema, n.Attribute FROM NameStore n, Attributes a WHERE TypeOf IN (SELECT IsA FROM TypeOf WHERE LOWER(Instance) = LOWER('Hrúz Mária')) AND n.Attribute = a.Attribute";
stmt = conn->createStatement (sqlStmt);
ResultSet *rset = stmt->executeQuery ();
try{
while (rset->next ())
cout << "author_id: " << rset->getString (1) << " author_name: "
<< rset->getString (2) << endl;
}catch(SQLException ex)
cout<<"Exception thrown for displayAllRows"<<endl;
cout<<"Error number: "<< ex.getErrorCode() << endl;
cout<<ex.getMessage() << endl;
stmt->closeResultSet (rset);
conn->terminateStatement (stmt);
}; // end of class occidml
int main (void)
string user = "scott";
string passwd = "tiger";
string db = "";
cout << "occidml - Exhibiting simple insert, delete & update operations"
<< endl;
occidml *demo = new occidml (user, passwd, db);
for( int loop = 0; loop < 20; loop++ )
cout << "Displaying all rows after all the operations" << endl << endl;
demo->displayAllRows ();
delete (demo);
cout << "occidml - done" << endl;
---- END CODE
For first run it will terminate perfectly. Some others generates exceptions. SQL query generates 10 rows. For a perfect run it generates lines like
Displaying all rows after all the operations
author_id: anyafiú author_name: anya
author_id: anyalány author_name: anya
author_id: anyalány author_name: lány
author_id: apalány author_name: lány
author_id: helyszÃn_személy author_name: személy
author_id: házastárs author_name: feleség
author_id: időpont_személy author_name: személy
author_id: nő author_name: női név
author_id: személy author_name: személynév
author_id: személy_terület author_name: személy
Compile settings for Oracle9 client (9.2.0.1 with patchset 9.2.0.5):
@SET ORACLE_HOME=C:\Oracle\Client9
@SET INCLUDE=%INCLUDE%;%ORACLE_HOME%\oci\include;%ORACLE_HOME%\rdbms\demo
@SET LIB=%LIB%;%ORACLE_HOME%\bin;%ORACLE_HOME%\oci\lib\msvc\vc7;%CPP_HOME%\lib;%ORACLE_HOME%\oci\lib\msvc\
@SET LINK=/nod:libc /nodefaultlib:libcd
@SET TNSNAMES=%ORACLE_HOME%\network\admin\tnsnames.ora
@SET OPTIONS=/W3 /GX /EHsc /ML /O2 /D "WIN32COMMON" /D "_MT" /D "_MBCS" /D "_DLL" /D "_AFXDLL" /D "_WINDOWS" /D "NDEBUG" /D "WIN32"
@SET CL=%T2% %OPTIONS% /I%ORACLE_HOME%\oci\include /o%OUTFILE%
@SET PATH=%PATH%;%ORACLE_HOME%\bin
@SET FILELIST=oci.lib msvcrt.lib msvcprt.lib oraocci9.lib
@SET FILELIST=%FILELIST% occidml.cpp
@cl.exe %FILELIST%
---- END COMPILE SETTINGS
For a 10g client (10.1.0.2 with patchset 10.1.0.4) differences are:
@SET ORACLE_HOME=C:\Oracle\Client10
@SET FILELIST=oci.lib msvcrt.lib msvcprt.lib oraocci10.lib
Computer: Intel P4 Prescott 3GHz, 1GB RAM
Remote database: Oracle 10g on Linux (10.1.0.2)

Similar Messages

  • Xnee-2.00 Installation - /lib/cpp fails sanity check

    When I first tried running the configure file to start the installation process for this application, I ran into error after error and found solutions to them by installing packages off the SunOS cd's or from the sunfreeware site. But I cant find a solution to this problem.
    the output when running the configure script is as follows for the problem:
    checking how to run the C preprocessor... /lib/cpp
    configure: error: C preprocessor "/lib/cpp" fails sanity check
    the config.log file is very long and full of compile errors...many are repeats and around the part where its failing the only problem i can see is a "conftest.c" line 14: Cant find include file assert.h....
    what are the packages i need for cpp to function, i have gcc-3.3.2 installed, are there others?? is there something else i'm going to run into later?? any help will be greatly appreciated

    Have you try to use pkg-get
    to get the binary from Sun?
    If you really need to compile it by yourself, get studio first to make it easier. It will install developer package library in the box and help to resolve your dependence problem.

  • Configure: error: C preprocessor "/lib/cpp" fails

    I'm getting an error:
    configure: error: C preprocessor "/lib/cpp" fails sanity check
    For several things, mainly svn of gaim, gaim-encryption, but I haven't tried others.  Any clue what this has to do with?

    i tried to install sabbu and subtitleeditor with abs/aur, and both stopped at configure.
    checking how to run the C++ preprocessor... /lib/cpp
    configure: error: C++ preprocessor "/lib/cpp" fails sanity check
    tried to reinstall kernel-headers-2.6.18-3 and gcc-4.1.1-3 ...no luck.
    (tried to remove them from cache then reinstall...still got the error msg)

  • Compiling issues: "/lib/cpp fails sanity check"

    I've recently tried to compile software and have received the above error each time. The first occasion was using the port command in DarwinPorts to install GIMP 2.2.10. The second was today when I tried to configure ncurses 5.4. Following a websearch for info I discovered that perhaps my BSD Subsystem wasn't installed (seemed unlikely), and sure enough running locate stdio.h returned only a Perl file called nostdio.h. So I ran the installer package for the BSD Subsystem from the Panther Install Disc 1. However, to no avail: I still receive the same error message.
    Can anyone help me with this?
    12" iBook G4 800MHz Mac OS X (10.3.9) 640MB RAM, 80GB HDD, Airport Extreme
    12 iBook G4 Mac OS X (10.3.9)

    Hi SiRGadaBout,
       stdio.h is installed with the Developer Tools or more specifically, by the DevSDK.pkg installer. The DevTools are now part of the Xcode installation, which is of course optional. Did you install that?
    Gary
    ~~~~
       [Crash programs] fail because they are based on the theory that,
       with nine women pregnant, you can get a baby a month.
          -- Wernher von Braun

  • OCCI - getString() fails in subsequent calls

    while (rs->next())
    cout << << rs->getString(1) ; //name string
    How can I solve it?
    Thanks in advance.

    Hi,
    I once had such problem and I solved after reading following message thread on this same forum. Hope this helps you.
    Re: getString in ocidml.cpp fails
    Have fun ...
    With regards,
    Panneer :-)

  • Assertion failed..

    We are doing some stress testing on our database (2.3.10, patches applied). A few hours ago,
    we experienced a segfault. The core dump revealed the following stack trace:
    (gdb) bt
    #0 0x00002ab40364baa5 in raise () from /lib64/libc.so.6
    #1 0x00002ab40364ce60 in abort () from /lib64/libc.so.6
    #2 0x00002ab404701b6b in DbXml::assert_fail (expression=0x2ab4047bd4b7 "data.get_data()", file=0x2ab4047bd458 "NsEventReader.cpp",
    line=590) at DbXmlInternal.cpp:22
    #3 0x00002ab40473cb64 in DbXml::NsEventReader::getNode (this=0x3e8c0c0, parent=0x3ef0480) at NsEventReader.cpp:590
    #4 0x00002ab40473ceb1 in DbXml::NsEventReader::endElement (this=0x3e8c0c0) at NsEventReader.cpp:793
    #5 0x00002ab40473d31f in DbXml::NsEventReader::next (this=0x3e8c0c0) at NsEventReader.cpp:435
    #6 0x00002ab40473f8b4 in DbXml::EventReaderToWriter::doEvent (this=0x4090c00, writer=0x34d33a0, isInternal=true)
    at EventReaderToWriter.cpp:146
    #7 0x00002ab404740181 in DbXml::EventReaderToWriter::start (this=0x4090c00) at EventReaderToWriter.cpp:132
    #8 0x00002ab404731380 in DbXml::NsDocumentDatabase::updateContentAndIndex (this=0x2f5f570, new_document=@0x340aae0, context=@0x34d3380,
    stash=@0x34d34c0) at NsDocumentDatabase.cpp:286
    #9 0x00002ab404657103 in DbXml::Container::updateDocument (this=0x2f5c490, txn=0x367b340, new_document=@0x340aae0, context=@0x34d3380)
    at Container.cpp:894
    #10 0x00002ab40466e2e2 in UpdateDocumentFunctor::method (this=0x7fffa7a52980, container=@0x2f5c490, txn=0x367b340, flags=0)
    at TransactedContainer.cpp:167
    #11 0x00002ab40466cb95 in DbXml::TransactedContainer::transactedMethod (this=0x2f5c490, txn=0x367b340, flags=0, f=@0x7fffa7a52980)
    at TransactedContainer.cpp:217
    #12 0x00002ab40466cdac in DbXml::TransactedContainer::updateDocument (this=0x2f5c490, txn=0x367b340, document=@0x340aae0,
    context=@0x34d3380) at TransactedContainer.cpp:178
    #13 0x00002ab4046ab719 in DbXml::XmlContainer::updateDocument (this=0x2f41350, txn=@0x33c70f0, document=@0x37507a0, context=@0x34f1f70)
    at XmlContainer.cpp:688
    #14 0x00002ab404344987 in XS_XmlContainer__updateDocument (my_perl=<value optimized out>, cv=<value optimized out>) at DbXml.xs:1043
    #15 0x0000000000482cf2 in Perl_pp_entersub ()
    #16 0x000000000046515e in Perl_runops_debug ()
    #17 0x00000000004249c4 in perl_run ()
    #18 0x000000000041d6c4 in main ()
    (gdb)
    Obviously, an assertion in nodeStore/NSEventReader.cpp fails: DBXML_ASSERT(data.get_data());
    Do you have any idea, what could be the problem?
    Best regards,
    Michael

    Hi George,
    thanks for your quick response.
    The stress test essentially performs sequential document insertions
    into a container. Every insertion is accompanied by setting
    various metadata and updating the newly inserted
    document several times.
    If nothing obvious pops to your mind, please ignore
    this post, since this test run seemingly has been conducted on
    inconsistent data. (I have failed setting an environment variable
    and the database was not recovered properly before the test started)
    Regards,
    Michael

  • GetString-problem

    Hello!
    Help, i need somebody...
    I'm new in C++, VC and Oracle.
    I use OCCI to connect on 10g db. Somehow i configured VC so now i can create .exe. I'm not sure that i can repeat configuration:).
    In databes there is table whit only varchar2 fields. The problem is in this part of code:
    </br>
    string c2;</br>
         while(rs->next())</br>
    {            counter++;</br>
              for(int i=1; i<=5; i++) {</br>
                   c2=rs->getString(i);</br>
              cout <<"row: "<<counter<<" field: "<<i<<" "<<c2<<endl; </br>
         }</br>
              cout <<"******************"<<endl;</br>
    }</br>
    </br>
    Nothing smart. But when getString gets something it fails( An unhandled win32 exception occurred in my.exe [3888] . When i reduce dataset only on fiedls whit "where length(varchar_field)<16" it never throw this exception. If i
    Somethimes the program goes whitout any problem.
    Please help!!!
    I didn't find anything helpful on this forum.

    which version of OCCI are you using? Can you try on the latest version (10.2 or 10.1.0.5)?

  • Error line 392 in eventoracle.cpp when using activeX callback vi.

    I am using an activeX control built in VC6.0. I followed the instructions to handle the activeX event using the Reg Event Callback node. It is being handled because I have a message box within the handler that does appear. But after the handler executes, LV crashes with the statement that eventoracle.cpp failed at line 392.

    I found that the issue is not the ActiveX event, but where is the event fired from in the ActiveX control. I have a worker thread that calls the parent thread's method to fire the event. If I move the firing of the event outside of this worker thread, I have no problems getting handling the event.

  • I have asr 1000 with asr1000rp2-adventerprisek have problem when I gave PPP Multilink to the interface Dialer

    Hello,
    please Urgent Help
    I have ASR 1000 with asr1000rp2-adventerprisek  Version, when I give PPP Multilink to the dialer interface it show following error :
    FMFP-3-OBJ_DWNLD_TO_CPP_FAILED: F0: fman_fp_image:
    MLP bundle , link download to CPP failed
    please urgent help

    this error comes with the command PPP multilink, it is a lot of letters and numbers and then this last line comes this message 
    FMFP-3-OBJ_DWNLD_TO_CPP_FAILED: F0: fman_fp_image:
    MLP bundle 181, link 178 download to CPP failed
    the configuration still not installed but I configured just the following lines
    interface Virtual-Template
    ip unnumbered Loopback2
    ip mtu 1440
    ip load-sharing per-packet
    ip tcp adjust-mss 1400
    no logging event link-status
    peer default ip address pool
    ipv6 unnumbered Loopback2
    ipv6 enable
    no ipv6 nd suppress-ra
    ppp authentication pap chap callin
    ppp multilink
    ppp multilink fragment delay 100
    ppp multilink mrru local 1546
    that were the lines used to configure this Dialer, the image must be asr1000rp2-adventerprisek and not Ipbase but I dont tried to use IPbase.
    what do think ?

  • ASR1002 MLP Bundle Problems

    Hi fols,
    We got ASR 1002 for use as LNS and move VPDN settings from 7204 to ASR1002... Looks like PPPoE interfaces (customers works pefect) but MLP Bundle cant establish :(
    Cisco Console Log:
    Feb 13 05:00:13 104.234.254.1 21010: Feb 13 10:00:12.732: %CPPOSLIB-3-ERROR_NOTIFY: SIP0: cpp_cp:  cpp_cp encountered an error -Traceback= 1#adfdffd320bd4b50a075756a85bafaca   errmsg:7FB80973B000+121D cpp_common_os:7FB80C74C000+D8D5 cpp_common_os:7FB80C74C000+D7D4 cpp_common_os:7FB80C74C000+19A3E cpp_ifm:7FB81F747000+A158 cpp_mlppp_svr_lib:7FB815BBB000+C2F1 cpp_mlppp_svr_lib:7FB815BBB000+1CCA8 cpp_mlppp_svr_smc_lib:7FB815DF9000+2D28 cpp_common_os:7FB80C74C000+11E6E cpp_common_os:7FB80C74C000+118AA cpp_common_os:7FB80C74C000+116EB evlib:7FB80B72C0
    Feb 13 05:00:13 104.234.254.1 21011: Feb 13 10:00:12.733: %FMFP-3-OBJ_DWNLD_TO_CPP_FAILED: SIP0: fman_fp_image:  MLP bundle 174, link 170 download to CPP failed
    Radius Log (look as well):
    Fri Feb 13 04:59:41 2015 : Auth: Login OK: [[email protected]] (from client asr-lns1.xxxxx.com port 3445 cli BHVLPQ1004W lag-39:53)
    Fri Feb 13 04:59:41 2015 : Info: Existing IP: x.x.x.x   (did  cli BHVLPQ1004W lag-39:53 port 3445 user [email protected])
    Fri Feb 13 05:00:12 2015 : Auth: Login OK: [[email protected]] (from client asr-lns1.xxxxx.com port 3009 cli BHVLPQ1004W lag-39:53)
    Fri Feb 13 05:00:12 2015 : Info: Existing IP: x.x.x.x   (did  cli BHVLPQ1004W lag-39:53 port 3009 user [email protected])
    My Debug settings:
    2# sh debug
    PPPoE:
      PPPoE protocol events debugging is on
      PPPoE data packets debugging is on
      PPPoE control packets debugging is on
      PPPoE protocol errors debugging is on
    MLP:
      Multilink fragments debugging is on
      Multilink events debugging is on
      First bytes of multilink packet debugging is on
    VTEMPLATE:
      Virtual Template errors debugging is on
      Virtual Template subinterface debugging is on
    #sh log | in MLP
    :01:13.742: Vi109 MLP: Dropped link Vi110 from bundle [email protected]
    Feb 13 10:01:13.742: Vi109 MLP: Dropped last link, removing bundle [email protected]
    Feb 13 10:01:13.742: Vi109 MLP: Removing bundle '[email protected]'
    Feb 13 10:01:15.392: Vi111 MLP: Request add link to bundle
    Feb 13 10:01:15.392: Vi111 MLP: Adding link to bundle
    Feb 13 10:01:15.392: Vi111 MLP: Requested bundle vaccess creation
    Feb 13 10:01:15.392: Vi111 MLP: Determine clone source for SSS
    Feb 13 10:01:15.392: Vi111 MLP: Link is Virtual-Access, clone from Virtual-Template 1
    Feb 13 10:01:15.395: Vi111 MLP: Determine clone source for SSS
    Feb 13 10:01:15.395: Vi111 MLP: Link is Virtual-Access, clone from Virtual-Template 1
    Feb 13 10:01:15.396: Vi111 MLP: SSS connect, bundle interface Vi112
    Feb 13 10:01:15.396: Vi112 MLP: Changing bundle bandwidth from 100000 to 2000000
    Feb 13 10:01:15.396: Vi112 MLP: Interleaving disabled
    Feb 13 10:01:15.396: Vi112 MLP: Ready to finish adding link Vi111 to bundle
    Feb 13 10:01:15.396: Vi111 MLP: Computed frag size 7499992 exceeds MTU, changed to 1496
    Feb 13 10:01:15.396: Vi112 MLP: Update bundle bandwidth 2000000 set 2000000
    Feb 13 10:01:15.396: Vi111 MLP: Change transmit status from Init to Enabled, transmit links 1
    Feb 13 10:01:15.397: Vi112 MLP: Added first link Vi111 to bundle [email protected]
    Feb 13 10:01:15.397: Vi111 MLP: Updating bundle's PPP handle[0xCE000105] in SSS context
    Feb 13 10:01:15.398: Vi112 MLP: Received segment updated message for bundle
    Feb 13 10:01:15.402: %FMFP-3-OBJ_DWNLD_TO_CPP_FAILED: SIP0: fman_fp_image:  MLP bundle 179, link 178 download to CPP failed
    Feb 13 10:01:17.694: Vi112: MLP: Bundle has 1/2 desired links, requesting another
    Feb 13 10:01:43.097: Vi111 MLP: Change transmit status from Enabled to Idle, transmit links 0
    Feb 13 10:01:43.097: Vi112 MLP: No previous member for idle link in '[email protected]'
    Feb 13 10:01:43.097: Vi112 MLP: Update bundle bandwidth 2000000 set 2000000
    Feb 13 10:01:45.102: Vi111 MLP: Request drop link from bundle Vi112
    Feb 13 10:01:45.103: Vi112 MLP: Removing link Vi111 from bundle [email protected]
    Feb 13 10:01:45.103: Vi111 MLP: Change transmit status from Idle to Init, transmit links 0
    Feb 13 10:01:45.103: Vi112 MLP: Bundle bandwidth 2000000 unchanged
    Feb 13 10:01:45.103: Vi112 MLP: Dropped link Vi111 from bundle [email protected]
    Feb 13 10:01:45.103: Vi112 MLP: Dropped last link, removing bundle [email protected]
    Feb 13 10:01:45.103: Vi112 MLP: Removing bundle '[email protected]'
    2# sh ppp multilink
    Virtual-Access126
      Bundle name: [email protected]
      Remote Username: [email protected]
      Remote Endpoint Discriminator: [3] 4c60.de51.dd67
      Local Endpoint Discriminator: [1] asr1002
      Bundle up for 00:00:25, total bandwidth 2000000, load 1/255
      Receive buffer limit 12192 bytes, frag timeout 1000 ms
      Bundle is Distributed
      Using relaxed lost fragment detection algorithm.
        0/0 fragments/bytes in reassembly list
        0 lost fragments, 0 reordered
        0/0 discarded fragments/bytes, 0 lost received
        0x0 received sequence, 0x0 sent sequence
      Platform Specific Multilink PPP info
        NOTE: internal keyword not applicable on this platform
        Interleaving: Enabled, Fragmentation: Enabled
      Member links: 1 (max 16, min 2)
        BHVLPQ1004W:Vi125  (x.x.x.x), since 00:00:25, 7500000 weight, 1496 frag size, unsequenced
    No inactive multilink interfaces
    Border-ASR1002#sh users | in xxxxx
      Vi129        [email protected] PPPoVPDN     never
      Vi130        [email protected] MLP Bundle   00:00:06
    NO IP ASSIGNED and this SESSIONs will be close in 30-50 sec. Then start again by circle.
    interface Virtual-Template1
     ip unnumbered Loopback100
     no ip redirects
     no ip proxy-arp
     ip mtu 1460
     ip tcp adjust-mss 1420
     load-interval 60
     no peer default ip address
     keepalive 30
     ppp mru match
     ppp authentication pap chap xxx-netwrok.com
     ppp authorization xxx-netwrok.com
     ppp accounting xxx-netwrok.com
     ppp ipcp dns 8.8.8.8
     ppp multilink
     ppp multilink links minimum 2
     ppp multilink interleave
     ppp multilink endpoint string asr1002
    end
    interface Loopback100
     ip address x.x.x.x 255.255.255.255
    end
    #sh ppp  statistics
    Type PPP Statistic                              TOTAL      SINCE CLEARED
    4    Transition Packet Drop                      2          2
    5    Interrupt Transition Packet Drop            5          5
    14   PPP Handles Allocated                       16620      16620
    15   PPP Handles Freed                           13971      13971
    16   LCP Renegotiations                          17         17
    17   NCP Renegotiations                          3          3
    18   NCP Negotiations Failed                     348        348
    19   PPP Encapped Interfaces                     4583       4583
    24   LCP Timeout+                                2892       2892
    25   NCP Timeout+                                89257      89257
    26   LCP Timeout-                                793        793
    27   NCP Timeout-                                9542       9542
    28   Authentication Timeout                      1984       1984
    29   Configure-Ack Id mismatch                   9          9
    30   Configure-Nak/Reject Id mismatch            21         21
    Type PPP MIB Counters                           PEAK       CURRENT
    1    Links at LCP Stage                          13         2
    2    Links at Unauthenticated Name Stage         240        0
    3    Links at Authenticated Name Stage           4          0
    7    Links at Local Termination Stage            2650       2647
    8    MLP Links at LCP Stage                      1          0
    9    MLP Links at Unauthenticated Name Stage     1          0
    10   MLP Links at Authenticated Name Stage       1          0
    14   MLP Links at Local Termination Stage        3          0
    20   Successful LCP neogtiations                 14497      14497
    22   Entered Authentication Stage                14497      14497
    28   IPCP UP Sessions                            2650       2647
    48   CHAP authentication attempts                2          2
    49   CHAP authentication successes               1          1
    51   PAP authentication attempts                 14495      14495
    52   PAP authentication successes                7397       7397
    53   PAP authentication failures                 6141       6141
    95   Total Sessions                              2651       2647
    96   Non-MLP Sessions                            2650       2647
    97   MLP Sessions                                1          0
    98   Total Links                                 2654       2649
    99   Non-MLP Links                               2653       2649
    100  MLP Links                                   2          0
    Type PPP Disconnect Reason                      TOTAL      SINCE CLEARED
    11   Missed too many keepalives                  177        177
    12   PPP Renegotiating                           18         18
    15   LCP failed to negotiate                     1694       1694
    17   Received LCP TERMREQ from peer              1465       1465
    18   Received LCP TERMACK from peer while OPEN   2          2
    24   Removing MLP Bundle                         412        412
    27   MLP Kill Link                               4          4
    29   Lower Layer disconnected                    3187       3187
    37   Received disconnect from Session Manager    174        174
    54   User failed PAP authentication              6141       6141
    55   AAA Server did not respond                  695        695
    57   Authentication timeouts exceeded            2          2
    If i try look show interface for two interface in bundle i see like this:
    Border-ASR1002#sh int Vi24
    Virtual-Access24 is up, line protocol is up
      Hardware is Virtual Access interface
      Interface is unnumbered. Using address of Loopback100 (x.x.x.x)
      MTU 1442 bytes, BW 2000000 Kbit/sec, DLY 100000 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation PPP, LCP Open, multilink Open
      REQsent: IPCP
      MLP Bundle vaccess, cloned from Virtual-Template1
      Vaccess status 0x44, loopback not set
      Keepalive set (30 sec)
      DTR is pulsed for 5 seconds on reset
    Border-ASR1002#sh int Vi28
    Virtual-Access28 is up, line protocol is up
      Hardware is Virtual Access interface
      MTU 1500 bytes, BW 2000000 Kbit/sec, DLY 100000 usec,
         reliability 255/255, txload 1/255, rxload 1/255
      Encapsulation PPP, LCP Open, multilink Open
      Link is a member of Multilink bundle Virtual-Access24
      PPPoVPDN vaccess, cloned from Virtual-Template1
      Vaccess status 0x44
      Protocol l2tp, tunnel id 64648, session id 34181, loopback not set
      Keepalive set (30 sec)
      DTR is pulsed for 5 seconds on reset
    Looks like normal. but in 30-60 sec this crashed... and sure we have not one customers with MLP... i hope we have around 20-30... so should be tonns MLP :)
    Sure i lose few hours for find solutions but without luck. Nobody have exacly answer to this question.
    I got abolutely working configuration from working NAS (7201 and 7204) and move it to ASR... thats what i have with MLP :((((
    Can someone try help me investigate in figure our this....
    I found same thread on ciscoforums where guys tell "need update ios" but someone update it and have same issue, so i hope issue not in IOS version.
    Cisco IOS Software, IOS-XE Software (X86_64_LINUX_IOSD-UNIVERSAL-M), Version 15.3(2)S1, RELEASE SOFTWARE (fc1)
    IOS XE Version: 03.09.01.S
    System image file is "bootflash:/asr1002x-universal.03.09.01.S.153-2.S1.SPA.bin"
    If you need anything else, like more debug or more info ... just ask me... i will wait there for your questions.
    Thanks a lot.!
    /// Update
    Little bit more debug from bootflash:/tracelogs/cpp_cp_F0-0.log.7749.20150213111013
    02/13 11:09:07.734 [errmsg]: (ERR): %CPPOSLIB-3-ERROR_NOTIFY: cpp_cp encountered an error -Traceback= 1#adfdffd320bd4b50a075756a85bafaca   errmsg:7FB80973B000+121D cpp_common_os:7FB80C74C000+D8D5 cpp_common_os:7FB80C74C000+D7D4 cpp_common_os:7FB80C74C000+19A3E cpp_ifm:7FB81F747000+A158 cpp_mlppp_svr_lib:7FB815BBB000+C2F1 cpp_mlppp_svr_lib:7FB815BBB000+1CCA8 cpp_mlppp_svr_smc_lib:7FB815DF9000+2D28 cpp_common_os:7FB80C74C000+11E6E cpp_common_os:7FB80C74C000+118AA cpp_common_os:7FB80C74C000+116EB evlib:7FB80B72C000+B8E7 evlib:7FB80B72C000+E1B0
    02/13 11:09:07.735 [buginf]: (debug):
     -Traceback=1#adfdffd320bd4b50a075756a85bafaca   cpp_common_os:7FB80C74C000+11445 cpp_common_os:7FB80C74C000+D7D9 cpp_common_os:7FB80C74C000+19A3E cpp_ifm:7FB81F747000+A158 cpp_mlppp_svr_lib:7FB815BBB000+C2F1 cpp_mlppp_svr_lib:7FB815BBB000+1CCA8 cpp_mlppp_svr_smc_lib:7FB815DF9000+2D28 cpp_common_os:7FB80C74C000+11E6E cpp_common_os:7FB80C74C000+118AA cpp_common_os:7FB80C74C000+116EB evlib:7FB80B72C000+B8E7 evlib:7FB80B72C000+E1B0 cpp_common_os:7FB80C74C000+13B43 :400000+6061 c:7FB7FC394000+1E514 :400000+5CC9
    02/13 11:09:07.735 [cpp-mlppp]: (warn): [cpp_mlp_tx_link_create:3260] cpp_ifm_tx_chan_create_on_if failed link=1563 (retval='CPP Interface Database' detected the 'warning' condition 'IFDB detected error in API': No such file or directory)
    02/13 11:09:07.735 [cpp-mlppp]: (warn): [cpp_mlp_svr_bundle_add_link_cmn:5035] cpp_mlp_tx_link_create failed link=1563 (retval='CPP Interface Database' detected the 'warning' condition 'IFDB detected error in API': No such file or directory)
    02/13 11:09:41.978 [cpp-ifm]: (ERR): cpp_ifm_tx_chan_create_on_if.806: failed to find channel for parent if_h 100-'CPP Interface Database' detected the 'warning' condition 'IFDB detected error in API': No such file or directory
    02/13 11:09:41.980 [errmsg]: (ERR): %CPPOSLIB-3-ERROR_NOTIFY: cpp_cp encountered an error -Traceback= 1#adfdffd320bd4b50a075756a85bafaca   errmsg:7FB80973B000+121D cpp_common_os:7FB80C74C000+D8D5 cpp_common_os:7FB80C74C000+D7D4 cpp_common_os:7FB80C74C000+19A3E cpp_ifm:7FB81F747000+A158 cpp_mlppp_svr_lib:7FB815BBB000+C2F1 cpp_mlppp_svr_lib:7FB815BBB000+1CCA8 cpp_mlppp_svr_smc_lib:7FB815DF9000+2D28 cpp_common_os:7FB80C74C000+11E6E cpp_common_os:7FB80C74C000+118AA cpp_common_os:7FB80C74C000+116EB evlib:7FB80B72C000+B8E7 evlib:7FB80B72C000+E1B0
    02/13 11:09:41.981 [buginf]: (debug):
     -Traceback=1#adfdffd320bd4b50a075756a85bafaca   cpp_common_os:7FB80C74C000+11445 cpp_common_os:7FB80C74C000+D7D9 cpp_common_os:7FB80C74C000+19A3E cpp_ifm:7FB81F747000+A158 cpp_mlppp_svr_lib:7FB815BBB000+C2F1 cpp_mlppp_svr_lib:7FB815BBB000+1CCA8 cpp_mlppp_svr_smc_lib:7FB815DF9000+2D28 cpp_common_os:7FB80C74C000+11E6E cpp_common_os:7FB80C74C000+118AA cpp_common_os:7FB80C74C000+116EB evlib:7FB80B72C000+B8E7 evlib:7FB80B72C000+E1B0 cpp_common_os:7FB80C74C000+13B43 :400000+6061 c:7FB7FC394000+1E514 :400000+5CC9
    02/13 11:09:41.981 [cpp-mlppp]: (warn): [cpp_mlp_tx_link_create:3260] cpp_ifm_tx_chan_create_on_if failed link=1563 (retval='CPP Interface Database' detected the 'warning' condition 'IFDB detected error in API': No such file or directory)
    02/13 11:09:41.981 [cpp-mlppp]: (warn): [cpp_mlp_svr_bundle_add_link_cmn:5035] cpp_mlp_tx_link_create failed link=1563 (retval='CPP Interface Database' detected the 'warning' condition 'IFDB detected error in API': No such file or directory)
    02/13 11:10:13.049 [cpp-ifm]: (ERR): cpp_ifm_tx_chan_create_on_if.806: failed to find channel for parent if_h 100-'CPP Interface Database' detected the 'warning' condition 'IFDB detected error in API': No such file or directory

    Originally Posted by CRAIGDWILSON
    Look in your logs for any issues zmd-messages.log regarding accessing
    "AppData". If so, that could be a known issue they are looking at,
    though it is not really new but there are reports back to even 11.2.x
    The reports are more of a timing issue on boot, but perhaps it could
    relate to logon if that happened soon enough, though non of the reports
    are for logon events.
    On 6/25/2014 2:26 AM, thsundel wrote:
    >
    > Hi!
    > Anyone else have problems with bundles not installing/launching on
    > schedule with 11.3FRU1 agent? Also bundles set to launch at user login
    > doesn't work first time the user logs in after workstation is booted, if
    > they logout and in again then it will work?
    >
    > Thomas
    >
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Technical Support Engineer
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.
    Nope, nothing refering to appdata (only thing it finds is appdatalrucache but that is probably not what you are asking for)...
    I've now tried assiging the bundle both to device and to user but still nothing happes, works fine on our 11.2.x agent workstations.
    Thomas

  • Redownload and reinstall all installed packages

    I need to redownload and reinstall all installed packages, because I made some tests with prelink and something goes wrong. I found an article in wiki that covers download of installed packages, but howto reinstall them all?
    The problem is that some apps are acting weird. I also have problem with compiling of AUR packages, because I get this error message:
    checking how to recognise dependent libraries... pass_all
    checking how to run the C preprocessor... /lib/cpp
    configure: error: C preprocessor "/lib/cpp" fails sanity check
    See `config.log' for more details.
    make: *** No targets specified and no makefile found. Stop.
    The gcc package is installed. Any sugestions?
    Last edited by macros78 (2007-09-09 12:19:21)

    I think this should do it...
    pacman -Q | grep -v pacman | cut -d' ' -f1 > packages.txt
    pacman -Sy `cat packages.txt` --noconfirm

  • Itunes registry issues

    ok so
    i have magic iso for obvious cheeky mounting of a cd
    since using it i found out i couldnt play dvds on my laptop
    so i went to some forum that said to play dvd make a cdreg.reg type file and copy and paste said code into it
    i did that and dvds worked
    but now my copypod prgram that i use to take suff off ipods isnt working
    im using a dell studio 1735 with vista and the latest itunes
    ive reinstalled itunes 10 times
    ive downloaded registry mechanic which found 99 problems but this ***** wasnt one
    the gear folder doesnt have uper or lower filters showing otherwise i would of edited that
    i also codulnt find the deletion flag in the other folder
    i also deleted some other system driver i was told to by another forum
    so basically ive done all this and copypod still says
    failed to read itunesdb tfastlistfiles.cpp failed line 123
    any help advice sympathy
    greatly appreciated
    ive been sat in this pub for 2 hours now trying to work it out

    ok so the itunes warning has gone now after numerous amounts of itunes repair install and registry mechanic scans and fixes
    but the copypod message still remains
    how can i fix this fastlistfile db thing

  • Wmic exception with error 0x80020009

    Hi,
    When I try to execute any command using wmic, I get an exception with error code = 0x80020009. I've run wmdiag.exe and it shows no problems. I've appended partial output from trying to execute the "process" command using the "/trace:ON" option. Any help would be greatly appreciated.
    Thanks, Steven
    Operating system: Windows Server 2003
    Anti-virus: Kaspersky
    Internet Connection: Cisco ASA5505 Firewall
    RAM: 32 Gigs
    CPU Name: Intel Xeon 5110
    Partial output from executing "wmic /trace:ON process":
    SUCCESS: IWbemObjectTextSrc::GetText(0, -, WMI_OBJECT_TEXT_CIM_DTD_2_0, -, -)
    Line:    413 File: d:\nt\admin\wmi\wbem\tools\wmic\execengine.cpp
    SUCCESS: IEnumWbemClassObject->Next(WBEM_INFINITE, 1, -, -)
    Line:    446 File: d:\nt\admin\wmi\wbem\tools\wmic\execengine.cpp
    SUCCESS: IWbemObjectTextSrc::GetText(0, -, WMI_OBJECT_TEXT_CIM_DTD_2_0, -, -)
    Line:    413 File: d:\nt\admin\wmi\wbem\tools\wmic\execengine.cpp
    SUCCESS: IEnumWbemClassObject->Next(WBEM_INFINITE, 1, -, -)
    Line:    446 File: d:\nt\admin\wmi\wbem\tools\wmic\execengine.cpp
    SUCCESS: CoCreateInstance(CLSID_FreeThreadedDOMDocument, NULL, CLSCTX_INPROC_SER
    VER, IID_IXMLDOMDocument2, -)
    Line:    198 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    SUCCESS: IXMLDOMDocument::loadXML(-, -)
    Line:    229 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    SUCCESS: CoCreateInstance(CLSID_XSLTemplate, NULL, CLSCTX_SERVER, IID_IXSLTempla
    te, -)
    Line:   3219 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    SUCCESS: CoCreateInstance(CLSID_FreeThreadedDOMDocument, NULL, CLSCTX_SERVER,IID
    _IXMLDOMDocument2, -)
    Line:   3242 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    SUCCESS: IXSLDOMDocument2::put_async(VARIANT_FALSE)
    Line:   3254 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    SUCCESS: IXSLDOMDocument2::load(L"C:\WINDOWS\system32\wbem\texttable.xsl", -)
    Line:   3269 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    SUCCESS: IXSTemplate::putref_stylesheet(-)
    Line:   3283 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    SUCCESS: IXSTemplate::createProcessor(-)
    Line:   3295 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    SUCCESS: IXSProcessor::put_input(-)
    Line:   3332 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    SUCCESS: IXSProcessor::put_output(-)
    Line:   3359 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    FAIL: IXSProcessor::tranform(-)
    Line:   3373 File: d:\nt\admin\wmi\wbem\tools\wmic\formatengine.cpp
    ERROR:
    Code = 0x80020009
    Description = Exception occurred.
    Facility = Dispatch

    Hello,
    I have the same problem...
    I search to know what happen..
    wmic SOFTWAREELEMENT GET Name
    Open CMD
    wmic
    /output:c:\ProgramList.txt product get name,version

  • Macbook Pro freezing every one hour

    Hello guys,
    I did post this a couple of days ago, but since I got not a single answer, I'm kindly posting again too see if I get more luck this time, so, I hope any of you can help me with my problem, and thanks in advance:
    I have a macbook pro, OS X 10.7.5, 2,3 GHz, two years old. Around a week ago, it started to systematically hang up. It happens as follows: It goes irresponsive, independentely from which applications I'm using at the moment. It does it gradually, so at the beginning I can still move the pointer, but as soon as I try to go to force quite, the spinning wheels appears, and soon it's all frozen, so I don't have any other option than restarting with the physical button.
    Funnily, this happens every one hour. I went through other posts in the support community, and firstly, I was directed to check Terminal, finding out, right before the reboots, several messages which said that a thinning of the SSD unit was necessary, since there was less than 20% of the space free. I have cleaned up the unit, having now 34,7 GB out of 127,18 GB free (27%). I thought I had solve the problem, but no, it keeps on freezing the same. The messages do not appear anymore tho.
    I checked the unit with Disk Utility, and a repair was recommended. I did a repair, by restarting and holding Ctrl+D, after which Disk Utility says the unit is alright. But it still freezes.
    I reinstalled OS X 10.7.5, but that didn't help either.
    The Console now shows these messages before the freezing happens:
    24/09/13 18:06:08,527 com.apple.Dock.agent: 2013-09-24 18:06:08.526 DashboardClient[484:403] error [1001] setting colorSpace to Color LCD colorspace
    24/09/13 18:06:18,000 kernel: hfs: cat_lookup_siblinglinks: getkey for 114690004 failed 2
    24/09/13 18:06:52,559 installd: PackageKit: ----- Begin install -----
    24/09/13 18:06:58,217 xpchelper: could not open dyld map file: (null)
    24/09/13 18:07:01,957 sudo:     root : TTY=unknown ; PWD=/private/tmp/PKInstallSandbox.94nENK/Scripts/com.apple.pkg.JavaSecurity.n0m xH5 ; USER=apple ; COMMAND=/bin/launchctl unload /System/Library/LaunchDaemons/com.apple.mrt.plist
    24/09/13 18:07:02,262 installd: Installed "Java for OS X 2013-004" (1.0)
    24/09/13 18:07:02,271 installd: PackageKit: ----- End install -----
    24/09/13 18:07:02,000 kernel: CODE SIGNING: cs_invalid_page(0x103ddf000): p=531[MRT] clearing CS_VALID
    24/09/13 18:09:22,376 Download Java Components: Java Install finished
    24/09/13 18:09:22,376 Download Java Components: Relaunching after install: file://localhost/Library/Application%20Support/Adobe/CS5ServiceManager/CS5Servi ceManager.app/
    24/09/13 18:10:55,000 bootlog: BOOT_TIME 1380039055 0
    Thanks for the help!

    Hi,
    as un update, I am posting the last ten messages on Console for the last time I had to reboot it, since the one in the original post is already days old:
    27/09/13 13:53:05,452 com.apple.cmio.VDCAssistant: /SourceCache/AppleGVA/AppleGVA-3.1.9/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 3
    27/09/13 13:53:05,452 com.apple.cmio.VDCAssistant: error initializing gpu library
    27/09/13 13:53:06,482 com.apple.launchd.peruser.501: (com.apple.rcd[275]) Exited: Killed: 9
    27/09/13 13:53:06,495 com.apple.launchd.peruser.501: (com.apple.talagent[225]) Exited: Killed: 9
    27/09/13 13:53:06,535 com.apple.launchd.peruser.501: ([0x0-0x18018].com.apple.iTunesHelper[277]) Exited: Killed: 9
    27/09/13 13:53:06,538 com.apple.launchd.peruser.501: ([0x0-0x30030].com.apple.AppleSpell[308]) Exited: Killed: 9
    27/09/13 13:53:06,592 loginwindow: DEAD_PROCESS: 70 console
    27/09/13 13:53:07,053 shutdown: reboot by apple:
    27/09/13 13:53:07,054 shutdown: SHUTDOWN_TIME: 1380282787 53340
    27/09/13 13:53:07,068 UserEventAgent: CaptiveNetworkSupport:UserAgentDied:139 User Agent @port=43271 Died
    Thanks

  • Kde error with klibdevx.so.4

    :oops: I've succesfully installed FreeX86 and it is working and I also installed kde 3.1.2 but when I try to run kde it make an error. The error says that it can't slocate klibdevx.so.4 and that it can't run kdeinit. Anyone know how to fix this error??? I'm a newbie and will appreciate ur help, thanks.

    Now I have a problem with libqt-mt.so.3. I run startkde and it show an error in the screen. Kreadconfig, Ksplash, Kdeinit, Ksmserver, Kdeconfig.
    The error look like:
    kreadconfig: error while loading shared libraries: libqt-mt.so.3: can not open shared object file: No such file or directory
    ksplash: error while loading shared libraries: libqt-mt.so.3: can not open shared object file: No such file or directory
    kdeinit: error while loading shared libraries: libqt-mt.so.3: can not open shared object file: No such file or directory
    ksmserver: error while loading shared libraries: libqt-mt.so.3: can not open shared object file: No such file or directory
    startkde: Could not start kdeinit. Check your installation
    kdeconfig: error while loading shared libraries: libqt-mt.so.3: can not open shared object file: No such file or directory
    How can I fix this? I was thinking that maybe there are some missing files in the Full Arch installation Cd. So I download a newer version of kde including tha arts, kdelibs and kdebase files. I also download a newer version of qt. I download the source files the ones that ends in .tar.bz2. So I unpacked them and when I run ./configure --prefix=/opt/kde
    I get the following error:
    configure:error:C preprocessor "/lib/cpp" fails sanity check.
    What can I do to fix this. Is it easier to install them this way than fixing the problem with my startkde problem. I will appreciate your help, I want to have kde running.

Maybe you are looking for

  • Release Strategies in Purchase Order - possible values of caracteristics

    Hello, I have the following situation at hand. We use in a company code a release strategy for POs. One of the caracteristics is the "plant" (CEKKO-WERKS, multiple values). Strategy is working fine. Now I have to implement in another company code- in

  • After updating my ipad to version 5.1.1 wifi is gone please help

    Hi, after updating my Ipad 1 to version 5.1.1 my wifi had stoped working, i tried many times to rest the network setting but no use, please advice regards ameem

  • Standard User Lic upgrade to Professional Lic for CUMA

    Hi NetPro. my company is going to purchase CUMA server , however my current user lic which all in Stand only. however, i am thinking to upgrade them to Professional in order to use the feature of CUMA . however, i am stucked in the Dynamic Tool gener

  • Idoc segment occuring 9999 times

    Hi all,       i am trying the scenario  file-xi-idoc scenario in sap xi 2.0,am using a flat file on ftp server which is being converted as idoc in idoc adapter. Now the idoc is available in receiving sap system with status 51. here i found 2 problems

  • Import TIGER line files

    I am new to TIGER line files and am wondering how I might import a TIGER line file into Oracle9i Spatial. Basically, I know how to load, import and export data, I am just not sure what the metadata for the line files looks like etc. If you have done