Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Dunny, Ruben), 48 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 4 1 2 3 4 >
Topic Options
#224285 - 03/18/09 02:50 AM Urgent please, is this bad???
Morgan Offline
member
Registered: 06/13/06
Posts: 131
My forum
http://www.britbike.com/forums/ubbthreads.php

shows below error message, I have no idea how to fix this.
i run 7.3.1
Thanks for your input.
/Morgan in Sweden

UBB Message
We encountered a problem. The reason reported was
Script: /home/cluster1/data/i/p/a1172648/html/forums/libs/user.inc.php
Line#: 445
SQL Error: Table './14462_britbikecom/ubbt_bbfUSERS' is marked as crashed and should be repaired
SQL Error #: 145
Query: SELECT t2.USER_TIME_OFFSET,t2.USER_TOPIC_VIEW_TYPE,t2.USER_TIME_FORMAT, t1.USER_ID, t1.USER_DISPLAY_NAME, t1.USER_PASSWORD, t1.USER_SESSION_ID, t1.USER_MEMBERSHIP_LEVEL, t1.USER_IS_BANNED,t1.USER_RULES_ACCEPTED, t1.USER_IS_UNDERAGE, t2.USER_TOTAL_PM, t2.USER_STYLE, t2.USER_HIDE_LEFT_COLUMN,t2.USER_HIDE_RIGHT_COLUMN, t2.USER_LANGUAGE, t2.USER_MOOD, t2.USER_RELATIVE_TIME, t2.USER_TIME_OFFSET,t2.USER_SHOW_ALL_GRAEMLINS, t2.USER_AVATAR, t2.USER_TITLE, t2.USER_CUSTOM_TITLE, t2.USER_NAME_COLOR, t2.USER_SHOW_LEFT_MYSTUFF FROM ubbt_bbfUSERS as t1, ubbt_bbfUSER_PROFILE as t2 WHERE t1.USER_ID = '' AND t1.USER_ID = t2.USER_ID

Please click back to return to the previous page.


Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#224288 - 03/18/09 05:05 AM Re: Urgent please, is this bad??? [Re: Morgan]
Robje01 Offline
enthusiast
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
No, it's not bad. Do you have SSH access?

If so, stop MySQL server and run:

myisamchk --silent --force --fast --update-state -O key_buffer=64M -O sort_buffer=64M -O read_buffer=1M -O write_buffer=1M /var/lib/mysql/databasename/ubbt_USERS.MYI

Rob
_________________________
My place to be: http://www.freesat.nl
Top
#224294 - 03/18/09 08:05 AM Re: Urgent please, is this bad??? [Re: Robje01]
Morgan Offline
member
Registered: 06/13/06
Posts: 131
No no ssh access only forum admin.
you gave me some hope here.. :o)

how can I get this ssh access?
Top
#224295 - 03/18/09 08:32 AM Re: Urgent please, is this bad??? [Re: Morgan]
Robje01 Offline
enthusiast
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
Probably you cannot get any access using SSH if it's no dedicated server.

Maybe this will work:
1) Login to your cPanel
2) Go to the MySQL section, and click the "REPAIR" icon next to your database's name

Rob
_________________________
My place to be: http://www.freesat.nl
Top
#224296 - 03/18/09 08:35 AM Re: Urgent please, is this bad??? [Re: Robje01]
Robje01 Offline
enthusiast
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
You can try the REPAIR option in SQL

The syntax is, as would be expected, REPAIR TABLE tablename[,tablename1...] [options]. This method only works with MyISAM tables.

So login with phpmyadmin and try this option if the first one doesn't work.

Rob
_________________________
My place to be: http://www.freesat.nl
Top
#224301 - 03/18/09 09:28 AM Re: Urgent please, is this bad??? [Re: Robje01]
Morgan Offline
member
Registered: 06/13/06
Posts: 131
ROB,

Tried to do this
1) Login to your cPanel
2) Go to the MySQL section, and click the "REPAIR" icon next to your database's name


Well I did and go below message
Quote:
Sorry, we had trouble processing your request. An unexpected error occurred. If this continues to happen, please contact Support.


I did contact support, sadly I have not that good experience with that "support" due to prior experience. But they might surprize me hope for that.
Any other clues from you guys???

Thanks
Morgan
Top
#224302 - 03/18/09 09:30 AM Re: Urgent please, is this bad??? [Re: Morgan]
Morgan Offline
member
Registered: 06/13/06
Posts: 131
BLOODY H*LL it works.............
Maybe the repair button did it after all...
Big thanks and be sur I will monitor it for a while
Top
#224303 - 03/18/09 09:34 AM Re: Urgent please, is this bad??? [Re: Morgan]
Robje01 Offline
enthusiast
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
You're welcome. I hope it keeps working now. I had the same for a while but i run my server dedicated and i'm running a crontab which checks the quality of my databases once in a while and repairs it on the background. But that's only possible if you run your own server or have SSH acces with root rights...

Goodluck with you fully repaired database. Oh, don't forget to back it up once in a while...

Rob
_________________________
My place to be: http://www.freesat.nl
Top
#224304 - 03/18/09 09:39 AM Re: Urgent please, is this bad??? [Re: Robje01]
Morgan Offline
member
Registered: 06/13/06
Posts: 131
It's just that I have no back up and don't know how to...
Maybe I should be a user instead...;)
Top
#224305 - 03/18/09 09:41 AM Re: Urgent please, is this bad??? [Re: Morgan]
Robje01 Offline
enthusiast
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
hehehe... You have MySQL access, there's a way to backup you complete SQL database with just 5 mouseclicks smile (Export option)

If you can't find it please let us know, i'll give you some more explaination..

Rob
_________________________
My place to be: http://www.freesat.nl
Top
#224328 - 03/18/09 04:55 PM Re: Urgent please, is this bad??? [Re: Robje01]
AllenAyres Offline

Registered: 12/29/03
Posts: 1995
Loc: Texas
You can backup your tables from within the control panel - go to your 'database tools' toward the bottom of the CP, then select the 3rd tab over, you may have to add a folder to back them up to.
_________________________
- Allen
- ThreadsDev | PraiseCafe
Top
#224343 - 03/18/09 06:41 PM Re: Urgent please, is this bad??? [Re: AllenAyres]
Robje01 Offline
enthusiast
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
Oops, forgot that there's a backup function within ubb... blush
_________________________
My place to be: http://www.freesat.nl
Top
#224345 - 03/18/09 06:45 PM Re: Urgent please, is this bad??? [Re: Robje01]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Yes there is but there is not a restore so you would need to know how to restore the backup.
I use it myself as a backup to my backup but it looks like it would be a headache to use to restore. Since it makes a separate file for each table.

It would be nice if Rick would add a utility to restore using the backups that ubb makes.
_________________________
Blue Man Group
Top
#224348 - 03/18/09 07:04 PM Re: Urgent please, is this bad??? [Re: Ruben]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
Yeah, You would wonder why someone one would make a backup routine in a program but no restore command for that program.
Top
#224349 - 03/18/09 07:12 PM Re: Urgent please, is this bad??? [Re: JAISP]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Well you know people here will say they don't use the ubb backup because their board is very large and it takes to long, Backup crashes because file is to large(Bla,bla,bla)
But I think for people new at least it would be a useful tool until they get their feet wet.

It could be just a simple stand alone script using the config.inc.php file. Which has everything needed.
And by the way the backup does not save that file either just the tables.
_________________________
Blue Man Group
Top
#224350 - 03/18/09 07:12 PM Re: Urgent please, is this bad??? [Re: JAISP]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
It'd be far more resource intensive to create a backup from within the UBB than say through an sql dump via commandline... (See my sticky for moving a forum in the general forum for a little how to).
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#224351 - 03/18/09 07:14 PM Re: Urgent please, is this bad??? [Re: Gizmo]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Okay giz posted at same time. But I still think of the peeps as Sd says.
_________________________
Blue Man Group
Top
#224352 - 03/18/09 07:19 PM Re: Urgent please, is this bad??? [Re: Ruben]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
Just had a site move onto my service utilizing a different message board then UBB. He had no backup and lost a few thousand post's and hundreds of users. Lost the entire database.

I had his site online and running with in an hour after he was online. To bad he didn't have his database. I could have restored it in less then 30 minutes.

You see, many of these UBB's are hosted on these rock solid corporations who give away web space for next to nothing with those said unlimited accounts. What happens if they go belly up and close or kick you off for what ever reason?

I see this happening allot in the very near future. Bad for those companies but really good for me. The Mom and Pop web hosting companies offer more in the long run then those secure corporations.
Top
#224354 - 03/18/09 07:24 PM Re: Urgent please, is this bad??? [Re: JAISP]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
All I can say is you have to live through it to understand the importance of backups.
Most people read the FAQ on their host and assume they are already backed up. But the truth is the host only backs up the server(In most cases) So the user may get the site back but all published files are gone.
_________________________
Blue Man Group
Top
#224355 - 03/18/09 07:41 PM Re: Urgent please, is this bad??? [Re: Ruben]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
Was not me as the host, lol. They are making backups now and I am now hosting them as well.

I do backups but tell the users that they are responsible for their own. Sometimes we need to move sites from one server to another and always backup those sites before we make those changes, we play it safe.
Top
#224357 - 03/18/09 08:06 PM Re: Urgent please, is this bad??? [Re: JAISP]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
One of my favorite clients went belly up becuase they didn't keep backups, and their webhost went offline and didn't keep backups of their sites... Was horrible to see his community dissapear overnight...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#224358 - 03/18/09 08:11 PM Re: Urgent please, is this bad??? [Re: Gizmo]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
Was their web host one of those big corporations giving away web space for next to nothing?
Top
#224359 - 03/18/09 08:12 PM Re: Urgent please, is this bad??? [Re: JAISP]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
Well I know that CPANEL allows you to do full backups of all DB and restores.

I agree with Gizmo that command line access would be the fastest, but as some say, new users may not have or even know how to do it from the command line. I would think most host control panels would allow DB backup/restore if they're offering MySQL for users.
Top
#224360 - 03/18/09 08:16 PM Re: Urgent please, is this bad??? [Re: JAISP]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Originally Posted By: JAISP
Was their web host one of those big corporations giving away web space for next to nothing?
In a nutshell, yeh; near unlimited resources, blah blah blah...

My main pre-requisite I'd have with any host SSH access... I find it a nessessity...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#224362 - 03/18/09 08:39 PM Re: Urgent please, is this bad??? [Re: Gizmo]
Morgan Offline
member
Registered: 06/13/06
Posts: 131
My mysql is 900mb and I have used just over half of it.
If I do a backup would it be stored on that server or
in my host web.com's website server?

How do I use the command line to do this?

I know i need to create a backup but also delete some of the content in the database.
Top
#224367 - 03/18/09 09:34 PM Re: Urgent please, is this bad??? [Re: Morgan]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Well, the SQL command is executed from your webhost server, so it'd take the data off of the sql server and dump it to wherever you ran the command from...

This would be done exactly as the migration guide states, just the -h parameter would be wherever your mysql host is (if it differentiates from "localhost").
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#224373 - 03/19/09 03:43 AM Re: Urgent please, is this bad??? [Re: Gizmo]
Robje01 Offline
enthusiast
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
Backup from the command line:
mysqldump -Q -u USERNAME -pPASSWORD DATABASENAME > /backup_location/database.sql

Rob
_________________________
My place to be: http://www.freesat.nl
Top
#224383 - 03/19/09 11:15 AM Re: Urgent please, is this bad??? [Re: JAISP]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Here's the reason why there is no restore option within UBB. We couldn't restore the entire table at once due to timeout issues, so we'd need to restore it in chunks. Which means we'd have to drop a table before starting to restore it, or just drop the data from the table.

We can't drop the table because UBB might rely on the table and would no longe work, right in the middle of your restore. If we dropped data, when we got to the USER_ tables we could have the same issue, because as an admin you'd either get logged out when your data was dropped, or you temporarily wouldn't exist at all.
Top
#224388 - 03/19/09 01:12 PM Re: Urgent please, is this bad??? [Re: Rick]
pinkmelon Offline
journeyman
Registered: 03/19/09
Posts: 64
What is the bast way to backup?
Is there a step by step guide on how to properly and safely backup?

My ISP does this but as it was mentioned it is best to backup outside the ISP just in case they go out of business.

Would be nice if a backup file was mailed every day.
Top
#224392 - 03/19/09 02:29 PM Re: Urgent please, is this bad??? [Re: pinkmelon]
Robje01 Offline
enthusiast
Registered: 01/19/08
Posts: 239
Loc: Netherlands - Valkenswaard
Use your Plesk/Cpanel to do so... Don't invent the wheel again.
_________________________
My place to be: http://www.freesat.nl
Top
#224403 - 03/19/09 04:54 PM Re: Urgent please, is this bad??? [Re: Robje01]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
I think for many users who have a UBB the best question would be what is the best way to restore?
Top
#224409 - 03/19/09 05:18 PM Re: Urgent please, is this bad??? [Re: JAISP]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Lol if my site backup was emailed every day, i'd have several hundred gb of data in my email...

best way to restore is the best way to backup... via the commandline through SSH tongue... (again, covered in my "how to migrate" posting in the how to forum)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#224424 - 03/20/09 11:51 AM Re: Urgent please, is this bad??? [Re: Gizmo]
AllenAyres Offline

Registered: 12/29/03
Posts: 1995
Loc: Texas
Using the built-in backup scripts has a negligible server load. You can use the ubb backups to do a restore, I've done this several times with SSH.
_________________________
- Allen
- ThreadsDev | PraiseCafe
Top
#224425 - 03/20/09 11:53 AM Re: Urgent please, is this bad??? [Re: AllenAyres]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
I use the UBB backups as well to do a restore, it's quick and no server load however the only way I can do this is via command line. It does not matter how large the file is either. The major problem is that some users on a hosted environment do not have command line access or wouldn't know how to restore this way.
Top
#224432 - 03/20/09 12:58 PM Re: Urgent please, is this bad??? [Re: Robje01]
pinkmelon Offline
journeyman
Registered: 03/19/09
Posts: 64
Originally Posted By: Robje01
Use your Plesk/Cpanel to do so... Don't invent the wheel again.


All of my hosting accounts have Cpanel but I do not know how to backup UBBthreads from there.

Not trying to invent. Just want to use something that is already invented and works
Top
#224433 - 03/20/09 01:00 PM Re: Urgent please, is this bad??? [Re: pinkmelon]
AllenAyres Offline

Registered: 12/29/03
Posts: 1995
Loc: Texas
phpmyadmin works, for larger boards you'll have to do partial restores - can take a long time but I've done it with success several times.
_________________________
- Allen
- ThreadsDev | PraiseCafe
Top
#224434 - 03/20/09 01:04 PM Re: Urgent please, is this bad??? [Re: Gizmo]
pinkmelon Offline
journeyman
Registered: 03/19/09
Posts: 64
Originally Posted By: Gizmo
Lol if my site backup was emailed every day, i'd have several hundred gb of data in my email...


Me too. I have a couple of sites with more than 1 million posts
I keep backups, two copies on different hard disks, at the server. Never though my host could go bust and not give me the backup

Maybe I need to somehow mirror the server at a different host
Top
#224495 - 03/21/09 02:20 PM Re: Urgent please, is this bad??? [Re: pinkmelon]
Yarpâ„¢ Offline
Registered: 08/30/06
Posts: 1513
Loc: Breda, NL
I ftp both my file and sql backup to a different host after creating them daily.
_________________________
Top
#224502 - 03/21/09 04:57 PM Re: Urgent please, is this bad??? [Re: Yarpâ„¢]
JAISP Offline
old hand
Registered: 02/10/07
Posts: 1144
Originally Posted By: pinkmelon
Never though my host could go bust and not give me the backup


You will see many of those large corporate cut through pricing host's going bust in the next year or two.
Top
Page 1 of 4 1 2 3 4 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image