cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1453
Views
0
Helpful
6
Replies

mallocfail error during NAT configuration

rkent649649
Level 1
Level 1

Good day everyone, I am hoping that someone would be able to assist us in the configuration of our router. We just purchased this router, we did the initial configuration with the help of some documents. And now, when we try to configure NAT for us to connect to the internet, we suddenly encountered this error:

Router(config-if)#ip nat inside
% NBAR Error: LEXER error : parsing stopped

% NBAR Error: Activation failed due to insufficient Dynamic Memory
[ERROR] STILE CPR: cpr_linux_deactivate: calling API on non-init module

% NBAR Error: Stile could not add protocol node
%NAT: Error activating CNBAR on the interface GigabitEthernet0/0

*Jun 29 08:53:52.191: %SYS-2-MALLOCFAIL: Memory allocation of 135188 bytes failed from 0x2436E7D8, alignment 0
Pool: Processor  Free: 99688  Cause: Not enough free memory
Alternate Pool: None  Free: 0  Cause: No Alternate pool
 -Process= "stile_activate_process", ipl= 0, pid= 268
-Traceback= 2100FB80z 24368F60z 24369144z 24350444z 24350538z 2435060Cz 243504E0z 2435060Cz 243519A0z 2436638Cz 2436A734z 2436ACDCz 210329B4z 21032998z
*Jun 29 08:53:52.191: %NBAR-2-NOMEMORY: No memory available for StILE lmalloc
-Traceback= 24369144z 24350444z 24350538z 2435060Cz 243504E0z 2435060Cz 243519A0z 2436638Cz 2436A734z 2436ACDCz 210329B4z 21032998zNBAR XE: DP MEM Not initialized
*Jun 29 08:53:52.927: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up

Would anybody be willing to assist us with this issue? It would greatly be appreciated.

 

6 Replies 6

Richard Burts
Hall of Fame
Hall of Fame

You have not told us what model of router, what version of code that it is running, and how much memory it has, all of which would be helpful in diagnosing the issue. But the basic problem is clear - your router does not have sufficient memory available to run the combination of features that you are using. Note the several elements of the error messages that include not enough memory.

 

It is possible that there is some problem with the memory of the router. Or it is possible that the memory on the router is functional and that the version of code that you are running needs more memory than this router has.

 

HTH

 

Rick

HTH

Rick

Sir, thank you very much for looking at my issue. I am sorry that I wasn't able to provide some details. For the version of the current hardware that we have, here it is:

Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9-M), Version 15.4(3)M1, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Sat 25-Oct-14 01:02 by prod_rel_team

ROM: System Bootstrap, Version 15.0(1r)M16, RELEASE SOFTWARE (fc1)

Router uptime is 1 minute
System returned to ROM by power-on
System image file is "usbflash0:c1900-universalk9-mz.SPA.154-3.M1.bin"
Last reload type: Normal Reload
Last reload reason: power-on

 

This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

Cisco CISCO1905/K9 (revision 1.0) with 225280K/36864K bytes of memory.
Processor board ID FGL191722K7
2 Gigabit Ethernet interfaces
1 Serial(sync/async) interface
1 terminal line
DRAM configuration is 64 bits wide with parity disabled.
255K bytes of non-volatile configuration memory.
250864K bytes of USB Flash usbflash0 (Read/Write)


License Info:

License UDI:

-------------------------------------------------
Device#   PID                   SN
-------------------------------------------------
*1        CISCO1905/K9          FGL191722K7

 

Technology Package License Information for Module:'c1900'

------------------------------------------------------------------------
Technology    Technology-package                  Technology-package
              Current              Type           Next reboot
------------------------------------------------------------------------
ipbase        ipbasek9             Permanent      ipbasek9
security      None                 None           None
data          None                 None           None
NtwkEss       None                 None           None

Configuration register is 0x2102

You've mentioned about version of code, does NAT configuration script matters on which version IOS was?

I am not clear what you are asking about NAT. But I would think that NAT would be supported in every version of code that runs on 1900 routers.

 

It is difficult to detect what is causing the memory problem that you were experiencing. Is this router covered by a maintenance contract with Cisco? If so the best thing would be to open a case with Cisco TAC.

 

HTH

 

Rick 

HTH

Rick

Thank you very much for your input, Sir. I will just contact with Cisco with regards to this. I don't know as well cause this is a brand new and there is no saved configuration yet.

Hi rken,

Did you find the cause??? because i have the same problem with my router 1905 and NAT/PAT.

Thanks for your answer.

Posting the output of show version from your router would be a good first step in trying to understand what is your issue.

HTH

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card