CentOS 5 Server :: Read Only After Power Failure?

Sep 19, 2009

I had a power failure the other day and my server shutdown abruptly. After bringing the server up I noticed that the /var partition came up as read only. I was not able to edit the crontab, not able to write to files within /var/log/ and do other write operations within /var.

I did a mount and it showed that /var was mounted read and write but when trying to run certain operations the system was still saying that it was read only.

[Code]...

View 1 Replies


ADVERTISEMENT

CentOS 5 :: Failed To Start The X Server After A Power Failure?

Oct 29, 2010

Before to describe my problem I want to say that I searched a lot on the internet and I think I tried all the solutions provided by other users to similar problems.

I've got an IBM xSeries 346 server running CentOS 5.5 with all updates applied with yum.

The video card is an ATI Radeon (lspci says: 01:06.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]).

Everything worked fine until a bad day where there was an environmental power failure and the server crashed.

I turned it on, I manually check the file system, some files went lost and after the reboot the X server didn't start.

After the first boot I had problem with /etc/rc.d/rc.sysinit, sbin/multipath.static and /dev/cpu/microcode, I solved them and now the message it shows is:

"Failed to start the X server (your graphical interface) It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?"

I choose OK and it appears an empty log, if I go in /var/log/gdm and I do an ls -al:

total 0
-rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.4
-rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.3
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.2
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.1
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log

So a lot of empty log files.

I press enter on the OK that appears at the bottom of the screen and it says: Would you like to try to configure the X server?

I choose Yes, I enter the root password and appears the following messages:

Couldn't start X server on card 0
Couldn't start X server with old config, trying with a fresh configuration

Then another messages:

Trying to restart the X server, I press enter on OK and it loops the initial message ("Failed to start the X server...)

View 1 Replies View Related

General :: Dell PE1750 Server Not Boot Up After A Power Failure - FS Check With E2fsck

Apr 19, 2010

I have a dell PE1750 server which would not boot up after a power failure. I am thrown to a shell for maintenance after showing an error in file system check. The server was running - Red Hat Enterprise Linux AS release 3 (Taroon). Please let me know if I can try to recover from this error by booting from the 1st CD of a higher version of linux like RHEL5. I ask this because I do not have the old media with which the system was setup. Can the use of latest OS CD cause any problem?

View 2 Replies View Related

Ubuntu Servers :: Can't Reinstall Mysql-server After Power Failure During Aptitude Safe-upgrade

Jun 2, 2010

A week or so ago I ran an aptitude safe-upgrade and while it was updating mysql I suffered a power-failure. Now, this never really happens in Holland but of course this once it happened at the worst possible time.

I've tried a lot of different things to get mysql working again, but am running into all kinds of problems. First mysql won't shut off properly (it does startup with the computer but I can't connect to it at all) during an aptitude purge. If I kill the process mysql seems to purge properly, but I guess this is not the case because I wasn't able to install it then.

Things seem to have gone a bit more smoothly this time, however:

Code:
snek@snek-server:~$ sudo aptitude install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done

[Code].....

View 2 Replies View Related

CentOS 5 :: CentOS 5 Home Server Power Consumtion? (features, Kernel Versions Etc.)?

Feb 28, 2010

I built a home server (NAS/WWW/SSH/media server etc) and chose CentOS 5 as the OS (stability, easy of configuration).I was just about to start tuning the power consumption when I realised that the kernel CentOS uses is so "old" that it does not support the latest reduced power consumption enhancements that Linux has achieved in big strides in the recent past (we are probably still talking 6-12+ months ago e.g. tickless kernel)..

So my questions; 1) I know CentOS was maybe not meant for home servers (certainly its not its primary purpose), but if it is, any ideas of what kind of power consumption it takes (I know its relative) and if there are particular power consumptions that are worthwhile?

2) Do you recommend me compiling my own 2.6.21+ kernel from kernel.org or am I just likely to have compatibility issues (I really did not want to do that) or when is CentOS 5.4 supposed to have a newer 2.6.21+ version kernel?

Was it wrong of me in principle to choose CentOS for a home server when I am power conscious? (I don't have a low-power VIA processor either but a P4 so I am really just hoping to make do with software changes).

View 4 Replies View Related

Server :: New Centos 5.5 Start Crashing Or Hardware Failure

Oct 4, 2010

i installed a new centos 5.5 1 old server hp ml380 g3 series on 2gb ram, 72gb raid 1+0 scsi disk

after running 1 sucessfull day next morning i found no response of ping, telnet, putty, ssh. when i check physically machine the mouse keyboard was hang, i reboot machine, then it says kernel panic failure mounting hardware, then next time i reboot the o/s centos start book properly and running. i check the dmesg logs, can someone guide me how to check cpu,raidcontroller,memory,harddrive are getting failed or what hardware exactly choking out.

View 2 Replies View Related

CentOS 5 :: Remote Shutdown Server Through Power Switch?

Jul 13, 2009

I have built a Centos 5.3 server for a friend of mine that is being used as a NAS server. The server has 4 1TB drives in a RAID 5 configuration and a dedicated non raid system drive for the OS. My friend isnt very Linux literate so I need this bow to be relatively simple. I have worked most of it out but have a question with regards to remote reboot.

I need to be able to shut this device down through the power switch without human intervention (at the moment when the power switch is pushed the server asks to confirm shutdown) the server wont have a Monitor connected so this isn't practical. Is it possible to use the power switch to do an clean, immediate shutdown?

The other option is shutdown through a web page is this something that has been done before? I know he can do it through terminal by issuing a shutdown now command but as I said this guy wants something simple. I don't really want to explain everytime he needs to shut the Server down how to do it if he can just do it via a website or even with the power button.

View 1 Replies View Related

General :: Cant Boot After Power Failure?

Jan 6, 2010

I have a box running Lenny and boot with lilo. Today there was a power failure and now the system is stuck on Lilo ..It doesnt get passed that. I tried to boot in single mode but the same thing is happens. How can I fix this problem

View 3 Replies View Related

CentOS 5 Server :: Apache - Anonymous Shared Memory Failure

Jan 12, 2010

I just opened an (unmanaged) VPS account and and have been encountering nothing but problems with trying to get Apache up and running (its something I've done many times before).Basically the inital error was with LDAP not having enough space, so I disabled the related extensions and Apache still would not run. Looking at the log, it contains: (28)No space left on device: Unable to create scoreboard (anonymous shared memory failure)

View 1 Replies View Related

Fedora Installation :: Power Failure During Preugrade?

Jun 3, 2010

I had a power failure during the portion of the upgrade after the reboot where it was upgrading the packages.I tried restarting the machine with the upgrade line in the bootloader but it says it cant find the bootloader. So I rebooted into the working install and ran preupgrade again, and after it reboots, it gives an error the it cant find "root" of the previous installation.even thought the machine boots and works, I cant tell what state I am in. the boot option lines, shows a fc12 kernel designation and the "about this computer" says "release 13"Also the add remove software doesn't show anything.

View 12 Replies View Related

OpenSUSE :: Gnome Is Broken After Power Failure

Feb 3, 2010

I had a power failure, now Gnome will not completly start and just hangs almost there. another member of the family was at the computer and when it restarted and something like TomBoy was flagged as no working and the question was asked if they wanted to delete reference or not , so they said yes now Gnome still will not finish loading. How do i repair from the console prompt?

View 9 Replies View Related

Ubuntu Installation :: Power Failure While Upgrade From 9.10 To 10.04?

Aug 21, 2010

I was upgrading my ubuntu(9.10)/xp machine to ubuntu(10.4)/xp . but there was a power failure and was running in backup for 15 min. But after that the system shutdown automatically. Now when i boot, grub appears and after selecting the ubuntu partition i get a error saying cannot find device.

View 1 Replies View Related

Ubuntu :: Disk Corruption After Power Failure?

Jan 14, 2011

While using my computer the other day (I was sending an email) it suddenly turned off. I didn't get any low power warning, but I was running on battery and had my iphone charging from a USB port.

As I didn't think there was low battery, I just turned it back on again. As it was booting I saw the battery light flashing, indicating low power. I went to get the charger, but before I got it, mid boot-up it turned off again.

This seemingly damaged something hard-disk-wise.

Upon turning it on again it dropped into busy box with some message similar to this:

Quote:

No init fount. Try passing init= bootarg.

BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu7) built in shell (ash) Enter 'help' for a list of build in commands

(initramfs)

That's not the actual message (copy pasted from another post) but the message is VERY similar to that.

If I "exit" busy box, I get a load of message about "kernel panic" before it freezes up.

I have booted a live USB (what I am using now). I thought since it wasn't cleanly unmounted, simply mounting and unmounting would do the trick. I was wrong.

Code:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code].....

I had previously ran e2fsck (after checking it was unmounted) but it wouldn't run also because it was reporting that the device was already mounted, busy, or being exclusively used by a process.

I don't want to do any more for fear of causing further damage.

I am astounded that such damage can be caused so easily!

View 9 Replies View Related

Ubuntu :: 10.10 Won't Boot After Main Power Failure

Feb 11, 2011

Running 10.10 After a main power failure I can't boot.

It says:
...........
[sdb] Attached SCSI removable disk
[sdc] Attached SCSI removable disk
[sdd] Attached SCSI removable disk
[sde] Attached SCSI removable disk
and stops.

I get a (initramfs) prompt and have no idea what to do with it.

Allready tried to install 10.10 again from a CD. But it also hangs immediately when it starts to install. The liveCD feature works OK and I can access the hard disk. I tried to update the initramfs with the liveCD but it says I can't write since I have only "read-only" access. But if I do "sudo nautilus" I have full access to the disk.

View 9 Replies View Related

Ubuntu :: Cant Access External Usb After Power Failure

Jul 14, 2011

I have the old version 8.10 installed in my laptop. The laptop already some battery issue and after the power failure i cannot access the external usb drives anymore.I have ntfs-configuration installed and do not know how to access the drives using the tool.Every time i try to access the drive it says that i do not have the privilege to mount the volume.

View 1 Replies View Related

General :: Xserver Won't Load After Power Failure?

Oct 31, 2010

The other day I was in the process of updating an install of Debian Testing (Squeeze). It so happens that the power went out at just the wrong time. According to the dpkg log it looks like it was in the proccess of completing the postinst script for the kernel update I purged all the kernels that were installed and reinstalled the most recent version. Mind you, that the machine booted and appeared to be just fine when the power came back on but I had no gui. So after reinstalling the kernel I still didn't have a gui.So I proceded to purge and reinstall kdm, xorg, xserver-xorg & related, and anything else I could think of.All with out success.This machine has an xorg.conf file. I have edited that file to try the vesa driver instead of the intel driver, no joy. I have renamed that file to force a complete auto-configuration of the xserver on launch but no joy.

Code:
(II) LoadModule: "intel"
[code]...

View 5 Replies View Related

CentOS 5 Hardware :: Install A RAID 1 On A Dell Power Edge Server?

Feb 10, 2010

I am trying to get a understanding of how to install a RAID 1 on a Dell Power Edge server.

HARDWARE:
2 - 16gig SCSI dives
1 - 36gig SCSI drive

I have read through some documentation found online and at centos.org but still having problems.

get this accomplished keeping in mind this is my first go at using RAID system.

View 4 Replies View Related

Fedora Hardware :: F14 Get Strucked On Booting After Power Failure

Jun 23, 2011

my fedora 14 get strucked on booting after a power failure..what did i do ? i cant open my desktop.my fedora 14 get strucked on booting after a power failure..what did i do ? i cant open my desktop.

View 1 Replies View Related

OpenSUSE Install :: Power Failure, System Rebooted To CLI?

Jun 21, 2011

the power on my street went out overnight, and I came home to a rebooted computer at the command line. I shut it down and rebooted again, also tried the failsafe mode, but it keeps going to the command line. Looked in the BIOS and it didn't see my hard drive settings. But I can see the HD fine when I booted using the live CD (that's how I am able to post here

View 4 Replies View Related

Ubuntu :: 10.04: File System Failure After Power Outage

Jun 8, 2010

I recently installed Lynx 10.04 amd64. Twice now, my entire file system has become unusable -- each time after a short power outage (2 seconds).

In the first setup, I had two primary partitions: 1) / that was ext4; 2) /home that was ext4.

In the second setup, I changed the /home to ext3.

Both times, after booting up following the power outage, I received a message saying that "serious errors" were found in /home. But, after several reboots, I was able to login and use the system. Then, some time later, I would started getting "Read Only" messages when trying to write to the file system.

fsck gave the following message: "/home terminated with status 4". I received numerous "I/O error" on sda messages.

My question: Is this vulnerability due to using ext4 or is it related more to something else in Lynx 10.04? Further, what can I do (other than buying a power backup device) to avoid my file system becoming unusable after a power outage?

View 5 Replies View Related

Ubuntu :: After Power Failure Boots Into Blank Screen

Jun 23, 2010

I'm using Ubuntu 10.04 64-bit, which is installed to a second hard drive on my desktop. Earlier this afternoon, there were two 10 second power outages in my neighborhood. The first caused the system to restart with no effect, but after the second outage Ubuntu no longer boots properly. The problem is this: When I boot, I get to the grub screen. I have tried choosing four different options (the most recent kernel, a slightly older kernel, and the recovery mode of each). For each, kernel begins loading, but at a certain point the input to the monitor dries up, and after a few seconds the monitor enters standby mode. When I boot into recovery mood, the last message I see before the screen goes blank includes "udev starting version 151" followed by three lines that read "assuming [something that I can't read before the screen goes blank]." The computer itself remains on, but I have no way of knowing exactly what it is doing.

There seems to be no hardware damage as I can boat into Vista, and I can also boot into 10.04 from a USB. I've used fsck to check the partitions on my hard drive and the test came up clean for all of them. Since I only installed 10.04 a week ago, I could just copy the handful of useful files I have to my external drive and re-install, but I'd like to get some experience troubleshooting this problem. My first assumption is some kind of problem with the video drivers or GUI.

View 2 Replies View Related

Ubuntu :: Desktop Crashed Due To Power Failure - Cant Boot 10.10?

Feb 12, 2011

today my desktop crashed due to power failure. When i again started the machine and tried to boot Ubuntu i m getting the following message in command screen:- "Minimal BASH-Like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists is possible device & file completions."

View 7 Replies View Related

Ubuntu :: Installation Crashed After Power Supply Failure

Mar 8, 2011

My pc had hardware malfunction; power supply interruption. At this moment it is working stable. My Windows 7 installation is ok but Ubuntu Maverick which I used during crush has malfunction. When I start to boot it looks like this: I had to make a foto so you all can see the problem. all my important files are stored on Ubuntu partition..

View 4 Replies View Related

General :: System Is Rebooting From A Crash/power Failure?

May 8, 2010

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,

View 2 Replies View Related

CentOS 5 Server :: NFS - Mount Clntudp_create: RPC: Port Mapper Failure - RPC: Unable To Receive

Aug 27, 2010

I installed NFS and portmap for export a folder to another PC. /usr/local. ftp is server's hostname and ws01 is client's hostname. I edited file /etc/exports with next text: /usr/local ws01(rw,root_squash) *(ro)

I restarted service portmap and nfs. From client, I try check connection with server with command: showmount -e ftp and result is: mount clntudp_create: RPC: Port mapper failure - RPC: Unable to receive

View 1 Replies View Related

CentOS 5 :: Edit Bios - Compaq Evo 5.4 Web Server Fails To Restart From A Power Outage

Jun 7, 2011

I have a small problem on my Compaq Evo Centos 5.4 web server. The web server runs just fine, the problem is it fails to restart from a power outage. Simple edit the BIOS. No! For a reason I can't think of the keyboard stops working after a few key strokes following the F10 to enter BIOS setup. Then its a power cycle. If left to BOOT the PC and keyboard are fine. After hearing about viruses which get to the BIOS I will ask can NIX get that far so I can adjust the Power ON?

View 4 Replies View Related

OpenSUSE Install :: Updating SystemTap Failed After Power Failure

Apr 27, 2010

Unfortunately my laptop was powered off whilst the Updater Applet was doing an update. Now, after a reboot, the system always fails when updating. Neither the Updater Applet nor yast does succeed. To me it looks like some involved DB got corrupted. The error messages are shown below.

Code:
Subprocess failed. Error: RPM failed: error: package systemtap-runtime-0.9.9-2.4.i586 is not installed
Code:
Subprocess failed. Error: RPM fehlgeschlagen: error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index
error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page not found
error: error(-30987) getting "" records from Requireversion index .....

View 4 Replies View Related

Ubuntu Networking :: Refresh Network After Power Failure On Laptop?

Apr 24, 2010

have Karmic Coala runing on an IBM thinkpad X.41. Works great. My home network is all ethernet so I have a router , CAT5 cable to laptop.A coupleof times I've had power outages The laptop carries on as it's on battery power. When the power comes back , the router restarts, it reconnects after a few minutes but the laptop doesn't reconnect to the network seamlessly. On some other Linux distro's I've had running /etc/init.d/network restart will refresh everything. On Ubuntu I have /etc/init.d/networks but running restart In the end I needed to reboot the laptop to get the network back on.Perhaps this is a power management issue with the laptop ethernet card i.e losing power powers down the card and it never comes back up properly.

View 2 Replies View Related

Ubuntu :: Prevent The Sleep State From Being Lost On Power Failure?

May 17, 2010

When I tell the computer to go to sleep and there is a power failure the sleep state is lost. Is there a way to prevent this? I already know about hibernate and I'm using it but sleep is faster and there is no complete loading of the computer (BIOS, Grub and so on) it just goes directly into the desktop. As far as I know the sleep state is done when everything is in RAM and the computer is turned off but the RAM sticks still receive power. Is this true?

P.S. Can this be done with hibernate and SSD drives? As far as I can tell from what I've read it will be the same but with no state loss. Is this true?

View 2 Replies View Related

Ubuntu Installation :: Power Failure During Kernel Update - How To Recover

Sep 12, 2010

I was updating the kernel and left the computer to let it do its business. There was power failure and I don't know if the update completed or if it was in the middle of it. Now if I start the computer, it freezes up at the login screen. I tried to recover from grub, by selecting "Ubuntu, with Linux 2.6.32-21-generic (recovery mode)". There were no prompts for input after this. The recovery screen is not updating anything after:

[2.348886] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[2.349015] EXT4-fs (sda1): write access will be enabled during recovery
[2.577641] EXT4-fs (sda1): recovery complete
[2.578072] EXT4-fs (sda1): mounted filesystem with ordered data mode
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.

When I come out of that screen (ctrl-alt-del), the problem repeats.

View 3 Replies View Related







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