10-23-2001
You should do as suggested: log in as root and run the fsck command. Example syntax might be:
fsck -A
That will run the filesystem check on all filesystems on your system. If you find you are getting lots of errors, you can run:
fsck -A -a
to automatically repair. I would only suggest doing that if all your filesystems are ext2 (if you don't know, then they probably are).
You can also check a single filesystem with something like:
fsck /
That will check only the root filesystem.
HTH
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Our SUn Solaris Server has crashed second time in 2 days, reason is not known , we are trying to determine what could have gone wrong, any ideas, the power supply seems to be fine, there is no response from keyboard,monitor etc and we had to do a hot boot yesterday..
Any suggestions what could be... (9 Replies)
Discussion started by: knarayan
9 Replies
2. UNIX for Advanced & Expert Users
We have had a server (Solaris 2.6) hardisk crash. When booting the server we get:
ok> boot -S
Boot Device: /sbus/espdmc@e, 8400000/esp@e,8800000/sd@0,0
short read 0x2000 chars read
disk read error
The only way we can get into the console is to
ok> boot cdrom
whereby everything (e.g.... (3 Replies)
Discussion started by: Breen
3 Replies
3. Shell Programming and Scripting
How can I simulate a Linux OS crash without damaging the OS? I am performing an os watchdog test that sends out an alert once the timer
expires. (1 Reply)
Discussion started by: cstovall
1 Replies
4. Linux
Is it true that you can't have the crash dump server/client on the same server?
I know I've installed Nagios open source before, I though it's only for that kind of thing. I never though that Red hat ent 4 would be like client/server on the crash dump.
if someone is having problem with high... (0 Replies)
Discussion started by: itik
0 Replies
5. Programming
Problem
- Linux Client/Server Socket Application: Preventing Client from quitting on server crash
Hi,
I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64.
I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Discussion started by: varun.nagpaal
2 Replies
6. UNIX for Dummies Questions & Answers
Can anybody let me know the steps how can I produce a crash dump and then analyze it? (4 Replies)
Discussion started by: rupeshkp728
4 Replies
7. Red Hat
Hello Folks,
My RHEL 4.3 server got crashed due to hardware crash,system hard disk and motherboard replaced and RAID rebuilt done.
while rebooting the server the server is gone into single user mode due to /sda5 var partition not able to mount.
Error :- " wrong fs type, bad... (1 Reply)
Discussion started by: kmvinay
1 Replies
8. SCO
Hi there.
Well i have a really bad problem with my server:
UnixWare Version 5 Release 7
The system crash :wall: and show the error:
Panic: Kernel-mode address fault on user address 0x00000004 :eek:
If anyone knows about the reason of this error please give me a help
Sorry by my english.... (3 Replies)
Discussion started by: danilosevilla
3 Replies
9. Programming
The steps to test the problem
1. Open TCP Server
2. Open TCP Client
3. TCP Client sends data to Server.
4. Close TCP Server and the client also crash without any notification
Second wonderful test:
1. Comment the following statement in Client.c (at line 168) and compile it
Writen(... (1 Reply)
Discussion started by: sehang
1 Replies
10. Red Hat
hi,
i would like to configure netdump, but saving the var/crash in the server itself, not in another server.
could anybody tell me if this is possible?
thanks (4 Replies)
Discussion started by: pabloli150
4 Replies
LEARN ABOUT CENTOS
mcookie
MCOOKIE(1) User Commands MCOOKIE(1)
NAME
mcookie - generate magic cookies for xauth
SYNOPSIS
mcookie [options]
DESCRIPTION
mcookie generates a 128-bit random hexadecimal number for use with the X authority system. Typical usage:
xauth add :0 . `mcookie`
The "random" number generated is actually the output of the MD5 message digest fed with various pieces of random information: the current
time, the process id, the parent process id, and optionally the contents of an input file. and several bytes of information from the first
of the following devices which is present: /dev/random, /dev/urandom, files in /proc, /dev/audio.
OPTIONS
-f, --file=FILE
Use file as a macig cookie seed. When file is defined as `-' character input is read from stdin.
-v, --verbose
Explain what is being done.
-V, --version
Output version information and exit.
-h, --help
Display this help and exit.
BUGS
The entropy in the generated 128-bit is probably quite small (and, therefore, vulnerable to attack) unless a non-pseudorandom number gener-
ator is used (e.g., /dev/random under Linux).
It is assumed that none of the devices opened will block.
FILES
/dev/random
/dev/urandom
/dev/audio
/proc/stat
/proc/loadavg
SEE ALSO
X(1), xauth(1), md5sum(1)
AVAILABILITY
The mcookie command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2011 MCOOKIE(1)