Server :: MySQL Keeps Crashing - Why Is So / Sort It?
Feb 25, 2011
I'm currently running LAMP on an Amazon instance. The OS is from the Amazon 64 bit image.
Basically, every so often MySQL seems to go down. All of my sites fail to connect to their databases. I then have to SSH in and restart mysqld.
Heres the last 30 lines of /var/log/mysqld.log code...
View 7 Replies
ADVERTISEMENT
Dec 21, 2009
I've got this issue for past week.
Mysql Crashes with 111 error although it starts back up instantly.
but i can't seem to figure out why.
-Server Is Deb. Lenny + Direct Admin.
Quad Core 2.5, 8GB Ram.
-Mysql ver 5.3
-Htop shows mysql is most of the time using 33 - 50% CPU.
(the init.d name is /etc/init.d/mysqld )
-This is from the err log of last crash. code...
View 3 Replies
View Related
Jan 29, 2010
Just that, kopete keeps crashing and crashing all the day like two times per hour, in my two lappys.
My Aspire one with openSUSE at 32bits, and my HP with openSUSE at 64bits.
Both, has this kde config code...
View 6 Replies
View Related
May 11, 2010
Since upgrading to 10.04, Rhythmbox has been crashing regularly. It seems that every time it picks a new track, it has a chance of closing without notice. This can happen for the first track it plays, when clicking "next track" or when automatically going to the next track. This only seems to happen on shuffle, which is the way I usually use Rhythmbox. I tried running it with `rhythmbox -d` but the only output consistent between crashes is "Aborted", which appears suddenly and without any additional information or even a line break.
(10.04 64bit, upgraded from 9.10.)
View 2 Replies
View Related
Jun 28, 2011
I'm running 64 bit ubuntu 11.04, installed off dvd onto dell inspiron 530 if thats helpful.
This is my first attempt at linux ever so i know absolutely NOTHING about it.
View 9 Replies
View Related
Jun 7, 2011
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]...
View 6 Replies
View Related
Jun 2, 2010
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.
View 9 Replies
View Related
Jul 27, 2011
I have two different table in a database in mysql that has no share key with each other and I want to sort them with each other on their date time column I mean when I sort it row X of table A that is older that row Y of table B comes earlier.
View 3 Replies
View Related
Jun 17, 2010
I 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.
View 1 Replies
View Related
Aug 25, 2010
I'm having problems connecting to the mysql database on my system. I first noticed this when I was trying to set up the program anymeal. I subsequently tried using MySQL Administrator (mysql-admin), but had no luck. It gives my the following feedback:
Code:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Click the 'Ping' button to see if there is a networking problem. I press the ping button, and it seems to connect.
Code:
View 4 Replies
View Related
Feb 22, 2011
I've been attempting to set up a LAMP for local web development, which meant installing mysql-server. But now have a problem when trying to run mysql, I get:-
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
When trying to downgrade mysql-server I saw that there are dependency problems between the various modules (but can't recall which). But whichever route I truied the results are always the same.
Thought about trying XAMPP but I note that even has it's problems, is there any way I can get a lamp set up on FC14, or must I give it up as a bad job.
Howver, just been trying to again to fix the problems with downgrading mysql and get:-
Error: Package: mysql-server-5.1.55-1.fc14.i686 (@updates)
Requires: mysql(x86-32) = 5.1.55-1.fc14
Removing: mysql-5.1.55-1.fc14.i686 (@updates)
mysql(x86-32) = 5.1.55-1.fc14
View 7 Replies
View Related
Aug 2, 2010
I'm trying to setup wordpress on my server, which of course I need mysql for. I setup a database the other day, which worked perfectly, but I had to start again as I put some information in wrong. Now, I can create a database fine, but when I run
Code:
GRANT ALL ON wordpress.* TO wordpress@localhost IDENTIFIED BY "password";
I get the output:
[code]...
View 13 Replies
View Related
Jun 4, 2009
I have MySQL 5.1.34 and PHP 5.1.6 installed on my system, how do I install php-mysql? Each time I try, it says
mysql-5.0.45-7.el5.i386 from base has depsolving problems
-- > mysql conflicts with mysql-server-community
error: mysql conflicts with mysql-server-community
View 16 Replies
View Related
Jun 18, 2010
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?
View 1 Replies
View Related
May 23, 2011
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]....
View 4 Replies
View Related
Jan 30, 2011
I installed mediawiki the other day and went with the default innodb option. However a week later something went wrong. And since I have scripts that nightly backup /var/ I just copied the backup of /var/lib/mysql/wikidb/ (as I've done with MyISAM). Then when I connect the wikidb database. I can see the tables (via "show tables"), but when I do any query with them (check table X, select * from X) I get:
Code:
Table 'wikidb.X' doesn't exist I've since read that can can't just copy the database directory like MyISAM, and there appears to be no way that I can find to restore or fix Innodb, without a dump of the data. And I never got a chance to do a mysqldump of the data. So has anybody got any idea how I can at least view the "page" table from the files I've backed up in /var/lib/mysql/wikidb/ ?
View 1 Replies
View Related
Mar 3, 2009
I just configured a complete Cent OS 5.2 system for use as a web server. I can configure Apache and PHP but MySQl seems to be causing some issues -
[mysqld]
datadir=/var/lib/mysql
socket = /var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
[Code]...
View 16 Replies
View Related
Jul 14, 2010
I am using CentOS5 and installed the MySQL for server during the installation. I can set up and use MySQL databases. But I cannot make it startup everytime the server restarts. And quite a lot of methods need this folder "support-files/mysql.server", while my set up cannot find this. I am wondering if my installation of the MySQL for server is complete or not.
View 4 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
Jul 14, 2010
I am using CentOS5 and installed the MySQL for server during the installation. I can set up and use MySQL databases. But I cannot make it startup everytime the server restarts. And quite a lot of methods need this folder "support-files/mysql.server", while my set up cannot find this. I am wondering if my installation of the MySQL for server is complete or not.
View 3 Replies
View Related
Apr 21, 2011
I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram
The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?
Httpd.conf
Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....
View 2 Replies
View Related
Feb 20, 2010
For quite some time now, firefox has been crashing randomly. At first I thought it was the flash plugin, which was actually part of the program, but then I renamed the whole .mozilla/firefox directory, thus causing it to start fresh with no plugins or extensions. Firefox continued to crash, and in fact, now it seems worse. Now it will crash normally within about 2 minutes of having been started, and it will crash even if I don't do anything. If I just start it and leave it on the firefox start page, it will crash.
If I run it from the command line, I get this error when it crashes:
Code:
I am using X.org version 1.4.0.90.
View 3 Replies
View Related
Oct 28, 2009
I've got a new server machine: Fujitsu-Siemens PRIMERGY TX150 S6.
I've tired to install CentOS 4.4 linux from DVD. This DVD is OK, because I installed from it a couple of days ago. Installation process starts but after some steps it gives me something like this code...
View 2 Replies
View Related
Jan 18, 2011
I have set up DNS server set up on my RH 5.5 system. It is working perfectly as Caching only Server but but when i tried to make it a primary server for a zone it didn't resolved. I am actually a newbie so please correct me if i am wrong somewhere. Here are my configuration files code...
View 10 Replies
View Related
May 23, 2011
I am using Postfix on CentOS to send mail through a relayhost. The mail sends fine, but on certain clients such as the mail client on the iPhone or Windows Live Mail, the message is received with '(No Sender)' in the sender field. The Apple Mail client on the iMac works just fine.
Here is the PHP code I am using to send the mail code...
Wondering if there is a configuration setting in /etc/postfix/main.cf I can use to fix this problem. I have scoured the help files but have come up empty.
View 5 Replies
View Related
Sep 29, 2010
I wrote a code in C to connect to MySQL by using mysql_real_connect function but I recieved error "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" (by using mysql_error function).
I also did the following things: in mysql I typed 'SHOW VARIABLES LIKE '%SOCKET%'', it returned /var/lib/mysql/mysql.sock I typed 'mysql_config --socket' in shell, it returned /var/lib/mysql/mysql.sock I modified /etc/my.cnf file
View 3 Replies
View Related
Jan 10, 2011
I have a few headless servers running in my home office and I can easily see how these machines could get lost or forgotten. Linux is such a beautiful operating system it often puzzles me why it isn't more popular. People say that Linux isn't user friendly, but honestly I think it's more user friendly than Windows. If you took two people who have never used a computer before and sat one down in front of a computer running Linux and the other person in front of a computer using Windows, I'd like to believe that the person using the Linux computer would excel much quicker.
Anyway, if you have a server running out of your home, or office, how long has your server ran without it crashing? Secondly, compare that figure against how long a computer running Microsoft has run without crashing or forcing a restart.
View 9 Replies
View Related
May 2, 2011
I am getting below information from the core file on our production servers. one of our server is crashing with segmentation fault .Program terminated with signal 11, Segmentation fault.
#0 0x00b24332 in _int_malloc () from /lib/libc.so.6
(gdb) where
#0 0x00b24332 in _int_malloc () from /lib/libc.so.6
[code]....
View 2 Replies
View Related
May 18, 2009
I'm using Centos 5.3 with xen to virtualize some virtual machines (mostly windows 2003).
It works perfectly fine excepted one thing :
Each monday morning, the server is crashed with nothing noticeable in the logs that help.
Since it allways happen between sunday 22h00 and monday 05h00, I suspect a crash when running some cron tasks...
The server works fine. I look at cron.weekly and deactivated makewhatis.com which is the only task apart 0anacron...
But it makes no difference.
I really don't see what can cause such a regular failure... As I am more specialist on Debian, there may be some specific tasks running every week on centos I didn't noticed.
View 4 Replies
View Related
Feb 11, 2010
I have a VPS running a web application served using Apache, that on average deals with 20-50 requests per second. It's usually above this point (50 requests per second) that the amount of memory that Apache uses is too high for the VPS and errors start occuring - web pages crash and VPS falls over for a minute or two before going back to normal levels.
I believe that MaxClients is the best way to reduce the amount of RAM that Apache uses and I am planning to reduce MaxClients from 256 (default value) to around 100. Each Apache process uses ~15MB and the server has 1900MB of ram in total - the server does nothing else other than run Apache and a few crons.
Current setting are:
Code:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3
# prefork MPM
# StartServers: number of server processes to start
[Code].....
I tried reducing MaxClients before which lead to massive slowness, so I need some other options as well.
Does my suggestion of reducing MaxClients to ~100 seems sensible? What are my options if the server experiences slowness again - optimise the application? What's the best way to reduce memory usage - move images to another web server?
View 2 Replies
View Related