| Author |
Message |
fifo
Joined: 29 Sep 2005
Posts: 68
Location: Miami, Florida
|
| Posted: Sun Apr 02, 2006 11:04 pm Post subject: updated mysql and now swapon: cannot stat (FIXED!) |
|
|
]
does this make sence? I just updated mysql and now when I reboot the server I get this message. not sure why it would remove the directory should I just make it again to fix the problem?
* Activating (possibly) more swap ...swapon: cannot stat /dev/ubd/1: No such file or directory |
|
| Back to top |
|
cherring
Joined: 17 Feb 2006
Posts: 83
|
| Posted: Sun Apr 02, 2006 11:44 pm Post subject: |
|
|
| Are you using Gentoo, If you are you may need to change /dev/ubd/1 to /dev/ubda. If you are using another distro then I'm not sure. |
|
| Back to top |
|
Xan
Joined: 08 Feb 2004
Posts: 311
Location: Austin
|
| Posted: Mon Apr 03, 2006 12:21 am Post subject: |
|
|
Here's what I think happened: you had your kernel set to "Latest 2.6", and hadn't rebooted in a while. When you did, you got a kernel upgrade you weren't expecting.
I think cherring has the right idea as to your solution (besides downgrading your kernel back, which probably isn't the best).
See this thread. |
|
| Back to top |
|
fifo
Joined: 29 Sep 2005
Posts: 68
Location: Miami, Florida
|
| Posted: Tue Apr 04, 2006 5:10 pm Post subject: |
|
|
Yes your assumption was correct. I am using Gentoo.
It looks a bit better but still nothing. This is what my fstab looks like now. Notice the warning below..
/dev/ubd/0 / ext3 defaults 0 0
/dev/ubda none swap sw 0 0
none /proc proc defaults 0 0
* Activating (possibly) more swap ...swapon: /dev/ubda: Device or resource busy
[ !! ] |
|
| Back to top |
|
caker
Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ
|
| Posted: Tue Apr 04, 2006 5:13 pm Post subject: |
|
|
fifo wrote: ok this is what my fstab looks like now
/dev/ubd/0 / ext3 defaults 0 0
/dev/ubda none swap sw 0 0
none /proc proc defaults 0 0
http://www.linode.com/forums/viewtopic.php?t=2169
A quote from that post...
5) Edit /etc/fstab and change "/dev/ubd/0" to /dev/ubda, and "/dev/ubd/1" to /dev/ubdb, and so on.
See your mistake?
-Chris |
|
| Back to top |
|
fifo
Joined: 29 Sep 2005
Posts: 68
Location: Miami, Florida
|
| Posted: Tue Apr 04, 2006 5:24 pm Post subject: FIXED !!!! :) |
|
|
Hey guys thanks for pointing that out you guys rule!
that fixed the problem... :D
/dev/ubd/0 = /dev/ubda
and
/dev/ubd/1 = /dev/ubdb |
|
| Back to top |
|
cherring
Joined: 17 Feb 2006
Posts: 83
|
| Posted: Tue Apr 04, 2006 9:41 pm Post subject: |
|
|
Sorry I wasn't clearer when I suggested it, I would have pointed out Chris's post but I didn't have time, glad that it's resolved though and I will try to be more thorough with future posts.
Cheers 8) |
|
| Back to top |
|
| |