Press enter for maintenance (or type control-d to continue)What server control panels are available for Ubuntu Server?no security type suitable for rfb 3.3 supportedLDAP not working properly with LAM and lamdaemonAvoid enter press on grub on Ubuntu ServerMAAS with external DHCP or Static assignment
Can Teflon thread tape be reused?
Is Fox News not classified as a news channel?
Why 401k contribution as % of salary vs. fixed amount per pay check?
Miniseries in post-rapture US with good/evil conflict
Starting with D&D: Starter Set vs Dungeon Master's Guide
Do I even like doing research?
What does "können" refer to in this sentence?
Why does E7 sharp 9 have a G?
A Ukrainian idiom meaning "on one's last legs"
How to find a path that connects all the dots in the matrix?
Who is Gail Gasram?
Why do some planes have flashing lights within the plane cabin?
Unexpected linebreak with makebox
Threatening to discontinue a service for a client
Is there a word/phrase that can describe playing a musical instrument in a casual way?
Someone said to me, "We basically literally did." What were they trying to express to me?
Exactly what color was the text on monochrome terminals with green-on-black and amber-on-black screens?
Select polygons with 5 or more points
Dollar cost averaging vs buy low/sell high
Why would a berry have a slow-acting poison?
How to deal with an employee who is requesting a demotion?
What is the largest piece of space debris volumetrically?
What does "Massage with salt" mean in a recipe?
What will happen to a ball kept on a frictionless inclined plane?
Press enter for maintenance (or type control-d to continue)
What server control panels are available for Ubuntu Server?no security type suitable for rfb 3.3 supportedLDAP not working properly with LAM and lamdaemonAvoid enter press on grub on Ubuntu ServerMAAS with external DHCP or Static assignment
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I am using windows 10 and configured Ubuntu on virtual machine using Hyper-V for making a shared file server within our small office. I have assigned 2048Mb RAM to Ubuntu file server. I am facing a problem, whenever the physical computer shuts down accidentally (Due to electricity issue) and restarts, the file server is not accessible. When I open the Hyper-V, Ubuntu gives the message in last line
Welcome to emergency mode! After logging in, type "journalct1 -xb" to view
Press enter for maintenance (or press Control-D to continue"

The only problem is that I have to manually RDP the server and click manually the CtrlD to continue otherwise it keeps there and server files are not accessible.
I am not very good in Linux and just first time I am using it with the help of video tutorials.
Kindly help me out to get rid of this situation so in any case when the physical computer restarts, the VM starts completely itself.
Thanks.
server
add a comment
|
I am using windows 10 and configured Ubuntu on virtual machine using Hyper-V for making a shared file server within our small office. I have assigned 2048Mb RAM to Ubuntu file server. I am facing a problem, whenever the physical computer shuts down accidentally (Due to electricity issue) and restarts, the file server is not accessible. When I open the Hyper-V, Ubuntu gives the message in last line
Welcome to emergency mode! After logging in, type "journalct1 -xb" to view
Press enter for maintenance (or press Control-D to continue"

The only problem is that I have to manually RDP the server and click manually the CtrlD to continue otherwise it keeps there and server files are not accessible.
I am not very good in Linux and just first time I am using it with the help of video tutorials.
Kindly help me out to get rid of this situation so in any case when the physical computer restarts, the VM starts completely itself.
Thanks.
server
2
Maybe you should actually runjournalctl -xbfor once and see what is failing.
– muru
Apr 3 '17 at 7:10
2
Maybe you should put this ubuntu server on dedicated machine or cloud VPS.
– Kamil
Apr 3 '17 at 8:28
Getting this error when trying to execute journalctl -xb Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions.
– Umar saifi
Apr 3 '17 at 8:33
add a comment
|
I am using windows 10 and configured Ubuntu on virtual machine using Hyper-V for making a shared file server within our small office. I have assigned 2048Mb RAM to Ubuntu file server. I am facing a problem, whenever the physical computer shuts down accidentally (Due to electricity issue) and restarts, the file server is not accessible. When I open the Hyper-V, Ubuntu gives the message in last line
Welcome to emergency mode! After logging in, type "journalct1 -xb" to view
Press enter for maintenance (or press Control-D to continue"

The only problem is that I have to manually RDP the server and click manually the CtrlD to continue otherwise it keeps there and server files are not accessible.
I am not very good in Linux and just first time I am using it with the help of video tutorials.
Kindly help me out to get rid of this situation so in any case when the physical computer restarts, the VM starts completely itself.
Thanks.
server
I am using windows 10 and configured Ubuntu on virtual machine using Hyper-V for making a shared file server within our small office. I have assigned 2048Mb RAM to Ubuntu file server. I am facing a problem, whenever the physical computer shuts down accidentally (Due to electricity issue) and restarts, the file server is not accessible. When I open the Hyper-V, Ubuntu gives the message in last line
Welcome to emergency mode! After logging in, type "journalct1 -xb" to view
Press enter for maintenance (or press Control-D to continue"

The only problem is that I have to manually RDP the server and click manually the CtrlD to continue otherwise it keeps there and server files are not accessible.
I am not very good in Linux and just first time I am using it with the help of video tutorials.
Kindly help me out to get rid of this situation so in any case when the physical computer restarts, the VM starts completely itself.
Thanks.
server
server
edited Apr 3 '17 at 9:12
muru
1
1
asked Apr 3 '17 at 7:02
Umar saifiUmar saifi
11 gold badge1 silver badge1 bronze badge
11 gold badge1 silver badge1 bronze badge
2
Maybe you should actually runjournalctl -xbfor once and see what is failing.
– muru
Apr 3 '17 at 7:10
2
Maybe you should put this ubuntu server on dedicated machine or cloud VPS.
– Kamil
Apr 3 '17 at 8:28
Getting this error when trying to execute journalctl -xb Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions.
– Umar saifi
Apr 3 '17 at 8:33
add a comment
|
2
Maybe you should actually runjournalctl -xbfor once and see what is failing.
– muru
Apr 3 '17 at 7:10
2
Maybe you should put this ubuntu server on dedicated machine or cloud VPS.
– Kamil
Apr 3 '17 at 8:28
Getting this error when trying to execute journalctl -xb Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions.
– Umar saifi
Apr 3 '17 at 8:33
2
2
Maybe you should actually run
journalctl -xb for once and see what is failing.– muru
Apr 3 '17 at 7:10
Maybe you should actually run
journalctl -xb for once and see what is failing.– muru
Apr 3 '17 at 7:10
2
2
Maybe you should put this ubuntu server on dedicated machine or cloud VPS.
– Kamil
Apr 3 '17 at 8:28
Maybe you should put this ubuntu server on dedicated machine or cloud VPS.
– Kamil
Apr 3 '17 at 8:28
Getting this error when trying to execute journalctl -xb Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions.
– Umar saifi
Apr 3 '17 at 8:33
Getting this error when trying to execute journalctl -xb Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions.
– Umar saifi
Apr 3 '17 at 8:33
add a comment
|
2 Answers
2
active
oldest
votes
Probably your file-system is corrupted. Try this:
First identify your partition.
Run the command:
umount -t /dev/your-partition
Then:
fsck -y /dev/your-partition
For example, my Linux / directory is at sda3, but my /home directory is at sda5, so when something like this happens to me, I do the following:
Press enter for command line;
Type:
umount -t /dev/sda3
- Hit enter;
umount -t /dev/sda5
*****DO NOT USE: umount -a*****
Hit enter;
Then:
fsck -y /dev/sda3
- Hit enter;
fsck -y /dev/sda5
- Hit enter;
If you don't know which partition to choose, type umount -t /dev/sd and hit tab twice for you to see its available partitions.
add a comment
|
You need to combat the sickness, not the symptoms!
If your server shuts down because of electricity failures, buy an Uninterruptible Power Supply (UPS)! If you don't, not only is your file system going to go haywire after enough interruptions, but your hardware as well...
That's why we have data centers where we normally store our servers, and if you can't afford a UPS: UPSes are much cheaper to buy then new computers... (Which makes this answer and your question totally off-topic here)
We could make the pesky error message go away but that would be like giving you an aspirin instead of giving you antibiotics to cure your disease.
Thanks for your response. i am looking for APC UPS in parallel. Meanwhile i want to overcome this issue as well,that was the purpose of posting question.
– Umar saifi
Apr 3 '17 at 11:22
You can't overcome hardware issues by a software solution while the reverse is sometimes true...
– Fabby
Apr 4 '17 at 11:58
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f899634%2fpress-enter-for-maintenance-or-type-control-d-to-continue%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Probably your file-system is corrupted. Try this:
First identify your partition.
Run the command:
umount -t /dev/your-partition
Then:
fsck -y /dev/your-partition
For example, my Linux / directory is at sda3, but my /home directory is at sda5, so when something like this happens to me, I do the following:
Press enter for command line;
Type:
umount -t /dev/sda3
- Hit enter;
umount -t /dev/sda5
*****DO NOT USE: umount -a*****
Hit enter;
Then:
fsck -y /dev/sda3
- Hit enter;
fsck -y /dev/sda5
- Hit enter;
If you don't know which partition to choose, type umount -t /dev/sd and hit tab twice for you to see its available partitions.
add a comment
|
Probably your file-system is corrupted. Try this:
First identify your partition.
Run the command:
umount -t /dev/your-partition
Then:
fsck -y /dev/your-partition
For example, my Linux / directory is at sda3, but my /home directory is at sda5, so when something like this happens to me, I do the following:
Press enter for command line;
Type:
umount -t /dev/sda3
- Hit enter;
umount -t /dev/sda5
*****DO NOT USE: umount -a*****
Hit enter;
Then:
fsck -y /dev/sda3
- Hit enter;
fsck -y /dev/sda5
- Hit enter;
If you don't know which partition to choose, type umount -t /dev/sd and hit tab twice for you to see its available partitions.
add a comment
|
Probably your file-system is corrupted. Try this:
First identify your partition.
Run the command:
umount -t /dev/your-partition
Then:
fsck -y /dev/your-partition
For example, my Linux / directory is at sda3, but my /home directory is at sda5, so when something like this happens to me, I do the following:
Press enter for command line;
Type:
umount -t /dev/sda3
- Hit enter;
umount -t /dev/sda5
*****DO NOT USE: umount -a*****
Hit enter;
Then:
fsck -y /dev/sda3
- Hit enter;
fsck -y /dev/sda5
- Hit enter;
If you don't know which partition to choose, type umount -t /dev/sd and hit tab twice for you to see its available partitions.
Probably your file-system is corrupted. Try this:
First identify your partition.
Run the command:
umount -t /dev/your-partition
Then:
fsck -y /dev/your-partition
For example, my Linux / directory is at sda3, but my /home directory is at sda5, so when something like this happens to me, I do the following:
Press enter for command line;
Type:
umount -t /dev/sda3
- Hit enter;
umount -t /dev/sda5
*****DO NOT USE: umount -a*****
Hit enter;
Then:
fsck -y /dev/sda3
- Hit enter;
fsck -y /dev/sda5
- Hit enter;
If you don't know which partition to choose, type umount -t /dev/sd and hit tab twice for you to see its available partitions.
edited Oct 28 '17 at 19:01
answered Aug 31 '17 at 18:46
Eduardo HenriqueEduardo Henrique
11 bronze badge
11 bronze badge
add a comment
|
add a comment
|
You need to combat the sickness, not the symptoms!
If your server shuts down because of electricity failures, buy an Uninterruptible Power Supply (UPS)! If you don't, not only is your file system going to go haywire after enough interruptions, but your hardware as well...
That's why we have data centers where we normally store our servers, and if you can't afford a UPS: UPSes are much cheaper to buy then new computers... (Which makes this answer and your question totally off-topic here)
We could make the pesky error message go away but that would be like giving you an aspirin instead of giving you antibiotics to cure your disease.
Thanks for your response. i am looking for APC UPS in parallel. Meanwhile i want to overcome this issue as well,that was the purpose of posting question.
– Umar saifi
Apr 3 '17 at 11:22
You can't overcome hardware issues by a software solution while the reverse is sometimes true...
– Fabby
Apr 4 '17 at 11:58
add a comment
|
You need to combat the sickness, not the symptoms!
If your server shuts down because of electricity failures, buy an Uninterruptible Power Supply (UPS)! If you don't, not only is your file system going to go haywire after enough interruptions, but your hardware as well...
That's why we have data centers where we normally store our servers, and if you can't afford a UPS: UPSes are much cheaper to buy then new computers... (Which makes this answer and your question totally off-topic here)
We could make the pesky error message go away but that would be like giving you an aspirin instead of giving you antibiotics to cure your disease.
Thanks for your response. i am looking for APC UPS in parallel. Meanwhile i want to overcome this issue as well,that was the purpose of posting question.
– Umar saifi
Apr 3 '17 at 11:22
You can't overcome hardware issues by a software solution while the reverse is sometimes true...
– Fabby
Apr 4 '17 at 11:58
add a comment
|
You need to combat the sickness, not the symptoms!
If your server shuts down because of electricity failures, buy an Uninterruptible Power Supply (UPS)! If you don't, not only is your file system going to go haywire after enough interruptions, but your hardware as well...
That's why we have data centers where we normally store our servers, and if you can't afford a UPS: UPSes are much cheaper to buy then new computers... (Which makes this answer and your question totally off-topic here)
We could make the pesky error message go away but that would be like giving you an aspirin instead of giving you antibiotics to cure your disease.
You need to combat the sickness, not the symptoms!
If your server shuts down because of electricity failures, buy an Uninterruptible Power Supply (UPS)! If you don't, not only is your file system going to go haywire after enough interruptions, but your hardware as well...
That's why we have data centers where we normally store our servers, and if you can't afford a UPS: UPSes are much cheaper to buy then new computers... (Which makes this answer and your question totally off-topic here)
We could make the pesky error message go away but that would be like giving you an aspirin instead of giving you antibiotics to cure your disease.
answered Apr 3 '17 at 8:58
FabbyFabby
30.7k19 gold badges73 silver badges175 bronze badges
30.7k19 gold badges73 silver badges175 bronze badges
Thanks for your response. i am looking for APC UPS in parallel. Meanwhile i want to overcome this issue as well,that was the purpose of posting question.
– Umar saifi
Apr 3 '17 at 11:22
You can't overcome hardware issues by a software solution while the reverse is sometimes true...
– Fabby
Apr 4 '17 at 11:58
add a comment
|
Thanks for your response. i am looking for APC UPS in parallel. Meanwhile i want to overcome this issue as well,that was the purpose of posting question.
– Umar saifi
Apr 3 '17 at 11:22
You can't overcome hardware issues by a software solution while the reverse is sometimes true...
– Fabby
Apr 4 '17 at 11:58
Thanks for your response. i am looking for APC UPS in parallel. Meanwhile i want to overcome this issue as well,that was the purpose of posting question.
– Umar saifi
Apr 3 '17 at 11:22
Thanks for your response. i am looking for APC UPS in parallel. Meanwhile i want to overcome this issue as well,that was the purpose of posting question.
– Umar saifi
Apr 3 '17 at 11:22
You can't overcome hardware issues by a software solution while the reverse is sometimes true...
– Fabby
Apr 4 '17 at 11:58
You can't overcome hardware issues by a software solution while the reverse is sometimes true...
– Fabby
Apr 4 '17 at 11:58
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f899634%2fpress-enter-for-maintenance-or-type-control-d-to-continue%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Maybe you should actually run
journalctl -xbfor once and see what is failing.– muru
Apr 3 '17 at 7:10
2
Maybe you should put this ubuntu server on dedicated machine or cloud VPS.
– Kamil
Apr 3 '17 at 8:28
Getting this error when trying to execute journalctl -xb Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions.
– Umar saifi
Apr 3 '17 at 8:33