ollyg/Net-Appliance-Session — Issue #12: Error due to large config
Author: achatur
Created: 2011-11-28 17:28:52+00:00
State: open

Hello,

I am not sure but I think I'm getting an error due to the size of the config I'm trying to pull. I'm doing a normal "show run" on an ASA. Works on all other ASA's in the environment except this one. If I issue a "show version" on the device, I got the correct output however here's the errors I'm getting:

[code]
Attempting to login:
Starting Priviliged Mode..

Software error:

Timeout, EOF or other failure waiting for command response at /var/www/cgi-bin/sanitize2.0.cgi line 328

[/code]

Line 328:

[code]
my @FH = $s->cmd('show run');
[/code]

firewall logs:

[code]
Nov 28 2011 10:48:27: %ASA-6-113004: AAA user authentication Successful : server = x.x.x.x : user = user1
Nov 28 2011 10:48:27: %ASA-6-113008: AAA transaction status ACCEPT : user = user1
Nov 28 2011 10:48:27: %ASA-6-611101: User authentication succeeded: Uname: user1
Nov 28 2011 10:48:27: %ASA-5-502103: User priv level changed: Uname: forum.netsec From: 1 To: 15
Nov 28 2011 10:48:27: %ASA-5-111008: User 'user1' executed the 'enable' command.
Nov 28 2011 10:48:28: %ASA-5-111008: User 'user1' executed the 'terminal pager lines 0' command.
Nov 28 2011 10:48:28: %ASA-5-111008: User 'user1' executed the 'no terminal pager' command.
[/code]

So it seems like it's hanging on "show run". Shorter time consuming commands run fine. Is there a way to increase the response time from the device to something acceptable where the script won't break? If anyone has any insight, please get in contact with me.

Thanks,

Amir