cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3099
Views
0
Helpful
3
Replies

Ftp error on 7200

vlesieur
Level 1
Level 1

Hi,

I scheduled a backup on ftp server from an C7200 IOS 12.4. But it didnn't work!

The configuration:

ROUTER#sh kron schedule

Kron Occurrence Schedule

backup inactive, will run again in 1 days 07:50:31 at 2 :00 on Fri

ROUTER#sh run | sec archive

archive

log config

  logging enable

  notify syslog contenttype plaintext

  hidekeys

path ftp://ftp-server/ROUTER

write-memory

ROUTER#sh run | sec ftp   

path ftp://ftp-server/ROUTER

ip ftp source-interface Loopback500

ip ftp username backup_user

ip ftp password 7 2245AA052E4B480FAF73ACAF58

ROUTER#sh run | sec kron

kron occurrence backup at 2:00 Fri recurring

policy-list backup

kron policy-list backup

cli write

And when I test:

ROUTER#archive config

ROUTER#sh archive

The next archive file will be named ftp://ftp-server/ROUTER-1

Archive #  Name

   0       

   1       :Error - no archive file was created

   2       

...

In loggin:

ROUTER#sh logging

...

Jan 25 18:02:53: %ARCHIVE_CONFIG-4-ARCHIVE_SKIPPED: Archive of router configuration was skipped due to a previous initiation.

So, if someone could help me?

Thanks,

Vincent

3 Replies 3

maga.madi
Level 1
Level 1

.Sep  6 08:11:23.077: %ARCHIVE_CONFIG-4-ARCHIVE_SKIPPED: Archive of router configuration was skipped due to a previous initiation.

.Sep  6 08:11:49.202: %ARCHIVE_CONFIG-4-ARCHIVE_SKIPPED: Archive of router configuration was skipped due to a previous initiation.

.Sep  6 08:13:24.799: backup_running_config

.Sep  6 08:13:24.799: Current = 0

.Sep  6 08:13:24.799: Writing backup file ftp://x.x.x.x/

.Sep  6 08:13:57.455:  backup failed

I was using kron (the archive scheduler) combined with the archives commands. I ran into the log as well:

 

Mar 26 11:18:08.494: %ARCHIVE_CONFIG-4-ARCHIVE_SKIPPED: Archive of router configuration was skipped due to a previous initiation.

 

The solution without using a restart that worked for me on a 3400 cisco is:

 

1. I removed the archive setup, as well as the kron setup.

2. I added the archive setup again.

3. I tested the archiving by issuing "archive config" command on the cli, and it worked.

4. I re-added the kron setup and ran another test with "archive config" and it was archiving the config to my ftp server; in other words, it was working.

 

Hopefully works for you as well!

alclark
Level 1
Level 1

I have experienced this immediately after configuring archive commands on a router. The archive configuration I used, writes the configuration to the router's flash whenever I run a "write" command. I received exactly the same error message. The only remedy that I found was to reboot the router. I expect that it's a bug in the IOS. I believe that it occurred with both c2800nm-spservicesk9-mz.124-24.T7.bin and c2800nm-spservicesk9-mz.124-24.T8.bin. As you see, I was using 2800 seriies routers.

      

Review Cisco Networking for a $25 gift card