[Solved -sorta] systemd-fsck []: fsck: /sbin/fsck.ext4: execute failed

Greetings.
I am getting the following on boot:
Starting Version 218
A password is required to access the MyStorage volume:
Enter passphrase for /dev/sda3
/dev/mapper/MyStorage-rootvol: clean, 210151/983040 files, 2284613/3932160 block
[ 78.084720] systemd-fsck [280]: fsck: /sbin/fsck.ext4: execute failed: Exec format error
[ 78.085215] systemd-fsck [287]: fsck: /sbin/fsck.ext2: execute failed: Exec format error
I then end up at a login prompt but if I try to login, I get “Login incorrect”. Sometimes Getty will stop and restart on tty1. Then I get returned to the login prompt.
This came about after upgrading with Pacman (which included “upgraded e2fsprogs (1.42.12-1 -> 1.42.12-2)”) a few days ago. Pacman completed successfully but on reboot the system froze forcing a hard reset.
I've booted to a USB and run fsck on the boot partition (the only ext2 partition). Ditto on the root and home volumes. All fine. I've also mounted all three and can access the data.
I would have thought it was something to do with the e2fs upgrade but it obviously scanned the root volume fine and I haven't been able to find any similar reports online.
I've searched online for ideas and I've also searched for logs which might give me some indication of what the cause is but at this point, I've reached my limits.
I'd just nuke the data and start again but I really want to understand what happened here.
Any thoughts on what caused this or suggestions on how to proceed?
Thank you.
Stephen
Last edited by FixedWing (2015-03-16 01:40:20)

Head_on_a_Stick wrote:
https://wiki.archlinux.org/index.php/Pa … ond_repair
However, it may be simplest to just re-install in your case -- it depends whether you want to use the troubleshooting & repairing as a learning process or if you just want your system up & running again ASAP...
All fixed and working just like nothing happened.
I did use the advice at the referred link plus a few others on archlinux.org and elsewhere. Yes, an absolutely wonderful learning experience!
I manually reinstalled e2fsprogs. That got Pacman working again and I was able to boot into the system. Then I used Pacman to reinstall e2fsprogs properly plus the other seven packages which were also installed during the same Pacman session despite their being corrupted.
What I really don't get is how Pacman could accept a package with 0 bytes and install it? How could such a package possible pass the security check? When I reinstalled the packages, Pacman of course refused to install the corrupt packages in the cache and deleted them. So why didn't that happen initially? I can only think that a corrupt file in that process terminated prematurely and that Pacman wasn't robust enough to detect this so simply continued on, now skipping the scans and installing the corrupt packages. So just to be sure it wasn't a corrupt file in Pacman itself, I also forced a reinstall of that package as well. I've upgraded packages since without issue so I have to assume that whatever the issue was is now gone.
Anyway, thanx for the help!
Stephen

Similar Messages

  • Hey I was on my computer and it wasn't starting up so I pressed command s and this code stuff showed up and said :/ root# It says "if you want to make modifications to files: /sbin/fsck -fy /sbin/mount -uw /

    It says "if you want to make modifications to files:
    /sbin/fsck -fy
    /sbin/mount -uw /

    Hello frankenstienfromab,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck
    http://support.apple.com/kb/ts1417
    If your computer won't start up normally, you may need to use a disk repair utility to fix the issue. Mac OS X includes two utilities for this—Disk Utility and fsck (a command-line utility).
    fsck is a command-line utility that may be able to verify and repair a disk.
    Best of luck,
    Mario

  • A problem for writing sbin/fsck -fy

    I´m trying to do "sbin/fsck" When the black screen with white words appears I write "sbin" but when I try to write " /" this signal doesn´t appears, instead of it "&"
    Please, could anybody help me?

    I've never seen this and can't explain it but you don't need to put the full path there just use
    fsck -fy
    and if you do put the full path then enter it correctly
    /sbin/fsck -fy
    not
    sbin/fsck -fy

  • On MacBook air, "/sbin/fsck - fy" gives an error  "Invalid sibling link"k

    MacBook air will not start on powen-on.  Tried Disk Utility, but it can't repair.  Tried "/sbin/fsck -fy"  It gives an error "Invalid sibling link (4, 35776)... and at the end given a Disk full error, and quits by saying that "the volume Macintosh HD could not be repaier"
    Any suggestions on how to fix the issue?

    MacBook air will not start on powen-on.  Tried Disk Utility, but it can't repair.  Tried "/sbin/fsck -fy"  It gives an error "Invalid sibling link (4, 35776)... and at the end given a Disk full error, and quits by saying that "the volume Macintosh HD could not be repaier"
    Any suggestions on how to fix the issue?

  • /sbin/fsck -fy /sbin/mount -uw /

    All of the your contributions to the Apple Forum is greatly appreciated .
    This is continued from the last inquiry.
    This may or may not have any relation to posts on regarding Apple Mac Graphics Memory And Virtual Memory problems posted in the forum , but here we go :
    Problems are happening on my Mountain Lion OS X Mac . 
    Upon trying to get an understanding of what's going on , I started at the BIOS EFI UEFI level , and found something :
    I did a startup with this , ie Verbose Mode And Single User :
    Power + Command + V + S
    And what I got was :
    root# 
    And then I looked around at the Verbose Mode And Single User , tried to understand what was going on in there , and then I simply moved up with the arrow key , Up Arrow .
    Of course , just like in Terminal , when you go up you find the history or past .
    What I find before my lines of the  root#  is this : 
    BSD root:  disk0s2, major 1, minor 2
    FireWire (OHCI) Lucent ID
    Kernel is LP64
    com.apple.launchd   1   com.apple.launchd   1   *** launchd[1] has started up in single-user mode. ***
    com.apple.launchd   1   com.apple.launchd   *** Verbose boot, will log to /dev/console. ***
    com.apple.launchd   1   com.apple.launchd   *** Shutdown logging is enables. ***
    AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitialized
    Singleuser boot -- fsck not done
    Root device is mounted read-only
    If you want to make modifications to files:
         /sbin/fsck -fy
         /sbin/mount -uw /
    If you wish to boot the system:
         exit
    :/ root#
    :/ root#  stty -onclr -echo echonl
    :/ root#  /usr/bin/atos -p "1" -printHeader
    :/ root#  /usr/bin/atos -p "BezelUIServer" -printHeader
    Will you please explain what the fsck not done , and also the Root device is mounted read-only means ? 
    Also , please advise what should I try first -fy or -uw / ?
    I have backed up my data.  Thanks everyone for the useful Apple Forum tips on how to exactly get the data you choose to backup.  Excellent.
    --OSX128bit

    If you have to ask those questions then you really should not be booting into single user mode. You can cause real damage to your system.
    Briefly fsck is a program to check and repair disk drives. The root device mounted read only means the root disk is not writeable,
    If you thing there is problems with your system boot into safe mode (hold the shift key while booting) and see if the problems go away or change.
    BTW you never said why it is you are booting into single user.
    good luck

  • /sbin/fsck -fy ....Invalid Node Structure?

    Hi,
    I am new to the forum and find it very helpfull. Thank you for that!
    I have been trying to recover my MacBook Pro running OS X 10.6.8.
    I cannot boot. Power on, Grey apple screen....progress bar appears...then 1/10th of the way in it would hang then reboot and hang again then turn off.
    I have tried different things posted on the forum, everything from clearng the memory to booting from CD. No luck.
    I created a boot disk on an SD Card using another MacBook Pro. I them ran the boot option from SD and I was successfull in getting past the progress bar but then it hangs on grey screen spinning gears. I let that run for 4 hours and no luck.
    I then ran "/sbin/fsck -fy". It came back with "...Invalid node structure (4, 25707) ** the volume Macintosh HD could not be varified completely. /dev/rdisk0s2 (hfs) EXITED WITH SIGNAL 8.
    Any ideas?

    3. User also do not recall where she left her recovery CDs.
    Any attempt to repair the corrupted disk using Disk Utility is likely to be temporary, and replacing the HD will require reinstalling the operating system from the MBP's original discs. If the user cannot find them, obtain a replacement set from Apple. They will need the MBP's serial number. The cost is reasonable ($25 or so).

  • Mac not booting normally after running '/sbin/fsck -fy' in Single user mode

    HI, I tried to log in to single user mode and run the '/sbin/fsck -fy' command. This command failed. So I rebooted my Macbook pro by 'reboot' command. On bootup I hear the chime shoud and can see the Mac Symbol but never reach the login prompt. The round circle keeps rotating over the gray screen and nothing happens.
    Then I again hard rebooted mac book and entered single user mode. I ran again '/sbin/fsck -fy' many times and after many attempts the command stuck and never returned.
    Then I tried using the recovery method to reinstall MAC OS X. It asked me to choose the Harddrive where to install MAC OSX. But the option of "macintosh HD" was disabled and message was " hard drive locked".
    Please help me how to boot my MAC normally :'(

    Welcome to the Apple Support Communities
    Boot in Recovery again and open Disk Utility. Then, choose "Macintosh HD" in the sidebar and repair the hard drive. If it is repaired, restart and OS X should start correctly. If not, you will probably have to format the hard disk.
    You only have to use that command when you have problems with the Mac OS X volume filesystem that they couldn't be repaired with Disk Utility, and as this command got stuck, probably damaged the OS X volume filesystem

  • [solved] full systemd integration of /etc/rc.local and pm-utils

    Hello!
    I try to fully integrate my /etc/rc.local into systemd. But I'm not very successful with it yet…
    For the moment I use this workaround.
    My rc.local looks like
    #!/bin/bash
    # /etc/rc.local: Local multi-user startup script.
    /usr/sbin/wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
    /usr/sbin/dhcpcd -qb eth0 wlan0
    /usr/bin/amixer -q -c 0 sset 'Master',0 0% mute
    /bin/mount -o remount,noatime /
    I tried to work with wiki and man, since people tell me more often I should go that way. I did it and integrated all of my daemons except for the rc.local.
    I really need help at this point…
    Thanks in advance!
    Last edited by domac (2012-08-14 19:07:35)

    Ok… it's getting weird now… my files look like:
    [Unit]
    Description=WPA supplicant daemon (interface-specific version)
    Requires=sys-subsystem-net-devices-%I.device
    After=sys-subsystem-net-devices-%I.device
    # NetworkManager users will probably want the dbus version instead.
    [Service]
    Type=simple
    ExecStart=/usr/sbin/wpa_supplicant -i %I -c /etc/wpa_supplicant/wpa_supplicant-%I.conf
    [Install]
    Alias=multi-user.target.wants/[email protected]
    [Unit]
    Description=dhcpcd on %I
    Wants=network.target
    Before=network.target
    [Service]
    Type=forking
    PIDFile=/run/dhcpcd-%I.pid
    ExecStart=/usr/sbin/dhcpcd -A -q -w %I
    ExecStop=/usr/sbin/dhcpcd -k %I
    [Install]
    Alias=multi-user.target.wants/[email protected]
    and with this setting I get two (visible) errors at boot, as you can see in #journalctl:
    Aug 14 01:32:49 vex dhcpcd[250]: eth0: carrier acquired
    Aug 14 01:32:49 vex dhcpcd[257]: wlan0: carrier acquired
    Aug 14 01:32:49 vex dhcpcd[250]: eth0: carrier lost
    Aug 14 01:32:49 vex dhcpcd[250]: eth0: waiting for carrier
    Aug 14 01:32:49 vex dhcpcd[257]: wlan0: sending IPv6 Router Solicitation
    Aug 14 01:32:49 vex dhcpcd[257]: wlan0: sendmsg: Cannot assign requested address
    Aug 14 01:32:49 vex dhcpcd[257]: wlan0: broadcasting for a lease
    Aug 14 01:32:49 vex dhcpcd[257]: wlan0: carrier lost
    Aug 14 01:32:49 vex dhcpcd[257]: wlan0: carrier acquired
    Aug 14 01:32:49 vex dhcpcd[257]: wlan0: sending IPv6 Router Solicitation
    Aug 14 01:32:49 vex dhcpcd[257]: wlan0: sendmsg: Cannot assign requested address
    Aug 14 01:32:49 vex dhcpcd[257]: wlan0: broadcasting for a lease
    Aug 14 01:32:50 vex systemd-logind[260]: New seat seat0.
    Aug 14 01:32:50 vex systemd-logind[260]: Watching system buttons on /dev/input/event3 (Power Button)
    Aug 14 01:32:50 vex systemd-logind[260]: Watching system buttons on /dev/input/event5 (Video Bus)
    Aug 14 01:32:50 vex systemd-logind[260]: Watching system buttons on /dev/input/event4 (Video Bus)
    Aug 14 01:32:50 vex systemd-logind[260]: Watching system buttons on /dev/input/event1 (Lid Switch)
    Aug 14 01:32:50 vex systemd-logind[260]: Watching system buttons on /dev/input/event2 (Sleep Button)
    Aug 14 01:32:51 vex dhcpcd[257]: wlan0: offered 192.168.2.117 from 192.168.2.1
    Aug 14 01:32:51 vex dhcpcd[257]: wlan0: acknowledged 192.168.2.117 from 192.168.2.1
    Aug 14 01:32:51 vex dhcpcd[257]: wlan0: leased 192.168.2.117 for 864000 seconds
    Aug 14 01:32:51 vex dhcpcd[257]: forked to background, child pid 350
    Aug 14 01:32:53 vex dhcpcd[350]: wlan0: sending IPv6 Router Solicitation
    Aug 14 01:32:57 vex dhcpcd[350]: wlan0: sending IPv6 Router Solicitation
    Aug 14 01:32:59 vex dbus-daemon[259]: dbus[259]: [system] Activating via systemd: service name='org.freedesktop.ConsoleKit' unit='console-kit-daemon.service'
    Aug 14 01:32:59 vex console-kit-daemon[354]: missing action
    Aug 14 01:32:59 vex dbus-daemon[259]: dbus[259]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
    Aug 14 01:32:59 vex dbus-daemon[259]: dbus[259]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
    Aug 14 01:32:59 vex dbus-daemon[259]: dbus[259]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
    Aug 14 01:32:59 vex systemd-logind[260]: New session 1 of user domac.
    Aug 14 01:33:01 vex acpid[254]: client connected from 459[0:100]
    Aug 14 01:33:01 vex acpid[254]: 1 client rule loaded
    Aug 14 01:33:01 vex dhcpcd[350]: wlan0: sending IPv6 Router Solicitation
    Aug 14 01:33:01 vex dhcpcd[350]: wlan0: no IPv6 Routers available
    Aug 14 01:33:19 vex dhcpcd[250]: timed out
    Aug 14 01:33:19 vex systemd[1]: [email protected]: control process exited, code=exited status=1
    Aug 14 01:33:19 vex systemd[1]: Unit [email protected] entered failed state.
    … but, it works now! dafuq?!
    Well, this is no solution yet… help is appreciated.
    Edit: Removed those two lines that were causing errors and rebooted. Can someone explain their relevance to me?
    #journalctl now looks like:
    Aug 14 01:40:49 vex dhcpcd[250]: eth0: carrier acquired
    Aug 14 01:40:49 vex dhcpcd[259]: wlan0: sending IPv6 Router Solicitation
    Aug 14 01:40:49 vex dhcpcd[259]: wlan0: sendmsg: Network is unreachable
    Aug 14 01:40:49 vex dhcpcd[250]: eth0: carrier lost
    Aug 14 01:40:49 vex dhcpcd[250]: eth0: waiting for carrier
    Aug 14 01:40:49 vex dhcpcd[259]: wlan0: broadcasting for a lease
    Aug 14 01:40:50 vex su[252]: pam_unix(su:session): session opened for user domac by (uid=0)
    Aug 14 01:40:50 vex su[252]: pam_unix(su:session): session closed for user domac
    Aug 14 01:40:50 vex dhcpcd[259]: wlan0: carrier lost
    Aug 14 01:40:50 vex systemd-logind[262]: New seat seat0.
    Aug 14 01:40:50 vex systemd-logind[262]: Watching system buttons on /dev/input/event3 (Power Button)
    Aug 14 01:40:50 vex systemd-logind[262]: Watching system buttons on /dev/input/event5 (Video Bus)
    Aug 14 01:40:50 vex systemd-logind[262]: Watching system buttons on /dev/input/event4 (Video Bus)
    Aug 14 01:40:50 vex systemd-logind[262]: Watching system buttons on /dev/input/event1 (Lid Switch)
    Aug 14 01:40:50 vex systemd-logind[262]: Watching system buttons on /dev/input/event2 (Sleep Button)
    Aug 14 01:40:51 vex dhcpcd[259]: wlan0: carrier acquired
    Aug 14 01:40:51 vex dhcpcd[259]: wlan0: sending IPv6 Router Solicitation
    Aug 14 01:40:51 vex dhcpcd[259]: wlan0: sendmsg: Cannot assign requested address
    Aug 14 01:40:51 vex dhcpcd[259]: wlan0: broadcasting for a lease
    Aug 14 01:40:52 vex dhcpcd[259]: wlan0: offered 192.168.2.117 from 192.168.2.1
    Aug 14 01:40:52 vex dhcpcd[259]: wlan0: acknowledged 192.168.2.117 from 192.168.2.1
    Aug 14 01:40:52 vex dhcpcd[259]: wlan0: leased 192.168.2.117 for 864000 seconds
    Aug 14 01:40:52 vex dhcpcd[259]: forked to background, child pid 344
    Aug 14 01:40:55 vex dhcpcd[344]: wlan0: sending IPv6 Router Solicitation
    Aug 14 01:40:59 vex dbus-daemon[260]: dbus[260]: [system] Activating via systemd: service name='org.freedesktop.ConsoleKit' unit='console-kit-daemon.service'
    Aug 14 01:40:59 vex dhcpcd[344]: wlan0: sending IPv6 Router Solicitation
    Aug 14 01:40:59 vex console-kit-daemon[348]: missing action
    Aug 14 01:40:59 vex dbus-daemon[260]: dbus[260]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
    Aug 14 01:40:59 vex dbus-daemon[260]: dbus[260]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
    Aug 14 01:40:59 vex dbus-daemon[260]: dbus[260]: [system] Successfully activated service 'org.freedesktop.ConsoleKit'
    Aug 14 01:40:59 vex systemd-logind[262]: New session 1 of user domac.
    Aug 14 01:41:01 vex acpid[256]: client connected from 453[0:100]
    Aug 14 01:41:01 vex acpid[256]: 1 client rule loaded
    Aug 14 01:41:03 vex dhcpcd[344]: wlan0: sending IPv6 Router Solicitation
    Aug 14 01:41:03 vex dhcpcd[344]: wlan0: no IPv6 Routers available
    Aug 14 01:41:19 vex dhcpcd[250]: timed out
    Aug 14 01:41:19 vex systemd[1]: [email protected]: control process exited, code=exited status=1
    Aug 14 01:41:19 vex systemd[1]: Unit [email protected] entered failed state.
    Cheers, will visit my bed now!
    Last edited by domac (2012-08-13 23:44:15)

  • [SOLVED, sort of] After nvidia upgrade, computer crashes at logout

    My video card is Nvidia GEForce 6150 LE, rev 2.  After I upgraded nvidia  on 10/10/08, my computer crashes whenever I log out, and I have to shut down the power and reboot.  This happens on kde and gnome, and also when I press Control-Alt-Backspace.  I tried the new nvidia-173xx drivers, but they didn't work at all.  Finally I went back to vesa, and that works.
    Last edited by cmlr (2008-10-11 23:29:58)

    Problem solved, sort of.  I noticed that the Flint, Michigan mirror was 15 days out of sync, and I downloaded the old nvidia driver from there.  Now everything works fine, as before.  Here's the page that tells the status of mirrors:
    http://users.archlinux.de/~gerbra/mirrorcheck.html
    Still, it would be nice to use the new driver.   If anyone else has this problem and has missed out on the out-of-sync mirrors, send me an email and I can give you the package.
    Last edited by cmlr (2008-10-12 00:02:07)

  • [SOLVED]removed lots of hooks (base, fsck remain)- boot fail

    Also I've reinstalled linux kernel twice. so initrd images of both fallback and current system have lost these important hooks.
    Is there any chance I can repair my system to boot now without reinstalling?
    I have arch linux and ubuntu CDs (if they can be helpful).
    I have this in my kernel line
    root=/dev/sda3 rootfstype=ext4
    and the error it shows is that it can't find '/dev/sda3'
    Last edited by ebshankar (2012-06-24 08:31:34)

    Terminator wrote:
    Change root wiki
    spoiler (to be done after mounting your root on /mnt/arch and before the chroot):
    cd /mnt/arch
    mount -t proc proc proc/
    mount -t sysfs sys sys/
    mount -o bind /dev dev/
    mount -t devpts pts dev/pts/
    yeah it works and I successfully repaired initrams

  • [SOLVED] Borked systemd setup -- dbus errors during boot; can't login

    I have error messages very similar to this post. Unfortunately, as the author states, he never persisted in solving it but instead re-installed from scratch. I'd rather not do that.
    For reference, I have a pure systemd setup -- no rc.conf file, no initscripts package, etc.
    At boot I get the "Welcome to Arch!" messages followed by the various [OK] lines and then I get blindingly fast repeating lines about dbus not starting and attempting to restart it too quickly. If I walk away for about 1-2min, I finally see a login screen, but after entering my username/password, it just sits there and does nothing.
    As for suspects... I had systemd working fine.
    -- I updated some packages (not more than a few days worth and I'd have to check the list)
    -- I also took care of manual updates to some .pacnew files I periodically check for. In this group were some biggies: group, shadow, and passwd. I did recall the odd bit about uuidd changing from uid 995 to 68, but in reading about that since then, it doesn't seem to be a big deal.
    I've been booting in by appending
    systemd.unit=emergency.target
    to the kernel line, but my exploration hasn't been all that helpful. `journalctl since=date` reveals the errors, but I don't get much information about why dbus is having issues starting.
    emergency.target also doesn't seem to be that helpful since I can't do anything with a read-only system. I'd love some suggestions about what, specifically, to check for before I reboot from Windows back into Arch and record more careful notes, probably by jotting notes onto a flash drive. Any places to start? For reference, I've done:
    -- systemctl status dbus: lists as inactive (dead) and simply shows the errors I see at boot (failed to start)
    -- systemctl list-units
    -- systemctl list-unit-files
    -- journalctl and looking around for instances of fail or failed or dbus
    If I start systemd-logind.service or dbus.service, it displays a status message about running fsck and then takes me to a login prompt automatically. Then I can type in my username and password and then there's nothing after that. No prompt, just an apparent hang.
    Thanks for any suggestions -- I'll take them and then collect more detailed results and report back.
    Thanks!
    Last edited by jwhendy (2012-11-08 16:07:33)

    As I wondered, I think it's a problem with passwd. I don't have a dbus entry and must have missed it when I was copying things around between my version and the .pacnew. Downloading an install disc now since I can't seem to change it from the recovery console due to mounting root read-only.
    I'd love to know of a way to boot that avoids starting dbus and other things that might break while still having read/write access to root. Will mark solved once I update /etc/passwd and reboot.

  • [SOLVED] Systemd - console-kit-log-system-start.service FAILED

    Hi!
    i'm using systemd, and i removed initscripts and sysvinit.
    I've now noticed this error, it seems that service failed to load.
    By the way, i can systemctl restart it, and then it will be active and running. So, where is the problem?  I found this, that seems to be my same problem, but it is 2 years old! https://bugzilla.redhat.com/show_bug.cgi?id=632714 .
    Any idea?
    thanks!
    Last edited by nierro (2012-07-31 18:59:21)

    Looking into the issue, i can't find a solution...
    so, here there are :
    systemctl status console-kit-log-system-start.service
    console-kit-log-system-start.service - Console System Startup Logging
    Loaded: loaded (/usr/lib/systemd/system/console-kit-log-system-start.service; static)
    Active: failed (Result: exit-code) since Tue, 03 Jul 2012 09:34:45 +0200; 1 day and 3h ago
    Process: 175 ExecStart=/usr/sbin/ck-log-system-start (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/console-kit-log-system-start.service
    and
    journalctl -a | grep console-kit-log
    Jul 03 09:34:45 arch systemd[1]: console-kit-log-system-start.service: main process exited, code=exited, status=1
    Jul 03 09:34:45 arch systemd[1]: Unit console-kit-log-system-start.service entered failed state.
    Any idea?
    EDIT:as i said, i can restart it, without any sort of problem, so i guess the issue is related to the deps of this service (After=...). I left it untouched, never modified this service...
    Last edited by nierro (2012-07-04 12:11:10)

  • [SOLVED] == ERROR: file not found: `/sbin/dmsetup'

    [EDIT] A much simpler way to deal with this is to explicitly ignore the kernel update during a full system update:
    pacman -Syu --ignore linux
    Then explicitly update the kernel alone:
    pacman -S linux
    [EDIT] First, after a full system update I had to move the STUB kernel image from the UEFI directory back to /boot, them recreate the images a second time. The systemd service moved it back to the UEFI directory.
    [EDIT] The use of 'mdadm_udev' in HOOKS= also seems to be no longer just 'preferred' to the 'mdadm' hook but instead is now mandatory.
    I've read the news item...
    Changes to LVM
    2013-02-12 - Thomas Bächler
    With lvm2 2.02.98-3, we now utilize lvmetad to activate LVM volumes automatically. This implies the following changes:
        The lvm2 initramfs hook now requires the udev hook.
        The use_lvmetad = 1 must be set in /etc/lvm/lvm.conf. This is the default now - if you have a lvm.conf.pacnew file, you must merge this change.
        You can restrict the volumes that are activated automatically by setting the auto_activation_volume_list in /etc/lvm/lvm.conf. If in doubt, leave this option commented out.
        If you need monitoring (needed for snapshots), run systemctl enable lvm-monitoring.service.
        The lvmwait kernel command line option is no longer needed and has no effect.
    If you run pacman -Syu and update device-mapper, linux and lvm2 at the same time, you will get an error message that /sbin/dmsetup is missing. Run mkinitcpio -p linux again after the update to avoid any problems.
    ...and I do get the message...
    ==> ERROR: file not found: `/sbin/dmsetup'
    ...but after a full system update with...
    pacman -Syu
    ...when I execute...
    mkinitcpio -p linux
    ...this is what I get...
    Building image from preset: 'default'
    /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ERROR:specified kernel image does not exist: `/boot/vmlinuz-linux'
    Building image from preset: 'fallback'
    /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ERROR:specified kernel image does not exist: `/boot/vmlinuz-linux'
    So of course if I reboot I get the dreaded 'No volume groups found' message.
    I should mention that I use the systemd path and service to move the kennel after it has been updated.
    Last edited by KairiTech (2013-04-07 02:45:12)

    With lvm2 2.02.98-3, we now utilize lvmetad to activate LVM volumes automatically. This implies the following changes:
        The lvm2 initramfs hook now requires the udev hook.
        The use_lvmetad = 1 must be set in /etc/lvm/lvm.conf. This is the default now - if you have a lvm.conf.pacnew file, you must merge this change.
        You can restrict the volumes that are activated automatically by setting the auto_activation_volume_list in /etc/lvm/lvm.conf. If in doubt, leave this option commented out.
        If you need monitoring (needed for snapshots), run systemctl enable lvm-monitoring.service.
        The lvmwait kernel command line option is no longer needed and has no effect.
    Just to confirm. You did all these steps, right?
    EDIT: I just noticed something:
    KairiTech wrote:HOOKS="base udev autodetect sata mdadm usbinput keymap encrypt lvm2 filesystems timestamp shutdown"
    Replace
    mdadm
    with
    mdadm_udev
    . Maybe this is nothing, but it is recommended to use this one instead of the other.
    NEW EDIT: Expecially this one
    The use_lvmetad = 1 must be set in /etc/lvm/lvm.conf. This is the default now - if you have a lvm.conf.pacnew file, you must merge this change.
    Last edited by s1ln7m4s7r (2013-03-24 20:42:55)

  • [SOLVED]PulseAudio systemd daemon doesn't work

    Hello.
    I try to set PulseAudio as systemd service, but I'm still getting errors.
    Here is how my .service file looks like.
    $cat /usr/lib/systemd/system/[email protected]
    [Unit]
    Description=PulseAudio Sound System
    Before=sound.target
    [Service]
    BusName=org.pulseaudio.Server
    ExecStart=/usr/bin/pulseaudio --start
    Restart=always
    User=%1
    [Install]
    WantedBy=multi-user.target
    And here is what I get (dan is my username):
    $ systemctl start [email protected]
    $ systemctl status [email protected] 
    [email protected] - PulseAudio Sound System
    Loaded: loaded (/usr/lib/systemd/system/[email protected]; disabled)
    Active: failed (Result: start-limit) since Mon 2013-09-16 11:42:46 CEST; 2s ago
    Process: 1407 ExecStart=/usr/bin/pulseaudio --start (code=exited, status=217/USER)
    Sep 16 11:42:45 530uarch systemd[1]: Failed to start PulseAudio Sound System.
    Sep 16 11:42:45 530uarch systemd[1]: Unit [email protected] entered failed state.
    Sep 16 11:42:46 530uarch systemd[1]: [email protected] holdoff time over, scheduling restart.
    Sep 16 11:42:46 530uarch systemd[1]: Stopping PulseAudio Sound System...
    Sep 16 11:42:46 530uarch systemd[1]: Starting PulseAudio Sound System...
    Sep 16 11:42:46 530uarch systemd[1]: [email protected] start request repeated too quickly, refusing to start.
    Sep 16 11:42:46 530uarch systemd[1]: Failed to start PulseAudio Sound System.
    Sep 16 11:42:46 530uarch systemd[1]: Unit [email protected] entered failed state.
    Thank you
    Last edited by Kotrfa (2013-09-16 17:02:35)

    Ahhh. Thank you for that. I will add it to my awesome autostart script.
    Solved
    Last edited by Kotrfa (2013-09-16 17:03:20)

  • [SOLVED] After Systemd update...2 problems!

    Yesterday I update my system and switch to the pure systemd as of arch linux wiki.
    Everything is working well, boot time is lightning fast, every programs are working except for Amarok and Vlc.
    When I click on the start menu (I'm using KDE) -> then multimedia and Amarok or Vlc, the icon bounce without opening the program's window.
    I must kill the Amarok and/or Vlc process in the monitor.
    Running in console show absolutely nothing for Vlc.
    Running Amarok in sudo in console output:
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    unnamed app(774): KUniqueApplication: Cannot find the D-Bus session server:  "/usr/bin/dbus-launch terminated abnormally with the following error: No protocol specified
    Autolaunch error: X11 initialization failed
    All my daemon of before systemd are active and systemd setting are ok too.
    Does anyone have the same behavior or can point me to a possible solution?
    Thanks,
    Last edited by Chuck Arch Linux (2014-12-08 00:43:33)

    jasonwryan wrote:
    ngoonee wrote:I'm deleting your other thread, no cross-posting allowed (please read the rest of the Forum Etiquette as well).
    And less than half an hour after being warned for it: https://bbs.archlinux.org/viewtopic.php … 4#p1163234
    Do it again and you will be banned.
    Sorry, by the way, can you help me?
    Thanks
    edit
    Time solved this issue....
    Last edited by Chuck Arch Linux (2014-12-08 00:44:38)

Maybe you are looking for