LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-04-2003, 03:09 AM   #1
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Rep: Reputation: 30
Unhappy I've deleted a log file to save space and...


I've deleted a log file to save space but now I'm not capturing logs from the cisco server. Is it a normal thing when one deletes a log file? (I've deleted it from /var/log/cisco.log)
 
Old 11-04-2003, 03:57 AM   #2
ganninu
Member
 
Registered: Jul 2003
Distribution: RH 7.3/8.0/9.0, Debian Stable 3.0, FreeBSD 5.2, Solaris 8/9/10,HP-UX
Posts: 340

Original Poster
Rep: Reputation: 30
.... In fact I had to reboot the computer for the logs to be captured again... I think I have to use logrotate to limit the size of the log files.
 
Old 11-04-2003, 11:21 AM   #3
lyx0m
LQ Newbie
 
Registered: Oct 2003
Location: Mexico City
Distribution: gentto 1.4/Mandy 9.2/RedHat 9.0/Solaris/HPUX
Posts: 21

Rep: Reputation: 15
Cool

you could have done also instead of rebooting your computer do a: touch /var/log/cisco.log

lyx0m
 
Old 11-04-2003, 12:03 PM   #4
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
next time 'cat /dev/null > /var/log/cisco.log' instead of rm...
Some logs will recreate themselves and others won't.

Last edited by Blinker_Fluid; 11-04-2003 at 12:04 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file deleted, but no space freed kpachopoulos Linux - General 3 02-07-2008 10:43 AM
Deleted /var/log/messages, can't log any files-iptables chingyenccy Linux - Newbie 7 02-27-2005 04:03 PM
recent attack via phpBB, log files deleted? accessed file system outside /home/ enzo250gto Linux - Security 8 12-17-2004 01:51 PM
message, message.1 in /var/log/ can be deleted for space? phpsharma Linux - Newbie 4 11-17-2004 12:23 PM
what files can be safely deleted to save disk space? rohan208 Linux - General 9 05-27-2004 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration