RSS RSS

Posts tagged: troubleshooting

Simple single user mode on Fedora 12

By , 7 Apr 2010 9:30 am

Fedora Logo 128x128Recently I had a problem with my nvidia driver and kernel which crippled my machine at boot-up. After the grub screen the pretty plymouth eye candy never appeared, the monitor went into power-saving mode, and I couldn’t even access a local console with Ctrl-Alt-F2.

Normally I would have reverted to a previous kernel, but in this instance the machine had just been clean installed with web repositories, so it only had the broken kernel. To make matters even worse, the DNS server refused to return information about the machine, which had registered with DHCP, but hadn’t sent the host name. Since I didn’t know the IP, I couldn’t log in with SSH.

Single User mode to the rescue! This is the perfect use for a single user login. The procedure is pretty simple, as far as Linux recovery steps go.

  1. Interrupt grub at startup and press ‘a‘ to edit the kernel line.
  2. Remove the ‘rhgb‘ and ‘quiet‘ options and replace them with ‘single
  3. Boot the kernel with your modified options
  4. Once the kernel boots, you can run disk checks or other repair activities.
  5. In this case, I wanted to continue to a normal boot prompt, which is run-level three. On Fedora and other RedHat-derived systems simply type ‘init 3‘ at the single user prompt.

The machine will immediately continue with the boot sequence, starting other necessary services. The process stops at a login prompt. Hopefully you have instructions to assist in fixing the problem from there. When you are done you can issue a ‘reboot‘ and find out if you’ve fixed the problem!

Updated: Missing environment variables in IntelliJ IDEA?

By , 2 Jul 2009 12:37 pm

Updated 2010-04-08

I am running IntelliJ IDEA on an Ubuntu 9.04 desktop at work and I’ve had troubles when the IDE attempts to run build scripts, such as Ant or Maven. Typically the scripts would fail with an error message along the lines of “unable to find ${env.APP_HOME}” when looking for a folder whose path was set by my environment variables.

I’ve troubleshot this and found that IDEA isn’t starting with any of my login environment variables when launched from the panel. When I started the IDEAPATH/bin/idea.sh script from the Terminal, everything was peachy. It only failed when I started the application with the gnome-panel or Gnome-Do.

Continue reading “Updated: Missing environment variables in IntelliJ IDEA?” »

Persephone Theme by Themocracy