Red Hat / Fedora :: Thread Dump - File Completely Blank

Dec 15, 2008

I'm having trouble trying to get a thread dump for tomcat. I have tried the following and none seems to work:

kill -3 <pid>
kill -QUIT <pid>
killall -3 java

Nothing shows up on screen. I also tried putting the out of the dump to a file with the > command but the file is blank.

View 5 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

Ubuntu :: Updating To 10.4 To 11.4 - Screen Is Completely Blank

Jun 21, 2011

i am a novice with linux but i love to use it. i am using ubuntu on an acer aspire5736z and after putting 10 on mysystem in conjunction with windows 7 (choose os at start up), i updated to 11. however after the installation had reset the computer, the screen is completely blank. i can hear the start up music so i know it has started but nothing!

View 2 Replies View Related

Debian Hardware :: Any Tools That Can Completely Nuke HD BLANK?

Jan 28, 2010

Are there any tools that can completely nuke a HD "BLANK"?and I don't mean just wiping the contents.I tried nuking a HD using the Gparted Live-CD to remove the partitions.The only problem is it kept GRUB. Since then I have failed to install any distributions of Linux and I have tried several. They all hang at some point. I had a Debian Lenny v5.03 Net Install on it previously before the NUKE but the same disk I used them and the current one I re-downloaded both hangs.In other I need a completely blank HD. No Boot sector, no Master Boot Record (MBR),

View 7 Replies View Related

Ubuntu :: Downloaded Xsensors From Repository But Screen Is Just Completely Blank?

Mar 13, 2010

Downloaded xsensors from repository but screen is just completely blank?

View 3 Replies View Related

Programming :: How To Bind Thread To Specific Thread In Multithread Application?

Dec 25, 2010

I am going to use "pthread_setaffinity_np" to bind a thread to a specific core. My application has two threads. I have used mutex to assign a specific id to each thread and then bind that thread to a core different from another core. but it seems that the os assigns both thread to one core.What should I do to bind each thread to a specific core?

View 4 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 :: Can't Dump / Restore A File

Feb 18, 2010

I got a backup file which first 1000 bytes are as follows:

Code:

00000000 54 41 50 45 00 00 03 00 8c 00 0e 01 00 00 00 00 |TAPE............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000030 02 00 87 05 51 64 50 48 01 00 00 00 01 00 00 00 |....QdPH........|

[code]....

I tried to restore it:

Code:

$ restore -r -f zzz_labxxxx
Checksum error 32615101403, inode 0 file (null)
restore: Tape is not a dump tape

What application could I use or even try? The man who made the backup can't be reached anymore and we had been left with the backup.

View 1 Replies View Related

General :: Creating Dump Of Existing File?

Oct 21, 2009

How to create a dump of an existing file and how to restore it with command line?

View 6 Replies View Related

Software :: Testing A Postgres Dump File?

May 13, 2010

We are going through the motions of testing the backup and restore configurations of our postgres database. One idea was testing the viability of the dump file. Does anyone know of a way of testing the dump file to determine if there is any corruption in it

View 2 Replies View Related

Debian Multimedia :: Getting The Subtitles To Be Included In The File Dump.vob?

Jul 1, 2011

Doing this: mplayer dvd://1 -v -dumpstream -dumpfile dump.vob Gives me all the audio tracks, but not the subtitles. How can I go about getting the subtitles to be included in the file dump.vob? I've tried something like: mplayer dvd://1 -v -sid 5 -dumpstream -dumpfile dump.vob (where -sid 5 was the correct subtitle) but this does not work. I'm going to use mencoder to make an .avi file (with subtiutles, obviously), so I could, as a last resort, use some other program that extracts the subtitles (suggestions?).

View 3 Replies View Related

Ubuntu :: Add Date Suffix To File Name During MySQL Dump?

Mar 17, 2010

I have a script (below) which works ok, but I have tried to modify it as I want to keep the older files for a restore if needed. I have tried adding a date suffix to the newly created files (second lump of code), but it doesn't seem to work.I get the error:

$SOURCEDIR/p1db_$DATEVAR.sql: ambiguous redirect

The working original script:

Code:
#!/bin/bash[code].....

View 1 Replies View Related

General :: Dump Command Backup Entire File System?

May 22, 2010

Does the dump command back up entire file-systems or is it capable of backing up subsets of a file-system? And is tar capable of taking device names (for file systems) as input to be archived?

View 1 Replies View Related

General :: Convert The Core Dump To A Readable Text File?

Nov 12, 2009

i just touch linux, may i know how can i convert the core dump file to a readable textfile, which include all the information, which is in core dump, such as all variables, threads information, call trace for each tasks, and so on. i know use the GDB can view this, but it won't dump all the informations to one text file. but sometimes, people want to view the core dump reason without Linux environment.

View 2 Replies View Related

Debian :: Upload A Screenshot.png File In A Thread?

Aug 13, 2011

I was trying to upload a screenshot.png file in a thread 'what your non-debian desktop looks like' on the 'off topic' section. However my filewas of length 509KB but only files of length lower than 256KB could be uploaded. What is the way to scale down the length of the file?

View 9 Replies View Related

Software :: Mysql Full Backup Script Not Archiving The Dump File?

Mar 20, 2011

I have a problem with a script i wrote, the script runs fine if manually executed however it doesn't run *fully* when executed via cron

here's the script :

Code:

#!/bin/bash
FILENAME=mysql_full_dump_`date '+%m.%d.%y'`.sql
`which mysqldump` --all-databases -uroot -p************ -h127.0.0.1 > /root/$FILENAME
RETVAL=$?

[code]....

the script resides in /root/bin and the cron entry is as follows:

Code:

0 0 * * * root "/root/bin/mysql_daily.sh"

the result is the .sql file, but it doesn't archive it.

View 2 Replies View Related

Fedora :: 11 System Freeze With Dd Dump

Jul 17, 2009

i've got a non-typical problem here. i've got kvm-ed freebsd (its not so important here) stored on a block device - /dev/sdb8. i wanted to install fedora rawhide there but first i thought it's a good idea to do some backup. so here we go dd if=/dev/sdb8 of=freebsd.img bs=4k

theoretically, dd should do the thing without saying a word, but it doesn't. every time it stops after reaching 16GB filesize (partition is about 35GB) and completely locks the system (only reset helps).the dump worked only once, but when i tried to compress this big image 7z got stucked too and the system froze . the problem occurs when copying to the same drive or to different drive. i've got a partial kerneloops logs, but so far i haven't found the answer.

Code:
Kernel failure message 1:
BUG: Bad page state in process bash pfn:14a224
page:ffffe200048377e0 flags:0040000000000000 count:0 mapcount:0 mapping:0000000000000002 index:2a4b (Tainted: P )
Pid: 9711, comm: bash Tainted: P 2.6.29.5-191.fc11.x86_64 #1
Call Trace:
[<ffffffff810a2be0>] bad_page+0x11d/0x130
[Code]....

View 2 Replies View Related

Red Hat / Fedora :: Pipe MySQL Dump To FTP Without Writing To Disk

Aug 8, 2010

I've got a Centos 5 machine running with a raid 1 SSD hard drive combo, as I don't know how or even if it's possible yet to wipe the free disk space clean I need to be careful to not fill all the free disk space. As I don't want to fill the free disk space too quickly and was wandering if it is possible to pipe the result of a mysqldump to a FTP client only writing it to the ram and not writing it to this disk.

I've done a bit of research on the subject and have found the two following commands:
Code: mysqldump < mysqldump options> | gzip > outputfile.sql.gz
Code: tar cf - / | ncftpput -c sonic.sega.co.jp /usr/local/backup.tar

I would like to combine the two to make something like this:
Code: mysqldump mysqldump_options > | ncftpput ncftpput_options -c SERVER_IP backup.sql

I haven't actually tried my code as it seems too easy and I'm sure I've got something wrong! If this command is even correct will it prevent the sql file from being written to the hard drive to my local machine?

View 4 Replies View Related

Fedora :: Cannot View Posts To Thread ?

Nov 16, 2010

For some reason I cannot view my own postings to the thread I started here: [url]

I can only view the reply to it by jbuckley2004.

View 2 Replies View Related

Software :: Redirect Stdout To File Produces Blank File

Dec 27, 2008

I cannot redirect output from commands such as iptables, iptables-save, and ifconfig. For example, any of the following DOESN'T work ( as root ):

Code:
iptables > tmp
iptables-save > tmp
ifconfig > tmp
The file tmp is ALWAYS blank, that is, 0 bytes in size. Wackier things DO work, such as:

Code:
echo "`iptables-save`" > tmp
iptables-save | tee tmp
Other commands like:

Code:
ls > tmp
DO work as expected.

Note that this problem happens regardless if I log-in remotely via ssh or locally on the computer in question. I am clueless as to what is causing this. Any ideas?The box is running 2.6.25-14.fc9.i686 and boots to runlevel 3. The modifications I've made to the box since installing the OS are things like compiling/installing latest OpenSSH,OpenSSL,httpd,BerkeleyDB,subversion,zlib etc -- nothing really out of the ordinary I'd say.

View 5 Replies View Related

Fedora :: 11 - Gpsdrive - Message - Thread System Is Not Yet Initialized - Aborting

Nov 7, 2009

When I try to start gpsdrive i get the message gpsdrive GLib-ERROR **: The thread system is not yet initialized. aborting...Aborted.

View 1 Replies View Related

Fedora :: What Happened To Danger Mouse's Fedoraplus (autoten) Thread

Jun 1, 2011

Does anyone know what happened to Danger mouse's Fedoraplus (autoten) thread?I note his site is down for maintenance.

View 6 Replies View Related

Fedora :: Images Come Up Completely Black?

Jul 15, 2009

I have a problem with images showing up as black boxes in konqueror, firefox, galeon, etc. I originally thought the problem was Firefox related, so I updated and the problem is still there.

I can't find anything with search that matched this exactly, so if I overlooked.

It seems to me that any time an image is re-sized it shows up as a black box. If I look at a wallpaper that's large, say 1200 x 800 or something, and the browser tries to resize it, it comes up black. However, if I click the same image and it returns to it's actual size, it looks perfect, as it should.

I look at a website I have to individually view each image and this is beginning to drive me crazy!

I have an Acer 5515 Laptop, with a ATI Express X1200 graphics card. I have taken a snapshot of when it happens.

[URL]

View 4 Replies View Related

Fedora :: Cisco VPN Crashes 11 Completely?

Oct 19, 2009

I'm running fedora 11 and cisco version 4.8.01 (0640). When I connect to my work, and get authenticated, the system freezes completely. In searching it looks like at one point updating the kernel to a new version resolved this, at least for the 64bit implementation. I'm running 32bit and I'm on kernel kernel-PAE-2.6.30.8-64.fc11.i686 which is a newer version then what was listed in the other thread.

View 7 Replies View Related

Fedora :: Vista Is Completely Messed Up

Mar 28, 2010

Seems like everything started after using the command grub-install /dev/sda1 [the partition where Vista is installed]When I choose Vista as the operating system it displays a scary error: Code: Windows failed to start. The selected entry could not be loaded because the application is missing or corrupt.However, Windows XP & Fedora 12 work perfectly.

View 5 Replies View Related

Fedora :: Completely Uninstall Wine ?

Aug 21, 2010

Hello people. So, some days ago, I Installed Wine in my machine, and it was working pretty good. But I decided to add WineTricks. Since then, I can not install any program using wine, nor open the installed ones (gives me errors). So, does anybody knows about a way to completelly uninstall Wine? I have tries "yum remove Wine" and "yum remove wine*", but it doesn't do anything. I am using Fedora 13.

View 6 Replies View Related

Fedora :: How To Get Skype Completely Functional

Feb 4, 2011

I have an older Compaq MT D220 with 2.4 GHz Celeron proc and 756 MB RAM, with F14 installed exclusively. I've yet to get Skype completely functional under these conditions. The loopback audio only test usually produces no sound or very broken sound. I tried upgrading my DSL from 3MBps max downstream and 0.5MBsp max upstream, to 6MBps max up and 1Mbps max down - to no avail!

System Monitor shows CPU and memory are below 100% utilization, and Skype's real time call stats show 0 packet loss. Perhaps using a leaner GUI than Gnome? I'm happy to report that as expected, other than this Skype issue and some lingering DVD-ROM and BackupPC issues, this old HW is much more tolerable with F14 than Windows XP!

View 2 Replies View Related

Ubuntu Servers :: Php File Is Blank In Browser?

May 24, 2010

I finished deploying work for my web server with Ubuntu 10 lts, everything testing is pass, only the php file issue, I put a testing php file in the /var/www/testing.phpbut I open a firefox, and then I saw a blank page, I am sure that Apache read the file, but why return a blank page in browser,

View 9 Replies View Related

Ubuntu Installation :: Pxelinux.cfg File Is Blank? 0 KB?

Apr 28, 2011

why is the natty 1104 alternative pxelinux.cfg is blank? 0 kB?

when I deploy natty to my workstation, I get a message that said it cannot locate the configuration file. Then I look at the pxelinux.cfg. It is 0kB. Is this normal?

View 2 Replies View Related

General :: Create Empty Or Blank Iso File?

Nov 23, 2010

I having been searching for a way to create an empty or blank iso file, so that I can mount it, and have a backup application think it's a blank CD. I am tired of wasting CD's by having the application write a recovery CD, just for me to turn around and export it to an iso image to be stored in a online archive, and then throw away the physical CD.

View 5 Replies View Related







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