SV650.org - SV650 & Gladius 650 Forum



Idle Banter For non SV and non bike related chat (and the odd bit of humour - but if any post isn't suitable it'll get deleted real quick).
There's also a "U" rating so please respect this. Newbies can also say "hello" here too.

Reply
 
Thread Tools
Old 23-01-09, 01:40 PM   #11
Sudoxe
Guest
 
Posts: n/a
Default Re: Any Redhat 4.0 ES Experts On here?

Hang on, hang on, hang on! DO NOT FORMAT THE SYSTEM!

The guy has a problem with mysql, and people are suggesting formatting and reinstalling the enitre machine? Do none of the previous repliers have a clue about Linux? (Hint: i know at least one does).

Right, now i've got that off my chest. I haven't used mysql in ~5 years, so i wont be much of use.

However, if you have a backup i.e. a recently mysql_dump then you have options to (re)move the files under /var/lib/mysql and import the files back into mysql. (This is likely the quickest way, if the data doesnt change much from the backup you have).

If the data changes, or you dont have a backup, a quick bit of googleing i found this. It may be of help.

Dan

N.B FreeBSD on servers or debian if you must use linux. Ubuntu on the desktop.
  Reply With Quote
Old 23-01-09, 01:42 PM   #12
SoulKiss
Member
Mega Poster
 
SoulKiss's Avatar
 
Join Date: Jul 2006
Location: Sunny Croydonia
Posts: 6,124
Default Re: Any Redhat 4.0 ES Experts On here?

Quote:
Originally Posted by Sudoxe View Post
Hang on, hang on, hang on! DO NOT FORMAT THE SYSTEM!

The guy has a problem with mysql, and people are suggesting formatting and reinstalling the enitre machine? Do none of the previous repliers have a clue about Linux? (Hint: i know at least one does).

Right, now i've got that off my chest. I haven't used mysql in ~5 years, so i wont be much of use.

However, if you have a backup i.e. a recently mysql_dump then you have options to (re)move the files under /var/lib/mysql and import the files back into mysql. (This is likely the quickest way, if the data doesnt change much from the backup you have).

If the data changes, or you dont have a backup, a quick bit of googleing i found this. It may be of help.

Dan

N.B FreeBSD on servers or debian if you must use linux. Ubuntu on the desktop.
My advice is to run a LIVE CD system so as not to touch the HD's

And Ubuntu on the Server is quite ok - but yes Debian would be better.
__________________
Sent from my PC NOT using any Tapatalk type rubbish!!

█╬╬╬╬()i¯i▀▀▀▀▀█Ξ███████████████████████████████)
SoulKiss is offline   Reply With Quote
Old 23-01-09, 01:45 PM   #13
Sudoxe
Guest
 
Posts: n/a
Default Re: Any Redhat 4.0 ES Experts On here?

Quote:
Originally Posted by SoulKiss View Post
My advice is to run a LIVE CD system so as not to touch the HD's

And Ubuntu on the Server is quite ok - but yes Debian would be better.
Yea, I missed the bit about it not booting, but its self explanatory to get a bootcd and get the FS' mounted, if the OP is a sysadmin.

Meh
  Reply With Quote
Old 23-01-09, 01:47 PM   #14
jamesterror
Member
 
jamesterror's Avatar
 
Join Date: Dec 2008
Posts: 588
Default Re: Any Redhat 4.0 ES Experts On here?

Quote:
Originally Posted by Sudoxe View Post
Hang on, hang on, hang on! DO NOT FORMAT THE SYSTEM!

The guy has a problem with mysql, and people are suggesting formatting and reinstalling the enitre machine? Do none of the previous repliers have a clue about Linux? (Hint: i know at least one does).

Right, now i've got that off my chest. I haven't used mysql in ~5 years, so i wont be much of use.

However, if you have a backup i.e. a recently mysql_dump then you have options to (re)move the files under /var/lib/mysql and import the files back into mysql. (This is likely the quickest way, if the data doesnt change much from the backup you have).

If the data changes, or you dont have a backup, a quick bit of googleing i found this. It may be of help.

Dan

N.B FreeBSD on servers or debian if you must use linux. Ubuntu on the desktop.
CentOS isn't that bad!

I didn't suggest, I stated what I did as it was a boot configuration error caused by an attack on server .

I'm pretty new to linux and trying all sorts of FreeBSD on home server and so far I found Debian is +1
jamesterror is offline   Reply With Quote
Old 23-01-09, 01:47 PM   #15
SoulKiss
Member
Mega Poster
 
SoulKiss's Avatar
 
Join Date: Jul 2006
Location: Sunny Croydonia
Posts: 6,124
Default Re: Any Redhat 4.0 ES Experts On here?

Quote:
Originally Posted by Sudoxe View Post
Yea, I missed the bit about it not booting, but its self explanatory to get a bootcd and get the FS' mounted, if the OP is a sysadmin.

Meh
I was going for the easiest non-technical options - the original post indicated thats what was needed.
__________________
Sent from my PC NOT using any Tapatalk type rubbish!!

█╬╬╬╬()i¯i▀▀▀▀▀█Ξ███████████████████████████████)
SoulKiss is offline   Reply With Quote
Old 23-01-09, 01:48 PM   #16
SoulKiss
Member
Mega Poster
 
SoulKiss's Avatar
 
Join Date: Jul 2006
Location: Sunny Croydonia
Posts: 6,124
Default Re: Any Redhat 4.0 ES Experts On here?

Quote:
Originally Posted by jamesterror View Post
CentOS isn't that bad!
Centos ~= Dead Rat == Bad

Hmmm RPM-Hell anyone?
__________________
Sent from my PC NOT using any Tapatalk type rubbish!!

█╬╬╬╬()i¯i▀▀▀▀▀█Ξ███████████████████████████████)
SoulKiss is offline   Reply With Quote
Old 23-01-09, 01:51 PM   #17
krhall
Guest
 
Posts: n/a
Default Re: Any Redhat 4.0 ES Experts On here?

I haven't been really technical for a few years, but my Network Admin is off all week and unable to get him in and unforutately due to the credit crunch there is not a second member which we used to have.

So that leaves me.

I have had to remember how to create VLAN's and rebuild switches, this week too, so when the 2 linux boxes crashed I could've cried.........

I knew there was some geniuses on here hence the post.
  Reply With Quote
Old 23-01-09, 05:25 PM   #18
sasquatch
Guest
 
Posts: n/a
Default Re: Any Redhat 4.0 ES Experts On here?

The other option is to call Red Hat's technical support (01252 362700, it's one of the menu options off there). Assuming you have a valid support entitlement, of course (which you should if you're using RHEL). Sounds very much like the problem is with MySQL, but they should hopefully be able to help you - assuming you're using the RH supplied MySQL packages. I suspect you'll be told "reinstall from backup" - but they'll at least be able to help you through the process.

If you still get stuck, drop me a PM.

Oh, hello BTW - this is my first post to the .org
  Reply With Quote
Old 23-01-09, 05:44 PM   #19
Baph
Guest
 
Posts: n/a
Default Re: Any Redhat 4.0 ES Experts On here?

Quote:
Originally Posted by krhall View Post
I haven't been really technical for a few years, but my Network Admin is off all week and unable to get him in and unforutately due to the credit crunch there is not a second member which we used to have.

So that leaves me.

I have had to remember how to create VLAN's and rebuild switches, this week too, so when the 2 linux boxes crashed I could've cried.........

I knew there was some geniuses on here hence the post.
Kev, as you're clearly in a bind at the mo, I won't get into the whole Linux debate that's going on above; how far have you got with the MySQL DB recovery?

Now, what I would do in this situation, is similar to SoulKiss, with a little tweak (as you're only interested in MySQL DB backup).

I personally, would boot from the Live CD of your choice (Ubuntu is as good as any), then setup a dummy MySQL server in the live environment. Shut that daemon down, and symlink the old /var/lib/mysql (the one on the hard disk), to the new one in the live environment. Then start the daemon & use mysql_dump to dump the databases.

Once that's done, you can then simply import the dumps into a new database on the new server, and away you run.

Also, a conversation for when the normal admin gets back, ask him about redundancy for this particular area of the setup. IMO, you should of just been able to rip the disks out & shove them in the next server (assuming the fault is BIOS/boot sequence related). If the problem is with OS changes stopping the boot, then what changed & when? Why was this change not approved (and tested) before being implimented in this situation?
  Reply With Quote
Old 23-01-09, 08:09 PM   #20
timwilky
Member
Mega Poster
 
timwilky's Avatar
 
Join Date: Mar 2004
Location: Not in Yorkshire. (Thank God)
Posts: 4,116
Default Re: Any Redhat 4.0 ES Experts On here?

£1,500/day + expenses I will get it back for you. (eventually promise)
__________________
Not Grumpy, opinionated.
timwilky is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any PCI DSS experts on here? krhall Idle Banter 8 03-12-08 09:52 PM
Experts of the law? gettin2dizzy Idle Banter 11 17-08-08 03:46 PM
Diesel car experts? the_lone_wolf Idle Banter 45 30-07-08 12:42 PM
Bandit experts Spider Bikes - Talk & Issues 5 24-12-07 01:31 PM
A question for do experts svJvJ Idle Banter 4 30-09-07 12:27 PM


All times are GMT. The time now is 04:39 AM.


Powered by vBulletin® - Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.