General :: Syslog Allow Organizing Stored Simple Log Files
Sep 15, 2010
Syslog is used to store simple log files or we can manage them too? Well, the thing is, that I need to run a software (like syslog) to collect my logs and put them in order and organize them so it makes them "understandable". I have been told that syslog can do the job and that it doesn't need a complex configuration to work.
I noticed in my system that my root partition is getting full. I found a lot of old compacted syslogfiles. Had a look at etc/sysconfig editor eg cron but could not find a setting which allows to delete files older than a month. Where and how could I influence this ? I deleted manually all syslog files older than a month. Approx 6GB
My girlfriend just started on Fedora and she's a mess with her files. I was thinking on writing a mini-script that would put all her document files on ~/Documents, music on ~/Music, etc. I thought, maybe, there could be some software that cleans up the desktop for ya. If not, this could be a major app idea. Is there anything anybody knows of? Simple thing: putting your files on the right places.
I am looking for an open source syslog server which accumulate the each and every log of Windows, Solaris, Linux and network devices. Currently I am using Syslog-ng which is not fulfiling my requirement in Windows clients, as I need the logs of every action which user performed after logon.
I have an ubuntu (8.04.3) server where I use bacula to make backups of the files stored on the server. Ive been trying to find a solution (with no luck) trying to succesfully implement the following:-
A Backup tape for each day of the week besides Thurs which is resused on a weekly basis. For the thursday tapes we have a backup tape corresponding to the week number that the thursday falls so for the first thursday of the month it would be ThursOne For example. These tapes are resued on a monthly basis. We then have a monthly tape that is used on the last thursday of the month. These tapes will be resused on a yearly basis.
Another requirement is just in case a tape is accidently not changed a backup should still occur regardless of what tape is in the drive (so if its tuesday and mondays tape is still in the tape drive it should rewrite that tape).
I did have this successfully set up where the tape was appended after each use rather than being recycled after the nightly backup. But then after a few weeks I would have to manually purge tapes when they became full (which isnt ideal - as Im not always in the office so in my absence it may be that a backup may not take place), so have been playing around and have now got the tapes to be marked as used after a max of 2 jobs (so the backup of the files and the catalog of the night). I also added this line 'Recycle Current Volume = yes' so that it would hopefully recycle the volume in the drive.
However what I am finding is that the tape that should be recycled is not, but in yesterday case the Mondays tape was recycled rather than the Tuesday although Mondays was the last written so Im not even sure why it choose to recycle this tape.
I'm looking for some software for my OpenSUSE, which with I would be able to organize my audio files.
I've found one, which may be good, but it's unable to run without X server (in CLI). [URL]
I'm not looking for ID3 renamers. There're maybe hundreds of them... I'm looking for software, which has its own database, or is able to communicate with some database, like CDDB, Gracenote, last.fm etc.
I have written this simple script to delete files and keep a log i have put this script in crond job
The script check the test directory in /home/francis if it encounters a file which is a 30 days old it must delete that file and place the file deleted in mylogs as a log report the script works fine i manually i have two problems:
First when the script ram the first time it generated the log of the files it deleted but the next day when i came it deleted the file but no log was generated
Secondly i run the script every day at 9 am this is the entry made in crond file * 9 * * * ~path to file but it seems to run every minute i even triedseperating the fields by tabs still the same
I work on machines with different architectures, all of which share the same home directory(what is the technical term for it -- network mounting ?). Since I don't have admin privileges on these systems, I have installed programs in /home/<my_id>/bin. A program compiled for one architecture doesn't work when I login into another system. I'm thinking of creating architecture specific directories which would contain inaries/libraries specific to that architecture and creating a softlink to it t /home/<my_id>/bin. The only problem with this solution is that I can't work on two systems at the same time.
what command is to be used to call strings from other files to the script and then comparing strings from two different files in the script to check if strings are matched then return the result to another script.
Where are temp files stored in SuSE 11.0? I am trying to find all of those videos and .jpgs and other miscellaneous files I've downloaded in the past, and which are now only taking up space on my hard drive. I'd like to clean out all of that. I have looked in both /tmp and in /.kde but don't see what I'm looking for.
If anyone of you guys could tell me where does ubuntu saves user prefference/settings/application settings/menus/themes all that effect only user loged in so i can transfer all of this to another account and have them be the same. Or maybe there is an app for that ?
I setup my ubuntu to have no users and only root account, but i found that its not made to work correctly with being root at all times, so i created an account and want to export my root prefferences to newly created account, just like i could with windows by exporting files/registry keys etc.
I have machine that I used to VNC to on my network with Remote Desktop Viewer from my Fedora 12. When I first connected I checked the checkbox that I wanted to store the pw. Now the pw on the other machine has changed but Remote Desktop Viewer does not ask for a new password, it just gives me a black screen, like I am connected but I can't see anything. I'd like to know if anyone knows where this pw data is stored on the system so I can start fresh. I already tried uninstalling Remote Desktop Viewer and installing it again.
Debian 8 faild to boot normally, thowing several screens of error messages. Then it suggested to enter root pw and do some maintenance, and upon accepting my root pw it booted me into command line.I guess, those screens of errors are saved to some log files - if this is the case, in which files shall find it?I tried:
/var/log/syslog - an endless file, yet the records end at 28/12/2015 /var/log/dmesg - same /var/log/boot.log - not there
Im gona install some ubuntu PCs, but the question is for dont update the N computers via web, what I need to copy from the first PC to the others for launch a program in the other N-1 PCs and have updated all (without run download on the N-1 PCs).
I am new to Linux. I was running Ubuntu 10.04. While downloading software, one of my downloads changed changed my OS to Xubuntu. From browsing the available software, I surmised(wrongfully it turned out) that files starting were X files. In Synaptic, I deleted all files starting with X. This I found is a form of hari kari. When I boot up now, I have a choice of straight to Ubuntu or "Help" mode. If I boot up straight, I get to Ubuntu logo and it hangs up running the dots between red and green and I give a warm boot to restart. If I choose the "Help" route, I go thru what a windows user would call DOS commands or activity. At the end of whatever it is doing, it asks for user ID and password. I give it those and I am given a command line. I don't know what to do with this. I would like to access my stored files and save them. If nothing can be done to save them, I will just start over by reinstalling 10.04. BTW I am running 7.1 from an old boot disc. Is there some way that I can retrieve my files?
I have a 60GB partition with / and home on it. I logged on yesterday and it gave me a warning saying that I had only 1.9 GB of disk space left. I ignored it for a day and assumed that i had too many videos and pics.But the next day i had not added any files or downloaded any software but i had 0B left. I used the disk usage analyser and found that 33GBs came from /var/log. It was from two log files. syslog and daemon.log 16.5GB each!! I opened them up and i found that this line of text was repeated hnundreds of thousands of times.
Code: Jul 22 19:32:36 aulenback-desktop ntfs-3g: Failed to decompress file: Value too large for defined data type
In my system, I see two syslog configuration files, /etc/rsyslog.conf and /etc/syslog.conf.. What is the use of each file? I know only that of /etc/syslog.conf...how about /etc/rsyslog.conf? what is its use?
I am currently using Syslog-NG to make the log files in the format of: $R_YEAR$R_MONTH$R_DAY$R_HOUR and I need to be a little more granular.
I am wondering if there is a way to to divide the hour by 12, making a new log file every 5 minutes. We have been using LogRotate, but when Syslog-NG is restarted we have some data loss. Is this possible? Another solution I can think of would be to add $R_MINUTE (or whatever it is) and run a cron job every 5 minutes to concatenate the files.
Does anyone know where the files downloaded from the Ubuntu One Music Store are stored?They are not in the Music folder or anywhere else in my home folder that I can determine, yet Rhythmbox sees them. I noticed that in the Rhythmbox preferences I can no longer specify one specific folder as a watch folder (it defaults back to "Multiple Locations Set"). I'd like to transfer the files I bought to a flash drive, but cannot find them.