This is a small piece of code snippet I am pasting here.I have a hunch the memcpy is corrupting it. The platform is X86_64.Should I be doing a malloc on those variables inside memcpy and then use them in there?
static int
write_cmpOMCSequenceTag(
u_char *var_val,
I'm running Fedora 15 with current updates and kernel. I do not have anything special or non-standard about my configuration or setup. I use grsync to sync my home folder files to a remote rsync server on my network. I've checked my hard drives and my memory and everything else I can think. Here is the problem:
grsync will run for some time and once it nears completion it will crash. This, however, is no standard crash. It literally shuts my computer "OFF". I have shared the remote rsync folder through CIFS as well and I can copy those exact same files through nautilus with drag and drop without issue. I have had a few occasions where the rsync process will complete without issue, but this is a rare occasion. Since it powers my computer completely off I do not enjoy the luxury of having any log files or messages to attempt to diagnose from.
I came home from my walk and my monitor was black, no activity when hitting keyboard or mouse. Shut down machine and then waited for reboot, it sticks to the same moment as picture posted. I tried dif boot seq in the selection but no luck. I cant find my boot disc.
Due to this problem, everything that uses python is not working.
/lib/librt.so.1: symbol pthread_barrier_wait, version GLIBC_2.2 not defined in file libpthread.so.0 with link time reference
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the current version of Python, which is: 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]
After installation of Red Hat Linux Enterprise Server 5 on to my desktop computer i got d below error and it can not booting to next screen, on da sreen displaying dat, code...
memory for crash kernel (0x0 to 0x0) not within permissible range
I have a problem with scrn and keyboard freezes. This time it only threatened to crash, and I've noticed something in /var/log/ mssge that might lead to a solution (if I understood it)
Apr 5 06:42:04 Den-mint kernel: [ 233.209761] EXT4-fs (sdc1): warning: mounting fs with errors, running e2fsck is recommended It's imediate context is below.
I'm running Scientific Linux 5.5 (equivalent to CentOS 5.5), and over the past two weeks, I have had a problem with my root partition filling up, preventing anyone from logging into the server.After searching for large files, and finding none, I was mystified when du told me that the root partition had only 660 MB of disk space used, whilst df showed it full. The problem was this: the /var/crash directory had been filled up by an 8GB crash file. Now, I'm a 'proper' sysadmin and make sure that /var has its own mount point, so the crash should not have touched the root partition at all. Except it did - instead of writing to /var/crash on /dev/mapper/VolGroup00-LogVol04 which is mounted as /var, it wrote the file to /dev/md0 directly, so when all the file systems were mounted, those files were hidden under the mounted /var.
Every time I have Compiz activated and I try to watch a video full screen using VLC Player, or even Movie player, the player crashes. When I turn Compiz off, all is fine. How can I fix this?
I am on dual boot alongside windows 7 (which works fine). However, when I try to boot into linux I get a few minutes of the ubuntu icon. (sorry for lack of technical terminology). After a few minutes i get terminal sort of screen saying: fsck from util-linux-ng- 2.16 /dev/sda5: clean, 165561/625856 files, 984444/2502115 blocks I have attempted to boot from the live cd I installed from and there is no system response from it. How to either uninstall linux from here or just to get it to boot.
Since a couple of months, the machine is hanging itself. I can't connect in any way to it. I have it in a Datacenter far away my office, so when it happens I have to ask the provider to reboot it manually because it always happen in working hours and my clients gets mad on that moments. It happens every 15 days (more or less). It is very difficult to get the procesess status, but today hangs again and I could connect (a very very slow connection) and save a "ps aux".
[Code]...
There are some scripts that you can see as "php /var/www/html/call_engine.php ..." that are consuming CPU more than I expect and I will correct, but I would like to know about the other processes like many crond or the "/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t". Or maybe the whole problem would be the php script?
I have a gentoo distribution and need to store the information of dmesg collected until a system crash. At present, after a reboot or a crash the information in dmesg are lost and are not available at the next reboot. How can I save all the information in dmesg until a crash and read them after the succeed reboot?I also checked for dmesg.x files in /var/log or similar files but with no success.
I don't understand why, but my Slackware is totally crash after ~10min work. My guess is Nvidia is fault. Which logs I could see where the problem is? X (startx) work fine. My video card is: geforce 240. installed slackware 13.37 64 bit.
Code: #!/bin/bash ulimit -c unlimited while true; do ./executeable; done
When i will write this in console it will run executeable file and it will generate report : core.pid after crash so i can gdb the report. The application after crash will restart how can i prevent restarting the application after it's crash?
I have a very powerful I7 Intel processor. On this computer I want to simply run an instance of Apache Tomcat (dedicated server) running a java application with a bunch of things like mail server, servlet container, jasper, etc. Some versions of linux have too many features that I do not need. I do not want the clutter of features I will never use. What is the bare bone version of linux distrib? would that be debian?
These two distributions seem to be popular elsewhere on the internet:
I'm trying to come up with a startup init script that will check to see if the system was shut down gracefully, or if it is rebooting from a poweroff or something similar?Anyone know of a way to check for this condition with the least amount of room for false positives or vice versa?My intial thought is just a startup script that will will check for a file on startup, and on a proper reboot/shutdown just touch the file. But id like to avoid that type of script if possible,
How do I get rid of this message during boot. I have tried the system-config-kdump command but it gives me a "no command found" reply. I am using CentOS 5.4
I have an HP laptop with both Ubuntu 8.04 and Windows Vista installed on it.
The other day I noticed I was running out of space in the main linux partition (the / partition, not the /home partition), so I decided to move some space from the Windows partition and move it to the linux one. I used a GParted Live CD to do that.
My partitions are ordered as follows: Windows Vista partition (NTFS) Main linux partition / (ext3) Linux home partition /hom (ext3) HP RECOVERY (NTFS - I don't know what it is, it just comes with HP laptops that have Vista on them)
So I shrank partition 1, and then "moved" partition 2 to enlarge it (GParted said everything was alright).
After doing that, I went to my linux and everything seemed to be fine, I'm also quite sure I had access to my Windows partition as always. But today I tried to start my Windows and it just got stuck on the "loading" stage (that screen that says "Microsoft Corporation" and has a green loading bar). So I shut the computer down manually (by holding the power button for a few seconds). After doing that a couple of time, I went to my linux, which worked just fine, but I was not able to go to the Windows partition. You can see how GParted looks now for my computer:[url]
As you can see, the first partition (/dev/sda1), which is supposed to be the Windows partition, is not mounted and the system doesn't seem to be able to read it properly. Here is my attempt to mount it manually:
Code:
Mount is denied because NTFS is marked to be in use. Choose one action:
Choice 1: If you have Windows then disconnect the external devices by clicking on the 'Safely Remove Hardware' icon in the Windows taskbar then shutdown Windows cleanly.
Choice 2: If you don't have Windows then you can use the 'force' option for your own responsibility. For example type on the command line: mount -t ntfs-3g /dev/sda1 /windows/ -o force
Or add the option to the relevant row in the /etc/fstab file: /dev/sda1 /windows/ ntfs-3g force 0 0
I changed the user name using the User Properties window and rename the home directory with the new user name. Did not change the Group Name. The new name is ResearLab
When I restarted the system I received an error message: Gnote Crash gnote 0.7.3-4.fc14
Following are the messages:
(1) could not update ICE authority file/home/ResearLab/.ICE authority There is a problem with the configuration server
(2) /usr/Libexec/gconf-Sanity-check-2 exited with status 256
(3) Nautilus could not create the following required folders: /home/ResearLab/Desktop, /home/ResearLab/.nautilus. Before running nautilus, please create these folders or set permission such that natilus can create them.
A. What did I do wrong? Is it not possible to rename a user in Linux? B. How can I correct this problem? C. Should I have created a new user instead or renaming an existing one? D. Can the primary group be renamed?
I'm using centos 5.4 on an Hp Compaq 500B, 4GB ram,I have just installed centos when i try to boot the pc it says "memory for crash kernel not in permissible range, pci not using mmconfig" then it shuts down after a while.
I've installed LINUX for the very first time and when i rebooted it, i found this message on my screen "Memory for crashkernel notwithin permissible range" I tried all my attempt like given memory to kernel with this command "crashkernel=64M@16M" but no luck... Finally i tried to boot into single user mode might be it helped me..but same results
I had 2 unsaved Open office docs crash. It said something about saving them for recovery. But they havent reappeard. Is there some where i can look for them?
Any time i try to open skype it closes out fully in 5 seconds (not even in the processes anymore). I don't know why or how OR how to make it stop being so mean to me! i'm running ubuntu 10.4 32bit . I tried to boot it in safe mode and umm.. it froze? or crashed? well it was on the black screen with the blinking dot for like 20 mins before i gave up on it (Hiting enter or esc or anything didn't work). There was a key symbol on my panel before skype acted up(It closed and disabled something.. i've never seen it before). Adobe also crashed, and linux did a small update (nothing with skype).
For example we have a PC with Linux and, let's say, ext4. It is connected to another PC with Linux and Samba-shared dir.First PC mounted shared dir of the second one. So it's in the filesystem, for example in "/mnt/000/". What will happen if I unplug the net cable from first PC? Will ext4 on the first PC crash so I'll have to perform fsck? I know that hot unpluging of mounted HDD probably will make filesystem read-only available and generally damaged.
I often run calculations on my Linux computer, which cause my X server to crash from time to time. Almost always, some programs seem to survive to the crash and are in an interruptible sleeping state, for example:29315 ? Sl 54:35 /home/kashim/Desktop/anylogic/anylogic -vmargs -Xmx1024MIs there a way to reconnect these applications with the new X server?
I am currently creating a usb device driver consisting of mostly read and write commands. It can successfully read/write using the bulk endpoints, however reading from the interrupt endpoint causes a system crash.As the crash happens whilst writing to kern.log, the file doesn't get a chance to close, therefore done of my debug printk calls are saved. Also, I get know response from using the magic sysrq key.
Does anyone have an ideas on how I can get any system information about what's causing the crash, or possible causes of the crash. (Using a usb sniffer running on another pc, I can see that the packet is coming in from the interrupt endpoint).