I am running a headless install of Ubuntu 10.0.4 LTS on a PVS. I was carrying out an OS upgrade earlier on today. I SSH'd into the sever and typed the following commands:
sudo aptitude update sudo aptitude safe-upgrade
Whilst the second command (sudo aptitude safe-upgrade) was running, I (foolishly) decided to shut the server down (to bring down Apache and any other daemons that may be running on the server), whilst the OS and other software was being upgraded.
I lost my SSH connection to the server (unsuprisingly), and the install was aborted by the server being shut down. After rebooting the server, I have been unable to log into the server again.
Here is the console output when I attempt to login remotely using the Lish Ajax Console:
XENBUS: Device with no driver: device/console/0 md: Waiting for all devices to be available before autodetect md: If you don't use raid, use raid=noautodetect md: Autodetecting RAID arrays. md: Scanned 0 and added 0 devices. md: autorun ... md: ... autorun DONE. REISERFS warning (device xvda): super-6502 reiserfs_getopt: unknown mount option "nobarrier" EXT3-fs: barriers not enabled kjournald starting. Commit interval 5 seconds EXT3-fs (xvda): mounted filesystem with writeback data mode VFS: Mounted root (ext3 filesystem) readonly on device 202:0. devtmpfs: mounted Freeing unused kernel memory: 668k freed Write protecting the kernel read-only data: 10240k Freeing unused kernel memory: 84k freed Freeing unused kernel memory: 1356k freed init: udevtrigger main process (1203) terminated with status 1 init: udevtrigger post-stop process (1205) terminated with status 1 init: udevmonitor main process (1202) killed by TERM signal
I thought there maybe something messed up with the filesystem, so I run fsck. Here is the output:
root@hvc0:~# fsck -fy /dev/xvdb fsck from util-linux 2.19.1 e2fsck 1.42-WIP (02-Jul-2011) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/xvdb: 111349/1286144 files (6.5% non-contiguous), 1798314/5120000 blocks root@hvc0:~#
AFAIK, this means that there is nothing wrong with the filesystem - so I have no idea what else to do. My server is currently unreachable, and I can't SSH in to try to rerun the install in case that was the cause of all of this.
Does anyone have any idea on what the issue could be and how I may resolve this and get the server back online?