살군의 보조기억 장치

Another memory device…

몽고DBmongodb setting problem

leave a comment »

I spent couple of hours to figure out what was wrong in my system(Ubuntu). I had found a sample code from git-hub(https://github.com/springsource/spring-data-document-examples) of the spring data project and tested it but failed. This was the beginning of my problem. I tracked my log then I found the test code tried to connect the address “127.0.1.1” which is address of my domain name. You may see if you hit command “prompt>cat /etc/hosts” and this will show up your domain name and address.

I solved this problem, by the way, to put my localhost address(127.0.0.1) manually on the sample code. Below shows another solution, yet I didn’t tried. How to fix Apache – “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName” Error on Ubuntu .

Advertisements

Written by gomiski

2011/08/16 at 7:56 am

Posted in Java, Lecture, Linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: