CentOS 5 :: Ctrl S During Init Script Can Cause System Hang?
Sep 6, 2010
I am running Centos 5.5 with all the GUI stuff, including nx server and webmin.Sometimes while watching the bootup messages because my eyesight is very poor.I hit <ctrl s> to pause the output so I can read some details. If I do this late in the init sequence - it often briefly stops the output then the screen disappears under a blue wash (presumably something to do with the GUI login screen ot screensaver??)but the login screen never appears. Also it seems that the script never completes because the imap, webmin and http servers don't appear to have started.
I haven't found any satisfactory way out of it. I can't get back to a console terminal (I've tried ctrl c, d, z, etc.). As luck would have it the nx server has started so I can open an nx session. If I open a terminal in an nx session as root.I can't do a normal restart (shutdown -r now). Nothing happens presumably it can't run the init script because it is still running.The only way I have found to get the system back to life is to run "shutdown -r -n now" in the nx terminal session.There are probably better ways out of this predicament that I am unaware of. Otherwise it is probably somewhere between an annoyance and a bug. I would be interested in any advice the centos "board" may have as to whether this is worth raising as a redhat bug.
View 3 Replies
ADVERTISEMENT
May 23, 2010
After a kernel update action, it seems that I'm unable to boot a system anymore. First off, after installing the kernel, and trying to shutdown to boot to the new kernel, the system replied with INIT: no more processes left in this runlevel. Kernel update was performed from to the following versions 2.6.18-128.el5.img -> 2.6.18-164.11.1.el5.img . The system is a VMWare virtual machine. When trying to reboot, the system passes GRUB, starts initializing and after loading the dm it stops for a few seconds at the message Waiting for new devices, show the following message:
Setting up new root fs no fstab.sys, mounting internal defaults. After this and a few other messages, it displays : INIT: version 2.85 booting INIT - No more processes left in this runlevel INIT: Id "x" respawning too fast : disabled for 5 minutes And then it just hangs. This is the output of my inittab:
[code]...
The system boots into failsafe, but still shows the errors mentioned.
View 5 Replies
View Related
Dec 5, 2010
I'm trying to write a init.d script to daemonise a sagemath notebook server. Here's what I've done so far, I've copied /etc/init.d/single for the structure, and tried to use dtach to provide a handle to access the process. However, my main problem is issuing the signals to kill the process (Ctrl-C) from a bash script and exit dtach (Ctrl-`)
[Code]...
View 1 Replies
View Related
May 23, 2009
I'm running V5.3 (newly installed) on an FJ E8020 laptop. The problem I have is when shutting down (*not* rebooting). NetworkManager fails to stop and after (during?) the postfix shutdown, the system seems to hang.I cannot access via another screen or remotely. I can't find any clues in the log files.
[Code]...
View 1 Replies
View Related
Oct 3, 2010
anyone has a clue why 'ctrl+a, k' nor 'ctrl+a, :kill' doesn't work for killing one of screen windows? Other screen's commands invoked with 'ctrl+a'seem to work.
View 3 Replies
View Related
Jan 5, 2010
I have 3 layouts: USA, Russian and Hebrew. In Hebrew the W key is mapped to apostrophe, so Ctrl+W in Hebrew layout doesn't close tabs in Firefox. There is no workaround for it as I see by now, so I am trying to get it work this way:I want to map Ctrl+W in Hebrew layout(which is actually a Ctrl+') to be a Ctrl+w. Here is what I got from xmodmap:Code:$ xmodmap -pke | grep 25keycode 25 = w W Cyrillic_tse Cyrillic_TSE apostrophe WAs you can see, there are pairs for each layout, each pair tells what happens without and with the Shift key pressed.
View 2 Replies
View Related
Dec 27, 2010
I am doing a project on rdesktop. My aim is to setup a write/copy protected session. I have made rdesktop connection between two Linux machines using Xrdp.Next I want to disable the ctrl+x,ctrl+v keys and the cut and copy option in mouse right click at client side
View 1 Replies
View Related
Aug 19, 2009
i am using gcc 4.3i need to recognize ctrl+c,ctrl+l,ctrl+d in my C program without terminating the program when i get a ctrl+c...
View 1 Replies
View Related
Jul 9, 2009
The first server I installed installed fine. The second server, installed with the same config, went to "kernel panic not syncing no init found try passing init= option in kernel" error. I tried reinstalling but it keeps going to that error after install reboot. The storage is ISCSI connected via Intel Server Adapter, which allows it to boot from ISCSI. Not sure if that's the cause for the problem, but the first server is connected to the same ISCSI and installed just fine.
Is there a way that I can make sure ISCSI module installs during installation? Although I think it is installed since it's able to copy the files and setup /dev/sda. I just wana make sure that it installs during setup.
View 1 Replies
View Related
Aug 4, 2009
I am running fedora 10 on my laptop. I use a usb Western digital "MyBook" 500Gb (ext3). I am using this hard drive since more than 1 year now. Lately I run into a single problem when I read a precise file. The laptop becomes totally unresponsive and I have to manually shutdown the computer. After start-up I can find that the /var/log/message file of my previous session has grown very quickly with "[sdb] Sense Key : No Sense [current]" and "[sdb] Add. Sense: No additional sense information" messages.
I found various similar question on the web, most of the answer were hardware dependent and kernel related. I tried various kernel hoping that my specific problem would be fixed in the next one but with no success (all the kernel since fedora 10 release and two testing one: 2.6.29.5-84.fc10 and 2.6.29.6-93.fc10), I don't have access to a Fedora 11 machine.
I replaced the usb cable and check that the power supply was working correctly.
I am joining part of /var/log/message and the results of lsusb (related to the external hard drive).
View 2 Replies
View Related
Jun 21, 2011
After installing and activating "ATI&AMD proprietary FGLRX graphics driver" ;in Ctrl+Alt+F2" mode, do following steps:sudo pidof X (to get pid number)sudo kill xxxx (xxxx is the pid number)Then , system hang up!If the FGLRX driver is not installed , there is no such problem
View 1 Replies
View Related
Feb 4, 2011
i am working on a client server real-time gui application written in C++ for Redhat. There is an issue with this application that it makes the system hang. i am not able to sort out the issue as it happens randomly. Sometimes with in half an hour it makes the system hang, sometimes it takes 4 or 5 hours when it receives realtime data. Is there any way to debug this issue. I tried valgrind..but it was not of much use..
View 4 Replies
View Related
Feb 4, 2011
i am working on a client server real-time gui application written in C++ for linux os. There is an issue with this application that it makes the system hang. i am not able to sort out the issue as it happens randomly. Sometimes with in half an hour it makes the system hang, sometimes it takes 4 or 5 hours when it receives realtime data. Is there any way to debug this issue. I tried valgrind..but it was not of much use.
View 9 Replies
View Related
Mar 26, 2009
I have Cent OS 5.1
I also have http://phpsysinfo.sourceforge.net/
I have asterisk running .
Now when I look at System Information ,
I see that "Physical Memory" keep increasing and at one point it reaches 96%. Then my sever get hang and then I have to restart it.
I have 4 GB RAM.
Processors 2
Model Intel(R) Core(TM)2 Duo CPU E7200 @ 2.53GHz
CPU Speed 2.53 GHz
Cache Size 3.00 MB
System Bogomips 10135.71
Kernel Version 2.6.18-53.el5 (SMP)
Distro Name CentOS release 5 (Final)
Load Averages 0.27 0.35 0.31
What could be the reason ?
View 8 Replies
View Related
Dec 14, 2009
I switch from Gnome environmnet to text environmnet by ALT+CTRL+F1, but get this picture, anyone could tell me what's problem with it and how to solve it?
View 1 Replies
View Related
Dec 17, 2009
I'm trying to install CentOS 5.4-x86 on a "new" motherboard, it's an ABIT Fatal1ty AN9 32X. I have a AMD 6000+ Dual Core running stable at 3.01 ghz. 4GB of ram(4x 1GB). nVidia GeForce 7600. 2x SATA II 160GB WD RAID 0 and 2x SATA II 1TB Seagate RAID 0. This setup has been running fine as a FTP server for months and has been flawless for games for about 3 years.Right off the bat during initial install it hangs before loading any GUI.Last lines:
NFORCE-MCP55: IDE controller PCI slot 0000:00:0c.0
NFORCE-MCP55: chipset revision 161
NFORCE-MCP55: not 100% native mode: will probe irqs later
[code]....
View 2 Replies
View Related
Jul 8, 2011
I have a strange problem on my system. When I turn off printer, system hang. Gdm/X exit and I can see a terminal screen with a lot of info (but I can not capture it, except taking a photo). I must press reset button. It's not all times, but at least 50% I shutdown printer. I was looking logs and I can not see any relevant. Maybe this (copy some sections of /var/log/messages, remove other not revelant):
Jul 7 19:43:34 dcr64 kernel: [341172.052076] usb 1-8: new high speed USB device number 7 using ehci_hcd
Jul 7 19:43:34 dcr64 kernel: [341172.185255] usb 1-8: New USB device found, idVendor=03f0, idProduct=4412
Jul 7 19:43:34 dcr64 kernel: [341172.185260] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Code]...
Sometimes I turn on printer to get a photocopy and turn off later, and system hand, so, it's not necesary to print or scan to get this error.
View 2 Replies
View Related
Jun 23, 2015
If I shutdown from X the system hangs and I have to yank out the power cord. Same on logout.
ctrl+alt+f1 hangs for a few minutes and then starts a terminal; which does not respond to the keyboard.
There are no tty.conf files in /etc/init .
But inittab looks normal to me and includes tty (1-6)
Executing init 6 from a terminal in X will reboot the system
I was thinking this might be a dbus issue, but I am not sure. I also understand some recent issues exist with SysRq sequences. May be a video card issue,,,
Other than normal package upgrades the only changes were a recent change from a VGA to HDMI cable. I can't see why that would matter
Linux Lugh 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u2 x86_64 GNU/Linux
View 6 Replies
View Related
Aug 23, 2011
I am new to opensuse, coming over from debian based systems. However I am having an issue in which my system will not power off on shutdown. Restarts just fine. i get a missing error during shutdown, but there is nothing to relate the error to on that line. Then the shutdown procedes to The System will be halted immediately then hangs. The keyboard powers off and then thats it. All fans are still running. I have searched extensively on this forum and google.
View 9 Replies
View Related
Jan 28, 2011
I am running Ubuntu 10.10 on a Lenovo Thinkpad T61p with 2GB RAM. When I was on Ubuntu 10.04, one day suddenly Azureus hung at the 'loading plugin' screen as it begins. I had to hard reboot my system and it(Azureus) never worked after that so I removed it. Then after a couple of months same thing happened with Adobe Acrobat reader. As soon as I opened any pdf and started to scroll, it hung. System didn't respond and had to hard reboot. I moved to foxit reader Then I upgraded to 10.10 and now mplayer hangs occasionally if I try to switch it to full screen. System stops responding totallyn Where to begin debugging from ? I can't figure out any pattern or any way to reproduce it. I haven't tried Acrobat reader and Azureus on 10.10
View 9 Replies
View Related
May 1, 2011
I have upgraded to 11.04 all seems well except that now the two machines I have upgraded frequently hang while the screensaver is running. (with unity desktop). Is someone working on this? Gateway t-series notebook and a dell mini 9 netbook that are hanging. The netbook seems to be hanging the most.
View 2 Replies
View Related
May 1, 2011
fairly new to linux and tried Slack as a way to force myself to learn. I am running current and when i issue the reboot command it will hang on "Restarting system". If i use the shutdown -r now command it will reboot fine. Any ideas?
View 4 Replies
View Related
May 27, 2009
I'm running into what is quite possibly one of the strangest problems I've ever encountered. We recently had a power loss, and some of our vmware instances didn't shut down correctly. Once of those is our Zabbix testing monitor. From that point on, whenever I run the "ll" command, my terminal freezes. This happens over both ssh and the local console. I've forced a disk check via the "shutdown -rF now" command, and it returned no errors. Since ll is simply an alias for ls, I copied ls (and the entire bin directory) from another Centos 5.3 instance, with no change in behavior.
View 4 Replies
View Related
Oct 30, 2009
I have just completed an upgrade from 5.3 to 5.4 (64bit) Now when the system starts it gets to Staring udev and then hangs for about 2mins before printing "Timeout" and then continuing.
At various stages during the boot process it just stops with no warning and takes a while to restart.
My boot time in 5.3 was about 50seconds, now with 5.4 it is about 4mins.
View 2 Replies
View Related
Aug 31, 2010
My issue is: I am "locked" on kernel 2.6.18-164, I just can't get my server up and running with any later release. It simply hangs at "Starting udev".
The hardware is:
MB: Asus M2N32-Deluxe
CPU: AMD Phenom(tm) II X4 920 Processor
Boot FS: Ext2
RootFS: xfs
RAM: 4Gb
I have 2.6.18-194.el5 running on other machines.
PS: I'm about to install/update a fresh 5.5 disc for testing purpose anyway. I'll update here if it works.
View 3 Replies
View Related
Mar 24, 2011
Keyboard Hanging, in CentOS. Some time when I login to Linux or when we come back to use Keyboard after a long time work with mouse, my keyboard will hang for few seconds. I don't know its my USB keyboard problem or another issue. I doubt it started after I install opera browser in CentOS or by VNC setup.
View 3 Replies
View Related
Sep 2, 2010
Ever since I made the switch to Ubuntu I have had a problem getting back to the X Windows environment from Virtual Terminals. Control+Alt+F1~6 work fine but when I try Control+Alt+F7 my screen freezes.
I have been trying to find a solution to this problem but it doesn't seem to be affecting many other users. Not sure if it matters, but I'm running 64-bit Lucid Lynx.
View 1 Replies
View Related
Aug 28, 2010
i reached step six where it states "6. When the root and swap partitions are formatted the base installation will begin. Note that your system may appear to hang at different points during the install but it hasn't. Just be patient." I have been staring at a blank blue screen with this blinking cursor at the bottom for 30 minutes and i was just wondering how much more "patient" will it take. for some system details. the system is clean / fist time run and anything installed on it.
View 7 Replies
View Related
May 6, 2011
Anyone know the reason why a sleep( ) on a Redhat Linux OS would cause the system to indefinitely hang? It's doing this every 10 or so calls in my program and I have to press the reboot button on my computer. My program is reading from a UDP port that has messages sent to it 20 times per second. When I sleep I assume the internal UDP buffer is getting more and more filled.
View 14 Replies
View Related
Jul 14, 2011
I have been looking for a lightweight bandwidth monitoring app and came across bmon. It does what I need. However it has an interesting way of exiting.
when it is running and you close it down it ask you 'Really quit (y/n)' and does not shut down. I am used to just right clicking on my desktop and selecting 'leave' when it comes to shutdown time.
A few times now the laptop hangs on shutdown if bmon is open. I guess it is due to the app asking if it should shutdown. Is there a way to disable the app asking or alternatively nuke it for sure with some script on shutdown.
I could search the relevant konsole running the app and go thru the steps to shut it down but sometimes I am in a hurry and it doesn't feel like the way to go anyhow?
View 3 Replies
View Related