CentOS 5 :: Can't Get Kdump To Generate Dump Files?

Dec 7, 2010

I'm posting because I've read everything I can find on google and in the forum and the man page and still can't get it to work. I did read the FAQ, I hope I have adhered to it.I've tried several things and I don't remember exactly everything I tried and in what order.I've got several (12) HP ProLiant DL140 G3 servers running CentOS 5 that lockup about once a week. These are in a remote colo cage so I all i have access to is the built-in HP lights-out management interface, which includes a console, and ssh. I've been trying to get kdump setup to try to figure out what's going on. As an aside, if I run top on the console (via the management interface) the servers stay up for about a week, if I don't run top they crash within about 48 hours.I've used yum update to update to the latest available kernel (2.6.18-194.26.1.el5.x86_64) and installed the debuginfo and debuginfo-common RPMs from http://debuginfo.centos.org/5/x86_64/I have a single command in the /etc/kdump.conf file:ext3 /dev/sda5

View 4 Replies


ADVERTISEMENT

Programming :: Core Dump Issues. Program Crashes But Does Not Generate Core Dump File?

Oct 7, 2009

I want to generate core dump files from my program when it crashes. Its a pretty big process and has about 10-11 threads in it.I have followed the documentation to enable core dump by setting ulimit to unlimited etc. I quickly tried "A demo program creating a core dump" from the following webpage, which succeeds in Segfault and dumping a core file in the directory that I configured.However, I tried running my original program and caused it to crash. I did this by making calls to kill(), raise() or the same null pointer access as shown in the webpage above. In each case, my program crashed but did not generate a core dump file. Am I missing something?My program is in C++ and my environment is Redhat 9.0 (kernel 2.4.20)

Going through the "Why do I NOT get a core dump?" section on the same webpage as above, I can see two potential problems. One - there are issues with the suid/sgid (bullet # 6). I am not able to change any settings with suid because my system does not contain either /proc/sys/fs/suid_dumpable or /proc/sys/kernel/suid_dumpableTwo, my program has threads in it and the bullet # 8 is the problem.

View 1 Replies View Related

CentOS 5 :: Reading Server Crash Dump Files

Oct 18, 2010

Is there any command available inorder to read the server crash dump files?

View 4 Replies View Related

CentOS 5 :: Kdump FAILED To Load?

Dec 19, 2009

When my server starts I received this text:No kdump kernel image found:[WARNING]Tried to locate /boot/vmlinuz-2.6.18-164.6.1.el5.centos.plusLoading kdump:[FAILED]

View 4 Replies View Related

CentOS 5 :: Enable Kdump For Kernel 2.6.26?

Oct 25, 2010

Update kernel to 2.6.26, i don't know how to enable kdump for this kernel version.

at http://debuginfo.centos.org/5/x86_64/ not find kernel-debuginfo-2.6.26,
how to enable it ?

View 3 Replies View Related

CentOS 5 :: Kernel Panic - Getting This"failed To Make Kdump Initrd" Messages At Startup."?

Oct 12, 2009

I've had a Centos 5.3 zimbra mailserver set up for about 3 months now.Every 7-10 days or so, the system will do a kernel panic and I've been putting off its resolution due to other matters.I'm now ready to look into it but I have two issues :

1) No logs.

So far, I've manually rebooted when a kernel panic occured and could look at the panic printout and write down relevant info. But since I wanted more info than I had written down, I went hunting in the logs for the kernel panic event (one happened earlier today) but, to my surprise, I noticed the system doesn't log the kernel panic at all. Kdump is currently disabled as I'd like to keep all available memory available to the system but I was under the impression it would log the kernel panic message regardless but would simply leave out more advanced diagnostic information.How would I make sure the kernel panic is logged so I can have more info about it ?

2) The actual panic.Here's a snippet of what's appearing when the kernel panics :

EIP c0467136 page_remove_rmap+0x66/0xc0 SS:ESP 0068:c3ca6ddc <0> Kernel panic - not syncing: Fatal Exception

I've also seen f793bee4 instead of the highlighted part above but everything else is always the same from the times I've seen (as I haven't always had the chance to be around when a panic occured).I'm looking further into it at this point but early research seem to indicate this could be a memory issue. I'll run memtest next weekend to check that out (since I don't want to take the system offline for any length of time during office hours) but people here might have other theories based on what I've put up so far. The system has all of the latest patches and updates and is running only what I need as far as software goes (zimbra server + prerequisites, x + GNOME (not loaded on startup), firefox and vnc for windows RDP access). My system also uses a software RAID1 array (boot = md0 and / = md2 with swap files not being mirrored as there's no need to).

PS : In order to further troublehsoot by myself before posting here, I've tried to enable kdump to see if kdump is the culprit for the missing logs but I'm also having an issue with it. I'm getting a "No kdump initial ramdisk found" and "mkdumprd: failed to make kdump initrd" messages at startup. I'm thinking this might be because of my raid array ? I've found an old bug report regarding one of those error messages on centos 5.2 but it was supposedly fixed in the 30 version by RH and I'm using the latest one (56).

View 5 Replies View Related

CentOS 5 :: Make Daemons Dump Core?

Oct 22, 2010

I modified the following files according to all I found after googling the net:

/etc/security/limits.conf
* soft core unlimited
/etc/profile
ulimit -c unlimited[code]....

I don't get a core file when I kill -11 <pid_of_sleep>

System is centos 5.3

View 3 Replies View Related

Programming :: Incremental Backup Using DUMP Command - Error "DUMP: Only Level 0 Dumps Are Allowed On A Subdirectory"

Sep 6, 2010

I have used Dump Command to dump the application files. For Full backup the level 0 is working fine. For incremental backup I used the level 1 or 2 it is getting the error as

DUMP: Only level 0 dumps are allowed on a subdirectory
DUMP: The ENTIRE dump is aborted.

The code I used
===============================
#!/bin/bash
#Full Day Backup Script
#application folders backup
#test is the username
now=$(date +"%d-%m-%Y")
[Code]...

View 2 Replies View Related

Ubuntu :: Dump Serial Ports To Text Files With Timestamp?

Jun 1, 2010

I have a computer with 4 RS232 com-ports (MSI MS-9A19).

To each com-port, I have instruments attached that transmit data like this:
982000001088420<CR><LF>
982000001088421<CR><LF>

[code]....

View 9 Replies View Related

CentOS 5 :: Complete Software Listing For A RHEL5 Box (NOT An RPM / Package Dump)

Aug 31, 2010

I have a need for a complete software list off of an existing RHEL 5 system. I need this list to compare software installed to software on a government approved software list to ensure the compliance of this system. I was given an RPM Dump, listing all the 2000+ packages on the system... This does not translate to the Government Approved software list that I have to compare to. I do not have access to this system myself, so what ever method is prescribed for extracting the list I will have to pass along. What I need is either:

1) A way to convert an RPM Package dump to actual software names and versions, etc.

OR

2) A method to extract a complete list of software (titles/versions/etc) from an instance of RHEL5.

Example: Instead of knowing that "pango-devel-1.14.9-6.el5" exists on the system I need to know that "Pango v3.0.x" is installed on the system. Many packages do not relate on a one to one basis with a specific piece of software via inter-dependencies etc. (not to mention the version of the software, not the version of the package/library). The Pango example is not the best example as you can see what software is likely the source of this package; however just because this package is installed, I cannot grantee 100% that the Pango software suite is installed, just that this package was installed...

View 6 Replies View Related

Ubuntu Servers :: Converting MSSQL To MySQL Formatted Dump Files?

Dec 11, 2010

Does anyone have a simple to use bash script or some such that will convert MSSQL dump files to MySQL formatted dump files?

View 6 Replies View Related

General :: How To Generate Report - Sa* And Sar* Files ?

May 29, 2011

I have collected the sa* and sar* files for the past two weeks , i need to generate the report for these files how can i do so i am using centos 5.5. assist me with a tool or a command to do the same.

View 6 Replies View Related

CentOS 5 :: Generate Unique Identifier On 5.x?

Jul 30, 2009

how can I generate unique identifier on centos 5.x I read some thing about using utility such as uuid or uuidgen

View 1 Replies View Related

Ubuntu :: Generate Compressed Files In Zip Format ?

Oct 30, 2010

I was trying to figure out how to generate compressed files in zip format and searched on here. The search produced a list of forum entries on the topic, but all of the instructions were on how to do it in terminal, how to download obscure programs and install them from terminal, then run them from terminal, with all these arcane sets of switches and parameters. Eesh.

It comes with Ubuntu, after all. In the case of zipping files, all you have to do is to go to the File Manager, find the file(s), select it or them, right-click on it or them, and select Compress and file type zip. It's so simple.

There have been a number of other tasks where I wind up spending hours figuring out how to implement the advice offered in these forums through Terminal. The folks who offer the advice often are so good at it that they leave out steps obvious to them, but that take a lot of work for somebody not as skilled at it to find out. After crawling through broken glass to get the job done, and normally screwing something up so it's not quite right once I get it going, I figure out how to do it through the GUI and find out it takes a fraction of the effort.

View 9 Replies View Related

Ubuntu :: Generate A List With Files And Folders?

Feb 2, 2011

if there is an application available to generate a list with files and folders from a location, like a hard drive or a folder? The list could be in any format, even a text file would be just fine.

View 3 Replies View Related

Software :: Automatically Generate Text Files ?

Sep 17, 2010

I have a personal server that is password protected. I convert my movies, and make it so that I can watch them through a browser when I want to. I have quite a few movies. They are sorted into different directories. In each directory there is a WebM folder that contains the video file.

Here is what I want to do:Scan all of the directories and subdirectories in /var/www/ for files with extension of webm.

When a file is found, go to the parent directory and create an html file with the same name as the video, only with an html extension instead of webm.

Automatically enter the following html code into the file with the file name matching the file that was found.

Code:

Is it possible to do this with a script? Is there a GUI program that can do this? I don't mind running the script every time after I convert a movie, but if it could monitor the folders that would be nice.

View 11 Replies View Related

Ubuntu Security :: Encrypt Files Using The Keys - Generate ?

Sep 8, 2010

I recently upgraded to Ubuntu 10.04. I love the passwords and keys application, but was somewhat surprised at the lack of a context menu in gnome to encrypt a file.

In general, I cannot find how to encrypt files using the keys I generate. Maybe I'm missing something? Probably, I just thought since Ubuntu comes with OOB key generation it would have OOB encryption capabilities.

I've read about seahorse and other ways to ADD encryption, I'm just wondering if ubuntu does it natively. It'd be a good idea to add to brainstorms, right click and encrypt.

View 6 Replies View Related

Server :: Website Which Generate Alot Of Core Files?

Jan 26, 2011

i have a server & there is a website which generate alot of core files, these core files takeup alot of space by time, so i decided to stop it, in WHM the core dump option is disabled, & i used the following command

Code:
ulimit -c 0 but nothing stoped generating core files, i also used the following method http://www.cyberciti.biz/faq/linux-disable-core-dumps/ also this method doesnt stop generating of core dump files, my question is : how i can permenantly stop generating core files for all users or for specific user

View 1 Replies View Related

Ubuntu :: Should Mediatomb Generate 3 Separate Of Huge Log Files With 5gb Of Data

Jul 4, 2011

I streamed video through a my computer with mediatomb yesterday. The problem is that now, I got these huge log files. I am running out of memory (less than 1 gb left) as we speak. They're filled with ufw entries, but my question is:

I read somewhere about a program called logrotate that were supposed to keep logs from getting to big, is this wrong and should mediatomb generate 3 separate log files with 5gb of data each for just 2 hours of streaming?

View 2 Replies View Related

Ubuntu Networking :: How To Generate Default Samba Configuration Files

Sep 1, 2011

I had some troubles on samba, so I re-installed it.After I uninstalled samba, I noticed old /etc/samba folder/ files were left, so I deleted all of them. Then I installed samba, however, no /etc/samba files were installed.How can I generate default samba configuration files??

View 4 Replies View Related

Hardware :: Print To File Printer - To Generate Postscript And PDF Files

Jan 12, 2010

My Ubuntu Karmic install has a very useful Print-to-File Printer configured which allows me to generate Postscript and PDF files.

I have Windows XP running on Virtualbox and I want to be able to generate PDF files using this printer but there appear to be no Printers configured.

View 1 Replies View Related

Server :: Generate Very Large Files And Simulate A Consistent Throughput To The LUN

Jul 6, 2010

I have a test RHEL5 box, sitting in a brand new Dell blade rack on a PowerEdge M610, with a lovely Emulex OCm10102-F-M FCoE card connected to a Cisco Nexus 5000 switch. The whole setup is extremely new (the cards only recently became available for purchase.) We've finally worked with Emulex to get the cards functional, and we are ready to some stress testing to the SAN. My question now is, is there a good tool I can use to generate a large amount of traffic to a LUN? The Wintel team used a windows-only tool that showed an average of 6gigs/second throughput, so I need something that can generate very large files and simulate a consistent throughput to the LUN. I found iozone, but I'm having a devil of a time with it.

View 2 Replies View Related

CentOS 5 :: Generate An ISO And Burn Into A DVD To Make A New Copy Of 5.4 Installation Disk?

May 19, 2010

Previously I have Centos 5.3 installed. Eventually I upgraded the systems to Centos 5.4 Now is it possible to generate an ISO and burn into a DVD to make a new copy of Centos 5.4 installation disk? This is far better than downloading.

View 1 Replies View Related

Fedora :: Generate Report Other Than Going Through All The Nagios Configuration Files And Putting It Together Manually?

Feb 23, 2010

I have an existing Nagios installation from before I started working here. It seems to be working well but my boss has just asked for a report of what servers and the associated processes/functions are being monitored. Is there any way to generate this report other than going through all the Nagios configuration files and putting it together manually?

View 3 Replies View Related

General :: Generate Random List And Determine Size Of Arbitrary Block Of Files In Dir?

Mar 4, 2010

I want to generate a temporary random list from a directory of files and then determine the size of an arbitrary block of files from this list (say 1-25 or 26-50) and add their names to a file along with some other info for each name. I can generate a random list with file sizes like this: ls -l | sort -R | cut -d " " -f 6 but i'm not sure how to add up the sizes of just a certain block of these files and at the same time save the file names.

View 2 Replies View Related

Server :: Kdump Doesn't Result In Dumps?

Feb 14, 2010

I have a dumb question but the google can't seem to answer it. When (if?) my host locks up (RHEL 5.4) I generally don't get anything in /var/crash . kdump is configured correctly and works (if tested using ` echo "c" > /proc/sysrq-trigger` as per Red Hat's KBase article) but in the real world, when the system locks up nothing ever ends up there.

So, on to the dump ( ) question - I have to crash it using Ctrl + SysRq in order to get anything out of this, right. If the box is comatose and doesn't respond at all to the point of being power cycled, it's all gone isn't it? Volatile memory being what it is and all; or is there some sort of magic / voodoo in place that makes it survive the reboot. And no, my Dell PowerEdge 1950 doesn't have battery backed RAM, so i'm quite sure that unless i can kill it through sysrq ...

View 2 Replies View Related

CentOS 5 :: Oprofile Unable To Complete Dump Of Oprofile Data

Apr 26, 2011

1. I installed oprofile 0.9.4 on Centos Linux 5.5 this past Saturday. Since then I have been trying to learn how to use oprofile 0.9.4 on Centos Linux 5.5. If I follow the following steps running as root,

[Code]....

I obtain the following warning: warning: the last modified time of the binary file does not match that of the sample file for /home/frankc/DQTTest5/MatchUpLib/lirh5g_deb/libmdMatchup.so Either this is the wrong binary or the binary has been modified since the sample file was created. warning: the last modified time of the binary file does not match that of the sample file for /home/frankc/DQTTest5/MatchUpTest/lirh5g_deb/MatchUpAccurate.exe

I am wondering how to prevent this warning message from occuring because it indicates our profiling results may be incorrect.

2. My second question is : when I use opcontrol --start --session-dir=/home/frankc/DQTTest/Mary5Test and profile my application using /home/frankc/DQTTest5/MatchUpTest/lirh5g_deb/Mary48.exe --run, I encounter an error when I do opcontrol --dump. The error is: Unable to complete dump of oprofile data: is the oprofile daemon running? Why is the oprofile daemon stopping when I use opcontrol --start --session-dir=/home/frankc/DQTTest/Mary5Test rather than when I use oprofile --start. I checked the permissions on /home/frankc/DQTTest/Mary5Test and it is drwxrwxrwx.

View 3 Replies View Related

Fedora :: Setup Kdump In Case Machine Crashes

Mar 9, 2009

I would like to set up Kdump in case my machine crashes (and it still does frequently) to send the message to putty running on my windows machine (or to my other server running fedora 8).

My preference goes to the windows machine, but I have no clue how to set it up. Is it possible to get the "screen dump" on my windows putty?

My server crashes downloading torrents at high speeds (which is kind of what I want to do)

View 2 Replies View Related

Debian Configuration :: Using Kdump-tools For A Forced / Staged Panic

Apr 23, 2016

I'm having some issues creating output from kdump-tools. (Initially to diagnose some system freezes when using wine, but now I can't a staged panic to work and provide proper output.)

I initially started following what is stated at this link: https://www.bentasker.co.uk/documentati ... ian-jessie

Where basically the author says:

Code: Select allapt-get install kdump-tools crash kexec-tools makedumpfile `uname -r`-dbg

to get all relevant tools.

Then in /etc/default/kdump-tools edit the following to :

Code: Select allUSE_KDUMP=1

in /etc/default/grub I edit the following line to the following :

Code: Select allGRUB_CMDLINE_LINUX_DEFAULT="quiet crashkernel=128M"

followed by update-grub. Then I get the pleasure of rebooting.

once I'm back in my system, I do the following.

Code: Select allecho 1 > /proc/sys/kernel/sysrq
echo c > /proc/sysrq-trigger

The system freezes, but does not dump any relevant information or reboot. It just hangs.

View 2 Replies View Related

Debian :: Tool For Squid Reports (not SARG) - Generate Less Amount Of Files - Optimal Is To Save Reports To The Database

May 9, 2011

I got the following task from my boss. I have to find out if there is some alternative tool for create reports from Squid except SARG. Now, we use SARG, but my boss told to me, that the main problem of SARG is, that SARG generate huge amount files, which cause problems during migration our servers. He told to me the following condition for change of current tool (SARG):

* standard package of Debian
* generate less amount of files, optimal is to save reports to the database

So I would like to ask you if you know about some tool (I can not find some by google)... and the best would be if you told to me some practical experiences.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved