Server :: How To Disable GRUB 2 Menu / Even After Server Crash?
Mar 19, 2010
Just wanted to share this with anyone wanting to know.If your headless server crashes, GRUB2 (at least on Ubuntu Server) is designed to force the GRUB menu to load up next time it starts up, which means you are locked out of SSH until someone physically makes a kernel selection on the PC.To prevent this do the following change to your grub.cfg file.#nano /boot/grub/grub.cfg
I was looking for a solution for this for a long time and found no hel with google. Let me know if there is a better way.I aware this file will get overwritten and need reediting if the Kernel gets updated.
View 1 Replies
ADVERTISEMENT
Jul 28, 2009
Sorry if this is in the wrong group but its a bit of an odd one but I think comes under Server Support.. I've set up both x11vnc and freenx in an attempt to eliminate either as a cause for this issue. The problem is that when I log in with either, I can get into the desktop and run things from the menus but when I make the System menu active - the session hangs and you have to killall for the freenx or vnc processes.
I was wondering if anyone might be able to help me investigate this and hopefully fix it as I'm not sure where to look given that both types of remote connection seem to have the same issue.
View 4 Replies
View Related
Jun 21, 2010
I installed Lucid server to a Dell R210. I configured grub during the install process and I see /boot/grub/grub.cfg is fully populated. However, when I boot my machine no grub menu appears. How do I get the grub menu to appear?
View 3 Replies
View Related
May 5, 2010
I've just reinstalled 10.04 LTS, after my update from 9.10 to 10.04 made some weird errors. So everything is good now, the problems before were fixed by the reinstall.By the reinstall, grub2 were installed aswell. Before, I ran grub1 (I guess) and at bootup it didnt show the list of boot choices you have, like safe boot or other OS if you have multi boot. It just booted up and I could press ESC if I wanted the menu. That disapperead after I installed grub2, so how do I get this function back, I kinda liked it.
One more question, after the reinstall I setup the taskbar and by mistake I remove the sound control. How do I get this back, it's not in the "Add to panel" when I right click on the taskbar.
View 2 Replies
View Related
May 25, 2011
I was getting ubuntu grub menu, and i was able to login to windows xp, windows server 2008 and ubuntu 10.10. Recently there was some problem with windows server 2008 and i had to reinstall it, once i did that i lost my grub menu. now i am getting plain windows menu with option of login into windows xp and windows 2008. So how can i restore the grub menu, so that i can login into all the three os from one point.
View 9 Replies
View Related
Dec 16, 2010
Last week my server crashed. I'm trying to diagnose the cause.
This is the relevant error message in /var/log/messages:
Code:
I'm assuming that I can conclude, then, that apache/httpd was the cause of the memory leak?
Next, I've been tracking my memory usage. Using top, this is an average memory load level for my server:
Code:
I'd like to confirm if my understanding of this data is correct, because Plesk indicates that my memory usage is only 50% or less. (Though I have read a number of reports indicating that Plesk's measurements are frequently wrong.)
Top says: Of the 2,073,156K total memory, 1,982,572K (95.63%) is being used, 90,584K (4.37%) is free. Of that sum, 421,948K (20.35%) are being used as buffers. Additionally, of the 2,096,472K of Swap, 60K is used, and 887,700K (42.34%) is cached.
My questions: Is my memory actually being 95% used? Or is the buffered quantity (20.35%) not a use of physical/virtual memory? (i.e. is it disk usage?) Does the amount of cached Swap influence the percentage of physical/virtual memory being used?
In other words, who is correct? Plesk says I'm using 40-50% of my memory, whereas top says 85-95%.
View 6 Replies
View Related
Aug 14, 2009
Is it possible to like have SMS sent to your cellphone when the server crashes or a process on the server dies?
View 4 Replies
View Related
Dec 6, 2010
my mysql is hogging my server resources andd sometimes crash it.Is there a way to increase memory it uses?I get this message alot..
Time: Mon Dec 6 08:21:33 2010 -0600
Account: mysql
Resource: Virtual Memory Size
[code]....
View 2 Replies
View Related
Apr 18, 2010
I hope the server forum is the best match for my post, otherwise please redirect me.
I have a Fedora 12 Desktop machine running at a remote site and have no keyboard not a screen connected to it. After rebooting it remotely I was surprised to learn the machine did not come back up again. (It did when I tested it while I was on site).
[Code]...
View 3 Replies
View Related
Mar 23, 2010
I just set up a FC 12 server and would like to disable the nightly YUM update. However, it appears that the following doesn't work:
# service yum stop
# chkconfig yum off
the system prompts: yum: unrecognized service
View 2 Replies
View Related
Jul 28, 2009
I am testing my crash recovery strategy for my linux system and I am having trouble with GRUB. I am basically restoring my backup (i.e. tar) unto a different hard drive, but I am having problems getting the machine to boot without me having to type the GRUB commands at the GRUB prompt that is presented when the machine boots up off the new hard drive. I have tried to restore the MBR in two ways (the 2nd one is the one that gets me to the GRUB prompt):
1. Get the MBR off the original drive and write it unto the new drive (all via dd), but that did not work at all: the machine hangs right away during boot up. It seems to hang right at the point where the BIOS tries to read the MBR.
Code:
On original drive:
# dd if=/dev/sda of=mbr+part.bin bs=512 count=1
On new drive (new drive is now in place of original drive):
# dd if=mbr+part.bin of=/dev/sda bs=1 count=446 conv=notrunc
2. By using the FEDORA rescue CD, I installed grub unto the new hard drive as follows:
Code:
# chroot /mnt/sysimage
# grub-install --root-directory=/boot hd0
reboot and remove FEDORA CD Using the 2nd option above, I get the GRUB> prompt during bootup. I can then boot into the system by issuing the commands that are in the menu.lst file, followed by the "boot" command. However, I would like for those commands to happen automatically, just like in the original configuration. It seems to me that GRUB is actually finding all its stage files because I doubt the GRUB program (the one displaying the prompt) fits entirely in the 446 bytes it has on the MBR. So, it must be loading its stage 2 (and stage 1.5??) files from my /boot partition. However, if GRUB is loading its stage files off the boot partition, why does it not load/read the menu.lst/grub.conf contained in the boot partition also?
Code:
# ls -l /boot
total 22888
-rw-r--r--. 1 root root 1274567 2009-05-27 16:39 System.map-2.6.29.4-167.fc11.i686.PAE
-rw-r--r-- 1 root root 1274538 2009-06-16 22:27 System.map-2.6.29.5-191.fc11.i686.PAE
[code]....
View 3 Replies
View Related
Apr 4, 2010
I just upgrade my desktop to F12 and using it for few weeks now..Everything seems working fine except X server crash on me often.
Anybody out there have the same problem?
Need a work around solution for this.
Attattched a copy of Xorg.3.log.old for reference.
My system is as follow:
Intel P4 2.26Ghz
Kernel 2.6.32.10-90.fc12.i686.PAE
memory 1G
View 1 Replies
View Related
Jun 7, 2011
i did a fresh installation of Fedora 15 x64 with Gnome3.
Whenever i start LibreOffice the X server or gdm crashes and i get to the login screen of gdm.
Does Libreoffce have a log file? There are so many Xorg/gdm log files, i don't find anything...
View 1 Replies
View Related
Jan 6, 2011
"system crash" means that:(1)I can ping it , but can not connect to it (via ssh or http or anything else)(2)the major role of that machine is to run a web application written in java, every 3 weeks(almost that), the users inform us and say they can log in that web application , and we find the situation just like (1) says.When this happen , we can only restart the machine by pushing the power button.(It's sad !)I've try to read all the log files located in /var/log but find nothing interesting.
View 5 Replies
View Related
Jun 16, 2010
I see vmcore files in /var/crash directory.is it ok to delete the contents of /var/crash directory ?
View 1 Replies
View Related
Mar 31, 2011
About once a day, my system seems to hang (mouse can't be moved, no keyboard input possible, screen stays unchanged)
After a restart I can find an error in /var/log/kdm.log:
Code:
X.Org X Server 1.9.3
Release Date: 2010-12-13
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
[Code].....
View 5 Replies
View Related
Sep 28, 2010
This is Plesk linux server.I am using CentOS release 5.5 (Final) OS. Server seem to crash every couple of hours. Perhaps apache has memory leak?
Sep 28 07:06:29 wed kernel: Call Trace:
Sep 28 07:06:29 wed kernel: [] out_of_memory+0x8e/0x2f5
Sep 28 07:06:29 wed kernel: [] __alloc_pages+0x245/0x2ce
Sep 28 07:06:29 wed kernel: [] __do_page_cache_readahead+0x95/0x1d9
Sep 28 07:06:29 wed kernel: [] __wait_on_bit_lock+0x5b/0x66
[Code]....
View 4 Replies
View Related
May 23, 2011
Code:
[Sun May 22 04:02:06 2011] [notice] SIGHUP received. Attempting to restart
(98) Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Above message is from /etc/httpd/logs/error_log.1. Saturday morning I reinstall my server. After finish, no error. I can access my HTTP server. Monday morning it has crashed. I don't know what is the meaning about this message.
View 2 Replies
View Related
Nov 20, 2010
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
View 4 Replies
View Related
Nov 5, 2015
Aprox. 1 time per day / every two days hangs the x-server. It hangs a few secs then is being killed and restarted. A popup window in the task bar tells me the restart of the x-server. After that about 15 sec. I can continue to work but sometimes the gtk2 apps lose their integrity thus I have to restart by logging off and in again.
Code: Select all Nov 3 09:25:30 PC2 org.kde.kuiserver[1070]: kuiserver: Fatal IO error: client killed
Nov 3 09:25:30 PC2 org.a11y.Bus[1070]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
what does it mean "Remote peer vanished with error" ? Remote access? I am not competent to evaluate that.
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09)
deamon.log
[URL] ....
sys.log
[URL] ....
auth.log
[URL] ....
user.log
[URL] ....
dmesg
[URL] ....
View 0 Replies
View Related
Jan 24, 2010
I think I've totally destroyed my Suse install, but I have no idea what happened.
I was running Yast's "Create a backup" utility and my screen totally went black and kicked me to the login screen. I was unable to log in, except to a terminal.
So, then I tried to restart X (by typing startx) and I get "Fatal server error: Server is already active for display 0"
I've tried running the repair utility, and it doesn't work. Through a number of commands, I was able to start up a second X session, but that wasn't really much help.
View 8 Replies
View Related
Jul 29, 2010
I have been having problems with Xserver crashes (goes into low graphics mode). On inspection of my .xsession-errors file, I get X IO fatal errors 5, 11 and/or 104. Somehow my computer is losing its connection with the xserver (connection reset by peer) What is causing this? Should I post a report to launchpad? This happened before and after a clean install and more often when I opened a full screen game (SDL or OpenGL) Here is my xsession errors after my last crash:
[Code]....
View 1 Replies
View Related
Dec 15, 2010
My server crashed last week and I'm trying to diagnose why. /var/log/messages contains the following error messages, which indicate that the server's memory peaked. I would like to discover what process caused the memory peak. Being that "httpd invoked oom-killer", can I conclude that httpd was the cause of the memory peak?
[code]....
View 2 Replies
View Related
Jan 31, 2010
My Debian Lenny server crashed today for some inexplicable reason, and now one of my machines refuses to mount NFS shares on bootup. Manual mounting works fine. It's just one machine; the others are still mounting normally.
View 2 Replies
View Related
Aug 13, 2010
I have installed 2 extra 1.5TB drives on a stable Centos 5.5 system. They are set up with 2 unequal partitions on each - with 2 raid 1 arrays. The largest of the raid arrays is used as a new volgeoup with 2 unequal LVMs. The larger of the LVMs is around 1.3TB. I installed an ext4 filesystem (default parameters) on the larger LVM.I went to mount the LVM - the system hung. No keyboard or network response and no response to the soft shutdown button.It was the deadest I have ever seen it - and this system has been incredibly stable.
In the absence of any other suspects - I am tempted to blame ext4 - since I have never used it before - and since wikapeadia tells me ext4 isn't supposed to be in the 2.6.8 kernels...:
[URL]
I will do some more testing on this tomorrow to try to confirm my suspicions. I will try to repeat the crash - then try mounting it as ext3 to see if it behaves differently. Any other tests I should do?What is the status of ext4 in RHEL5.5. Has it been added to the 2.6.18 kernel by RH? Is this what is meant by a "back port"?
View 4 Replies
View Related
Oct 18, 2010
Is there any command available inorder to read the server crash dump files?
View 4 Replies
View Related
Apr 25, 2011
Client has a server running 5.5 (I think) and it they moved locations. This server is used in other locations (state) via ssh tunnel as well so they can all access files.
When attempting to boot up I get screenshot 1 (superblock errors)[url]
They supposedly have a backup on a hot swap scsi and I want to know how/if I can restore it using that backup if I cant fix the superblock boot/error issue.
I took some other screenshots:
[url]
[url]
[url]
View 1 Replies
View Related
Jan 28, 2011
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?
View 1 Replies
View Related
Jun 6, 2010
bit of a server noob having built a server to hold a php website for a client hosting at home, I have some experience, but VERY limited and don't speak fluent server.My problem is that overnight each day apache on my clients server stops responding. I can still access via putty / webmin.The best I can see it, it seems that apache 2 opens too many child processes and chokes the system. My reasoning for this is:-Though I have max child set to 20 with a keep alive of 30 there are dozens of child processes 'apache2 -k start' running, some of which were started 9.5 hours ago.
-I can stop apache, though that doesn't kill these child processes. I can terminate the parent process which does kill the child processes, however restarting apache after killing the child processes results in a system crash. Rebooting the server remotely after apache has stopped responding also results in a server crash. That is NO response on any port.I would be happy to display any pertinent server config/logs etc if anyone can help me troubleshoot this?
View 2 Replies
View Related
Dec 1, 2010
I installed a CSS server following these instructions on the latest Ubuntu server :url
And I then created + configured my server as per the bottom of this suggesting the server config creator tool :url
All fine - then i go to run my server by doing :
sudo ./srcds_run -console -game cstrike +map de_dust
and it says:
Code:
andy@novo:~/srcds/orangebox$ sudo ./srcds_run -console -game cstrike +map de_dus
t
Auto detecting CPU.Using default binary: ./srcds_linux.Server will auto-restart if there is a crash.
Illegal instruction
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Dec 1 16:22:40 GMT 2010: Server restart in 10 seconds
Illegal instruction
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Dec 1 16:22:50 GMT 2010: Server restart in 10 seconds
Illegal instruction
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Wed Dec 1 16:23:00 GMT 2010: Server restart in 10 seconds
^X^CWed Dec 1 16:23:01 GMT 2010: Server Quit
In a never ending loop - i then add the -debug flag - and do sudo updatedb then locate debug.log but none has been created...
View 2 Replies
View Related