Ubuntu :: Limit Log File Sizes - Log Files Are Taking Up Entire Harddrive

Mar 15, 2010

I just recently reinstalled (clean) Ubuntu 9.10 Karmic Koala last week. In that time, over 40GB of log files were created until the FileSystem was full. I then received a low disk space message and ran disk usage analyzer to find out that almost all of the 44GB I had free were taken up by the /var/log directory. I then preceded to delete the 5 largest files which freed up over 40 GB of space.

Basically I believe that I have two problems:

1.) The log files are logging too much information (40 GB in one week).

2.) I need a way to automatically limit the size of the log files. I have tried searching online for this solution and briefly came across logrotate but I don't believe that this will completely solve my problem as it only compresses and backs up older logs. I need something that will remove old log entries altogether. If logrotate is capable of this can someone please walk me through the process? I do not remember all five log files that were in question but they did include: messages, syslog, and daemon.log. I believe kern.log may have been involved too.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Clonezilla - Backup My Entire Harddrive

Jul 14, 2011

I want to backup my entire harddrive and I assume the easiest way to do it is using Clonezilla.

Clonezilla makes an image file....but how do you get the image onto multiple DVD's? When burning the image file does K3B allow you to "change the full DVD" and add another disk?

In other words- any harddrive I have (already filled with 79 Gb) is going to make an image bigger than something that can fit onto a DVD.

View 3 Replies View Related

Programming :: Theoretical Limit On Message Queue Sizes ?

Jun 4, 2010

Following function obtains the system-maintained structure for a message queue:

Code:

And following function simply resizes a message queue to a user-defined value, namely, "size":

Code:

My question is if there is a theoretical limit on user-defined message queue sizes.

To put in other words, is it possible to increase the default message queue size to any user-defined value as long as that certain value does not exceed the size of system's physical memory ?

I use 64-bit Ubuntu 9.04.

View 2 Replies View Related

Ubuntu :: Possible To Speed Limit Specific System Not Entire Network?

May 9, 2011

I have this new flatmate who uses all my Internet data up before the end of my monthly clockover. Instead of having to buy heaps of data top-ups at the end of the month, is there a way I can limit the speed of his computer through the network? I have tried looking through my router settings (which is a Thomson router) but there doesn't seem to be any options in regards to limiting activity of a system on the network.

View 3 Replies View Related

Software :: Postfix - Cache - Logging - Taking Up All Disk Space - Limit / Turn Off?

Feb 22, 2010

I'm working on a few servers running centos and using postfix. I don't know what the exact problem is, but we are having problems with the disk space being maxed out at 100 gigs. What we think the problem is...is that postfix is either caching or logging all the emails we send out. We sent 250k emails (500kb apiece) over the weekend and we were having trouble with that quantity. It seems some of those email were queued up for retry sending...but we didn't have sufficient disk space for that? Something broke - I'm not sure what.

What I want to do is to find and change the config file that has to do with postfix email retrying - possibly limit this (not sure if this will fix my problem). Or, turn off /limit any way that postfix logs/caches emails so that it won't take up all the disk space when queued up for retry... Again, I'm totally lost here (on both what's going on, and how to fix it). I'm not sure what more information is needed to address this problem

View 1 Replies View Related

Ubuntu :: Printer Server Configuration - Share To Users And Limit The User In Taking Print Outs?

Jul 26, 2010

I am trying to configure linux printer Server.

Setup : Using Centos 5.3
Printer : hp 4350

At present we are using windows print server getting user name and authenticated from domain server. I need your suggestion to configure linux printer server and how to share the printer to users and how to limit the user in taking printouts.

View 1 Replies View Related

Ubuntu :: 9.10 Alternate CD File Sizes Vary?

Apr 26, 2010

I'm downloading the iso images for 9.10 Alternate CD. As the desktop does not work, graphical. For whatever reason even once it starts to boot live (With no direct install) it says in the "boot terminal" (non-graphical, full screen) as I call it "Authentication Failure even bEFORE the actual program is loaded. Asks me for username / password which does not exist, etc. I'm sick of windows. I used Ubuntu for about a week and fell in love.

Windows is poppy-cosh, compared to the speed, performance, customization, updates, few errors and bugs, everything is superb! I already converted my fiance and best friend to using the OS in Dual-Boot I'll be an avid supporter and do even more using my media company to help promote xD What's the point? Wine allows me to use all the programs I need that require windows, regardless.. You have converted me. "If you build it, they will come." Amazing job.

I tried re-installing windows and to no-evail for whatever reason screwed up my entire re-installation of Ubuntu. Instead of saying Owner it says Administrator for the new install. Here's my list:

1.) I need to completely wipe out all partitions and start over with a "fresh" HDD. Any ideas how to do so without an OS? It was suggested on wiki answers to use BootDisk.com

2.) I have the torrent downloading which is 689.6MB [URL] and the normal ISO which is 690MB [URL] from two different Ubuntu.com pages...Which do I use? Why are they two different file sizes? I assume the larger file size is the best to use. This has happened when downloading the Desktop CD as well. The lesser file never worked properly. Do you guys have incomplete files on the server or something or perhaps just my hardware?

3.) Use alternate installer to have Ubuntu as the ONLY OS. Alternate Option: Put Ubuntu alternate cd installer onto my external HDD by Seagate and boot up to it, then install ubuntu...

View 5 Replies View Related

Security :: Files Sizes And Checksums Changed, But Not Time Stamps?

Nov 24, 2010

For the second time in a week, I have set up an unmanaged CentOS 5.5 Storm Server at StormOnDemand, only to discover a ton of unauthorized changes to binaries (updated file checksums and sizes) on the server shortly thereafter.The time stamps do NOT change.If the time stamps did change, I would be hunting down ahat was doing some auto-updates. But the time stamps are not changing.This leads me to believe that either these servers are suffering from:1. A virus or hacker is compromising the box.2. system corruption.3. Something else? To eliminate the possibility of number 1, I toasted the first server and started over with a new server and enabled their firewall from the start to only allow access for two IPs via SSH... my IP and my biz partner's.

Then, one of the first things we installed was a system we created that maintains a snapshot of most directories on the system so that it can be used to watch the live directories for changes. At 4:07am (server time) this morning, we received notice from this system that a massive number of files had changed in these directories. Again, no file time stamps changed.So, my question is this... is there any legitimate reason in a fairly standard CentOS 5.5 install that would cause so many files to change?

View 2 Replies View Related

Software :: Shared Libraries Dependencies - Ldd - Cmov - (files Have Different Sizes)

Jan 6, 2010

Question about shared libraries dependancies & ldd: Lets find dependancies for /bin/echo :

$ldd /bin/echo
linux-gate.so.1 => (0xb7f70000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7e01000)
/lib/ld-linux.so.2 (0xb7f71000)

Lets focus on libc6 :

[Code]....

What is this directory /lib/i686/cmov? How does ldd to link /lib/libc.so.6 to /lib/i686/cmov/libc.so.6? Why having 2 libc6 on the system (files have different sizes, so are different)?

View 2 Replies View Related

Ubuntu :: Place To Set Remote File Sizes Differently To Localbox Settings?

Jul 10, 2010

got a weird one with an upload script.Max upload sizes all set v high (200m)Works fine with 100Mb+ files on the linuxbox, but when I try from my mac via network ip address there seems a fils size limit of somewhere between 15 - 20 Mbis there a place to set remote file sizes differently to localbox settings

View 1 Replies View Related

Security :: Script To Monitor Sizes Of List Of Files And Send Alert If Size Changes?

Mar 28, 2011

I am looking for a utility that would do the following:1. Be run manually on a list of files whose sizes should not change, to get a control file containing the sizes of each file.2. Subsequent manual runs would report any changes in size of any of the files in the list, and allow option to accept the new sizes.3. Be run as a cron job to check for changes in the file sizes and send an email alert if a change has occurred since the last time it was run.The purpose is to detect possible hacks of key files on a website. It would not include files expected to change, but just those that should not change. It would be run manually a few times to get the control list one wants to monitor.

View 3 Replies View Related

Ubuntu :: Rename A File Then The Entire File Is Selected And Not Only The First Part?

Feb 13, 2011

I'm using Ubuntu for about a half year. Currently version 10.10. The next problem I have with Nautilus: He have it in ListView. If I want to rename a file then the entire file is selected and not only the first part. So the file extension is also selected. I think this is a bug, whoich can be found on the Internet, but I do not find a solution. Does anyone here have a solution?

View 4 Replies View Related

Ubuntu :: Undeletable Files Taking 46GB?

Mar 7, 2010

I have Ubuntu 9.10 installed using wupi inside windowsI just found about these files now, tried every possible way to delete the, including terminal commands mentioned here with no luck at allTake a look at these files in the screen shot here:http://img717.imageshack.us/img717/4169/badfiles.pngthey are totally un renamable or deletable, I tried even to login to windows and use unloaker and other utilities with no success at all

View 9 Replies View Related

Ubuntu :: Taking Ages To Save Files?

Apr 25, 2010

Ubuntu has been working fine since I dropped Windows six months ago , but recently I am experiencing problems when saving files that I have scanned in . They are taking an age to save and they are only small files less than 200kb ??? Saving anything takes an age now 5 mins +

View 2 Replies View Related

OpenSUSE Hardware :: Deleting Files On A USB Harddrive?

Dec 4, 2010

I got an external enclosure to use an old hard drive as a usb external hard drive for backing up files to.mI tried deleting all the files but there are quite a lot that cannot be deleted Nautilus saying "permission denied".

The harddrive had/has ubuntu 10.4 on it.

Do i need to delete all the files & folders from terminal? I'm running OpenSuse 11.3 in gnome. So i've got Gnome Terminal.

View 8 Replies View Related

General :: How To Recover Files - Ext4 Harddrive

Aug 4, 2010

Just rm -rf *'d home/me/ directory... tried extundelete, didn't recover more than 10% of data.. trying scalpel, taking forever..Anyone know of a sure fire way to recover data from ext4?

View 6 Replies View Related

Fedora :: Changed Harddrive Priority To Second Harddrive?

Mar 9, 2011

i've worked with Linux for a while now, but never in a double boot kind of way (except using wubi), and i'm still kind of a newby.i have 2 harddrivesfirst one has only 1 partition; Windows XPsecond one has 1 empty partition, simple storageand another partition where i installed fedora core, and GRUB is also located on this harddrive.I changed harddrive priority to my second harddrive, result:GRUB comes up, no problem, but when I try to boot windows, it tells mentldr is missing ctrl alt del to continueso i changed the harddisk priority back to the way it was, where the first drive containing windows is first priority... but then, no GRUB.i've tried editing the grub conf,i've tried fixboot/fixmbrtl;dr:no ntdlr when linux harddrive is main priorityno grub when windows harddrive is main priority

View 4 Replies View Related

Ubuntu :: Files And The Entire Directory Is Missing / Disappeared

Apr 16, 2010

Ubuntu 10.04 Beta - I recently upgraded from 9.10. I have for some time been using an IOMEGA External drive, storing files created using Open Office. After I upgraded I continued to use those files and open them in OpenOffice 3.2. Yesterday I opened the drive to work on the files and the entire directory is missing. All the other directories seem to be there. Bizarre.

Have tried using "locate" in the console, but the files are nowhere to be found. I tried accessing the permissions on the external drive but get the response "The permissions of IOMEGA HDD could not be determined". Using a dual boot system with Windows Vista, booting through Grub.

View 8 Replies View Related

General :: Limit On File Size - Doesn't Allow User To Create File Which Are Greater Than 100Kb

Jun 13, 2011

I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.

But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??

View 3 Replies View Related

Ubuntu Servers :: Deleted Log Files Taking Up Huge Disk Space?

Sep 7, 2010

My /var/ partition continues to fill up on all my servers, and it is because the logs in /var/log/apache2 or /var/log/mysql are being deleted during log rotate, but their file handles are being held open. Thus, a "du -sh /var/log" shows the correct values, but "df | grep /var" shows something much different.

It seems that the log files rotate, however if I run "lsof | grep deleted" it returns lots of files that are no longer visible in the directory, however refuse to clear themselves off the disk.

The only way I have found to make these log files go away (and thus clear up the disk space on the partition I should have) is to restart either apache or mysql, depending on which process has huge sized log files being held open.

Is it just me, or is this a big flaw in the way linux works, that it can't figure out how to release file handle for a log so the disk space can be reclaimed? This is happening to me a lot lately.

Here is some output from one of my web servers so you can see what I am seeing...

root@web49:~# df -h | grep /var$
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 9.2G 6.1G 2.7G 70% /var
root@web49:~# du -sh /var

[Code]....

View 9 Replies View Related

Ubuntu :: Deleted Photorec Backup Files Taking Up Disk Space?

Mar 13, 2011

I used photorec to recover lost files and it brought up 70gb worth of files, when I was done looking through them I deleted these files. but these files still seem to be taking up my disk space. When I try to access my trash bin with root I get a message that reads...."The folder contents could not be displayed. sorry, could not display all the contents of "trash": operation not supported." if I open my trash bin when I'm not in root, the bin is empty.

How do I free up my disk space?

View 8 Replies View Related

Ubuntu :: Deleted File Still There, Somewhere, Taking Up Space?

May 16, 2010

I recently made the dumb mistake of using tar to make a backup of my "/" on my "/" when my "/" didn't have near enough space to store the backup. I received a warning message, so I canceled the terminal process and used nautilus to delete what amount of the backup had already been saved. That didn't seem to free up any space on my "/" like it should have, though. In an effort to find any hidden trash files that needed to be deleted, I used this terminal command:

[Code]...

View 9 Replies View Related

General :: Script For Taking Backup Of Desktop Files

Apr 21, 2011

I have around 100 users. I want to take backup of files which are on desktop for every user. My user directory path is -: /home/dr/<user_name>/Desktop

1) Script has to run on a particular time everyday
2) Script has to take backup of all files present in "Desktop" directory
3) Make a tar with name "yyyy-mm-dd-desk-files"
4) Make directory outside "Desktop" with name "Desktop-Backup", if already exist then don't make this folder.
5) The tar have to moved in this folder.
6) Remove the files from "Desktop" directory. (i.e. Desktop should be empty)
7) Mail the status that "Backup Successful"

View 2 Replies View Related

General :: Which Files Are Taking Space To Make The Partition 68% Used

Jun 8, 2011

I have some confusion about one of my partition and the space it is taking. df -h output is given below;

# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ddf1_ADVDTARTINGp1
494G 18G 452G 4% /

[code]....

above information is showing that /var/lib/mysql partition total size is 379 GB and it is 68% used. However when I execute command du -sh /var/lib/mysql it shows following output.

# du -sh /var/lib/mysql
45G /var/lib/mysql

Now I want to know what files are taking space to make the partition 68% used. I want to list down all files in that partition with size.

View 8 Replies View Related

General :: Find Which Files Are Suddenly Taking Up The Space?

Jul 27, 2010

I had this come up in logwatch: /dev/sda5 4.8G 3.6G 960M 80%/

Any ideas how I can find which files are suddenly taking up the space?

View 17 Replies View Related

Ubuntu :: How To Print Entire .chm File

Sep 10, 2010

Ubuntu 10.4

I have a few .chm files that I can view in xCHM or other chm file reader programs.

However, what I really want is to just print out every page of the .chm into one big .pdf file. Then I can read it a lot easier and it is much more portable for me.

Does anyone know any command line or tool that can output every page of a .chm file, formatted, in order, to a PDF or just the Printer?

View 1 Replies View Related

Programming :: Read Entire Text Files Into C++?

Sep 15, 2010

im making a program (for the heck of it) that rewrites it code everytime it is run.(my ambition is to turn it into my c++ teacher and watch her be confuzled as to why she cant read my code and why it does weird things) Ive just started c++ programming, and managed to rewrite a program so that when it is run a second time, it says hello world. My problem is that I can only input the file as a single string. What I need to do is to be able to input the entire file into the c++ program, as a single object and then ifstream it out with the destination as the source code.

Also, it would help alot if there was someway to write additional lines to an existing text file instead of overwriting what is already there. That way, every time my c++ runs and rebuilds itself, it adds another couple of lines of code to a txt file and when the final iteration is complete, it loads a text file that was created by the program and uses it to program itself. I heard there is some sort of spawn command, can it be used to open up notepad and write to it? it would be awsome if my various programs could open different notepads with various messages

View 2 Replies View Related

Ubuntu :: Cannot Change Folder / File Permissions On Entire HDD

Apr 17, 2010

I have two drives in my computer: a 160GB and an 80GB. The 80 holds Ubuntu, the home folder, etc. The 160 is for other files. I need to change the read-write permissions on the 160, but I can't. If I do it through the GUI (right-click>permissions) it just changes back instantly. If I do it through the command line (even with sudo), it has no effect.

View 5 Replies View Related

Ubuntu :: Fix Short Of Zaping The Entire Mozilla File?

May 14, 2011

After doing a dist upgrade I discover that I have firefox 4.0 and it has disabled adblock plus 1.3.3 and I can not get the new adblock plus since I can not uninstal the old one. Does anyone know how to fix this short of zaping the entire .mozilla file?

View 4 Replies View Related

Ubuntu Servers :: Cannot Increase Open Files Limit On 9.10 (goes Down But Not Up)?

Mar 24, 2010

This is happening on Ubuntu 9.10 serverI'm trying to increase the number of open files allowed for a user. This is for an nginx webserver where the current limit of 1024 is not enough.According to the posts I've found so far, I should be able to put lines into /etc/security/limits.conf like this;

Code:
* soft nofile 4096
* hard nofile 4096

[code]...

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved