gw-accounting file isn't working with ftp!

Unanswered Question
May 22nd, 2009

Hello!

I have FreeBSD box (version 7.1) with ftpd server. ftpd server working fine for me if I log to it manually or by my ftp client.

But cisco ios can not write cdr file to this ftp. Error very strange. I see in sniffer ftp session. Cisco ios connect to ftp. FTP return 220 Hello bla bla bla. And Cisco IOS FTP Client is shut up. Silenc till disconnect by timeout. Below config and debug.

My config:

gw-accounting file

primary ftp 10.20.0.5/herndon/ username cdr password cdr

secondary ifs flash:cdr/cdr

acct-template callhistory-detail

maximum buffer-size 60

maximum retry-count 3

maximum fileclose-timer 1440

maximum cdrflush-timer 240

May 22 17:05:16.395: voice_file_acct_write:

May 22 17:05:16.395: file_acct_write_local: file accounting buffer overflow,dumping to file

May 22 17:05:16.395: voice_file_acct_initiate_dump_to_file: ctx_id=, url=ftp://cdr:cdr@10.20.0.5/herndon

May 22 17:05:16.395: voice_file_acct_lock, file_acct=7587C7EC,ctx_id=, refcnt=2

May 22 17:05:16.395: create_file_acct_buffer: buffer of 45k created from chunk 0x685CFB60

May 22 17:05:16.395: file_acct_write_local: message (len=12) written to file_acct:

30708 bytes left

May 22 17:05:16.395: handle_file_acct_dump_request

May 22 17:05:16.395: handle_file_acct_dump_request: pick up dump request (ctx_id=)

May 22 17:05:16.688: %VOICE_FILE_ACCT-3-DUMPFAIL: Could not dump to remote file - open ftp://cdr:cdr@10.20.0.5/herndon.herndon.05_22_20

09_13_05_16.395. Error=1539(Unknown error 1539)

May 22 17:05:16.688: handle_file_acct_dump_request, primary file open failure

May 22 17:05:16.688: handle_file_acct_dump_request: pick up dump request (ctx_id=)

May 22 17:05:16.972: handle_file_acct_dump_request, primary file open failure

May 22 17:05:16.972: handle_file_acct_dump_request: pick up dump request (ctx_id=)

May 22 17:05:17.256: handle_file_acct_dump_request: pick up dump request (ctx_id=)

May 22 17:05:17.544: primary mode retry reached max,switching to secondary.

May 22 17:05:17.544: handle_file_acct_dump_request: pick up dump request (ctx_id=)

May 22 17:05:17.660: Secondary mode file acct is successful

May 22 17:05:17.660: handle_file_acct_dump_request :to_write is 18502

May 22 17:05:17.664: : File accounting,write successful to file

May 22 17:05:17.664: handle_file_acct_dump_request :to_write is 12

May 22 17:05:17.664: : File accounting,write successful to file

May 22 17:05:18.100: voice_file_acct_unlock, ctx_id= refcnt=1

May 22 17:05:18.100: handle_file_acct_dump_request

IOS 12.4(24)T

I have this problem too.
2 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Christian Isla Tue, 06/30/2015 - 13:31

This is crazy,  I remember having these problems years ago... I've setup another using a 2901 and still the same types of problems.  what gives?

Cisco IOS Software, C2900 Software (C2900-UNIVERSALK9-M), Version 15.4(2)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2014 by Cisco Systems, Inc.
Compiled Wed 26-Mar-14 14:14 by prod_rel_team

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

TENG_2901 uptime is 44 weeks, 14 hours, 13 minutes
System returned to ROM by power-on
System restarted at 02:06:08 EDT Tue Aug 26 2014
System image file is "flash:c2900-universalk9-mz.SPA.154-2.T.bin"
Last reload type: Normal Reload
Last reload reason: power-on

 

 

 

 

 

1#file-acct flush without-close
 Flushing the CDR data to file
TENG_2901#
Jun 30 16:19:48.813 EDT: %FW-4-TCP_OoO_SEG: Dropping TCP Segment: seq:1782537580 1500 bytes is out-of-order; expected seq:1782512964. Reason: TCP reassembly queue overflow - session 192.168.55.244:53482 to 108.175.39.209:80
Jun 30 16:19:49.789 EDT: voice_file_acct_write:
Jun 30 16:19:49.789 EDT: file_acct_write_local: file accounting buffer overflow,dumping to file
Jun 30 16:19:49.789 EDT: voice_file_acct_initiate_dump_to_file: ctx_id=, url=ftp://cisco:[email protected]/TENGCDR/MIAR
Jun 30 16:19:49.789 EDT: voice_file_acct_lock, file_acct=42CE5C34,ctx_id=, refcnt=2
Jun 30 16:19:49.789 EDT: create_file_acct_buffer: buffer of 45k created from chunk 0x39C1A88C
Jun 30 16:19:49.789 EDT: file_acct_write_local: message (len=12) written to file_acct:
20468 bytes left
Jun 30 16:19:49.793 EDT: handle_file_acct_dump_request
Jun 30 16:19:49.793 EDT: handle_file_acct_dump_request: pick up dump request (ctx_id=)
Jun 30 16:19:49.801 EDT: %VOICE_FILE_ACCT-3-DUMPFAIL: Could not dump to remote file - open ftp://cisco:[email protected]/TENGCDR/MIAR.TENG_2901.06_30_2015_16_.... Error=1539(Unknown error 1539)
Jun 30 16:19:49.801 EDT: handle_file_acct_dump_request, primary file open failure
Jun 30 16:19:49.801 EDT: handle_file_acct_dump_request: pick up dump request (ctx_id=)
Jun 30 16:19:49.813 EDT: handle_file_acct_dump_request: pick up dump request (ctx_id=)

 

- See more at: https://supportforums.cisco.com/discussion/10592341/cdr-cme-through-ftp-...

Actions

This Discussion