09-07-2006 03:21 AM
hello,
I have a problem logging to default sys.log, trap.log, or into file on local pcmcia disk.
CSS11503# sh log-list
<No device present>
or
CSS11503(config)# logging disk file.log
CSS11503(config)#
CSS11503# sh log file.log
Cannot open file:/ComposerRoot/log/file.log
CSS11503# sh disk
PCMCIA Slot: 1
total # of clusters: 32878
bytes per cluster: 16384
free clusters: 24594
bad clusters: 0
free bytes: 402948096 (402 MB)
max contiguous free bytes: 333021184 (333 MB)
files: 1350
folders: 72
total bytes in files: 120574259
lost chains: 0
total bytes in lost chains: 0
CSS11503#
I have no prolem with sending logs to remote syslog server.
can you send me any tips? thx
martin
Solved! Go to Solution.
09-07-2006 04:51 AM
Martin,
This appears to be a problem with the disk itself.
You can go into debug mode and run a "chkdsk" to see if that will clean things up.
For example:
css# llama
css(llama)# chkdsk ?
You will see you can run the chkdsk with no fix or quick.
Also, I see a "show disk" shows only a pcmcia card in slot 1 ? If you have two disks, then the one in slot 0 is not even showing up in the "show disk". This would be a problem for sure.
Regards
Pete Knoops
Cisco Systems
09-07-2006 04:50 AM
I have it!
Log information setting was changed (re-mapped) to another PCMCIA disk ('Set Log to which PCMCIA slot?' in offline diagnostic monitor menu).
Currently it's changed to slot 1 (before was slot 0).
Is it possible to change this 'mapping' direct from CLI (without offline diagnostic monitor menu)?
martin
09-07-2006 04:51 AM
Martin,
This appears to be a problem with the disk itself.
You can go into debug mode and run a "chkdsk" to see if that will clean things up.
For example:
css# llama
css(llama)# chkdsk ?
You will see you can run the chkdsk with no fix or quick.
Also, I see a "show disk" shows only a pcmcia card in slot 1 ? If you have two disks, then the one in slot 0 is not even showing up in the "show disk". This would be a problem for sure.
Regards
Pete Knoops
Cisco Systems
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