Difference between revisions of "TroubleShooting"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 14: Line 14:
 
  lsof | grep /mnt
 
  lsof | grep /mnt
 
Then kill the process.
 
Then kill the process.
 +
 +
= root-Password is lost =
 +
Boot Linux with the parameter "init=/bin/bash"
 +
You get a root-shell. Enter:
 +
mount -o remount, rw /
 +
passwd
 +
mount -o remount,ro /
 +
and reboot

Revision as of 14:05, 27 March 2010

My program does not start

If your program does not start

  • make sure you have execute priviledges for it using the command
ls -l
  • make sure the program can load its libraries using the command
ldd
  • look what the problem is using the command
strace

My network connection is broken

Umount does not work

lsof | grep /mnt

Then kill the process.

root-Password is lost

Boot Linux with the parameter "init=/bin/bash" You get a root-shell. Enter:

mount -o remount, rw /
passwd
mount -o remount,ro /

and reboot