unable to start mongodb local server

Recently I explore mongoDB document database using multinode cluster, somehow, after I turn off the machine, I got the following errors

Address already in use for socket:

I found some related articles, this and that, and the following answer by Sacha is work for me,

In this case, type the following command

ps wuax | grep mongo

You should see something that looks like this

User           31936   0.5 0.4 2719784 35624   ?? S     7:34pm   0:09.98 mongod
User           31945   0.0 0.0 2423368   184 s000 R+   8:24pm   0:00.00 grep mongo

Now enter the kill command for the mongod instance (31936 in this case):

kill 31936

2014 in review

The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.

Here’s an excerpt:

A San Francisco cable car holds 60 people. This blog was viewed about 1,500 times in 2014. If it were a cable car, it would take about 25 trips to carry that many people.

Click here to see the complete report.

Display the word ‘Figure’ in List of Figure Latex

Configuring my thesis document format it’s quite tedious :D, but so interesting.

I also want to know How can i set my listoffigures to display the word ‘Figure’ before the figure number?

What i want is that the List of Figures displays as follows:

Figure 1 : caption………………………….page
Figure 2 : caption………………………….page
Figure 3 : caption………………………….page

Getting the tips from this source, the solution will be

Re: Figures and listoffigures..  Topic is solved

Postby Stefan_K on Mon Jun 30th, 2008

Hi fipoo,

welcome to this forum!
You could use the tocloft package to customize the list of figures, see its documentation. Have a look at the following small example demonstrating it similar to your description:


Thank you

Changing Figure 1.1 to Figure 1

I would like to change the Figure caption format without including chapter number,

then I found the answer here :

by following this example:

% ———-
% this needs to be in the preamble:
% ———-




or you can see the complete example in writelatex

How to change the name of document elements like “Figure”, “Contents”, “Bibliography” in Latex

I’d like to modify the names used to typeset some of my document elements. For example, the caption of figure floats should change from “Figure” to “Fig.”, and my \tableofcontentssectioning heading shouldn’t read “Contents”, but “Table of Contents”.

I get the step by step from this source :

Tex exchange

For me, since I am using \usepackage[english]{babel} the following is works by adding it before \begin{document}

  \renewcommand{\contentsname}{Table of Contents}%

Change capter font and format Latex

Writing the thesis Latex format somehow we face some unusual format of chapter. Usually the chapter heading is written like this

Chapter 1


however, I would like to make it like the following:

1. Introduction

with Introduction font is small caps font,

For making it happen, getting references from this site, we can add the following option to customize it

* adding the package


*add the following lines before \begin{document}

\vspace*{50 pt}%
{\setlength{\parindent}{0pt} \raggedright \fontfamily{phv}\selectfont\bfseries\LARGE
\color{blue} {\thechapter.\ #1\par\nobreak\vspace{20 pt}}}}


and yay, it works for my Latex document ^^

the full example is here

more option can be seen here