LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2014, 12:01 PM   #1
ferite
Member
 
Registered: Jul 2014
Posts: 30

Rep: Reputation: Disabled
Ångström doesn't boot after masking systemd-journald.service.


Hi.

After finding that almost a half (1.9GB) of my Ångström system storage capacity was being filled in /var/log/journal I made some things:

1. Deleted all content in the /var/log/journal folder (but not the folder itself).
2. Edited /etc/systemd/journald.conf (at the beginning all lines were commented) letting SystemMaxUse=16M
3. As the system has limited storage space, I went further and searched how to disable the journald service. I found that masking it (systemctl mask systemd-journald.service) should be better than disabling it (systemctl disable systemd-journald.service)

After this, the system does not boot any more. The boot message is the following:

http://s30.postimg.org/v9wmsp4nl/201...4_11_29_39.jpg

By enter to System Maintenance Mode, I have tried some things for fixing the system:

If i try to unmask the service (systemctl unmask systemd-journald.service) the message shown is "Failed to issue method call: Read-only file system"

If I try to disable the service (systemctl disable systemd-journald.service) there is not message generated, as if the command would be executed successfully.

If I try to enable the service (systemctl enable systemd-journald.service) the follow message is shown

http://s3.postimg.org/a3tuyoptv/2014_07_14_11_32_34.jpg

I hope that someone could give me some advice to get my system working again.

Thanks.
 
Old 07-15-2014, 07:18 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
As you can see, journald is a dependency for other services and shouldn't be masked.
Try to unmask it again, if you get the "read-only" message you have to remount the filesystems as read-write before:
Code:
mount -o remount,rw /
 
2 members found this post helpful.
Old 07-15-2014, 09:57 AM   #3
ferite
Member
 
Registered: Jul 2014
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
As you can see, journald is a dependency for other services and shouldn't be masked.
Try to unmask it again, if you get the "read-only" message you have to remount the filesystems as read-write before:
Code:
mount -o remount,rw /
Thanks @TobiSGD . Remounting allowed me to start my system again.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] new Sabayon 13.04 install: Can't get GPM to start as a service... {systemd} jtwdyp Sabayon 2 06-16-2013 12:46 PM
Convert init script to systemd file service igor012 Linux - Software 1 10-15-2012 10:05 AM
LXer: Journald: just a reinvention of the wheel? LXer Syndicated Linux News 0 01-12-2012 10:01 PM
Boot Delay 30min: systemd-analyze blame systemd-tmpfiles-setup.service BGHolmes Fedora 0 07-27-2011 09:02 AM
Apcusbd service doesn't load at boot up linuxlimbo SUSE / openSUSE 2 04-04-2010 08:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration