Ubuntu Installation :: Apt-get Hangs When Upgrading Mysql-server-5.1?
Jun 20, 2010When I attempt to do the following:
Code:
sudo apt-get update
sudo apt-get upgrade
[code]....
When I attempt to do the following:
Code:
sudo apt-get update
sudo apt-get upgrade
[code]....
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 DekiWiki, which has as a dependency mysql-server. This is what's going on:
Code:
root@servername:~# apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
[Code]...
Do you think this package might be corrupted, and if so can I manually specify a different version or a different package? I don't know what else to do; ctrl+c to kill it results in dpkg hangups that yeah, I can purge, but I'd rather not be doing that more than is really necessary.
Been trying to upgrade home server for several days and it keeps hanging on the mysql upgrade. Here's the what apt-get says code....
View 3 Replies View RelatedI'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
how to upgrade from mysql5.1 to mysql5.5 version. Pls guide me in briefly.I did upgrade with the help of this url
http://www.ovaistariq.net/490/a-step...-to-mysql-5-5/ but i got error like this error:2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) when trying to connect FATAL ERROR: Upgrade failed
In /etc/my.cnf , i didnt get like this. Is this is the error
user = mysql; socket = /var/run/mysqld/mysqld.sock; port = 3306; basedir = /usr/local/mysql; datadir = /usr/local/mysql/data; tmpdir = /tmp; log_error = /var/log/mysql/error.log
I am getting the following error when starting mysql using 'sudo /etc/init.d/mysql start':
Mar 15 16:33:56 MoodFishDev /etc/init.d/mysql[18317]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Mar 15 16:33:56 MoodFishDev /etc/init.d/mysql[18317]: ^G/usr/bin/mysqladmin: connect to
[code]....
I think this goes here, but I'm not sure. I decided that XAMPP had been troublesome enough. MySQL never worked. So I decided to instal the LAMP stack offered by YaST. I went about installing it thinking that it would all work. But it seems that I was wrong. So I try to start mysql, and here's what I get:
Code:
the-matrix:~ # mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2) or
Code:
the-matrix:~ # rcmysql start
Starting service MySQL warning: /var/mysql/mysql.sock didn't appear within 30 seconds
chmod: cannot access `/var/run/mysql/mysqld.pid': No such file or directory
[Code]...
I'm using Ubuntu 10.04 LTS - the Lucid Lynx.
I have reinstalled mysql-server-5.1 using the command "sudo apt-get --reinstall install mysql-server-5.1".
But its giving error message at the end of installation when its trying to start the server.
The error message is as follows.
When i tried to start the server after the installation, i get this error message
Note : The file "/etc/mysql/my.cnf" is empty.
i am using liferay5.2(mysql included in the download pack) on fedora. while liferay is working fine but i cannot connect to mysql.i am getting the error
[
[root@localhost ~]# ln -s /var/lib/mysql/mysql.sock /tmp
[root@localhost ~]# /etc/init.d/mysqld start
Timeout error occurred trying to start MySQL Daemon.
[code]....
i didnt find the mysql.sock file in the location /var/lib/mysql/mysql.sock. i cannot find the portal-ext.properties file also to make intial settings.
I like to run a mySql database server on a Ubuntu (which is no server) for local use only. Is there some instruction how to do this? I downloaded several DBMS but they all seem to assume a running server.
View 1 Replies View RelatedMy existing MySQL database is running on 11.1. I plan to do a fresh install of 11.3 in order to utilize the trimming feature for SSD drives. How should I install my MySQL database to the new version? Do I perform a backup then restore to the new install? Or can I just save the mysql db files to a cd and somehow attach it to the new install?
View 2 Replies View RelatedI'm running MySQL 5.0 on a production server and I require to upgrade mysql to version 5.5 to get a new collation support. What is the best procedure to follow? I cannot find MySQL 5.5 on the standard repositories. A yum install would be the safest, correct?
View 2 Replies View RelatedI thought I'd give 10.04 a try since it's an LTS release and I was still using Jaunty. I did the upgrade over SSH using sudo*do-release-upgrade*-d and at first it just upgraded me to Karmic. After the reboot I ran the same command again and it looked like it was upgrading this time to Lucid. Now however after the reboot I no longer could log in (no SSH) and after inspecting the system locally by digging out and old monitor and keyboard, it seams the system hangs during boot.
I went into the Grub menu and found that there is no server kernel listed (apart from the old Jaunty one), only generic-pae and generic. None of these will boot, and if I try the recovery modes the keyboard doesn't function when I get to the recovery menu. Also if I boot the old 2.6.28-17-server, it does boot, but the keyboard also won't function once it boots. I can SSH in once the old kernel has booted, but when I tried to install linux-image-2.6.32-19-server via apt, it can't be found. Furher investigation online sems to indicate that there's only a 64-bit server package and no 32-bit package. What's that all about, is 32-bit no longer supported on the server platfom, and if so is my install now screwed?
Just wondering if this is feasible/sensible. I'm running a server with 8.04 LTS server edition, and I'd like to upgrade to the latest version of sshd because the version included with 8.04 doesn't easily support chroots and I know it's simple to set up in newer versions. There's no official backport, and I don't want to upgrade the whole OS to 10.04 or 9.10, so I was wondering if it was possible to upgrade only the sshd package using a newer repository or something like that?
View 2 Replies View RelatedI tried to install php from source file on centos server and i got the error as # ./configure --with-apxs2=/usr/local/packages/apache/bin/apxs --with-mysql --prefix=/usr/local/packages/apache/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm
checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information.
I have a centos 5.5 server which hangs with yum update. i did a yum clean all. removed the rpm en /_.rd een did a rebuild. In the logs there are no errors. If there is another update except these to he works just fine. Disk space is enough free. Any ideas? i am runnung yum update as root . when i do a full report of yum i get this:
[Code].....
I've just upgraded my server installation from 9.04 to 9.10. I'm running this as a Xen virtual machine. All seemed to go well until I restarted, at which point I got stuck at this point:
Begin: Running /scripts/init-bottom ...
Done.
mountall:/proc: unable to mount: Device or resource busy
mountall:/proc/self/mountinfo: No such file or directory
[code]...
My service provider is running xen-shell 1.0.79 running on Xen version 3.0.3-1, and after the seemingly-successful do-release-upgrade, uname -r reports ubuntu kernal 2.6.18-5-xen-amd64. Unfortunately, this isn't mentioned as a possible problem here [URL]
I know why this happened, but I need to know what problems it's going to cause and how I can re-install / fix the problem. I have my /tmp folder mounted as -noexec ... so when I did a recent update to my 10.04.1 LTS server installation, I got the following errors:
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-24-server
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/init-premount/lvm2: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/init-top/all_generic_ide: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/init-top/blacklist: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/init-top/udev: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/panic/console_setup: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/init-bottom/udev: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/local-premount/fixrtc: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/local-premount/ntfs_3g: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/local-premount/resume: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/nfs-top/udev: Permission denied
/usr/sbin/mkinitramfs: 329: /tmp/mkinitramfs_H30dak/scripts/local-bottom/ntfs_3g: Permission denied
Press return to continue.
What should I do now? (besides, obviously, removing the -noexec flag from /tmp so this doesn't happen again!)
I have a home installation of 6.06 LTS Server on my Sun Ultra2 (Ultrasparc). I love it, everything about it is great. However, I'm starting to watch the clock and realize that I will soon need to upgrade if I want to continue to receive security updates. What is the best way to accomplish this? Can I directly upgrade to the next LTS release? (8.04)? Also, there is no GUI installed, it's a headless system. What is the best mechanism for upgrading via the commandline?
View 1 Replies View RelatedI want to upgrade Apache, PHP, and MySql from a default version I'm having in my installed Slackware. What is the proper step to do this? Will it cause some problem if I upgrade them?
View 13 Replies View RelatedI forgot my root password for mysql, and after some searching I found several solutions to fix it. But none of them seem to work.I tried this article http://ubuntu.flowconsult.at/en/mysq...root-password/ with starting mysql with the --skip-grant-tables option. The problem is that nothing happens, it just hangs.Also tried the the --init-file option, that one runs fine, at least it returned to the command line. But the sql query in the file to which it point doesnt seem to do anything. The password wasn't changed to the one I specified in the sql file.Any idea what could be going on here, and how I could fix it?
View 3 Replies View RelatedAfter configuring and everything is going well, Ubuntu stalled in the "Finishing the installation - Setting users and passwords... 25%" step.I verified the download with md5sum after downloading, and checked the CD after burning. I then checked the CD again when booting the live CD. So a bad disk isn't an issue. At first I tried to do the good old "open the CD tray and close it again" trick because the status light wasn't blinking. But the CD drive wouldn't open. (its a SATA CD/DVD drive) After trouble shooting and thinking about what I could do to get it to move forward in the installation, I unplugged the CD drive and plugged it back in again and it seemed to spin back up and read. However its been another 10 minutes and the server is still hanging.Is their anything you recommend I do? I suppose I can start the process over again but I don't want it to stop again, and I would rather it just finish the install since its 2 seconds away from being done. System:TYAN S4985G3NR Thunder n4250QE Quad 1207(F)AMD Opteron 8xxx series processors x44x2gb sticks reg. ECC Kingston RAM2x 1.5TB WD DrivesRunning fine under Windows Server 2008 x32
View 1 Replies View RelatedI have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.
i am trying to upgrade to ubuntu 10.04 from 8.04, and am getting this warning:"Upgrading may reduce desktop effects, and performance in games and other graphically intensive programs.This computer is currently using the AMD 'fglrx' graphics driver. No version of this driver is available that works with your hardware in Ubuntu 10.04 LTS.Do you want to continue?"should i continue? i have no idea what a 'fglrx graphics driver' is
View 4 Replies View RelatedI will preface this post by saying I am completely new to any flavor of Linux and even in Windows. I don't do much in the command line so I am very much at the steep part of the learning curve. I have Ubuntu Server 10.10 installed on a vm using VirtualBox. I installed the Server GUI, Apache and MySql using the command line. Now I want to be able to use a GUI for MySQL so it should be an easier transition coming from MS SQL. I downloaded MySQL Workbench which sounded like the add on I wanted. I have the .deb file on a CD. Now I have no idea how to put it all together.
View 1 Replies View Relatedi am using fedora 12i want to bakup my mysql database and extract it in my solaris 10 machine.in my fedora machine i gave
mysqldump (database-name) > bakup.sql
in my solaris machine i gave
mysql (newly created dbname) < bakup.sql
[code]....
I was having issues with MySQL Server and uninstalled it. I still have my databases at /lib/var/mysql.
My question: if I install MySQL Server (same version, 5.1) again, will it delete my databases, or will they still work?
How can I really, really remove everything related to mysql / mysql-server. I read and tried all kinds of things, but on every reinstall there is still old mysql stuff there, for example an existing password. Even resetting the password does not help.
Reason of removal: it looks like the mysql setup is really corrupt, so I want to remove, and then do a fresh install. Running Ubuntu 11.04 64-bit
sander@R540:~$ sudo apt-get purge mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not installed,
[Code]....
When installing Ubuntu Server 9.10 (onto a gatewar 6400), it hangs at the screen Retrieving libc6-udeb. How do I fix this?
View 3 Replies View Related