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' )
/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.
View 9 Replies
ADVERTISEMENT
Mar 1, 2010
i have installed mysql and its running fine. how i can stop mysql from auto starting when i start my machine
View 2 Replies
View Related
Feb 25, 2010
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.
View 6 Replies
View Related
Jul 23, 2010
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).
View 9 Replies
View Related
Jun 2, 2010
I cannot get mysql to start since updating to Lucid. It seems to be utterly silent, no log entries anywhere I can see or anything.
I've tried reinstalling the ubuntu install to no avail.
Here's the /etc/mysql/my.cnf:
(default from upgrade I suspect) this is also the debian.cnf
Code:
# Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host = localhost
user = debian-sys-maint
[Code].....
I'm just getting utterly nothing in any log.
root@linuxbox:/etc/mysql# sudo start mysql
start: Job is already running: mysql
but there isn't! top/ps show nothing at all
root@linuxbox:/etc/mysql# sudo restart mysql (or stopping) just sit there, hung on something.
View 2 Replies
View Related
Feb 18, 2010
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.
View 5 Replies
View Related
Mar 15, 2010
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]....
View 1 Replies
View Related
May 3, 2010
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[7783]: 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[7783]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
[Code]....
View 6 Replies
View Related
May 10, 2010
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
[Code]...
View 9 Replies
View Related
Jul 12, 2011
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:
Quote:
root@dev11:/var/run/mysqld# /etc/init.d/mysql start
* Starting MySQL database server mysqld
...fail!
Checking /var/log/syslog:
[Code]....
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.
View 1 Replies
View Related
Aug 4, 2011
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.
View 4 Replies
View Related
Oct 28, 2010
Can i stop during the "Getting new packages" stage of a disto upgrade?
View 1 Replies
View Related
Mar 17, 2011
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?
View 6 Replies
View Related
Jan 11, 2010
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?
View 1 Replies
View Related
May 26, 2010
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
[Code]....
View 1 Replies
View Related
Feb 12, 2010
Two weeks ago my computer started freezing on start up when plugged in. It was suggested to upgrade the APM. What is this and is it not updated through the package update? If not how do I upgrade it?
View 1 Replies
View Related
Mar 13, 2009
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....
View 2 Replies
View Related
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
View 1 Replies
View Related
Feb 5, 2009
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
View 9 Replies
View Related
Apr 11, 2010
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:
Apr 12 01:10:15 Mintaka kernel: [ 2538.821153] type=1505 audit(1271031015.407:259): operation="profile_replace" pid=9328 name=/usr/sbin/mysqld
Followed by many:
Apr 12 01:10:15 Mintaka kernel: [ 2538.885370] type=1503 audit(1271031015.477:260): operation="open" pid=9355 parent=9354 profile="/usr/sbin/mysqld" requested_mask="r::" denied_mask="r::" fsuid=0 ouid=0 name="/sys/devices/system/cpu/"
View 1 Replies
View Related
Jul 16, 2009
I am trying to set my root password for my mysql database. After I enter /etc/init.d/mysqld start
[code]...
Timeout error occurred trying to start MySQL Daemon. Then when I try to set the password for my root account I get
[code]...
View 5 Replies
View Related
May 2, 2010
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.
View 1 Replies
View Related
Aug 6, 2011
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.
View 9 Replies
View Related
Dec 10, 2009
I have 3 script BASH. I want start this script when the system start,stop and reeboot.
View 4 Replies
View Related
Mar 3, 2011
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.
View 1 Replies
View Related
May 4, 2011
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?
View 9 Replies
View Related
May 3, 2011
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.
View 2 Replies
View Related
Jun 3, 2010
I've installed MySQL using yum on CentOS 5. I'd like to upgrade mysql-5.0.77-4.el5_4.2 to MySQL Community Server 5.1.47. What is the best way to upgrade?
View 2 Replies
View Related
Mar 10, 2010
I'm running an update, and get this:
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.
[Code]...
View 1 Replies
View Related
May 26, 2010
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.
View 9 Replies
View Related