Archive for 'Troubleshooting'

Installing JPype throwing Fatal Error

JPype is a perquisite for neo4j-embedded. To install JPype, you should have following packages installed prior to that:

  • g++
  • python26-devel
  • gcc
  • jdk

After installing everything, I tried to install JPype, but stuck in this error

src/native/common/include/jpype.h:45:17: fatal error: jni.h: No such file or directory

I looked and found out that the compile process is not able to find “jni.h”, which …

Read the complete article »

JBoss Application Server cannot startup

This is one of the very weirdest and very easy problem I have seen while trying to start a JBOSS server.
I checked every single thing, might it be JDK version, permissions on the files and directories and every other thing, but I didn’t find anything. When I tries to start the JBOSS server, the logs looks something like this:…

Read the complete article »

mongorestore failed with error

This is a very recent problem I faced while working on mongodb.

I took a dump at one machine with mongodump, like this:

$ mongodump -h 127.0.0.1

After moving the dump to another machine, when I tried to restore the dump using this command, I get the following error:

$ mongorestore dump

Thu Oct 11 21:12:52 going into namespace [test.napster]

Read the complete article »

Problem: perl: warning: Setting locale failed

This is one of the very most common issue most of the people face.

perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").

Read the complete article »

This is one of the most common error seen during svn sync. I myself spent some pretty good time to figure out the perfect solution for this error. After few iterations, I came up with different solutions which are given below.

Read the complete article »