Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-24-2003, 06:38 PM   #1
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
MYSQL databases keeps CRASHING on my new server!

I've been moving all my sites to my new server. I noticed that some of them were losing traffic, and the MYSQL database was corrupted for my trading script. I thought it was a problem with that script and changed to a different script... after a day or so, THAT MYSQL DATABASE CRASHES TOO!

Has anyone else experienced these problems?


PLEASE HELP!
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 06:38 PM   #2
Backov
Confirmed User
 
Join Date: Mar 2001
Location: Cat Detector Van
Posts: 1,600
What OS?
__________________
<embed src="http://banners.spotbrokers.com/button.swf" FlashVars="clickURL=http://banners.spotbrokers.com" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="60"></embed>
Backov is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 06:39 PM   #3
Jamie
Confirmed User
 
Join Date: Apr 2001
Location: CelebPay.com
Posts: 2,517
Your host should be able to help you if you have a managed account.
__________________
CelebPay: Promote Celebrity Reviews
i/c/q - :1851935
Jamie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 06:40 PM   #4
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
Redhat 7.2
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 06:40 PM   #5
KidCock
So Fucking Banned
 
Join Date: May 2003
Location: San Pedro, Costa Rica
Posts: 788
Post some details like OS, mysql version and anything from server.err that is helpful ;p
KidCock is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 06:47 PM   #6
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
MYSQL - 4.0.13
PHP - 4.3.1
APACHE - 1.3.27 (Unix)

example of error:

http://ilovetitties.com/tgp/ttt-out....t=50&link=potd
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 06:49 PM   #7
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
Traffic Drive sites last about one or two days then I get a connection error and garbage in the HURL table...

TTT gives me the error I posted above... this site was working for about a day or two also...
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 06:49 PM   #8
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
GFED make sure your not taking a database from an i686 architure and putting it on i386 or vice versa

if so dump the database and reimport it

Also check that the my.cnf files on both servers are setup the same.

My

Last edited by JFPdude; 06-24-2003 at 06:51 PM..
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 06:51 PM   #9
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
Quote:
Originally posted by JFPdude
GFED make sure your not taking a database from an 1686 architure and putting it on 1386 or vice versa

if so dump the database and reimport it

Also check that the my.cnf files on both servers are setup the same.

My
The databases have been created in Cpanel and all entries were reentered by hand... what directory is my.cnf in?


Thanks
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 06:53 PM   #10
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
Quote:
Originally posted by GFED


The databases have been created in Cpanel and all entries were reentered by hand... what directory is my.cnf in?


Thanks
usually it is /etc/my.cnf or /usr/local/etc/my.cnf ... but it all depends on your setup

run this command to find it:

find / -name my.cnf

JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 07:01 PM   #11
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
my old box didn't have that file, the new one has it and contains this...

[mysqld]
set-variable = max_connections=500
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 07:03 PM   #12
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
Quote:
Originally posted by GFED
my old box didn't have that file, the new one has it and contains this...

[mysqld]
set-variable = max_connections=500

You should have your admins take a look at the differences between both setups then ....
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 07:09 PM   #13
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
Quote:
Originally posted by JFPdude



You should have your admins take a look at the differences between both setups then ....
I AM the admin...
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 07:09 PM   #14
JFPdude
Confirmed User
 
Join Date: Jan 2002
Location: Mountains of Western North Carolina.
Posts: 4,027
Quote:
Originally posted by GFED


I AM the admin...
Hit me up on ICQ 4433144
JFPdude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 07:11 PM   #15
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally posted by JFPdude


Hit me up on ICQ 4433144
do as he said , if he cant help you nobody can
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 07:16 PM   #16
KidCock
So Fucking Banned
 
Join Date: May 2003
Location: San Pedro, Costa Rica
Posts: 788
error number 145 is when your records are corrupt.

Shutdown the DB, then run

myisamchk -ar *.MYI in your data directory

should fix the problems, if not you might need the -e or -o flags on the myisamchk (or isamchk, depending what you're using)

Then restart and everything should be cool
KidCock is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 07:36 PM   #17
vending_machine
Confirmed User
 
Join Date: Jun 2002
Location: Seattle
Posts: 1,062
Quote:
Originally posted by KidCock
error number 145 is when your records are corrupt.

Shutdown the DB, then run

myisamchk -ar *.MYI in your data directory

should fix the problems, if not you might need the -e or -o flags on the myisamchk (or isamchk, depending what you're using)

Then restart and everything should be cool
You don't even have to shut down the database, in the mysql client do:

Code:
use database;
repair table ttt_links;
However, it's a bad sign that your databases are corrupt after only that short a time. Has your server crashed during all of this?
vending_machine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 07:43 PM   #18
KidCock
So Fucking Banned
 
Join Date: May 2003
Location: San Pedro, Costa Rica
Posts: 788
Quote:
Originally posted by vending_machine


You don't even have to shut down the database, in the mysql client do:

Code:
use database;
repair table ttt_links;
However, it's a bad sign that your databases are corrupt after only that short a time. Has your server crashed during all of this?
I've learnt from experience that most times when I repair corrupted tables while it's running, it doesn't fix them..
KidCock is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 07:44 PM   #19
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,120
Thanks for everyone's help! JPFdude has took a look at my boxes and determined that the # of connections was too low on my new box and kept corrupting my MYSQL databases.


Thank you all for your quick help and responses! Without GFY all my shit would have died!
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-24-2003, 09:21 PM   #20
m4tt
So Fucking Banned
 
Join Date: May 2003
Location: San Diaygo, CA
Posts: 384
Quote:
Originally posted by KidCock


I've learnt from experience that most times when I repair corrupted tables while it's running, it doesn't fix them..
So lock it first : )

How much traffic you getting through that script? Maybe someone just needs to learn how to make better indexes : )
m4tt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.