FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Can't find file: 'fud1_fc_view.MYD'
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Can't find file: 'fud1_fc_view.MYD' [message #20178] Thu, 30 September 2004 20:05 Go to next message
spacemanbiff is currently offline  spacemanbiff   United States
Messages: 3
Registered: September 2004
Karma: 0
Junior Member
I'm in serious trouble here. I installed FUDforum with no problem, started to use it and today I started my first backup and I have run into problems. I did not realize that I had run out of disk space so the backup did not complete and now I cannot even get the home page back. I get the following error when trying to opening up the front page to my forum.

/var/www/html/crabforum/index.php) 1017: Can't find file: 'fud1_fc_view.MYD' (errno: 2)
Query: SELECT m.subject, m.id, m.post_stamp, u.id, u.alias, c.description, c.name, c.cat_opt, f.cat_id, f.forum_icon, f.id, f.last_post_id, f.moderators, f.name, f.descr, f.post_count, f.thread_count, fr.last_view, mo.id AS md, CASE WHEN g2.group_cache_opt IS NULL THEN g1.group_cache_opt ELSE g2.group_cache_opt END AS group_cache_opt FROM fud1_fc_view v INNER JOIN fud1_forum f ON f.id=v.f INNER JOIN fud1_cat c ON c.id=v.c INNER JOIN fud1_group_cache g1 ON g1.user_id=2147483647 AND g1.resource_id=f.id LEFT JOIN fud1_msg m ON f.last_post_id=m.id LEFT JOIN fud1_users u ON u.id=m.poster_id LEFT JOIN fud1_forum_read fr ON fr.forum_id=f.id AND fr.user_id=2 LEFT JOIN fud1_mod mo ON mo.user_id=2 AND mo.forum_id=f.id LEFT JOIN fud1_group_cache g2 ON g2.user_id=2 AND g2.resource_id=f.id ORDER BY v.id
Server Version: 3.23.58


I checked mysql and basically it's missing the fud1_fc_view.MYD file. Without a backup, how can I get my forum back, it has some very important information I really need in it.

Please help, in desperation here!!
Re: Can't find file: 'fud1_fc_view.MYD' [message #20181 is a reply to message #20178] Thu, 30 September 2004 21:18 Go to previous messageGo to next message
Abraxa is currently offline  Abraxa   Germany
Messages: 72
Registered: August 2004
Location: Germany
Karma: 0
Member
Along with http://support.discusware.com/forum/messages/7/14583.html?1037883255 you could try myisamchk: http://dev.mysql.com/doc/mysql/en/myisamchk_repair_options.html

Don't forget to make a backup of the (even currently broken) database files since there's always a chance of things getting even messier.

Good luck!

-Soeren
Re: Can't find file: 'fud1_fc_view.MYD' [message #20183 is a reply to message #20178] Thu, 30 September 2004 22:35 Go to previous messageGo to next message
spacemanbiff is currently offline  spacemanbiff   United States
Messages: 3
Registered: September 2004
Karma: 0
Junior Member
Thanks for the links.

I have tried just about every option with myisamchk to no avail. None of the documentation I can find says what to do if you are missing the table.MYD and table.MYI files in the database. I still have the table.frm file but still cannot fix the table.
Re: Can't find file: 'fud1_fc_view.MYD' [message #20187 is a reply to message #20183] Thu, 30 September 2004 22:45 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Try running:

REPAIR fud1_fc_view; query in mysql client as admin user.

If that fails, you can drop the table, import it from the fud_fc_view.tbl defenition and then go into FUDforum's admin control and run consistency checker. This will rebuild data inside this table.


FUDforum Core Developer
Re: Can't find file: 'fud1_fc_view.MYD' [message #20191 is a reply to message #20178] Thu, 30 September 2004 23:35 Go to previous message
spacemanbiff is currently offline  spacemanbiff   United States
Messages: 3
Registered: September 2004
Karma: 0
Junior Member
Ah you are a life saver!

The REPAIR TABLE fud1_fc_view; did not work.

I did however get it to work by removing the table from the database by going into mysql as root and using this command:
truncate table fud1_fc_view;

Then I restarted my forum and ran the consitency checker as you mentioned and everything returned to normal.

Thanks again, I now have a good backup of my database as well as my forum.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: After moving forum, Private Messages don't work
Next Topic: Please help, step 2 of 5 - Database Settings
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 20 01:24:18 GMT 2024

Total time taken to generate the page: 0.02594 seconds