Server :: Dump Kernel - Discovering More Detail?
Jun 5, 2009I need to discover more detail error kernel panic in my linux box, some body know any way do dump in kernel Linux?
View 1 RepliesI need to discover more detail error kernel panic in my linux box, some body know any way do dump in kernel Linux?
View 1 RepliesMy application team is asking me to generate the kernel-dump.
Here are details about my server.
OS: RHEL 4.7/32 Bit
Kernel Version: 2.6.9-89.0.23.ELsmp
Processor: Intel(R) Xeon(R) CPU E5520@ 2.27GHz
Hardware: HP Proliant 380G6 series server.
I am using Electric Cloud applications. Sometimes it creates some kernel panic and immediately got rebooted. Kernel-debuginfo rpm is not installed. In some thread, I read the kernel-debuginfo rpm's version should match with the kernel version. In my case I couldn't even find the exact version of kernel-debuginfo version.
I want to check my system general log file by
Code:
It is not showing me detail.
How do I get a full kernel dump?
View 4 Replies View RelatedI 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]...
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.
I am still new in linux (Redhat) i used dump command to backup the root of the linux server: #dump -0u -f /dev/st0 / the command is achieved. how to restore this dump.
View 2 Replies View RelatedI'm quite new to linux, but I've managed to grasp some basics. Now my intention here to create a virtual directory, which I resorted to creating an Image File so that I can mount it and have my folder have a dedicated storage. I will mount this image as a loop device. Well it's not much of a problem, but I would like to know whether this is suitable. Say I want to create a 25GB Image.
Code:
dd if=/dev/zero of=/home/disk-img/25GB.ext3 bs=1G count=25
Is this recommended? I'm using block size as 1G which is really huge, so I was wondering, if this is actually recommended. From what I read, some said that it's only advisable to use 4096k or lower, but what I found was that these suggestions are very dated (year 2003), and it is now 2010, so I would like to know if it makes any big differences.
I am using RHEL 4.7 (32bit) on HP Proliant 380G6 series server. We are using Electric Cloud Agents on these servers. Nowadays we are facing some memory issues and its creates some kernel panic and then restarts the server. When i reported the issue to my application team, they asked me to come with the core dump. I googled it enough, then i set ulimit value as unlimited. (previously it was 0, then i made a entry in /etc/profile file as follows
ulimit -c unlimited) But still whenever my server restarts due to that kernel panic, it couldnt generate the core dump. My application was installed on /opt
The attached document has the kernel panic logs
Using CentOS 5.5. I have a handful of users that I need to have connect to my server via sftp and start in the same directory. for example, user1, user2, user3, etc.. will connect via sftp and upon connection will all be in the /some/dir/path/ftp-root directory.I know one way is to create these users all with the same 'home' directory, since by default a user starts in their home directory when connecting via sftp, but before just doing that, I wanted to find out if that is really the appropriate method to use? alternatives? Is there some setting on the sftp server end that could direct all users to one starting directory so that these users don't have to have the same 'home' dir? I'm using the sshd daemon that comes with CentOS 5.5 (with all current updates/patches)
View 4 Replies View RelatedHaving done a short DoD wipe of hard drive (Dareks Boot & Nuke),I installed Windows XP on the first half of the drive and again zeroed the other half of drive for installing Debian.Please see attachment of screen shot for command lines input and output.After doing a grep for non zero characters on the second half of the drive(sda2)I was puzzled to find a grep command line search for non zero characters actually turned some up. I have no idea why they are there or what if anything they mean
View 4 Replies View RelatedIs there any command available inorder to read the server crash dump files?
View 4 Replies View RelatedNeed confirmation if the following scenario works for making my client and server as identical?
My local(source) Linux server @192.168.0.2
My remote Linux client @192.168.0.70
On the local system :
#df -m
Filesystem Mounted on
/dev/hda3 /
/dev/hda1 /boot
tmpfs /dev/shm
On the local system , issue the followings to make client and server as identical :
#dump -0uvf - /dev/hda3 | ssh root@192.168.0.70 -c "restore -rf - /"
#dump -0uvf - /dev/hda1 | ssh root@192.168.0.70 -c "restore -rf - /boot"
#dump -0uvf - /dev/shm | ssh root@192.168.0.70 -c "restore -rf - /tmpfs"
One of my clients needs a backup of his svn repository. I see that this is possible using svadmin dump command. I see where the location of the source repository is, but I don't see anything in documentation as to where the actual dump file is located. I need to know where the dump file is so I can scp or rsync the file to another server for backup.
View 5 Replies View RelatedI have an Epson RX610 printer attached to the USB port on my Thomson TG782T router.Works fine for our 4 PCs and laptops whilst running Windows XP.I don't seem to be able to add the printer under Ubuntu.I've tried all the addresses mentioned in the Active Network Connections.Ubuntu goes off an searches but doesn't find the printer (yes, it is switched on!)What address should I give it as a network printer?
View 2 Replies View RelatedI am trying to determine best method for monitoring filesystem for invalid file permissions, 777 or on NFS share but owned by root etc.
View 2 Replies View RelatedSuppose that I am in a private network of computers (say each having ip addresses 192.168.. ). Some of the machines( we have no information regarding their ip, name and no physical access to the servers) in the network are connected to internet and they run an http proxy at some port say 3128. Is there a program which can be run on Windows or Linux which will give me the list of machines(ip addresses and ports if possible) acting as proxy servers?
View 1 Replies View Related1. My machine [running Karmic Koala] is part of a corporate LAN with NIC details below
Quote:
2. My routing table:
Quote:
3. The network printer's details [as read from the printer's display interface]:
Quote:
My question:
This printer can be discovered by windoze machines using "Find printers" and then added. [Am not sure how this works!]
But when I try to discover the same from my ubuntu machine, its not getting discovered. Tried pinging the ip [172.20.254.158] which gives the following:
Quote:
Now I tried fiddling around with the route command along with good amount of googling but to no avail.
1. Is there a way I could add that printer to my machine?
2. If yes, how could I? Does it involve adding routes?
Kernel: 2.6.21.5, O.S.: GNU/Linux (Slackware 12.0).du (GNU coreutils) 6.9.Sort of a stupid question, maybe. But can you explain this?
Code:
root@foo:~# du -h
8.0K ./.links
[code]....
I want to check my system general log file by the following command.
PHP Code:
It just show me only these two lines Normally every day at morning I check all system general log files and some times it is too much long that I press space bar to go my prompt.
I have decided to jump from windows to Opensuse and experince more of an Linux world. Windows always stores its boot detail in MBR similarly for Linux too but i have learnt that in many different installation of Linux that we can store in the first part of the Partition but trying out i have always failed to start, since the MBR fails to identify it. I have also tried EasyBCD and adding the link to Grub as the first partition but that too it din't work.
Question 1: i hate to writing multiple times on my MBR.
Question 2 Also let say due to some reason if i have to reinstall my windows the GRUB get lost. How can i restore back.
I have two machines, both are centos 4.4 (one is a virtual machine, the other is not) they are treating file timestamps differently. Below is an example from each of the machines to demonstrate.
Code:
[behaving as expected]
-bash-3.00$ ls -1t --full-time
[code]...
finding UNIX networking commands in detail?
View 6 Replies View RelatedNormally to find out some info on a package we have installed on our system, i pop open a shell window and execute: yum info <packagename> and this returns a lot of useful info (in this example, lets consider GIT) about statistics on currently released packages:
Code:
Name : git
Arch : i386
Version : 1.5.5.6
Release : 4.el5
Size : 8.4 M
Repo : installed
Summary : Core git tools
obviously using a few commands at the shell is a little bit easier than this, but some users may be using software without ssh access enabled.
[Code].....
However, is there a way to do 'yum info' like commands via the web browser on packages that are released but that we haven't yet installed or updated to? Or even on packages in other repositories (RPMForge, CentOSPlus) without having to configure our version of YUM in include those repositories so we can query them? I guess in the debian-sphere, the way i used to do stuff like this was via their website. Like for git, i did:[URL]
My server is running Red Hat 4.1.2-44.I am having an issue with it hanging (website doesn't respond, can't connect via SSH (it's a remote server)) after 4am on every 3rd Sunday or so.A reboot is required to get the server responding again.I have checked every logfile I can find and found nothing that helps me. The thing I have noticed is that some of these log files start afresh after the reboot so my initial thoughts are that it is a logrotate issue or something similar.
The last activity I can find before the reboot (at 8:32) is in the logfile /var/log/cron:
Mar 28 04:22:01 crond[9356]: (root) CMD (run-parts /etc/cron.weekly)
Mar 29 08:32:39 crond[3884]: (CRON) STARTUP (V5.0)
[code]....
To get the kernel messages of new java process, i refer the details from /proc/<java pid>/stat and /proc/<java pid>/statm files. For some java processes, I didn't find any details in the /proc/<java pid>/statm file. It has only 7 number of 0s. But /proc/<java pid>/stat file has the details. And also this kind of process will have the life time of nearly 1 minute.
Kernel version using: Linux-2.6.18-8.1.8.el5 Is there any possibility of java process without the memory details in the /proc/<java pid>/statm file? If it is possible, how to know the memory related details of that processes?
I am going to parse the Cisco voip CDR(Call Detail Records), please tell me the field format of the CDR files.
View 1 Replies View RelatedMy company support a client with an old Redhead server " Linux version 2.6.9-5.ELsmp [URL] (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:30:39 EST 2005" My IT department wants to move this old server to a VMware machine and I'm trying to check if this project can fly. Me my self never worked on an old Linux server there for my first question is can I upgrade the kernel with the command yum -y install kernel..... and when I'm done I'm still going to have the old kernel just in case?
View 1 Replies View RelatedI am trying to install CentOS 5.2 on an HP rp5700 desktop unit. These units were originally sold as a Point of Sales unit I believe, but HP also markets it as a high life cycle server for SMB market.I tried to load CentOS on this unit via CD (created from downloaded ISO of course). It presents the initial CentOS banner page and waits for the obligatory "enter" to continue. It begins the boot process up to discovering the PCI stuff and just locks up, no response. I have to power down to restart.Since this does not even get to the point of installing. I am at a loss what to do next. Has anyone had a similar issue with other PCs.The boot stops at the lineACPI: PCI Root Bridge [PCI0] (0000:00)
View 3 Replies View RelatedCurrently I am looking at the following way to solve my problem that uses more than 3GB RAM on 32-bit Ubuntu.
[url]
For various reasons, I am trying to downgrade server kernel to desktop kernel. Can anyone given me some ideas?