Ubuntu Installation :: 10.04 Upgrade - MySQL 5.1 Does Not Want To Start Or Stop
Apr 30, 2010
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' )
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 am using putty to connect to my server and wanted to restart mysql server. searched the internet and found thatcommand is /etc/init.d/mysqld start or stopbut it did not worked.then tried /etc/init.d/mysql stop or startthis also did not worked.
I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).
I've just upgraded to 9.10, and mysql fails to start. When I do an /etc/init.d/mysql start, I just get * Starting MySQL database server mysqld ...fail!with no additional errors or information to say what went wrong. I saw this thread http://ubuntuforums.org/showthread.php?t=1322070 but the fix mentioned does not apply, as I don't have the #skip bsd line in my config file.
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: 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: ^G/usr/bin/mysqladmin: connect to
I have had tons of issues with the linux today. Now when I try and start mysql it just fails. the syslog says:
May 3 16:19:40 tp-inventory /etc/init.d/mysql: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in May 3 16:19:40 tp-inventory /etc/init.d/mysql: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
I just installed a brand new ubuntu server 10.04 32-bit, choosing the LAMP option on install. Upon reboot I couldn't connect to mysql from another machine, so on this new server I changed the file at /var/mysql/my.cnf
I have a development server that I have attempted the 9.10 -> 10.4 LTS upgrade on to see if there were any problems. (Another catch is that I am running PHP 5.3 and 5.2 concurrently, and this has been successfully done.)
MySQl fails to start:
root@dev11:/var/run/mysqld# /etc/init.d/mysql start * Starting MySQL database server mysqld ...fail! Checking /var/log/syslog:
P.S. This server has had MySQL running for some time. There are databases on there, but again they are used in development only. I'd rather not uninstall/reinstall.
I am new to ubuntu. I want to start mysql but its not working! error occurs! " root@drazer-GA-MA785GM-US2H:/etc/init.d# mysql.server start mysql.server: command not found root@drazer-GA-MA785GM-US2H:/etc/init.d# mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) root@drazer-GA-MA785GM-US2H:/etc/init.d# mysql start ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) root@drazer-GA-MA785GM-US2H:/etc/init.d# " I have installed mysql client and server packages.
Now, every time I run update manager, it tells me to run a partial upgrade. I can close the window and proceed upgrading packages,but if I let it try the partial upgrade is starts a distribution upgrade !??! I am currently running 11.04.
How can I stop update manager from trying to update my distro version?
I have ubuntu 9.10, and installed the latest lampp with default options. Apache/Mysql/Proftpd would start and stop fine. I then did:
...which I got from here...[url] Although I'm pretty sure I was never prompted for the mySQL password. At any rate, now mySQL will not start (Apache and ProFTP are OK). Where can I start debugging this? Where is the conf file for mySQL?
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
I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....
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
I thought that the problem is in the phpMyAdmin not in the mysql. But now i think different. It seems that the problem is right in the mysql. I think that there was no root user, when mysql was freshly installed. Unfortunately i did everything i can find on internet (some tutorials) but they don`t helped me at all, maybe i fu**ed up the mysql service. So i reinstalled it, and when i want to start it there is no file mysql.sock and i get the following:
linux-nepg:~ # service mysql restart Restarting service MySQL Shutting down service MySQL done Starting service MySQL warning: /var/lib/mysql/mysql.sock didn't appear within 30 seconds
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:
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.
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.
I have a mysql database and i use it with apache for my webpages. And I guess it dosen't start when the computer starts so I have to manually start it with "sudo /etc/init.d/mysql start" This returns fail so i went to '/var/run/mysqld/' and the folder was empty. I don't know if this is the problem or not. How can I fix this?
My story thus far:I have a working, fairly customized desktop environment running Ubuntu Studio 10.10.Yesterday, I literally wasted the entire day attempting to upgrade to, and then reverting from, Ubuntu Studio 11.04 (never forget to do a grub-install when restoring your system to a previous state from backups).I am not bashing 11.04! That is not the purpose of this thread,although I believe that Unity needs some maturity,and because of this I probably won't upgrade until the next LTS.
What I would like to know is this: Is there a way that I can get the various and sundry upgrade managers to stop telling me about the 11.04 upgrade availability? I'd really like to not see it�I feel somewhat like a Luddite every time I do.
Code: The following packages will be upgraded: apache2 apache2-doc apache2-mpm-prefork apache2-utils apache2.2-common libcupsys2 libmysqlclient15-dev linux-libc-dev mysql-server mysql-server-5.0 php5-imap sudo 12 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5 not fully installed or removed.
I'am using ubuntu lucid, after today's system updates, mysql stop working at all. Log file at /var/log/mysql/error.log does not say anything about today, and whe I try to start it the terminal hang also in verbose mode.