LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-04-2015, 01:22 PM   #1
satyagp
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
Can I delete syslog file(800MB) and daemon log file(75MB)??


Hi am new to Debian working on my Beaglebone Black.
I can"t able to crate any new directory in imy root.Giving message No disk space.
I checked with du sh /* command and found /dev/log dir there is a file name:syslog file.it was occupied around 800MB.Can I delete it??.Please suggest me
 
Old 10-05-2015, 03:40 AM   #2
P4z
LQ Newbie
 
Registered: Apr 2015
Location: Silesia
Distribution: Debian Stretch
Posts: 5

Rep: Reputation: 0
Hello satyagp.

You can freely delete any log files when you're no longer interested in its content however I would inspect these for the reason of such a huge size first and resolve the root cause of its grow. Alternatively, archiving text files with gzip brings nice results and bzip2 in case of non-binary files is even better (see gzip --help, bzip2 --help and tar --help).

To avoid no disk space issues it is wise to partition your disk appropriately, e.g. separating /boot, /home, /var and maybe other places that you expect to grow quick or consider crucial with mount points located on different disk parts.

Also check log rotation features and configure your system as you need since it is the best way of learning things.

Are you sure that your logs resides in /dev and not /var directory?
I would also avoid creating stuff on the root and rather do it in /home/user or /opt directories as long as I have no special requirements.

Last edited by P4z; 10-05-2015 at 03:51 AM.
 
Old 10-05-2015, 07:15 AM   #3
satyagp
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks

Thanks for your Reply, I deleated syslog file.now i got disk space for making new directories.Thanks alot...
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] BASH: Use SYSLOG to write log to new log file worm5252 Programming 2 08-23-2012 11:17 AM
[SOLVED] Syslog log file permission not getting modified novavm AIX 1 06-02-2012 10:20 AM
How to limit log file size with syslog-ng? AchimRS Linux - Software 2 01-05-2010 04:35 AM
iptables log file and syslog Ammad Linux - General 5 09-17-2009 03:39 AM
How to change Debian log rotation of syslog and daemon.log onmountain Linux - Newbie 2 07-31-2008 02:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:40 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