Ubuntu Installation :: Get Hangs With The Mysql Package After One Apt-get Upgrade
Apr 19, 2010
I'm running Lucid, and after one apt-get upgrade I get hangs with the mysql package: Preparing to replace mysql-server-5.1 5.1.41-3ubuntu11 (using .../mysql-server-5.1_5.1.41-3ubuntu12_i386.deb) ... no matter what I do I can't get it to remove or install the mysql package. I've tried doing:
sudo dpkg --remove --force-remove-reinstreq mysql-server-5.1 but even that just hangs forever. I just want to remove the package so I can install the other updates
When this happens you have to open a terminal, get the process id for mysql-server-5 then kill that process. Like this: Code: ps -A then from the list of processes that it spits out look at the process id (the number at the beginning of the line) for mysql-server-5.
Now type Code: sudo kill -9 XXXXX where XXXXX is the process id for mysql-server, and enter your password. The upgrade process should now resume.
I'm trying to install F12 on an iMac G4 (ppc). I partitioned the HD with OS X (10.4.11) on a 50 GB partition, left the remaining 26 GB free, then ran the installer. Everything seems to run very smoothly until it hits this package: sendmail-8.14.3-8.fc12.ppc. Then everything freezes. After this happened twice, I pulled a few applications out, thinking it might be a space issue, but it hung in exactly the same place next time. The install DVD passed the media check at the beginning of the install. Is there a way I could keep this package out of the install and, if it's needed, pull it in from the repositories later?
after doing: $ sudo apt-get update i get lots of hits then: Hit [URL] pdates/multiverse Sources 99% [Waiting for headers]... and it just sits there. a reload in synaptic gives: downloading file 44 of 45 ... and it just sits there.
when i abort i get the following shown in error message: Failed to fetch http://dl.google.com/linux/deb/dists...tion-en_GB.bz2 Failed to fetch http://dl.google.com/linux/deb/dists/stable/Release Some index files failed to download, they have been ignored, or old ones used instead.
I was running Ubuntu 9.10 on my Toshiba A40 Laptop and decided to take the plunge and upgrade to 10.04. Everything seemed to go well until the Restart. Now it only gets to the Splash Screen (Purple Screen with "Ubuntu" and dots under it) and then there is a flash and the text becomes blocks briefly before going to a blank screen! It seems like it might be a video problem but...
Recently I decided to upgrade my 10.04 installation the lazy way, by clicking the upgrade button instead of a clean install (32bit). Now, I can only get into Ubuntu with the recovery mode. If I let the system boot the normal way, I end up at the login screen where I (correctly) enter my password and then nothing else happens. I can move the mouse, the clock ticks on, and I can even use the restart button, etc. But the login screen stays gray and does nothing else, so no desktop. With recovery-mode I can use the failsafeX option to get into the desktop, everything works fine there. And even though it calls it a low-graphics environment or so, everything looks normal, its even my native resolution of 1440x900.
My first idea was some driver issue for my Ati Radeon HD 2600 Mobility card, so I looked into that. I've checked/done the following: - Installed the drivers manually (downloaded from AMD) - Uninstalled those drivers - Used aptitude to remove any fglrx things - Installed Jockey - Installed the drivers with Jockey - Removed the drivers with Jockey (Ive read this is the cleanest option) - "no drivers" at this point - Use generic/default X config, make specific X config (both from the failsafe X boot thing)
Nothing worked at all, booting still only works with recovery option and then the low graphics mode. Otherwise, it will just "hang" on the login part. When I boot first recovery mode, and then pick the resume option, I'll see some errors near the end of the booting process.
I've seen 2 errors which might be related to my issue: - "Unable to allocate crypto cipher with name [ecb(aes)]" (home is encrypted, and accessible with safe boot) - BUG: CPU#1 stuck for 61s!
Now, the second error seems to "match" with hanging at login. I login, something is stuck and churns the CPU... and never gets unstuck, so login just hangs there. However, I can't find any information related to that stuck CPU thing. Only changing PIDs and other numbers/stack traces, no processname or any other name to work with. So I'm at a loss here.
Big dump of possibly interesting part of kern.log: Code: Nov 26 20:31:25 lexmortis-laptop kernel: [44.572381] BUG: unable to handle kernel NULL pointer dereference at 00000021 Nov 26 20:31:25 lexmortis-laptop kernel: [44.572386] IP: [<c027c1b0>] sysfs_delete_link+0x30/0x70 Nov 26 20:31:25 lexmortis-laptop kernel: [44.572397] *pdpt = 0000000035f29001 *pde = 0000000000000000 .....
Despite that with low graphics mode everything works, it seems to be a non-graphical issue here (stuck CPU on some process?). Unless I missed another option I can test for the graphics / drivers. ow I could find more info on stuck CPUs during boot?
I was really enjoying the speediness of 9.10 on my HP Pavilion ze4900. Once I got the wireless driver loaded correctly, anyway. Tried to do an on-line upgrade to 10.04, but figured I should have had a hard-wired internet connection when I got installation messages that "Could not set up..." the network. But, installation continued without any other apparent issues. As soon as it rebooted at the end, the problem started. It hangs right after the ubuntu logo, with a completely blank screen.
My questions: 1) Can I get this to start booting properly? 2) If not, what would be the best way to retrieve my evolution mail files, so I can do a clean install? If I boot from a CD, will I be able to retrieve those files and maybe put them on a memory stick?
I recently went the upgrade route and something went wrong either with the download or the installation or 10.04 and my hardware are having issues. I am looking for some advice for either fixing what is wrong or getting some additional data backed up to USB before wiping the partition and starting new.
My computer is dual-boot using Grub2, the other OS being Windows Vista. I can get to Windows Vista fine via GRUB. When I select Ubuntu (says kernel 2.6.31-21) though I don't get very far.
At this point I can get 10.04 all the way to the user selection screen, where it immediately freezes, forcing a hard reset. I can boot into recovery mode, but if I select failsafeX it freezes at the first screen that comes up--the notice you are running in low res graphics mode.
When I did the upgrade from 9.10 to 10.04 I used the update tool in Ubuntu. However I also now have a 10.04 install CD.
My graphics cards are twin NVidia 9600s in SLI. I would say it is a graphics card problem since the first graphical screen that comes up both in regular boot (the login screen) and failsafeX (the notice screen) I get a hard lock. However booting off the CD it loads the desktop just fine!
I would just wipe clean however my last data backup was partial and there is some stuff I would like to go back in and get. However neither method I have used to try and go back in to get what I need has succeeded. I have a 320G USB drive I use for backing up certain data. If I boot using the CD, it gives me an error message about the isntaller then goes to desktop (which works fine, even though I can't get past the login screen when booting 10.04 from the hard drive) I can then plug in the USB drive fine and it shows up, but some of the files on the Ubuntu installation don't give me permission to copy them. There is an 'X' on the icon and I don't know whether there is a way to get me authenticated in order to copy them from the CD desktop.
Alternatively, I can get to a root prompt if I boot into recovery mode (not the CD, just recovery mode from GRUB). I assume I can move them from there and that the permissions issue won't be a problem but when I plug in the USB drive I don't get any errors but I am not seeing it show up in /media. Also if I put a DVD-RW (all I have on hand) into my DVD-RW drive maybe I could back the data up to that, but I'm not familiar with how to do that from the command line.
If I could get to a point where I could verify that I have this extra bit of data backed up then I wouldn't have any problem wiping the partition and starting over.
Just upgraded to 10.04 from 9.10. upgraded from update manager. System would not boot. Booted live cd and used the 9.10 menu.lst. Now boots but takes a long time. I don't know much about the kernel. I assume they are listed in the /boot directory and are called by menu.lst (dual boot w/ XP) (btw: I am ready to get rid of XP once I get this fixed). 9.10 appears to use 2.6.31-20-generic, therefore, I assume 10.04 uses 2.6.32-25-generic.
Every time I upgrade to the current beta releases (natty) the boot process hangs mostly because of nvidia desktop graphics problems. Luckily the system is still running and remote login to console prompt works too. Is there really no reliable way to reset the graphics (and the rest) to minimum configuration. I am really tired of having to try all the repair options to get the desktop running again. How can Linux ever become a reliable solution if everything takes hours to fix and not even the boot process stays the same from one version to the next.
I upgraded my laptop from 10.10 to 11.04 yesterday. On the reboot part of the installation and on all subsequent boots, the loader gets as far as the initial Ubuntu splash screen before switching to verbose mode and dying in interesting ways.
If I boot using wireless, the display flashes six times, then sometimes hangs around before reporting: iwlagn 0000:08:00.0: Aggregation not enabled for tid 0 because load = 4 (this number can be anything from 0 to 10)
If I boot using a network connection, I get the same splash screen and six flashes before the system hands, usually at the message: Stopping userspace bootslash [OK]
I am not keen on reinstalling from CD except as a last resort as I have a number of files that I do not want wiped.
After upgrading to 10.04 on a server, MySQL does not start. I have tried multiple things from posts. Nothing has worked. So, I down to reinstalling MySQL. That doesn't even work. It freezes w/ the following log:
Setting up libdbd-mysql-perl (4.012-1ubuntu1) ... Setting up mysql-client-core-5.1 (5.1.41-3ubuntu12.1) ... Setting up mysql-client-5.1 (5.1.41-3ubuntu12.1) ... Setting up mysql-server-core-5.1 (5.1.41-3ubuntu12.1) ... Setting up mysql-server-5.1 (5.1.41-3ubuntu12.1) ... 100526 10:41:12 [Note] Plugin 'FEDERATED' is disabled. 100526 10:41:12 InnoDB: Started; log sequence number 0 44233
The title's not especially clear, so I'll post a screenshot of what's happening. The upgrade keeps finding instances of the same kernel; the list in the terminal is constantly scrolling down, finding 'new' instances.
It's been doing this for about half an hour now. BTW, upgrading from 64bit 9.10 to 64bit 10.04.
In the last few weeks I upgraded my Ubuntu from 8.04 to 8.10 to 9.04. No problems, everything went well. But yesterday I tried to upgrade from 9.04 to 9.10. Everything seemed to go OK until the upgrade was finished and I had to reboot. After the reboot, no Ubuntu anymore... I get GRUB, but when I continue to boot the latest kernel, I don't see any harddisk activity anymore after about 2 seconds.
Here on the forums I read that one should run the boot_info_script when having boot problems, so I already did. I booted the system with a 8.04 live USB stick. And here is the result of the boot_info_script:
I just used Update Manager to upgrade to 10.4 and all I get is the Ubuntu logo screen with the dots and then the screen goes black and there's no other response. This happened after the upgrade completed installing and I received the message to restart the computer. I have never been able to get it to boot.
I can boot fine by selecting the next older kernal although I do get some messages that I don't understand. It all works so I presume it's OK. The kernal that was installed with the upgrade is 2.6.32-24-generic and I've seen other posts about boot problems with it. The laptop is dual boot with Windows XP and Windows boots normally. I saw a suggestion on another thread about booting into an older kernal and then issuing the sudo update-intramfs -u -k command. I tried it and it didn't help.
Next I tried 2.6.32-24-generic recovery mode and I tried the option to fix damaged packages. It seemed to do something although I saw error messages about not being able to find various software sources. I tried a normal boot afterwards and same problem. Recovery mode has another menu option about repairing grub but I don't want to try that. I'm not a power user and this is all over my head. Before I turn the laptop into an unusable door stop,
I just upgraded my stable 10.10 64-bit desktop edition VirtualBox guest to 11.04. Got no errors during the upgrade. When I try to boot into 11.04, it hangs on the boot screen where it says ubuntu with the 5 dots below that. There's no animation on this screen--I think the dots usually have a progressive animation?
I've attached a PNG screen shot of the hanging Ubuntu instance.
I have just upgraded my F11 x86_64 system using the DVD ISO.
After rebooting as requested: 1) Cupsd fails to start - it can't find libaudit.so.1 (this doesn't worry me in itself). 2) Boot process proceeds until starting hald. This gets an OK response, but then the process hangs. No further output appears on the console. Pressing [ENTER] just causes a blank line to appear on the console. Pressing CTRL-ALT-DEL causes a reboot, and the same symptoms re-occur.
I'm tempted to boot with the rescue disk, save a few critical data directories, then start afresh with a clean install, but is there anything I can do to salvage the upgrade?
I've attempted to upgrade my FC9 machine to the latest Fedora 12. I downloaded the iso image onto DVD and booted from the DVD into the installer GUI. Everything proceeded flawlessly until I tried to reboot from the new installation on the hard drive.When rebooting, the word GRUB appears and the system hangs. I've rebooted in rescue mode and the grub.conf appears to make sense, although I can't say that I understand all the entries. Based on some research, I suspect that the problem is ocurring even before grub.conf get read.
Can someone give me a tip on where to begin? I don't expect a detailed answer, but I don't even know where to get started. As far as I know, I have no unusual hardware configurations. No RAID, no booting from USB. The system is old (bought around 2002), but has plenty of memory and storage. One possible clue: my USB keyboard would not work during the installation phase, and I had to replace it with one that plugged into the PS/2 port. USB mouse seems to be fine.
I have just upgraded my desktop (x86_64) from Fedora 12 to Fedora 14, using a DVD.At the end of the upgrade I rebooted as instructed. The boot process never writes anything to the console. I don't see a cursor or a prompt. I can't do anything iexcept ctrl-al-del to reboot, so I appear to be completely stuck
I upgraded F14 to F15 using installation DVD. I have been upgrading since F11 with no problems. Upgrade went well, no issue. After the reboot, the system hangs after the last line systemd.
These are last lines from boot.log: Starting LSB: start and stop xinetd... Started LSB: Mount and unmount network filesystems.. Starting Permit User Sessions... Starting xinetd: Started Permit User Sessions. Starting Display Manager... Started Display Manager. [OK] Started LSB: start and stop xinetd.
Right now I am on system rescue CD, can mount partitions and read logs. I would like to avoid fresh installation if possible.
I recently upgraded through 'YUM' from Fedora 14 to Fedora 15. The upgrade appeared to be successful until it re booted, ever since then it hangs at Code: Started SYSV: Enable monthly update of smolt. I have downloaded the ISO and burned it to DVD on another system which I used to try to rescue the installation, so far to no avail. My system specs are in my signature below (Laughlin is what I upgraded from).
I upgraded from Kubuntu 9.10 to 10.04. 32 bit. The install had not finished as it barked at tripwire config. I have had to stop it and continue from command prompt. More or less the install went OK. After the install, mysql 5.1 does not want to start or stop. Commands /etc/init.d/mysql stop ( or 'stop mysql' , or service mysql stop' ) /etc/init.d/mysql start
Do not finish - do not return to command prompt. No log messages insyslog or mysql logs. Say, I do 'service mysql start', the command does not return, I click Ctrl+C, then repeat the command. This displays : 'start: Job is already running: mysql'. Of course mysql is not running. I've tried to remove and reinstall the packages. No result. There is 'stop mysql' command in one of install scripts that hangs.
I have been running 32 bit karmic (and before that jaunty, intrepid and hardy) with no problems on my Dell D620 laptop. Since I upgraded to lucid, I get occasional freezes. It often happens at the gnome login screen after I click on my name but before I can enter the password, or upon restore from suspend but sometimes at other times. It doesn't happen all the time but often enough to be really annoying. When the freeze occurs, the mouse pointer responds to the touchpad or an external usb mouse, but no mouse button events are recognized and the keyboard has no effect either. I can't switch virtual terminals or anything. If the system was up and had a DHCP address at the time of the freeze, I believe the network still responds to ping. The only thing I can do to get the system back is hold the power button for 30 seconds until it powers off. The desktop CPU temperature monitor does not indicate excessive heating at the time of the freeze. I don't know whether I should try a re-install of lucid, or just go back to karmic.
I've just upgraded to Natty. During the upgrade no errors showed. However, when I now boot ubuntu (either recovery mode or normal), the boot process hangs at:
'checking battery state'
I searched for similair problems in this forum, but the solutions in other posts(sudo apt-get update & upgrade etc.) did not help. I'm not sure if it is related or important, but when it hangs, it also shows something like:
I have an i5 sandy bridge PC with a gigabyte H67M mobo. I have been running maverick amd64 till yesterday. On maverick graphic acceleration didn't work so I decided to upgrade. After upgrade my computer hangs during bootup (with ubuntu logo on screen). I cannot see messages on screen, wasn't ESC key for that? Live CD seems to boot but also hangs computer after loading purple login wallpaper before login dialog is shown. To me it seems a graphic card regression issue since intel mobo graphic card wasn't working fine on maverick too. Also tried to manage with fail-safe graphic mode but this also hangs computer. Is there any log where I can see errors during last bootup from maverick live-cd?
I've just upgraded my 9.4 to 9.10 on my 64bit desktop PC. Shortly afterwards I noticed that MySQL had gone away. There was no mysqld running. I tried a restart to no effect. So tried an un-install and re-install with the Package Manager. This failed! There was quite an extensive message in details, which started:-
invoke-rc.d initscript mysql, action "start" failed dpkg: error processing mysql-server-5.1 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent prevent configuration of mysql-server
And it goes on, but that's the essence of it. I subsequently tried a complete removal and re-install, to no avail.I notice that /var/log/messages contains:
I've been using ubuntu for a couple of years rather successfully on my dual-boot Vista/Ubuntu. It upgraded to 8.0(4?) LTS, 10.04LTS and I kept it there until this afternoon I followed the instructions on the ubuntu site to open up a terminal and update-manager --somearg to provide me with a nice little "Upgrade" button on the update manager. I clicked said button per the instructions, let it do it's downloading and whatever else it does. The last step of the installation is a system reboot. I let it do that, and then my grub menu comes up as more-or-less this:
If I select the top one, I get: Code: Starting up ... with a blinking cursor under the S for a LONG time (used the power switch after ~40 mins). I tried the second 2.6.32-32 option for recovery mode. It spit a bunch of gibberish to the screen for a couple seconds and then stopped, presumably doing the same thing, just with 100% more gibberish. I tried booting into Vista, that worked fine. Just to reiterate, I've not yet seen a 10 LTS login screen or desktop, and can't get one yet (just a "Starting up ...") Just to add, I did try searching, but since the only info I had to go on was 8 LTS to 10 LTS upgrade, and "Starting up ...", well those are just hard keywords to get any meaningful info.
The Payment Card Institute (PCI) is requiring our site to upgrade to the latest versions of Apache, Mysql, OpenSSL, and PHP to fix known bugs that can compromise securityI can build all these from source, but when I do "make install" they don't mimic at all what is installed (directory format, files, etc) when I do apt-get install (of whatever old versions are in the dist).How can I find out how the packages are build via configure/make so that I can replicate the files, directory structure, etc, just with the current versions.