General :: /var/log/messages Is Not Being Written To?
Nov 1, 2010
I was attempting to get crontab to kick off a daily job, but the job wont start. I opened /var/log/messages and noticed all the logs were from 6 months ago. I cleared the log and then did a tail -f so I could watch it for activity. I then hit my box with anunsuccessful log in attempt. Nothing happened to the log. The uptime of my box is 22 days and the logs that were in it before I cleared it were from months ago.Is there a daemon I can check or another file I can mod to get logs writing again?
I need to filter the log from a massive wget. I want to remove the progress lines and only leave the last one. Now each progress line starts with a newline '
I don know how this happened, but my system only recognizes an disk when the disk is blank. If thereÅ› anything on it it won mount it. Why is this happening?
I went and fdisk'd a USB disk and put the Fat32 filesystem onto it. Then I thought I ran dosfsck over it which I thort formatted the disk - apparently not. Then I copied a bunch of files and directories to it. Now I am unable to recover the files and data. In the rare instances when I perform a sloppy mount I see directories named 001, 002, 003 and 004. These directories variously contain files named 001, 002, 004 (no 003) etc.
Fdisk gives me:
I don't know enough to use dd, kpartx, parted, partmon, partprobe, partx et al
After installing Windows 7, the GRUB got re-written by the windows bootloader. Now after booting into the live cd and mounting /boot partition (sda2), I tried to reinstall the GRUB with this command grub-install --root-directory=/mnt /dev/sda as told by this [URL]
But I got the an error which says, Are you sure /dev is mounted? then i tried the same command on the / partition (sda5) which said, cannot find boot directory, Are you sure /dev is mounted?
And installation failed, now after restarting its just a black screen with grub> prompt.
I have a syslog-ng running and kernel build of 2.6.34.8 I use a syslog API in my program with facility LOG_LOCAL5 and and levels debug err and crit and info. when I ran on the older syslog facility I had everything logged fine as I intended. now I have written these rules into the syslog-ng.conf:
I just tried to burn an ISO to a CD-R in K3B, and it finished with the message "written data in track 1 differs from original." I get that a lot; until now, I blamed it on my failing CD drives . What can I do to avoid it besides burning at a slow speed? I know that, having heard years ago that I should burn at 4x; but my new DVD-RW burner's slowest writing speed is 16x. (I'm annoyed at that. It was a Christmas gift, and I didn't think of specifying a write speed. I wouldn't be surprised if new CD drives can't burn at such a slow speed, though.)
i have written a script in which, i changes a variable using a "while" loop. then i feed that variable to an input file. After that i run that file in parallal using mpi library.Script is as:>>>>
More than 7 G bytes were logged to the messages file last three weeks I got this message in /var/log/messages I want to stop this messaging cause it takes to much space
I've been having a lot of problems solving my HDD mounting problems and renaming. It finally worked, but I had to delete everything from fstab. As crazy as it sounds, it worked, when I turn my computer on, they automatically mount. They are all working fine. I will attach screen shots too. As you can see my fstab is blank, I was just wondering, is this a problem? Or is it totally normal?
How do I run a program I've written in C++? I'm new found some tutorials to study from but didn't find anything on how to run it. I'm using text editor too write it and saved it as .cpp but everytime i open it it just shows what i wrote it doesn't run it.
I wanted to develop a cross platform GUI application.So I thought I would research on Firefox.I havent been able to find out which GUI framework is FireFox using ?Is it GTK, QT, or what ?
I've been having trouble writing to DVDs on one computer, and I am trying to figure out whetgher the problem is hardware or software related, or, perhaps, both. The brasero CD/DVD writer puts the md5 checksums of each of the original files in a hidden file on the DVD. I think it then calculates the sums of the copies and compares, but the last time I did it, it told me it had permission problems with the drive, and that failed. When I put the DVD in, udev finds it and mounts it in /media with me as its owner. Apparently, brasero mounted it some other way, and presumably that caused the problem.
Secondly, after I brought it up again, I went into the /media mount point and did md5sum on the files there. One of them a gzipped tar file, produced and input/output error. Yet if I use cmp to compare that file with the original it finds no difficulty. So what is going on? Finally, I have tried to write shell scripts which use cmp to compare the original files with the copies. The general form is
cd XXXX find $* >> /tmp/X for i in `cat /tmp/X` do cmp $i YYYY/$i done
where XXX is the mount point in /media and YYY is the original directory containing the relevant files. This works fine except that if the file names have spaces in them, the shell script treats each word as a new file name. So I need some way to arrange things so that `cat /tmp/X` returns the complete file name. Nothing I've tried works.
Trying to use the html editor 'Arachnophilia'... here are the instructions on their website. ".Open a command console (Linux: shell console), move to the Arachnophilia program directory, type "java -jar Arachnophilia.jar" For convenience, this command can be made part of a shell script, and those using X windows can easily make a desktop icon." hoping someone can explain how to run this program.. using a new install of fedora 12 (which has java)...i'm a newbie, trying to go open source on a low end laptop - LOVE Fedora .[URL]..
My company have Linux and mac machines ,so I have mac format (HFS) hdd and linux format (ext3) hdd, In the linux os , mount a mac hdd ,it just can read and can't be written. The mac hdd 's format is HFS OR HFS+ , how to write this hdd in the linux .
I've a problem with the welcome message. As you can see the welcome message with landscape-sysinfo is written twice. The second welcome message is the older one which is something like frozen:
Code: login as: oliver oliver@xx.de's password: Linux xx 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 x86_64 GNU/Linux Ubuntu 10.04.2 LTS
Welcome to the Ubuntu Server! Documentation: [URL] System information as of Wed Jun 8 01:40:26 CEST 2011
35 packages can be updated. 0 updates are security updates. Last login: Wed Jun 8 01:30:28 2011 from xx.de oliver@studi:~$
I use evolution on my home computer to manage my email...when i was at my friends house today, i logged in to my mail via godaddys webmail service....after checking my mail and returning home, i notices that some of my new messages that i viewed on the webmail were showing as they should (unread) in evolution...
however, a few of the messages were completely absent...i then returned to my account through webmail and sifted through all the emails that were in my inbox(all unread as I havent used the service much as i have always had my computer with me)...i noticed more than a few messages that were there that i didnt receive in my evolution inbox....
Is that a problem with my email provider through godaddy, or a problem with evolution? evolution often locks up on me and crashes, so i am thinking it might be something to do with it....thinking about switching to thunderbird and hoping for better results, but i am so used to evolution now...
/var/log/debug gets lots of messages any time an LVM snapshot is setup (lvcreate --size ${size}k --snapshot --name "$LVM_snapshot_device" "$LVM_device"). Here is a recent sample.
Code: Feb 19 22:40:10 CW8 lvm[2163]: Loading config file: /etc/lvm/lvm.conf Feb 19 22:40:10 CW8 lvm[2163]: Opened /etc/lvm/lvm.conf RO
I'm using Red Hat Enterprise Linux Server release 5. In this whenever a user process crashes due to segmentaion faults , it was not logged in /var/log/messages. Even dmesg is also not showing any messages related to this.
Where as in another distributions(Cent OS 5) I've seen segfaults messages in /var/log/messages whenever my user process crashed.dmesg also showing the segfaults.
Is there any settings that to enabled so that it logs segfaults into /var/log/messages.
I cross checked /etc/syslog.conf of both the systems. Both are same and even /etc/sysconfig/syslog files.
messages file is present in /var/log. When I tried to open that using 'vi' it is saying 'messages' is not a file. First column of command "ls -l /var/log/messages" is '?rwsrwsrwt'.
Just bought a brand new Acer Aspire 5745G, straight away I wanted to install Ubuntu 10.10, I stuck in the cd and rebooted the new laptop that currently only seemed to have Linpus Linux, I then got masses of error messages saying something such as cannot run var/ etc etc and then
It does this for many, many lines then sites there for ages doing nothing and wont allow me to type any commands ( I dont know any command really apart from 'reboot') and then finally after 5 mins or so shows the command prompt [root@localhost /]# but I cant do anything from here.
I've done some searches and found this thread:
url
but startx and system-cofig-display dont work and just says bad commands.
Ive also tried changing the settings so it always reboots from dvd, same problem, made a USB ubuntu start up, forced booting from usb, same again.
I've never used irc and I decided I'd just like to learn how it works. I've got Xchat installed, I can easily find networks and channels with users in it, but then I can never see any messages. I see the initial channel messages when I join, but even in channels with hundreds of people I don't see any other messages come up.