system:running-config missing on

Unanswered Question
Aug 8th, 2008

We have a bunch of switches that are running fine but the running-config file is missing and we can't save the config to the tftp server. Anyone else seen this? IOS is c3550-ipbasek9-mz.122-37.SE1. I've got lots of these switches running the same code that are just fine.

I have this problem too.
1 vote
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
froggy3132000 Fri, 08/08/2008 - 07:28

Just curious to know what the error looks like when you try to save to tftp. Also when you wr mem do you get an OK returned?

mifitzgerald Fri, 08/08/2008 - 07:40

froggy3132000,

Here's some output. That last error about the file system caught my eye but I get that same error from other switches that are working fine.

TURNERST1-SW1#wri mem

Building configuration...

[OK]

TURNERST1-SW1#wri net

This command has been replaced by the command:

'copy system:/running-config '

Address or name of remote host []? 1.2.3.4

Destination filename [turnerst1-sw1-confg]? TURNERST1-SW1.txt

Write file tftp://1.2.3.4/TURNERST1-SW1.txt? [confirm]

%Error opening system:/running-config (No such file or directory) [Failed]

TURNERST1-SW1#dir system:

Directory of system:/

3 dr-x 0 memory

2 dr-x 0 vfiles

Error getting file system status (Bad file number)

TURNERST1-SW1#

glen.grant Fri, 08/08/2008 - 13:01

Is that file created on the tftp server ? Looks normal for a file thats not created on the server and or permissions closed.

mifitzgerald Fri, 08/08/2008 - 13:14

Glen,

Yes, the destination file name exists and read/write mode as required. It is the SOURCE file name it says is missing (system:running-config). When the destination doesn't exist or the permissions are incorrect, you get an error from the tftp server. Looking at other switches that are not having this problem show running-config as a file listed when you do a dir on the sytsem: partition. You would think that if I do a write memory, that file would be created if missing, but that doesn't seem to be the case.

Mike

njcmdrxtx Fri, 01/18/2013 - 17:24

this is an old post, but the only mention of the problem I saw tonight.  I have the same issue.

cant tftp the running-config off of the router.  I believe it got started when I lost connectiong uploading a change via tftp.

On the offending switches I get the same results and errors:

Directory of system:/

3 dr-x 0 memory

2 dr-x 0 vfiles

on the ok switches I see the running-config listed as a file, but not on these.  I have 2 switches with the same issue, one of them was ok for a reload which resolved the issue.

However, the other switch is a core switch and cannot simply be reloaded.

I can copy running-config to the startup-config and then save the startup-config and that allows me to backup, make changes and the switch stays in operation.  Show running-configuration works.  I assume that these commands must use the in memory copy and the backup must get the physical file of it.  Somehow, as one makes changes, the running-config file must get updated, but its not.

Question is: is there a way to recreate this file without a reload?

Nick Critten Tue, 03/05/2013 - 06:46

Hi,

I am experiencing the exact same problem on 2 of our devices (3750G stacks) running 12.2(50)SE4

switch#copy running-config null:

%Error opening system:/running-config (No such file or directory)

switch#copy running-config runningbackup.txt

Destination filename [runningbackup.txt]?

%Error opening system:/running-config (No such file or directory)

switch#copy running-config startup-config

Destination filename [startup-config]?

Building configuration...

[OK]

switch#dir system:

Directory of system:/

    2  -r--           0                      default-running-config

    4  dr-x           0                      memory

    3  dr-x           0                      vfiles

No space information available

switch#

switch#

Has anyone figured out what the problem is - or more importantly how it has been fixed?

Many thanks,

Nick

Hi,

I have something very similar happening on a pair of ASA's running in context mode on 8.2.1. All the contexts started to fail thier backups, and when trying to manually TFTP the config off you get the error:

"%Error opening system:/running-config (No such device)"

To remedy this on the ASA, Cisco's solution is to give it a reboot.

Not done the reboot yet as Sod's Law would have it the mate has died and needs to be replaced, although I don't think it is related.

Cheers

James

Nick Critten Thu, 03/07/2013 - 05:59

Sorry I should have updated the thread yesterday when I found the cause:

This is a known bug - CSCtg47738

Workaround is Reload - Fix is IOS upgrade to > 12.2.55SE

-----------------------------------------

CSCtg47738            Bug Details

3750,2960 - unable to save run-config in versions 12.2(44)SE1, SE2.
Symptom:
The following error message is seen on a number of 3750 series as well as 2960 series switches.
"%Error opening system:/running-config (No such file or directory) "

dir system:/ output doesnt show running-config file.

Conditions:
It happened sometimes after a failed copying configs/file to running-config.
Workaround:
Reload the switch

Status

Fixed

(Verified)

Severity

3 - moderate


Product

Cisco IOS software

1st Found-In

12.2(44)SE1

12.2(44)SE2

Fixed-In

12.2(55)SE

Actions

This Discussion