General :: Syslogd Doesn't Check Max Size?
Jan 21, 2009
I was going to back up some files to a DVD so I loaded a new blank in the drive and waited for it to come ready. I decided that now was a good time to fill up my drink and left the computer for a while. When I got back about 30 minutes later, I noticed that the drive was still cycling and had not become ready. I finally got the process killed and tried another blank, which worked. Then I went on about my business.
The next day, the machine hung up on boot with Dmesg saying that it was starting the syslog daemon, but that was as far as it would go till it dropped to the maintenance shell after a few minutes. Multiple boots always did the same thing.
After considerable troubleshooting, I noticed that the syslog file was at the maximum size - about 2.5 gig I think - and was full of DVD drive errors. Deleting the file fixed the problem.
Just to test, I built a phony syslog file to the maximum size and installed it in /var/log. Bang - same problem.
So... It appears that the system logger doesn't test for max size overflow either during runtime or during boot. Interestingly, I googled up one hit for the same problem from a couple of years ago, also on Debian, but nothing in the debian.org problem lists.
View 8 Replies
ADVERTISEMENT
Feb 22, 2010
I am unable to find the syslogd files. Ubuntu 9.1 installed. Logging is taking place. I want to redirect logging to central location. Do I need to install syslogd in order to control this service or is it controled via a different name/service?
View 1 Replies
View Related
Aug 19, 2010
how can I check the size of file on server in bytes?
i need to do it for following
View 1 Replies
View Related
Jul 9, 2011
I have configured a virtual host. Here is what I have did,
<VirtualHost rubby.tob.net:80>
ServerAdmin root@localhost
DocumentRoot /var/www/html/
ServerName rubby.tob.net
# ErrorLog logs/dixie_error_log
ErrorLog syslog | local8.*
CustomLog logs/rubby_access_log common .....
The problem here is how to point the error log to syslogd. Here is my syslog file,
#vim /etc/syslog.conf
og all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages! .....
If I point the file, separatelt at httpd.conf for the errorlog, I'm getting the errog log. I'm using Centos 5.6.
View 4 Replies
View Related
Sep 7, 2010
I am using FTP to read a file. Before the transfer I need to check the size of file.
I found the keyword to check the size of file in C. But I want to know how to use it.
ftp command to check the size is --> SIZE
ftpXfer(IPaddr, FtpUser, FtpPass,
"", "SIZE %??", RootDir, FileName,
&ctrlSock, &dataSock);
fileSize read
read(dataSock, ??, ??);
View 2 Replies
View Related
Mar 25, 2010
script that will check if my log file is a certain size? EX: I want to limit the size of my rsync log to say 5MB, if that's true I would move it and create a new one.
View 4 Replies
View Related
Jan 22, 2010
Is there any other way to check the overall size of the hard disk other than just fdisk -l? This is because the cloud server that my company has purchased is supposed to have 50GB of hard disk size,It shows that it has two SCSI drives, only both summing up to 50GBs. So what is the second SCSI drive, and why is it divided that way? dev/sda and dev/sdb???
View 1 Replies
View Related
Jan 21, 2009
I have a file that's supposed to be growing in size 24/7. I want to check every 10 minutes via cron that it's actually growing. If not, send an email. Does anyone know how to write a script to do that?
View 3 Replies
View Related
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
Oct 19, 2010
Ubuntu 10.04 server 64-bit I was following; The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) - Page 4 [URL] to set up the server on Ubuntu 10.04 and encountered problem on editing /etc/default/syslogd
[Code]....
View 4 Replies
View Related
Mar 13, 2011
I'm going through the linux hardening checklist, and the only bit I'm having trouble with is how to configure syslogd to email daily reports to my email. my mta is postfix
How do I do this? Or should I ask... where is the HOWTO?
View 2 Replies
View Related
May 4, 2011
I need to check the free available size on the "/root" before creating a file .
Can i do it by using df?if not , can you specify me which one to use?
View 1 Replies
View Related
Mar 30, 2009
I have read in some book that syslogd keeps lots of logs that with the time consume a considerably part of your hard drive. I know this is very nice feature and all that, but sometimes privacy in this competitive world is a matter fact. Here goes the questions: Is it possible to 'auto delete' the syslogd files automatically? May the destruction of the logs make some hangs on my system? May some program need the daemon to function properly?
View 1 Replies
View Related
Apr 28, 2010
RHEL 5.4 i want to be able to do redistribution of inbound syslog messages to syslogd. as example, my syslog.conf has in it at the end:
*.* @192.168.5.5
*.* @192.168.5.6
my sysconfig/syslog file has "-r" as the only option for syslogd. any messages generated by the localhost will be sent to the two remote servers, but messages that come into this box (udp 514) only get logged locally and do not get sent out to the remote hosts.
you may ask why do i want to do this. because i have several syslog servers (for security purposes) and many of my net devices are configured to send syslog to all the syslog servers, hence each device is sending way too much duplicate udp-514. so i would like to minimize the udp-514 coming out of the devices, have all devices send to a central syslog server, and then central syslog server do distribution to the other syslog servers. others have also called this "syslog proxy". or, if not with syslogd, how to achieve this (preserving the original syslog message host info, etc)?
View 1 Replies
View Related
Feb 18, 2010
i want to use an ubuntu server (2.6.31-17-generic #54-Ubuntu SMP) as the central syslog server but the syslog messages does not show the priority and facility information in ubuntu. priority and facility are shown in aix by default and i have many aix servers can be used as the central syslog server, but i prefer using ubuntu if it can provide me these details.
View 3 Replies
View Related
Dec 27, 2010
All of a sudden my laptop decided to not bootup. It stops while loading syslogd. I started up in single user mode and added a few echo statements in rc.syslog so it looks like:
Code:
This means that execution of the script doesn't seem to get past the "/usr/sbin/syslogd" line. Well at least thats the case in the first 2-3 minutes. Afterwards my screen gets flooded with the next echo I placed "caught in the loooooop!".
Again, stating the obvious, the script reads on and gets caught in the while loop. obviously there is no /dev/log and something must have messed up the execution of syslogd. what could that be it?
Recently I was fiddling around with jackd and trying to setup a jack-rack on my laptop. To do that I had to recompile alsa-driver from scratch in order to include the virtual soundcard driver. I also had to rebuild the mainline kernel to add low-latency (I did not switch to kernel-rt). Overall, I've been running with a custom kernel more than 2 months now and never had a problem with syslogd startup. The new low latency custom kernel is just like the previous one but with only difference the low latency setting. With the low latency kernel I've been using the pc for approx a week and have done 5+ reboots. So the problem appeared now out of nowhere...
If I disable rc.syslog and I start the pc, and then start it up, syslogd with execute nicely and quickly as if there was no problem, ever...
View 7 Replies
View Related
May 3, 2011
I'm currently running 10.04. Great OS! However, the one small thing that annoys me is with the software centre, it doesn't tell you the size of the download. I know this probably doesn't bother people if you've got 50mb internet and unlimited downloads, however, I have 3.5mb, and a download limit!
Is there A) anyway I can get software centre to tell me the size of a download, and B) is this altered in later versions - due to my limit I don't want to download them to see - catch 22!
View 3 Replies
View Related
Jun 26, 2011
I am running Ubuntu 10.04LTS (64bit) and the drives are formatted as EXT3. I have a Raid5 that had 4 x 1TB drives. It is mounted as my /home. I added a 5th Drive and used the Disk Utility to Expand the array. In the Disk Utility it shows as 4.0TB RAID5 Array, however when I open a console and type df -h it still only shows at 2.8TB (Which is the size of the 3TB array I had previously.) What do I have to do to have the 4TB array show up properly? I'm obviously missing something, but I'm not sure what it is.
View 6 Replies
View Related
Jul 16, 2011
I am running ubuntu 11.04. I am able to set my screen size to 1600x1200 in windows but ubuntu doesn't offer me that size in xrandr, though it says my maximum size is 4096x4096, I have posted my xrandr results below. What do I do to set my screen to the higher resolution?
Screen 0: minimum 320 x 200, current 1280 x 960, maximum 4096 x 4096
VGA1 connected 1280x960+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.0
800x600 60.3 56.2
[Code]....
View 3 Replies
View Related
Aug 21, 2010
With the language set to either English (United States) or English (United Kingdom) ALL words are underlined in red, as though they are misspelled. I have ended up turning off the spell checker as it is so annoying. Checking Google it seems this is a know problem but there doesn't seem to be a solution for it.
View 2 Replies
View Related
Feb 17, 2011
In trying to solve a friend's lack of foresight, i have currently disabled my system.
I was using dd_rescue to make a copy of a drive with a corrupt and unfixable Partition Table. I was a fool, and had a drive mounted to /media/Storage, but ran the backup to /media/storage.
Thus, dd_rescue completely filled my primary drive before informing me that there was a problem.
I don't really trust myself with command line work, so I foolishly sudo'ed nautilus and deleted the folder /media/storage.
Unfortunately, I didn't realize it, but the available space on the drive still read 0bytes.
I tried Terminal work to do a sudo apt-get clean command, but for some inane reason, the laptop screen won't support the display setting for the Terminal login, so I just had to hope that I was doing it right.
I wasn't, and decided to try working from a Live CD so I could see what I was doing.
the folder /root/.Trash/ doesn't exist on Ubuntu's install drive, and I can't figure out why the properties of the drive say "contents: 241310 files, 3.7 GB" but also "Total capacity: 52.8 GB. Free space: 0 bytes"
Any suggestions on how I can get this to shake out?
View 3 Replies
View Related
May 8, 2011
The Compiz Setting page for Unity will not let me set the launcher to autohide or other hiding option, and the Experimental page will not let me reduce the icon size. The lack of hiding is another as the left edge of windows can disappear under the the Launcher.
View 4 Replies
View Related
Aug 21, 2010
Mozilla 3.6.8, Linux Arch. It doesn't matter what minimum font size I set, Firefox still doesn't increase small font on pages...
View 6 Replies
View Related
Jan 3, 2010
The spell check function in AbiWord doesn't seem to work. Is there a package I should download in order to get it to work?
View 1 Replies
View Related
May 28, 2010
Because I was getting some package errors, I ran the Repair Installed System option that shows up after boot. During System Check when earching for package databases,YaST2 is not able to find /var/lib/rpm/Filemd5s. After a while, a YaST2 box pops up and says that it Successfully rebuilt the package databaseïbut I get the same error when I run System Check again. I've chosen both Rebuild Package Database as well as Revert to Original Package Database (saved by YaST)In both cases, it saysat it was successful, but the same error occurs the next time I run System Check
View 7 Replies
View Related
May 7, 2009
Ubuntu ver 8.04.1 and Bind ver 9.4.2
I've set this up as a primary dns server, Bind is the only thing running on it, no gui, etc. I followed the default settings so I have a named.conf, named.conf.options, and named.conf.local file.
I have a log file I labeled as named.log in this path /var/log/bind. I'm using logrotate to rotate out the file.
My problem is that after syslogd restarts in the morning. My named.log file don't start logging info until I restart Bind. The new named.log file gets created and the old files rotate out and compress. All of the other log files in /var/log, syslog, messages, mail, etc, rotate out and compress like they should, after syslogd restarts.
I know that I could restart Bind using Cron but I shouldn't have to.
Below are snips of the files I'm using.
I named this one 'bind' and it's in the directory /etc/logrotate.d
View 8 Replies
View Related
Aug 2, 2010
If I have a panel larger than standard size, the notification icons scale accordingly but the indicators stay the same size so it looks pretty rubbish. I would like the notification icons to stay the same size.How can I fix it?
View 1 Replies
View Related
May 8, 2010
I have a two hours long home video with I edited in a video editor program. I'd like to burn it to DVD, but first I need to export it to an mpeg file. Cinelerra doesn't allow me to render to mpeg, instead it offers .avi or .dv - problem is that the resulting file size is enormous. (i.e. 1 minute of .avi = 1.2GB! or around 500MB when I output to .dv) What file format would be best to render to and at the same time not to get an insanely big file? I'd like to keep it under 1GB if possible.
View 2 Replies
View Related
Oct 15, 2010
I have BackInTime backing up my computer to a RAID cluster. The problem is that BackInTime doesn't have an option to limit disk space used. I also use this drive as a fileserver, and need to be able to keep some space open for that.
Is there a way that I can limit the amount of space a specific folder can take up? Alternately, is it possible to create a disk image that will only take up the amount of space in the image, but can automatically expand to a certain size? It would work similar to the Mac SpaseBundle format.
View 7 Replies
View Related
Mar 29, 2010
the server is restarting once the syslogd restart. I checked the /var/log/ message.
View 9 Replies
View Related