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?
View 3 Replies
ADVERTISEMENT
Aug 22, 2010
I have a huge disk image backed up using dd.
I need to restore the disk image but dd is very silent.
How can I monitor its progress?
View 3 Replies
View Related
Apr 19, 2010
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 '
View 2 Replies
View Related
Apr 4, 2011
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?
View 6 Replies
View Related
Nov 21, 2010
I'm looking for a terminal emulator that does the same thing as gnome-terminal or konsole, except written in Java.
View 2 Replies
View Related
Jan 14, 2011
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
View 1 Replies
View Related
Feb 14, 2011
with reference to my this thread: [URL]
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.
View 13 Replies
View Related
Dec 17, 2010
i added a new system call..helloworld...
i rebuild the kernel and when i try to use it, it is returning -1.
can any one tell me how to debug and know where things went wrong..
how to see the kernel log when this syscall is called...i wrote a println in my syscall..but couldnt find that in /var/log/dmesg...
View 3 Replies
View Related
Jul 18, 2010
I have a Linux CentOS server.Is there a way to store all changes made to the hard drive by all software on the server ?
View 14 Replies
View Related
Apr 13, 2011
How to find a file which is being written recently in directory of 1000 files?
View 8 Replies
View Related
May 3, 2011
HOW can i download Linux Network Administrator guide written by Kirch?
View 9 Replies
View Related
Jul 13, 2011
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:
options {
flush_lines (0);
time_reopen (10);
log_fifo_size (1000);
[code]....
the last two rules show my program gnssapp. the result is all debug levels or crit or err levels I don't see any of them !
View 3 Replies
View Related
Mar 3, 2011
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.)
View 1 Replies
View Related
Feb 8, 2010
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:>>>>
#!/bin/bash
STA=/home/sk/Desktop/exefile
sta=mpirun -np 6 $STA
[code]....
View 14 Replies
View Related
May 30, 2009
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
Quote:
Apr 30 20:25:18 TEST-NODE kernel: IPT: IN_NOMATCH IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:17:a4:a7:3d:a2:08:00 SRC=172.26.16.27 DST=172.26.16.255 LEN=104 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=10100 DPT=10100 LEN=84
[code]...
View 7 Replies
View Related
Jan 31, 2011
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?
View 4 Replies
View Related
Apr 7, 2011
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.
View 9 Replies
View Related
Apr 6, 2011
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 ?
View 14 Replies
View Related
Dec 26, 2009
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.
View 3 Replies
View Related
Apr 28, 2010
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]..
View 14 Replies
View Related
Apr 27, 2011
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 .
View 1 Replies
View Related
Jun 7, 2011
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:~$
View 1 Replies
View Related
Feb 9, 2010
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...
View 1 Replies
View Related
Feb 21, 2011
/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
[code]....
View 5 Replies
View Related
Dec 8, 2010
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.
View 1 Replies
View Related
Nov 15, 2010
I am trying to dump /var/log/messages using cat command, but it is failing.
Quote:
Command:
[root@greplinux-linux ~]# cat /var/log/messages
Op:
cat: /var/log/messages: Invalid argument
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'.
View 2 Replies
View Related
Mar 25, 2011
I use python 2.6 logger to log to a file. But now I want it to be part of /var/log/messages.
Any tips/pointer/guide on what to do?
View 1 Replies
View Related
Nov 5, 2010
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
:cannot touch 'var/lock/subsys/local': input/output error
and then...
EXT2-fs error (device sda1) : ext2_lookup: deleted inode referenced (lots of numbers here)
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.
View 4 Replies
View Related
May 7, 2010
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.
View 3 Replies
View Related
Apr 29, 2010
I was asked to take over maintenance for a web-site written in .asp. Can Appache handle it installed on linux, as a local test-server?
View 2 Replies
View Related