Adverts help to support the work of this non-profit organisation. To go ad-free join as a Member.
ImmInst moving!
#31
Posted 16 May 2006 - 08:18 AM
#32
Posted 16 May 2006 - 09:26 AM
#33
Posted 16 May 2006 - 04:53 PM
sponsored ad
#34
Posted 25 May 2006 - 01:49 AM
#35
Posted 25 May 2006 - 02:00 AM
If I have to reload from the backup, I give a 50/50 chance that that'll work...
Hmm, what the hell am I doing?
#36
Posted 25 May 2006 - 03:53 AM
#37
Posted 25 May 2006 - 05:43 AM
#38
Posted 25 May 2006 - 07:03 AM
Do you want to know why the forum crashed when I upgraded mysql to version 4.1? Do you? DO YOU!!!???
Well, apparently, in version 4.1 of mysql, you can't use "mod" as an alias for a table. SAY WHAT?!?!?!? [8)]
Yeah, apparently, it's like, reserved or something.... One stupid little query, that gets loaded on every forum page, checks for moderator privileges, and it does this by aliasing the ibf_moderators table to "mod". And that's why we were seeing that pesky message that said there was a problem with the syntax...
Actually, I wouldn't have figured it out at all, if it weren't such a FUCKING NIGHTMARE to reinstall mysql 4.0. You see, I upgraded to 4.1, and everything seemed fine, on the surface. The wiki pages worked, after a couple quick recompiles of Apache. I'd done this before, so I barely broke a sweat.
But for whatever reason, the forum was messed up. I kept getting mysql errors... No big deal, thought I! I was smart; I planned ahead; I made a backup of the database! So, I proceeded to downgrade to version 4.0, just like I'd read about...
But when all was said and done, I couldn't start mysqld. Apparently, the host.MYI and other critical files got corrupted. Hey, no big deal, I'll just reinstall from scratch, right?
WRONG! Apparently, you can't just reinstall. You see, when you reinstall through WHM, it's actually "upgrading", and it relies on the fact that the user privilege tables already exist and are in the proper format. No, you can't just have it create new privilege tables from scratch. I tried. Many, many, many times. And you'd think that if you googled for these files, you'd find a stock set of them, fresh and ready to roll... I tried. Maybe I'm just inept with Google, but all I could find were pages that discussed host.MYI. I didn't want to discuss it, I wanted a working copy!
It's funny, because you'd think a fresh install would know that, by definition, THERE AREN'T ANY PRIVILEGE TABLES!!! But no, it checks the existing privilege tables, and then gives up. I was able to run mysqld in "safe" mode by bypassing the privilege tables. By bypassing the f*cked up tables, no errors were encountered.
EXCEPT, then anyone could get into the database as though they were an admin, and peruse the whole database. Not good...
I even went to mysql's website and got instructions for downloading the RPMs and installing them manually (that's right, I said screw cPanel's /scripts/mysqlup). But when I tried to run the rpm -i ..., I just got an error saying that perl(DBI) wasn't installed.
Yes it is!!! Damn you, Red Hat Package Manager!
For the curious, the error I was getting on the host.MYI file was:
File '/usr/share/mysql/charsets/?.conf' not found (Errcode: 2)Go ahead, google it. You'll see lots of ways people suggest fixing it. I TRIED THEM ALL! Well, probably not all of them, but all on the first page of hits, including pages for the alternate error message:
/usr/sbin/mysqld: Can't open file: 'host.MYI'. (errno: 142)I finally decided, well, let's try upgrading back to 4.1, then maybe I can back up the host.MYI file and then downgrade again. I had no clue what good this was going to do, but I tried it anyway, because the site had been down for like 5-6 hours.
And then... And then I noticed something. I noticed that on the front page, the online list on the right wasn't wigging out. Hmm, maybe it's accessing the database in a different way, thought I...
So I checked it out. Looked pretty standard to me:
// MySQL Connection Information
$db_server = "localhost"; // The name of your server
$db_username = "secret_username"; // The MySQL username
$db_password = "secret_password"; // The MySQL password
$db_name = "secret_database"; // The name of the database where your forums are installed
$linkforums = "http://www.imminst.org/forum/"; // URL to forums
// Tables
$ibf_sessions = "ibf_sessions"; // Change if not correct
$ibf_groups = "ibf_groups";
///////////////////////////////////////////////////////////////////////
mysql_connect("$db_server","$db_username","$db_password");
mysql_select_db("$db_name");
$time = time() - 900;
$data = mysql_query("SELECT a bunch of stuff FROM a table WHERE something is true ORDER BY a column DESC");
// cache all printed members so we don't double print them
$cached = array();
while ($result = mysql_fetch_array($data) )
Hmm, I wonder why this is working, and the forum index isn't... It took quite a bit of digging, and few debug messages inserted into the code... And I noticed that the first query that was being run actually worked! It was the second query that was bombing out.
So I copied the text of the query and started running it manually in mysql from a shell. Sure enough, I got the same error message. I removed all but one column name from each table, just to make sure that it wasn't the length of the query. Nope.
I tried removing the ibf_moderators table, and the query worked... Hmm... I tried removing the ibf_groups table instead, and it was broken again. The left joins were basically indentical in structure, so there was something about that mod table. Just for the hell of it, I decided to see what would happen if I renamed the "mod" alias. And sure enough, I got a result set back.
So, I changed the appropriate php source file, and voila, the forum was back in action.
All that hell, because someone decided to use an alias that had "I'll be a reserved word in a future version" written all over it.
Anyway, the forum's up and running, on the all new and improved mysql 4.1. Yay... [mellow]
#39
Posted 25 May 2006 - 07:12 AM
#40
Posted 25 May 2006 - 01:43 PM
#41
Posted 25 May 2006 - 01:45 PM
#42
Posted 25 May 2006 - 04:10 PM
#43
Posted 25 May 2006 - 05:21 PM
#44
Posted 25 May 2006 - 07:14 PM
Don't know if this is an Imminst problem or a Canaca problem.Error executing query in file /home/canaca/public_html/affiliate/link.php on line 94
#45
Posted 25 May 2006 - 08:03 PM
#46
Posted 25 May 2006 - 08:22 PM
#47
Posted 26 May 2006 - 04:27 PM
#48
Posted 27 May 2006 - 02:05 AM
There are still little quirks being worked out here and there, mostly related to the move.
#49
Posted 01 June 2006 - 02:57 AM
Well, here's how the web stats were affected.
As you can see, the stats dropped significantly on the 24th, which is to be expected, since the forum was down about 11-12 hours. What's interesting, however, is that there's been no downtime (to my knowledge) since then, yet the stats haven't really recovered. We seem to have lost some traffic there, possibly due to frustration. People just gave up and haven't been back since.
Or am I reading too much in to this?
BTW, the reason I even checked the stats is because the site has been very active today, at least in terms of number of posts and active topics. Even the member counts have been high, usually around 180 guests/members per hour, compared to 150/hour a few days ago. Also, the number of registered members online today is already up to 146, compared to the mid 130's last week.
Edit: 11:51 PM, and now we're up to 150 registered members today!
Attached Files
Edited by jaydfox, 01 June 2006 - 03:52 AM.
#50
Posted 01 June 2006 - 02:58 AM
#51
Posted 01 June 2006 - 03:04 AM
I think you might be paying too close attention to it. Like a 401k plan, checking the value daily can only lead to trouble and rash decisions. Better to look at longer-term trends in my opinion (like month-to-month)As you can see, the stats dropped significantly on the 24th, which is to be expected, since the forum was down about 11-12 hours. What's interesting, however, is that there's been no downtime (to my knowledge) since then, yet the stats haven't really recovered. We seem to have lost some traffic there, possibly due to frustration. People just gave up and haven't been back since.
Or am I reading too much in to this?
#52
Posted 01 June 2006 - 03:13 AM
#53
Posted 01 June 2006 - 03:14 AM
#54
Posted 01 June 2006 - 03:33 AM
http://www.google.com/search http://72.14.203.104/search http://72.14.207.104/search http://64.233.161.104/search http://66.102.7.104/search http://search.yahoo.com/search http://www.google.ca/search http://72.14.209.104/search http://www.google.co.uk/search http://66.249.93.104/search http://64.233.183.104/search http://66.249.93.104/translate_c http://www.acceleratingfuture.com/newsframe.html http://216.239.51.104/search http://216.239.59.104/search http://64.233.167.104/search http://www.google.com.au/search http://64.233.179.104/translate_c http://66.102.9.104/search http://www.google.de/searchMostly search engines. Further down the list, I found the following non-search pages (excluding unrelated spam sites like [nukedlink]http://consolidation-debt-interest-loan-lo...te.ygboih.info[/nukedlink])
http://physical-immortality.1hwy.com/ http://www.transhumanism.org/index.php/WTA/index/ http://www.cryoletter.org/ http://www.mprize.org/index.php http://profile.myspace.com/index.cfm http://www.betterhumans.com/blogs/videosurfer/archive/2006/05/27/7716.aspx http://www.eternalmind.ru/content/view/390/2/ http://www.incipientposthuman.com/ http://cureaging.org/ http://nootropics.ipbhost.com/index.php http://www.mindandmuscle.net/forum/index.php http://www.huge-entity.com/forum/comments.php http://forums.somethingawful.com/showthread.php http://www.medscitalk.com/ftopic27069-180.html http://alzheimer-facility.blogspot.com http://www.longevitymeme.org/links/viewlinkgroup.cfm http://en.wikipedia.org/wiki/Cryonics http://www.methuselahmouse.org/index.php http://www.stargate-sg1.nl/gateforum/viewtopic.php http://www.cureaging.org/ http://en.wikipedia.org/wiki/Immortality_Institute http://transhumanism.org/index.php/th/ http://www.benbest.com/misc/access.html http://www.joot.com/dave/writings/articles/entanglement/applications.shtml http://en.wikipedia.org/wiki/Transhumanism http://mboard.scifi.com/showflat.php http://www.network54.com/Forum/291677/ http://home.mchsi.com/~deering9/sag.html http://acceleratingfuture.com/newsframe.html http://en.wikipedia.org/wiki/Immortality http://www.acceleratingfuture.com/michael/blog/ http://transhumanism.org/index.php/WTA/about/ http://extrobritannia.blogspot.com/
#55
Posted 01 June 2006 - 03:36 AM
immortality imminst immortality institute hho gas tebonin hho modalert radio denny klein sulbutiamine denny klein hho phenibut whey healthier average human lifespan pat robertson leg press average lifespan pei xuetao jessica alba nootropics hho energyInteresting, considering recent topics that have been active.
#56
Posted 01 June 2006 - 03:37 AM
#57
Posted 01 June 2006 - 04:07 AM
"hho gas" and "pat robertson leg press" I understand, given recently active topics. But "radio"? "jessica alba"? Did I miss something?
haha, when I did a search for "Jessica Alba Imminst" on Google, it came up with Don's post regarding Jessica Alba:
http://www.imminst.o...t=0
#58
Posted 01 June 2006 - 04:21 AM
So I'm wondering why this blip happened in the first place. It's not just that it was a search term that brought someone here: it beat out nootropics! If you search for nootropics, we're on the first page! If you search for "average lifespan", we're on the first page. But "jessica alba"? What search engine was that?
#59
Posted 01 June 2006 - 04:54 AM
#60
Posted 01 June 2006 - 06:56 AM
"hho gas" and "pat robertson leg press" I understand, given recently active topics. But "radio"? "jessica alba"? Did I miss something?
How is that data generated as a search term for that coded report? Some of those terms are awefully...strange.... [glasses]
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users