02-11-2008 06:41 AM - edited 03-03-2019 08:39 PM
Hi, I have a router Cisco 1760 working fine but recently I can't save the running-config to start-config. I have used the command service compress-config but I think it doesn't work. Here some additional info:
Router1760#sh user
Line User Host(s) Idle Location
* 6 vty 0 userAP idle 00:00:00 x.y.z.w
Interface User Mode Idle Peer Address
Router1760#
Router1760#
Router1760#dir nvram:
Directory of nvram:/
12 -rw- 16048 <no date> startup-config
13 ---- 1965 <no date> private-config
1 -rw- 0 <no date> ifIndex-table
2 ---- 13 <no date> persistent-data
29688 bytes total (9575 bytes free)
Router1760#
Router1760#
Router1760#write
startup-config file open failed (Not enough space)
Router1760#
Router1760#
Router1760#copy run
Router1760#copy running-config star
Router1760#copy running-config startup-config
Destination filename [startup-config]?
startup-config file open failed (Not enough space)
Router1760#copy start
Router1760#copy startup-config tft
Router1760#copy startup-config tftp:
Address or name of remote host []? x.y.z.w
Destination filename [routerccs-cco-confg]?
%Error opening nvram:/startup-config (Bad address)
Router1760#
Building configuration...
Current configuration : 15639 bytes
!
! Last configuration change at 11:25:42 utc Thu Feb 7 2008 by userAP
! NVRAM config last updated at 03:21:03 utc Sun Dec 9 2007 by userAP
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
service compress-config
!
!! configuration cut here !!
02-18-2008 06:55 AM
When there is simultaneous access to a router's NVRAM, you might encounter these two errors:
While you display the contents of the NVRAM with the show startup-config command:
Router#show startup-config
Using 5524 out of 129016 bytes
%Error opening nvram:/startup-config (Device or resource busy)
While you save a configuration to the NVRAM with the copy running-config startup-config command:
Router#copy running-config startup-config
Destination filename [startup-config]?
startup-config file open failed (Device or resource busy)
http://cisco.com/en/US/products/ps6350/products_tech_note09186a0080202612.shtml#nvram
02-18-2008 11:14 AM
Hi and thanks for your response.
I was checking the users connected to the router, and I am the only one accessing the router. The Nvram shows a new message, but I still haven't found anything in what could be the problem. Any idea??
Regards,
Alexander.
P.D.:
Router1760#sh user
Line User Host(s) Idle Location
* 6 vty 0 userAP idle 00:00:00 11.0.11.242
Interface User Mode Idle Peer Address
Router1760#dir nvram:
Directory of nvram:/
12 -rw- 16048
13 ---- 1965
1 -rw- 0
2 ---- 13
29688 bytes total (9575 bytes free)
Router1760#
Router1760#write
startup-config file open failed (Not enough space)
Router1760#
RouterCCS-CCO#sh startup-config
Using 16048 out of 29688 bytes
%Error opening nvram:/startup-config (Bad address)
Router1760#
02-18-2008 08:02 PM
Hi
Can you try to exectue test memory command ?
it will try to test your nvram and give you the results.
if you get the result as failed take necessary backup and do a write erase.
regds
02-18-2008 09:09 PM
Here's what you can try in addition to service compress-config.
router#wr erase
router#wr mem
I have tried this multiple times and it fixed the issue most of the times.
OR
Try the following (Im not sure if the boot config command would work on your platform). This would save your configuration to the flash instead of NVRAM.
Router# wr erase
Router (config)# boot config flash:router-config
Router (config)# end
Router# wr mem
Let us know how it goes.
HTH,
-Vaibhav
02-19-2008 11:35 AM
Hi,
I did what you recommend, the first one and it works!! In reference to the second part the plataform does not support this command.
Thanks a lot friend!!
Regards, Alexander.
Here is a the results:
Router1760#dir nvram:
Directory of nvram:/
12 -rw- 16048
13 ---- 1965
1 -rw- 0
2 ---- 13
29688 bytes total (9575 bytes free)
Router1760#write memory
startup-config file open failed (Not enough space)
Router1760#write erase
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Router1760#dir nvram:
Directory of nvram:/
27 -rw- 0
28 ---- 0
1 -rw- 0
2 ---- 13
29688 bytes total (27588 bytes free)
Router1760#
Router1760#write memory
Building configuration...
Compressed configuration from 15445 bytes to 5729 bytes[OK]
Router1760#dir nvram:
Directory of nvram:/
20 -rw- 5729
21 ---- 1965
1 -rw- 0
2 ---- 13
29688 bytes total (19894 bytes free)
Router1760#
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide