sudo -u <user-name> dropdb <database-name>
Archive for February 2008
A lot of the times , I need to find the UUID for my devices while running Ubuntu 7.10 linux on my box.
I found this article very useful !
Recently, I added a new partition to my ubuntu (7.10 -64bit version) box and wanted to move my /home partition to this new partition.
That way, I could reformat my main partition and still get to keep /home partition intact. I came across this article which proved very helpful !
I was trying to install pulse on my ubuntu linux (64 bit version) using the following command
> pulse-linux-gtk-x86$ ./pulse-install
I was getting the following error :
Launching Pulse installer…
Exception in thread “main” java.lang.UnsatisfiedLinkError: no swt-gtk-3347 or swt-gtk in swt.library.path, java.library.path or the jar file
I tried the following command with the same result (above error)
> /pulse-linux-gtk-x86$ java -jar pulse-linux-gtk-x86.jar
I noticed my java was 64 bit version (by running the following command)
> java -version
java version “1.6.0_03”
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
I downloaded and installed a 32-bit jdk from sun’s site (the following file)
|Linux self-extracting file||jdk-1_5_0_14-linux-i586.bin||47.35 MB|
I installed the above mentioned 32 bit jdk in /home/user/sdks/jdk1.5 directory
and then ran the following command
> /home/user/sdks/jdk1.5/bin/java -jar /home/user/downloads/pulse-installer/pulse-install
That successfully started the pulse installer for me !