Unable to start mongod on Ubuntu 16.04 - âUnable to connect to Upstartâ
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
This is the status of mongod service
Unable to connect to upstart: Failed to connect to socket /com/ubuntu/upstart:
Connection refused
How can I fix it?
16.04 mongodb
add a comment |Â
up vote
0
down vote
favorite
This is the status of mongod service
Unable to connect to upstart: Failed to connect to socket /com/ubuntu/upstart:
Connection refused
How can I fix it?
16.04 mongodb
1
@VladSpirin please make images hyperlinks, especially when they are screenshots with tiny text (see the edit for the syntax) and Ankit Singh please copy and paste text from your terminal and format as code with thebutton rather than showing a screenshot, unless the screenshot shows something that text cannot - text is searchable, copyable and more accessible. Thanks!
â Zanna
May 28 at 8:45
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
This is the status of mongod service
Unable to connect to upstart: Failed to connect to socket /com/ubuntu/upstart:
Connection refused
How can I fix it?
16.04 mongodb
This is the status of mongod service
Unable to connect to upstart: Failed to connect to socket /com/ubuntu/upstart:
Connection refused
How can I fix it?
16.04 mongodb
edited May 28 at 8:43
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
Zanna
47.8k13116226
47.8k13116226
asked May 28 at 8:18
Ankit Singh
1
1
1
@VladSpirin please make images hyperlinks, especially when they are screenshots with tiny text (see the edit for the syntax) and Ankit Singh please copy and paste text from your terminal and format as code with thebutton rather than showing a screenshot, unless the screenshot shows something that text cannot - text is searchable, copyable and more accessible. Thanks!
â Zanna
May 28 at 8:45
add a comment |Â
1
@VladSpirin please make images hyperlinks, especially when they are screenshots with tiny text (see the edit for the syntax) and Ankit Singh please copy and paste text from your terminal and format as code with thebutton rather than showing a screenshot, unless the screenshot shows something that text cannot - text is searchable, copyable and more accessible. Thanks!
â Zanna
May 28 at 8:45
1
1
@VladSpirin please make images hyperlinks, especially when they are screenshots with tiny text (see the edit for the syntax) and Ankit Singh please copy and paste text from your terminal and format as code with the
button rather than showing a screenshot, unless the screenshot shows something that text cannot - text is searchable, copyable and more accessible. Thanks!â Zanna
May 28 at 8:45
@VladSpirin please make images hyperlinks, especially when they are screenshots with tiny text (see the edit for the syntax) and Ankit Singh please copy and paste text from your terminal and format as code with the
button rather than showing a screenshot, unless the screenshot shows something that text cannot - text is searchable, copyable and more accessible. Thanks!â Zanna
May 28 at 8:45
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Start MongoDB with systemctl in Ubuntu 16.04.
sudo systemctl start mongod
Check the status.
mongo
It should appear in the mongo shell.
Alternatively depending on how you installed mongodb the commandsudo systemctl status mongod
will check that the service has started properly.
â karel
May 28 at 9:09
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Start MongoDB with systemctl in Ubuntu 16.04.
sudo systemctl start mongod
Check the status.
mongo
It should appear in the mongo shell.
Alternatively depending on how you installed mongodb the commandsudo systemctl status mongod
will check that the service has started properly.
â karel
May 28 at 9:09
add a comment |Â
up vote
0
down vote
Start MongoDB with systemctl in Ubuntu 16.04.
sudo systemctl start mongod
Check the status.
mongo
It should appear in the mongo shell.
Alternatively depending on how you installed mongodb the commandsudo systemctl status mongod
will check that the service has started properly.
â karel
May 28 at 9:09
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Start MongoDB with systemctl in Ubuntu 16.04.
sudo systemctl start mongod
Check the status.
mongo
It should appear in the mongo shell.
Start MongoDB with systemctl in Ubuntu 16.04.
sudo systemctl start mongod
Check the status.
mongo
It should appear in the mongo shell.
edited May 28 at 9:06
answered May 28 at 8:51
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
karel
49.6k11105126
49.6k11105126
Alternatively depending on how you installed mongodb the commandsudo systemctl status mongod
will check that the service has started properly.
â karel
May 28 at 9:09
add a comment |Â
Alternatively depending on how you installed mongodb the commandsudo systemctl status mongod
will check that the service has started properly.
â karel
May 28 at 9:09
Alternatively depending on how you installed mongodb the command
sudo systemctl status mongod
will check that the service has started properly.â karel
May 28 at 9:09
Alternatively depending on how you installed mongodb the command
sudo systemctl status mongod
will check that the service has started properly.â karel
May 28 at 9:09
add a comment |Â
Â
draft saved
draft discarded
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1041118%2funable-to-start-mongod-on-ubuntu-16-04-unable-to-connect-to-upstart%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
@VladSpirin please make images hyperlinks, especially when they are screenshots with tiny text (see the edit for the syntax) and Ankit Singh please copy and paste text from your terminal and format as code with the
button rather than showing a screenshot, unless the screenshot shows something that text cannot - text is searchable, copyable and more accessible. Thanks!
â Zanna
May 28 at 8:45