General :: Dumping /var/log./messages Using 'cat' Is Failing
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
ADVERTISEMENT
Feb 19, 2016
After installing ufw which is supposed to be a firewall system for the network-challenged, I am getting tons of these messages showing up in my dmesg;
[UFW BLOCK] IN=eth0 OUT= MAC=*my-MAC-number* SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2
View 5 Replies
View Related
Aug 27, 2011
I am seeing cores dumped in a particular directory continuously. I am sure there must a script that's continuously starting a process which is core-dumping and dying. But, how can I find which process is it?
View 2 Replies
View Related
Aug 16, 2010
What is dumping an instance in linux?
View 1 Replies
View Related
Dec 26, 2010
I am using Logical Volumes and currently have Windows7 on 1st partition. At boot I mount 4 linux partitions. I would be looking to eliminate Windows for good, and use the available space for my /home partition. If I am correct, I can use that space easily since I use LVM. How best to go about this?
View 3 Replies
View Related
Aug 13, 2011
I currently use Xubuntu on a dual boot system, a laptop. The hard drive is to small (30 GB shared between Xubuntu and windows), so I want to clone the existing drive, but I do not want to clone windows.
I bought a 120 GB hard drive, and want to dump windows totally. If I download clonezilla and burn it to a cd, can I instruct it to only clone the Xubuntu system? I think I would run clonezilla from a cd, download everything to my USB drive, then remove the small hard drive. Then, install the bigger drive and restore everything to the newer and larger drive. Will this work??
View 2 Replies
View Related
Mar 21, 2011
I am attempting to setup an Ubuntu server as a secondary DNS server. It seems whenever it tries to dump the master file the system log shows Permission denied.let me know if more information is needed.NOTE: where it says example.com I have simply removed my actual Domain name.
Mar 21 21:49:24 ulinux named[14418]: zone example.com/IN: Transfer started.
Mar 21 21:49:24 ulinux named[14418]: transfer of 'example.com/IN' from 192.168.0.15#53: connecte$
[code]....
View 1 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
Feb 1, 2010
HDA1 is going to die, SMART says its well beyond dead, and I can tell the read/write times have gone up drastically.
I know I can use dd to copy it from a live CD.
1.) If I dd it to something.img, is there a way for me to "work" on the backup copy? Basically, I need to backup ASAP, but won't have a replacement drive for a while, so I'll need to be able to put the changes into the backup.
2.) When it comes time to restore, if I dd it to a larger drive, is there a way to take advantage of all the extra space? I assume I can dd it over and the MBR & Partition Table will go with, so I can use something like gparted to grow the partition to the drive size?
Or is there a better way to make a backup?
View 4 Replies
View Related
Feb 14, 2010
i installed fedora 11 linux in my computer.but after successfull installation,i see that a message near the taskbar that "A hard is failing". what is that suppose to mean?
View 1 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
Feb 13, 2011
File in question is [URL].. meder@pc:~$ tar -xvjf wkhtmltopdf-0.10.0_rc2-static-i386.tar.bz2 bzip2: (stdin) is not a bzip2 file. tar: Child returned status 2 tar: Error exit delayed from previous errors
I tried to unzip it as well, and I tried a various slew of commands to no avail on my Debian box which has no GUI. I downloaded this on my local desktop ( Ubuntu ) and was able to easily extract w/ my mouse so I'm not exactly sure what the extractor did differently...
View 1 Replies
View Related
Dec 24, 2010
Very strange Grub2 issue on my Dell Mini 10.
Had Crunchbang Statler on it, and after an update, it would hang at grub, before the grub prompt. ("loading Grub, Welcome to Grub" then blinking cursor, but no prompt or ability to get into rescue)
So I booted into a liveCD, chrooted in, and reinstalled Grub2, purging everything. No dice. Same problem.
So I figured the device maps weren't right, so I pulled off any important files via the live stick, and reinstalled #!. Same problem.
Did a bit of googling, and it seemed like it was most probably not a true Grub2 error, but a bios problem, so I reinstalled XP, flashed to a new bios (A11).
Then reinstalled, this time with Zenwalk (figured it might be a debian thing). Same thing. (note I replaced lilo with Grub2 for puroposes of testing)
View 10 Replies
View Related
Apr 11, 2011
I have a 2 Tb drive that Linux is saying is failing, the reason for this is Relocated Secotor Count, should i really worry and why is it happening to such a new drive its only 4 months old I received it on December 30th I woudl think it would not be bad at this point.
View 14 Replies
View Related
Mar 19, 2010
I am failing to receive e-mails on client machines. My server has linux Red Hat 7.3. Can you help me with linux command to view sendmail configuration.
View 1 Replies
View Related
Jul 31, 2011
so i'm trying to create a file with the current date as the prefix in the following way (following instructions from a tutorial):
Code:
touch 'date +%F'.log
its creating the file as:
date +%F.log
instead of 2011-07-31.log
[Code].....
what am i getting wrong/missing/failing to understand?
View 5 Replies
View Related
Dec 29, 2010
An external 3½" HDD seems to be in danger of failing” it's making ticking sounds when idle. I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious drive with the best chance of saving as much as possible. There are some directories that are more important than others. However, I'm guessing that picking and choosing directories is going to reduce my chances of saving the whole thing. I would also have to mount it, dump a file listing, and then unmount it in order to be able to effectively prioritize directories. Adding in the fact that it's time-consuming to do this, I'm leaning away from this approach.
I've considered just using dd, but I'm not sure how it would handle read errors or other problems that might prevent only certain parts of the data from being rescued, or which could be overcome with some retries, but not so many that they endanger other parts of the drive from being saved. I guess ideally it would do a single pass to get as much as possible and then go back to retry anything that was missed due to errors.
Is it possible that copying more slowly — e.g. pausing every x MB/GB — would be better than just running the operation full tilt, for example to avoid any overheating issues? For the "where is your backup" crowd: this actually is my backup drive, but it also contains some non-critical and bulky stuff, like music, that aren't backups, i.e. aren't backed up. The drive has not exhibited any clear signs of failure other than this somewhat ominous sound. I did have to fsck a few errors recently — orphaned inodes, incorrect free blocks/inodes counts, inode bitmap differences, zero dtime on deleted inodes; about 20 errors in all.The filesystem of the partition is ext3.
View 2 Replies
View Related
Dec 5, 2010
I had an Ubuntu 10.10 installation that ran fine for around a month or so. I decided to go out and try to install aptosid (formerly known as sidux) as a dual boot. I couldn't get the desktop to boot in the LiveCD and kept getting an error saying that the nouveau module could not be loaded. I rebooted and at the main LiveCD screen, I added xmodule=vesa xres=1440X900. I was able to get a 1024x768 resolution. I decided that I really didn't like aptosid, so I shut it down and took out the LiveCD. When I booted back into Ubuntu, my resolution changed down to 640x480 for some reason. I decided to remove the proprietary nVidia driver I had installed via jockey. Once it was removed, I restarted. Now, I see no startup splash or a login screen - my monitor just goes to sleep.
I have all my files backed up already, so I decided to pop in my Kubuntu 10.10 LiveCD to install that. Once I choose the "Start Kubuntu" option, my monitor goes to sleep. I tried putting in Linux Mint Debian Edition LiveCD to see if that would work, and I had the same issue. After this, I went for the nuclear option and installed Windows 7 to see if it would wipe out any memory of my Linux drivers from the system. The Windows drivers for my card worked fine, so I decided to put the Kubuntu LiveCD back in and got the same problem. I am currently running a Partition Magic LiveCD, but could only boot into it using the Xvesa option instead of Xorg. My video card is an nVidia 9800 GT - and it has always worked in the past.
View 9 Replies
View Related
Feb 26, 2011
I have Dell rack server. With the network card of five network ports. But I am just using first one (eth0).
Now the problem:
Its connected the internet and the internet is working fine. I also got update using yum.
When I do ifconfig to check its dynamic IP. It also shows the IP(something like: 192.168.x.x), but if I go to services and try to start DHCPd service its fails. Its not starting at all. And If I go to other computer (Windows 7) and try to ping the dell servers IP, I cannot ping it. So since I cannot ping it from other computer, so no one we can have remote access to the dell server.
I dont understand without starting DHCPd how the dell server is getting the IP address.
So I thought maybe DHCP is corrupted so I removed it using yum and reinstalled it using yum, but no luck so far.
View 2 Replies
View Related
Aug 29, 2010
i have successfully installed zimbra on Debian machine but am failing to log in to the console admin. i have used my server name as well as my ip address but both do not work.
View 8 Replies
View Related
May 22, 2010
I run a sever 24/7/365 with Debian 5.0.4 (lenny) GNOME 2.22.3. It seems that the HDD is beginning to fail as it starting to clunk & you can hear it spinning up & down. I had lots of help in setting up the server, and i am not that good with linux...but i am learning all the time I have a spare HDD lying around, and i am wondering if its possible to use it to make a "exact working copy" of the HDD whats failing ? The spare HDD actually has XP on it, but i cannot see this preventing it from being used ?As my knowledge is still very little with Linux, and its important for me to replace the HDD, can anyone point me in the right direction to copying failing HDD ?? Also is it possible to then fit the new HDD into my server and it will work straight away ? This is to prevent any added downtime on my 24/7/365 server.
View 14 Replies
View Related
Jun 3, 2010
First i installed openwsman-server- .2.0-5.el5.i386. Then i installed sblim-sfcb-1.3.7 and sblim provider packages by building the source code. Then i gave cim-xml request directly to SFCB using "wbemcat" and i am able to enumerate classes and its instances. But when i try to give a request to SFCB through Openwsman using the following command "wsman enumerate http://sblim.sf.net/wbem/wscim/1/cim...ComputerSystem --port 5985 -y Basic -u <username> -p <password>" i get a response "wsa:EndpointUnavailable" and in Openwsman log it is displaying the following error message "*** Connection to CIMOM http://localhost:5988 failed with 1null)"
I checked the correctness of the CIM schema specified in the request and both sfcb's and openwsman's configuration files i didn't get any help.
View 3 Replies
View Related
Sep 10, 2009
Squid gives the follwoing error messages when i attepmt to start it:Sep 10 12:33:24 localhost (squid): Cannot open '/var/log/squid/access.log' for writing. The parent directory must be writeable by the user 'squid', which is the cache_effective_user set in squid.conf.Sep 10 12:33:24 localhost squid[3423]: Squid Parent: child process 3446 started
View 3 Replies
View Related
Mar 19, 2010
I have a server which is installed Red Hat linux 7.3. I am able to send mails out but i Cannot receive those sent to me.
View 1 Replies
View Related
Mar 16, 2010
I am using Ubuntu 9.10 and when I tried to send mail from the command line I get: /usr/lib/sendmail: Permission denied. any takers on this.
View 6 Replies
View Related
May 19, 2011
I began the install, Debian 6.0, 64 I get through network config, and everything seems to check out, ifconfig, ping testing to the server it's connecting.I need to look into this further server side tomorrow, but assuming there are no network issues.is there any reason it would not connect to download mirrors? I just did an install on same rack, dell server not IBM, it went flawlessly. IBM is already putting up a fight. So, it's failing to download more content, I end up with no GUI and basic install.
View 1 Replies
View Related
Aug 3, 2009
I seem to have a complex issue on my hands that i can't figure out. first, i wasn't able to get access to my LVM'd hard drives via SSH without half of the content being missing or locked out (read-only or unable to open at all). the problem then went up to being unable to boot up - all i got was a long slew of [100.1234] ata1.00: error messages (they eventually DO stop once they get to around 998.234234 or whatever, and then i can log in and it seems to be "stable").
Part way through this rebooting ordeal i realized / decided to make power-on-self-test stop and wait if it finds errors (via bios) - that showed me that my 750G SATA drive is "bad" and my two (older) 120G & 250G IDE drives are "ok". i then unplugged the SATA drive, rebooted, and didn't see those error messages. however, my LVM was still obviously not coming together (since LVM was made up of the 120G, 250G, and 750G drives)
So, now it seems:
a) I can't boot smoothly with all drives in place
b) I can't do anything with lvm if i remove the 750G sata
c) With all drives hooked up, i can wait 10mins for the errors to go away, but STILL can't do anything with lvm
d) I need to recover the lvm stuff so that i can nicely migrate ALL those files (1.1TB of it) onto a new 1.5TB drive and do away with lvm
This is all running ubuntu 7.10 server edition (32-bit version on a 64-bit computer). i DID post a question on the ubuntu forum as well but so far got no replies at all.
Here's a few pics of the booting process, with one or two "fail" lines showing.
View 14 Replies
View Related
Sep 22, 2010
I have freshly installed OpenSuse 11.3 and it's ok, but online updates is very slow and keeps failing.
Here is my hw spec:
lspci:
View 1 Replies
View Related
Mar 17, 2010
I am not sure which thread this fits in, I am facing a strange problem. There is a code tarball that I cross-compile on a Fedora Core 9 machine and it builds fine. But when I do the same thing on a (heavily used) Fedora Core 7 machine, the build keeps failing in the gnuapp folders grep, coreutils etc. I have tried 'make distclean', and clearing the config.cache but no impact.
Note: I export the PATH variable (to the local cross-compiler) before starting the build. The cross compilation is for the MIPS processor and GNU makefiles are used.
View 1 Replies
View Related
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
View Related