CentOS 5 :: Application Hangs In Conditional Wait?

Dec 18, 2009

I am facing the following issue. My application runs perfectly in red hat linux(32bit, 64bit physical m/c and 32 bit vmWare m/c) and in one version of centOS(32bit physical m/c - don't remember the version:Sorry). However when I am running the same application in CentOS 5.4 (64bit version) I face the following issues -

a. the application gets stuck in the conditional wait even though the signal is sent after the application has moved to conditional wait. b. vsftpd service start fails from within the application even though the service starts and stops peroperly from console.

View 6 Replies


Ubuntu :: Fullscreen Application Hangs?

Apr 6, 2011

ll the time for me and when they do, I can't do anything.The typical case for me:Trying to run something, application hangs.The screen is either black or an image of the previous used app (aka not responding).This is when i try all sorts of key-combinations to get out of it to either get to a console or some other way to shut the crashed application down, but since the application is crashed and all the keys are overrided (either that or not responding), I cant do anything.Things I've tried pressing:

ctrl+alt+delete (you never know if something useful will happend (: )
ctrl+alt+f1 (I actually thought this would work, but no)
alt+tab (this was my second hope!)


View 5 Replies View Related

Programming :: Multithreading Application Hangs

May 5, 2009

I have developed a proprietary multithreaded application using Qt library version 4.2.1 on RHEL 4 platform. The application communicates with different external interfaces using serial communication using well defined protocols. For each system I have a thread that handles data acquisition and processing, it sets an update flag which is read by the GUI thread to update GUI after specified number of seconds. The incoming data from external systems is processed and updated on GUI at certain intervals. Each system update rate on GUI is different. Generally it is 1 second. Their rate of sending data is different and is generally 1Hz, 5 Hz and 10 Hz. For systems with string data I have no issues. But some systems send raw data and I have to process every byte of the entire packet, for which I have to use for loops. Now my problem is if I keep the update rate of GUI for such systems less than a fixed number of seconds (which I have to calculate by hit and trial) the application hangs after sometime. I have tested this system exlusively by switching of all other systems and it hangs standalone.

This leads me to conclude that timing of GUI update is what is causing the application to hang. Also I read somewhere on the net that in multithreading application timers play an important role and slight variation in timing can lead to hung applications. As of now I have kept 5 seconds as the GUI update time and app runs fine. Can somebody suggest something else which might be the cause?Note that I have used mutexes, wait conditions and all necessary tools which are used in multithreading app. But it is only the timer on which I could pin down the issue.

View 6 Replies View Related

General :: WINDOW XP Application Hangs Frequently

Jan 19, 2011

we have new dedicated servers to run our application server oracle developer forms 6i, remember we have not install anything other the rhel 5.5 64 bits, since it is BIN files to execute from we have problem encounter, we create a new share/premia where our oracle forms 6i and report 6i BIN or say executables there, and it work fine we made setup. but while users are working every all of sudden it hang and says not responsing.

View 1 Replies View Related

Software :: Conditional Operator In C?

Feb 24, 2010

if anyone knows plz explain this conditional operator timeout ? : MAX SCHEDULE_TIMEOUT

View 2 Replies View Related

Ubuntu :: Bash If/then Conditional Syntax?

Feb 7, 2011

I pride myself on at least trying to help myself before I ask, but I've been staring at this a long time, I'm just not getting any traction.I've literally got 3 linux references on my desk right now that say that I should be able to use if conditionals, for example

[ -d FILE ]True if FILE exists and is a directory.
[ -e FILE ]True if FILE exists.
[ -f FILE ]True if FILE exists and is a regular file.


View 7 Replies View Related

Server :: Conditional (on Ip Address) /etc/issue.net Possible?

May 27, 2010

I'm running Debian with openssh 1:5.1p1-5 and I've got an operational and legal /etc/issue.net but I'd like to make it depend on the incoming IP address. To be more specific, I'd like to achieve that no banner is shown when logging in from my company's IP range(s) or when logging in from home, but any unknown address (potential intruder) should be confronted with our legal warning.Is this at all possible?The server is located off-site and only has one ethernet device active (i.e. I cannot say eth0 is external, eth1 is internal)

View 3 Replies View Related

Software :: Makefile Conditional Does Not Work?

Jan 29, 2010

I'm trying to write a make file to deploy software in a production setup.

The first thing I'm trying to do is detect if the user running the make is root.

From the documentation scattered about, I came up with this:


USERID=$(shell id -u)
$(info User Id is $(USERID))
ifeq ($(REQUIRED_USER),0)
$(info Running as root... OK)


As you can see, in both situations, make executes both branches of the conditional.

View 6 Replies View Related

Programming :: Conditional Foreach Loop In Perl?

Jun 1, 2010

#!/usr/bin/perl -w
use strict;
my @files = `ls -1`;


View 2 Replies View Related

CentOS 5 :: Centos Installation In Vmware Hangs At Selinux-policy-targeted?

Jun 14, 2010

i am trying to install centos 5.5 x86_64 as a guest OS in vmware server 2.0.2 using netinstall iso. Installation runs fine until the point, when it tries to install selinux-policy-targeted-2.4.6-279.el5.noarch, the whole virtual pc hangs at this.any ideas? i tried to google few things about this, but i have found nothing. this has happened 3 times in row, whole virtual pc always hangs at the same package. i dont have any other problems with vmware, gentoo runs and installs fine in it.i would prefer to do installation using netinstall.iso, it would take a lot of time to download all cds or whole dvd and all i require is a very basic set of packages.

View 7 Replies View Related

Programming :: Cannot Get Conditional Statements To Work In XDialog/Dialog

Feb 5, 2011

I cannot seem to get if else statements to work. if $choice == Dog then i want it to say "you selected Dog" The variable choice has the value Dog in it as proved at the end by echo "yes $choice is $choice" following the error Code: ./test.sh: 37: [$choice: not found How do i get the conditional statement to work? What's wrong here? This is the full script:


#! /bin/sh
: ${DIALOG=dialog}
: ${DIALOG_OK=0}


View 7 Replies View Related

General :: BASH Script Alphabetical Conditional Operator Query?

Mar 14, 2010

I am using "if" to force a word under the condition that the first letter of that word must be a letter of the alphabet, regardless of capitalization, using the " "" != "" " syntax.

Like so:

if [[ "$interface" != "WHAT DO I PUT HERE?" ]] ; then
echo "Invalid input"
exit 1

View 5 Replies View Related

CentOS 5 :: CentOS 5.4 Hangs Just Before Desktop Loads?

Apr 1, 2010

My Dell poweredge server running CentOS 5.4 and booting kernel-2.6.18-164.15.1.el5. All boot processes seem okay and the graphical screens for CentOS operate, but just before the desktop loads the screen goes blank and the arrow/cursor is being circled by small spheres. This remains indefinitely. While the arrow is being circled, here are the results of 'getinfo.sh device'

Quote:==================== BEGIN uname -rmi ====================
2.6.18-164.15.1.el5 i686 i386
==================== END uname -rmi ====================


View 9 Replies View Related

CentOS 5 :: Udev Hangs After Upgrade To CentOS 5.4?

May 7, 2010

I have encountered the same problem as indicated in this post: "udev hang after upgrade from 5.3 to 5.4"[URL]... I'm testing the upgrade path to centos 5.4 on several virtual machines prior to upgrading our production systems. I have upgraded centos 5.2 --> centos 5.4 and centos 5.3 to centos 5.4. In both cases udev hangs after the upgrade. The following message is displayed on the console: "Starting udev: Wait timeout. Will continue in the background [FAILED]"

I found another related post: "udev hangs on boot for a long time, suspect pam_console_apply"[URL]..So, I booted by VMs using the "udevdebug" option to grub and received the same error message - "udevd-event [###]: run_program: Waiting ## seconds for output of '/sbin/pam_console_apply /dev/..."

In my /etc/ldap.conf file "bind_policy hard" is commented out. I added a line "bind_policy soft" as described in the post and my VMs booted fine. NOTE: This problem is not encountered with a fresh install of CentOS 5.4 and the "bind_policy hard" option in the /etc/ldap.conf is commented out as in the upgraded systems. What is really causing this problem and how do I get it addressed? I have a couple hundred systems to update from various releases of CentOS 5 to the latest current version 5.4. It would be nice to get this bug squashed..


View 5 Replies View Related

CentOS 5 :: How To Compile 32bit Application In 64bit CentOS(5.2)

Mar 19, 2010

Use python as example, I have 64bit python 2.4.3 yet I can't found rpm for 32bit one so I try to build it.Use default make or make --enable-readline is ok, python make cannot use CFLAGS, can use OPT and LDFLAGS to add -m32, yetit seems can only search for 64bit lib, or else crush.[Moderator edit: Moved from CentOS-4 to CentOS-5 forum.]

View 9 Replies View Related

CentOS 5 :: Best Web Development Application That Runs On Centos KDE?

Sep 8, 2010

What is the best web development application that runs on Centos KDE?Close to Dreamweaver in capabilities.

View 1 Replies View Related

Fedora :: CentOS 5.5 Hangs On KVM?

Dec 4, 2010

I'm trying to run CentOS 5.5 on QEMU/KVM (Virtual Machine Manager) but it randomly hangs during the installation.. Someone is having the same problem?

View 6 Replies View Related

CentOS 5 :: Installation Hangs / What To Do?

Jan 11, 2010

I need to set a new centos on an "old" box : PIV 1.8 1.5Gb

The Centos will run on a 40 Gb PATA Hard Drive set as main drive, The Box runs a another SATA Drive with 2 different windows installations.

The installer first hanged on the loading ata_piix driver screen so I restarted with the irqpoll option to complete the wizard.
But I'm now stopped on the last X screen : starting installation process please wait.

I have changed the hard drive, the DVD drive, the Centos DVD, tried with a 5.3 and 5.4 with no success.

View 3 Replies View Related

CentOS 5 :: 5.3 Graphic Installation Hangs?

Apr 16, 2009

I'm attempting to install CentOS 5.3 on my IBM IntelliStation Z Pro 6221/37G, powered by some extra equipments as nVidia NV44 GeForce 6200 video card, MV88SX6041 SATA II Controller, 2x1GB DRAM.

The problem: CentOS 5.3 DVD i386 didn't install, the screen becomes unreadable because of vertical bars just after anaconda start running. Choosing at boot time different "linux resolutions" did not help, as well as the "text mode" still useless because Logical Volumes need to be created/handled and the graphical interface is mandatory.

Same result booting CentOS 5.2 Live CD. This sounds really strange to me. I checked iso images against their md5sum and are ok. Centos 5.3 x86_64 does not boot yet :"Your CPU does not support long mode", evem they are 2 x Xeon 2.8GHz / 512KB

View 8 Replies View Related

CentOS 5 :: Yum Update With Awstats Hangs?

Feb 23, 2010

I have a strange issue. The only time I have trouble with yum is when awstats is included in an update. When it is, it always hangs on it when it gets to it. Yum will not complete. I have to cancel out... kill the yum pid and do it again. Tonight I did a yum-complete-transaction to do some unfinished actions - one included the removal of an old awstats - it hung on that.

View 9 Replies View Related

CentOS 5 :: My Server Hangs After 2 Days

Jul 24, 2010

I servers hangs after working fine for 2 days. I will not get any display after server hanges and after restarting the box, i will be fine again.

View 4 Replies View Related

CentOS 5 :: Hal Daemon Hangs And Don't Boot Up Then?

Aug 15, 2010

why does hal daemon hangs? but if i try the interactive booting and disable the hal upon starting,it will boot up. so maybe i can just disable this every time it boots, how can i do this?

View 2 Replies View Related

CentOS 5 :: Hal Daemon Hangs On Boot?

Oct 27, 2010

I installed Centos 5.5 yesterday and discovered that the hal daemon was failing to start on boot.

The messages showed that the hal daemon was hanging because nss_ldap could not connect to the ldap server. It eventually failed and the system came up multiuser without it.

When I started looking into the problem I discovered that hald was being started quite early in the boot process. It's sequence number was 26 (if I remember correctly). This was even before nscd.

If I chkconfiged it off and booted, I could start it successfully once the system was up.

I changed the sequence number to 98 and bring it up relatively close to the end of the boot process.

This works and it starts normally.

Is starting it as early as 26 in the boot process done for a reason? It seems to me that it should definitely not be started before nscd. Does it matter that I moved it to the end of the boot process?

View 2 Replies View Related

CentOS 5 :: Installed 5.5 From DVD And Hangs With GRUB

Dec 5, 2010

I'm not sure what's going on with this install, but I started with a fresh install on a 250GB IDE disk, assigning /dev/hda1 to linux, and the rest (/dev/hda2) to swap. when it tries to boot.. I just get GRUB hang. Should I have installed a small FAT32 partition in the first sectors of the disk for the bootloader?

The bios in this machine is very old (Dell 410 precision) and Dell offers no updates, so I suspect this has something to do with how the old bios is trying to boot, but ?? not sure how to fix it. try lilo, or alternate bootloader???? Just looking for a fix to the boot problem. I would prefer to boot from the disk, booting from cd/floppy/pxe not so desirable.

View 2 Replies View Related

CentOS 5 :: Yum Hangs On Mysql En Filesystem

Aug 4, 2011

I have a centos 5.5 server which hangs with yum update. i did a yum clean all. removed the rpm en /_.rd een did a rebuild. In the logs there are no errors. If there is another update except these to he works just fine. Disk space is enough free. Any ideas? i am runnung yum update as root . when i do a full report of yum i get this:


View 1 Replies View Related

Hardware :: CentOS DVD Hangs And Won't Boot From Usb Drive?

Sep 24, 2010

I am trying to boot the CentOS live cd off of usb. I used unetbootin to put CentOS on my 8gb usb drive after downloading the DVD iso. During boot it loads the image and continues until it reaches this point.

>Linux agpgart interface v0.101 (c) Dave Jones
>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled

After this it hangs and won't continue. I am using a Compaq evo n800w and the bios is just updated to the latest version.

View 9 Replies View Related

CentOS 5 :: Re-instal Windows XP - Systems Hangs?

Mar 29, 2009

I had a spare computer (Dell Optiplex GX270) which I had installed Centos 5 on and have been setting up asterisk (telephony) on it. My main computer has broken down and I need to load Windows XP back on to the Optiplex.

I put the Windows XP disk in the drive and directed the bios to boot from the cd. I get the message "Please wait while windows inspects your current hardware configuration" and then after about 10 seconds the screen goes blank (the cd also slows down and then stops) and then the systems seems to just hang.

If I take the cd out and boot from the hard drive Centos loads normally; therefore I'm assuming my problem is not a defective hard drive.

I've spent quite a bit of time searching online for a solution and although there seems to be several different situations where the above can occur, I'guessing that my ssues are related to either partions/mbr and or the bios/cmos. I'm really new to Linux and not knowledgable on partitions and cmos so I'm hoping someone could help me out here.

I've checked in the bios and could not find an option to restore the settings to factory defaults. Should I pull the csmos datterry out? Does this restore the bios settings to factory defaults?

View 5 Replies View Related

CentOS 5 :: CD Install Hangs After Disc 3 - Restart?

Apr 5, 2009

With the 5.3 CDS I started an install got through to 98% of CD 3 but I was called away. Came back this morning and the box was on, but had frozen. Every time I reboot, cold boot, I come up with black screen. Vers 0.97 <grub> Minimal BASH-like line editing is supported. TAB etc. Is there a way I can get to CD 4 and continue the install, or am I back to the top again?

View 1 Replies View Related

CentOS 5 :: Getting Error Message And Random Hangs / Fix This?

Oct 2, 2009

I recently installed CentOS 5.3 on a Dell PowerEdge 1800 server that used to have Microsoft Windows SBS 2003 on it. Everything seemed to be going fine until a few days ago. Here's the sum of it all...

- System seems to randomly hang, at which it becomes unavailable on the network (can't be pinged, monitor won't come back on, and you can't wake it up... have to reboot, the scroll lock and caps lock keys flash at the same time)
- Received this error message...

Uhhuh. NMI received for unknown reason a0.
You probably have a hardware problem with your RAM chips.
Dazed and confused, but trying to continue.

...it doesn't crash at this point though. I ran memtest86 twice and did not experience any problems. I updated the BIOS to the newest version, which contained a few bug fixes, but still experienced the same problems

View 2 Replies View Related

CentOS 5 :: Resolving Dependencies For Updates Hangs?

Dec 31, 2009

I just installed CentOS and I tried updating software. Unfortunately it hangs at Resolving dependencies for updates.

View 2 Replies View Related

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