Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: ureadahead main process (485) terminated with status 5

  1. #11
    Join Date
    Jan 2008
    Beans
    100

    Re: ureadahead main process (485) terminated with status 5

    thx webstandardcss!

    Actually I did have /var on an extra partition to make it easy to update the system with a clean installation without the necessity for a complete databases and webserver backup ... (but that's not too much trouble to be honest ...)

    But anyway - your workaround works. So I don't get any errors during boot now anymore.

    Thx for your help,
    piedro

  2. #12
    Join Date
    Jan 2009
    Beans
    18
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ureadahead main process (485) terminated with status 5

    Now in places you should see an unmounted disk which used to be the /var/ partition
    What is the purpose of an unmounted /var partition after this workaround?
    Last edited by bigbaraboom; May 22nd, 2010 at 12:16 AM.

  3. #13
    Join Date
    Jan 2008
    Beans
    100

    Re: ureadahead main process (485) terminated with status 5

    No purpose!

    Delete it and resize your / partition to reclaim the otherwise wasted space ...

    cya,
    p.

  4. #14
    Join Date
    Jan 2010
    Location
    No longer SoFl
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: ureadahead main process (485) terminated with status 5

    So the fix is to remove the separate /var partition? I have /var on a separate drive for web development and because the root drive is small. I also have /home on that second drive as a separate partition. The problem is because of the /var partition being separate?

  5. #15
    Join Date
    Jan 2008
    Beans
    100

    Re: ureadahead main process (485) terminated with status 5

    Yes!

    No separate /var solves the problem, sry, works around it.

    If you're root partition is small, you can make a folder (I called it "system" on your home partition, add those folders for webdevelopment, servers, databases and maybe caches or even logs to this "system" folder and finally symlink those folders to their expected locations in the /var folder.

    It's easy to do and you accomplish two things:
    - control the size of your root partition
    - and have all your important data within your /home partition

    But I hope the ureadahead stuff will be fixed for separate partitions in the future - at least it seems like a conceptional flaw to me.

    thx for reading,
    piedro

  6. #16
    Join Date
    Jan 2010
    Location
    No longer SoFl
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: ureadahead main process (485) terminated with status 5

    Thank you for your help. I was wondering if a symbolic link from /var/www to a folder on my second drive would work and eliminate the error. If I get the courage and the time I will give it a try. Right now the /var/www space is small and I have other servers to use but I wanted server practice. I set these things up and forget how I did everything.
    I learn again, and learn a lot of new things.

    Thanks again for your help, I will let you know how things work.

  7. #17
    Join Date
    Feb 2008
    Beans
    1

    Re: ureadahead main process (485) terminated with status 5

    Hi. I'm facing the same "ureadahead main process (xyz) terminated with status 5" problem each time I boot with my "2.6.35-020635rc6-generic" kernel, but I've no /var separate partition.

    However some symptoms are the same of above users:

    bluespirit@lupin3:~$ status ureadahead
    ureadahead stop/waiting

    bluespirit@lupin3:~$ cat /proc/self/mountinfo
    13 17 0:13 / /sys rw,nosuid,nodev,noexec,relatime - sysfs none rw
    14 17 0:3 / /proc rw,nosuid,nodev,noexec,relatime - proc none rw
    15 17 0:5 / /dev rw,relatime - devtmpfs none rw,size=1009108k,nr_inodes=216072,mode=755
    16 15 0:10 / /dev/pts rw,nosuid,noexec,relatime - devpts none rw,gid=5,mode=620,ptmxmode=000
    17 1 8:7 / / rw,relatime - ext3 /dev/disk/by-uuid/4e7c0d18-1de9-4f5a-80f8-5fcb4cb0efd7 rw,errors=remount-ro,barrier=0,data=ordered
    18 13 0:14 / /sys/fs/fuse/connections rw,relatime - fusectl none rw
    19 13 0:7 / /sys/kernel/debug rw,relatime - debugfs none rw
    20 13 0:15 / /sys/kernel/security rw,relatime - securityfs none rw
    21 15 0:16 / /dev/shm rw,nosuid,nodev,relatime - tmpfs none rw
    22 17 0:17 / /var/run rw,nosuid,relatime - tmpfs none rw,mode=755
    23 17 0:18 / /var/lock rw,nosuid,nodev,noexec,relatime - tmpfs none rw
    24 17 0:19 / /lib/init/rw rw,nosuid,relatime - tmpfs none rw,mode=755
    25 17 8:5 / /data_exc rw,nosuid,nodev,relatime - fuseblk /dev/sda5 rw,user_id=0,group_id=0,default_permissions,allow_ other,blksize=4096
    26 17 8:1 / /windows rw,nosuid,nodev,relatime - fuseblk /dev/sda1 rw,user_id=0,group_id=0,default_permissions,allow_ other,blksize=4096
    27 17 8:6 / /boot rw,relatime - ext3 /dev/sda6 rw,errors=continue,barrier=0,data=ordered
    28 17 8:8 / /home rw,relatime - ext3 /dev/sda8 rw,errors=continue,barrier=0,data=ordered
    29 14 0:20 / /proc/sys/fs/binfmt_misc rw,nosuid,nodev,noexec,relatime - binfmt_misc binfmt_misc rw
    32 28 0:22 / /home/bluespirit/.gvfs rw,nosuid,nodev,relatime - fuse.gvfs-fuse-daemon gvfs-fuse-daemon rw,user_id=1000,group_id=1000

    bluespirit@lupin3:~$ df -H
    File system Dimens. Usati Disp. Uso% Montato su
    /dev/sda7 21G 4,9G 15G 26% /
    none 1,1G 271k 1,1G 1% /dev
    none 1,1G 562k 1,1G 1% /dev/shm
    none 1,1G 82k 1,1G 1% /var/run
    none 1,1G 0 1,1G 0% /var/lock
    none 1,1G 0 1,1G 0% /lib/init/rw
    /dev/sda5 21G 8,5G 13G 41% /data_exc
    /dev/sda1 32G 12G 21G 36% /windows
    /dev/sda6 239M 72M 155M 32% /boot
    /dev/sda8 63G 31G 30G 52% /home

    bluespirit@lupin3:~$ grep debugfs /etc/mtab
    none /sys/kernel/debug debugfs rw 0 0

    Furthermore, if I try to make a "ureadahead --dump", I obtain:

    ureadahead:/var/lib/ureadahead/pack: Nessun file o directory.

    Any help is appreciated.
    Last edited by Gianluca Tedone; July 31st, 2010 at 05:04 PM.

  8. #18
    Join Date
    Aug 2009
    Beans
    6

    Re: ureadahead main process (485) terminated with status 5

    i have the same issue with "ureadahead terminated ...". but my system is not booting after that
    i also had /var on a separate partition, but editing fstab hadn't helped

    i have ubuntu 10.10 maverick installed. it worked fine with that /var on separate partition until today. and i believe that the last update from repositories that i installed today had broken the system (i launched sudo apt-get update && sudo apt-get upgrade, although i know that is a bad practice, as i believed that maverick is stable enough for that)

    edit: that was not connected with ureadahead, it was really an nvidia driver issue
    Last edited by kipelovets; September 16th, 2010 at 11:46 AM.

  9. #19
    Join Date
    Aug 2009
    Beans
    15
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: ureadahead main process (485) terminated with status 5

    This very simple fix worked for me:

    sentinella86

    and if you want to track a bug report:

    boot fails [...] ureadahead [...] terminated with status 5

    HTH?

  10. #20
    Join Date
    Mar 2011
    Beans
    1

    Re: ureadahead main process (485) terminated with status 5

    For a better solution (with respect to the /var relocation) try this:
    http://ubuntuforums.org/showthread.php?t=1518110&page=2

    essentially you have to modify ureadahead.conf

    sudo sed -i 's+^start on starting mountall+start on mounted MOUNTPOINT=/var+' /etc/init/ureadahead.conf

    ...to make "starting" depends on mounted /var instead on
    a generic mountall command.

    Maybe this solution will solve the problem also for users with a /var
    located in the root fs....

Page 2 of 3 FirstFirst 123 LastLast

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
  •