OS Categories

Where almost everything resides.

One of the common problems after boot from a cdrom is accessing the devices or processes that runs from the cd but inside the jail of the chroot. You can bind some already mounted system folders like /dev, inside our root partition. Here's what I usually do: Boot up from a rescue cd Mount root partition to /mnt and boot partition into /mnt/boot. mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys mount --bind /dev /mnt/dev chroot /mnt (you just went live on the system) Now Read more...

After trying to do login, i got the error about some permission denied running bash.

Making a long story short, this error comes due to some file permission problems. You can read the hole story in http://linuxgazette.net/issue52/okopnik.html

Now the solution:

# strace -s 10000 -vfo login.username login username

where username is the user login that fails.

 

If your system starts and you get the error : "Cannot Stat Resume Device File. Please type in the name to try again or press ENTER to boot the system" The problem looks like the swap partition is not ready at the point the resume script / module is running, maybe because the device is wrong set in a configuration file (for example after a P2V migration). You have two options. edit /etc/uswsusp.conf and set the resume device with correct swap partition. resume device = /dev/sda2 --> Read more...
One of the most problematic port redirections are those redirecting UDP ports. Based on SSH protocol, there is no way to redirect UDP ports over SSH tunnels. Imagine you are behind a FW with very restrictive rules and your connection must use a Proxy witn no name resolutions outside of the intranet, there are no too much ways to access to an external DNS and surf internet, but there are some... Here it is explained a way how to redirect UDP ports with the help of socat (NetCat+++), and a SSH Read more...
  First, go to Oracle and look for the rpm of java but, for x64 (good luck :)). Install it normally, like any other rpm. # rpm -ihv javaxxxxxx.rpm Now we must work manually.. Create a symbolic link to allow use use it in Mozilla. # ln -sf /usr/java/jre1.6.0_13/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/ And create your own link to it, like with: # mkdir /$HOME/.mozilla/plugins # ln -sf /usr/java/jre1.6.0_13/lib/amd64/libnpjp2.so /$HOME/.mozilla/plugins/ and launch firefox.   Read more...