Results 1 to 3 of 3

Thread: how to solve exec format error?

  1. #1
    Join Date
    Oct 2014
    Beans
    1

    how to solve exec format error?

    run-init:/sbin/init/:Exec format error
    [ 1.440167] Kernal panic-not syncing :Attempted to kill init!
    [ 1.440205] Pid:1,comm:run-init Not tainted 3.2.0-70-generic-ape #105-Ubuntu
    [ 1.440241] Call Trace:
    [ 1.440281] [〈c1598b6e〉] ? printk+0x2d/0x2f
    [ 1.440317] [〈c1598a3c〉] panic+0x5c/0x161
    [ 1.440354] [〈c105ec64〉] forget_original_parent+0x1e4/0x1f0

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: how to solve exec format error?

    When do you see this problem?
    Can you boot the system at all or is this during installation?

  3. #3
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: how to solve exec format error?

    Code:
    run-init:/sbin/init/:Exec format error
    The trailing slash indicates a directory, not the file /sbin/init. Since a directory is not executable, you get the format error. Is this something you created yourself? I don't recall ever seeing this problem on a vanilla Ubuntu installation. Just remove the trailing slash from wherever /sbin/init is invoked.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •