The Lifestream Home The Lifestream Forums The Lifestream Shop Donate to The Lifestream
The Lifestream

ARCHIVED FORUMS

Hello. You are currently viewing the old vBulletin forums, which are now in readonly archive mode.
Please go to https://thelifestream.net/forums to go to the current forums.


Go Back   The Lifestream Forums > Site, Forums, Staff & Projects > Forum News & Information

Forum News & Information News and issues concerning the forums go here

Reply
 
Thread Tools
Old 08/28/2012   #1
Cthulhu
Default Site downtime

Hi all,

Apologies for the two days downtime; I got notified that TLS was down yesterday morning. I contacted support of our hosting party, and they indicated there was a problem with the hard drive.

I did several attempt to get back to the server in some way or another, but to no avail. After going back and forth with support for a few times, they finally replaced some hardware. As luck would have it, replacing the cables worked; the hard drive itself was not broken. Phew. Below the support's message:

I would like to inform you regarding server CXOF002.

The disk was recognized in the BIOS, however it did not show up in the
boot menu or in the rescue environment.

Therefore I swapped both the sata cable and the sata port and the server
booted without any issues and is reachable again.

If you have questions, please don't hesitate to ask.
Once I get back home, I'll try and sort out backups properly so I won't have to stress out for two days again. Thank you for your patience.
Cthulhu is offline   Reply With Quote
Thanked by 17:
Alex Strife (08/28/2012), AvecAloes (08/28/2012), Carlos (08/29/2012), Chloe Frazer (08/28/2012), Cookie Monster (08/29/2012), Dana Scully (08/28/2012), Danseru-kun (08/28/2012), Fangu (08/28/2012), Ghost X (08/28/2012), Lex (08/28/2012), LicoriceAllsorts (08/28/2012), Makoeyes987 (08/28/2012), Mantichorus (08/28/2012), Octo (08/28/2012), Shademp (08/28/2012), The Pyro (08/29/2012), Unlucky (08/29/2012)
Old 08/28/2012   #2
Cthulhu
Default

I'm pulling a backup atm btw, so the site might be a bit slow. I don't want to worry about having an outdated backup again,
Cthulhu is offline   Reply With Quote
Old 08/28/2012   #3
Lex
Default

Wooooo we're back *does the dance of joy*
__________________


Especially for me, by the awesome GLD!
Serving legendaries with mah Pokécrew.
Lex is offline   Reply With Quote
Thanked by:
The Pyro (08/29/2012)
Old 08/28/2012   #4
AvecAloes
Default

Yay, Yop!
AvecAloes is offline   Reply With Quote
Thanked by 2:
Lex (08/28/2012), The Pyro (08/29/2012)
Old 08/28/2012   #5
Fangu
Default

Contrary to what we feared, nothing was lost?! Yop that is amazing!!!

A GIANT WOO
__________________
Quotes and shit
Pixel wrote: Someone say Pixel Porn?
(SPOILER)
Joe wrote: How does Tidus make Yuna feel better?

Elixer.
Shademp wrote: #Fangustyle
Ghost X wrote: As long as Fangu delivers the pizza, I will not particularly mind what is on it. Even if it is hot fiery death in plant form.


Progress!
2012
Member of the Year, Best Site Contributor (2nd), Best Newcomer, Hottest Female, Bounciest Boobies (3rd), Member You’d Most Like to Meet in Real Life, Most Improved (3rd), Best Drunk/Stoner, “Needs to Spend Less Time on TLS” Award (3rd), Best Ship (1st, Avengu) (3rd, Sprexanghululock), Most Likely to Survive the Zombie Apocalypse (3rd), Most Likely to Save the World, Most Suited to Be on Cosmos’ Side (2nd)

2013
TLS Lifetime Achievement Award (3rd), Best Site Contributor (3rd), Hottest Female, Biggest Non-FF Geek (3rd), Most in Need of Daylight (2nd), Member You'd Most Like to Meet in Real Life, Member You'd Most Like to Bone (2nd), Horniest Member (2nd), Best Drunk/Stoner (3rd), The TLS Literature Prize, Most Talented (Art, Writing, Music, Etc.) (3rd), Best Ass (3rd), Most Fervent TLSer, Most Likely to Go the Extra Mile (3rd)

2014
Member of the Year (2nd), Best Site Contributor (3rd), Hottest Female (2nd), Nicest Smile, Member You'd Most Like to Meet in Real Life, Member You'd Most Like to Bone (2nd), The Lifestream Literature Prize, Best Ass (2nd), Sexiest Voice, Best Ship/TLS OTP (3rd, Sprexanghululock), Most Fervent TLSer (3rd), Most Likely to Make the Best-Tasting Food (2nd), Most Likely to Go the Extra Mile (2nd)

2015
Member you'd most like to bone (2nd), Best Drunk/Stoner (3rd), Hottest female (3rd), Sexiest voice (3rd)

2016
Best Drunk (2nd), Most Likely To Suggest An Award They'll Never Win
Fangu is offline   Reply With Quote
Thanked by 6:
Alex Strife (08/28/2012), Carlos (08/29/2012), Lex (08/28/2012), Mantichorus (08/28/2012), Shademp (08/28/2012), The Pyro (08/29/2012)
Old 08/28/2012   #6
Cthulhu
Default

WOO
Cthulhu is offline   Reply With Quote
Thanked by 2:
Alex Strife (08/28/2012), The Pyro (08/29/2012)
Old 08/28/2012   #7
Chloe Frazer
Default

I got nostalgic when a "Database Error" appeared on my screen, haven't gotten those in over 2 years, good times.
__________________
Chloe Frazer is offline   Reply With Quote
Thanked by 2:
Ghost X (08/28/2012), Octo (08/28/2012)
Old 08/28/2012   #8
Fangu
Default

Cthulhu wrote: WOO
Now you're just showing off
__________________
Quotes and shit
Pixel wrote: Someone say Pixel Porn?
(SPOILER)
Joe wrote: How does Tidus make Yuna feel better?

Elixer.
Shademp wrote: #Fangustyle
Ghost X wrote: As long as Fangu delivers the pizza, I will not particularly mind what is on it. Even if it is hot fiery death in plant form.


Progress!
2012
Member of the Year, Best Site Contributor (2nd), Best Newcomer, Hottest Female, Bounciest Boobies (3rd), Member You’d Most Like to Meet in Real Life, Most Improved (3rd), Best Drunk/Stoner, “Needs to Spend Less Time on TLS” Award (3rd), Best Ship (1st, Avengu) (3rd, Sprexanghululock), Most Likely to Survive the Zombie Apocalypse (3rd), Most Likely to Save the World, Most Suited to Be on Cosmos’ Side (2nd)

2013
TLS Lifetime Achievement Award (3rd), Best Site Contributor (3rd), Hottest Female, Biggest Non-FF Geek (3rd), Most in Need of Daylight (2nd), Member You'd Most Like to Meet in Real Life, Member You'd Most Like to Bone (2nd), Horniest Member (2nd), Best Drunk/Stoner (3rd), The TLS Literature Prize, Most Talented (Art, Writing, Music, Etc.) (3rd), Best Ass (3rd), Most Fervent TLSer, Most Likely to Go the Extra Mile (3rd)

2014
Member of the Year (2nd), Best Site Contributor (3rd), Hottest Female (2nd), Nicest Smile, Member You'd Most Like to Meet in Real Life, Member You'd Most Like to Bone (2nd), The Lifestream Literature Prize, Best Ass (2nd), Sexiest Voice, Best Ship/TLS OTP (3rd, Sprexanghululock), Most Fervent TLSer (3rd), Most Likely to Make the Best-Tasting Food (2nd), Most Likely to Go the Extra Mile (2nd)

2015
Member you'd most like to bone (2nd), Best Drunk/Stoner (3rd), Hottest female (3rd), Sexiest voice (3rd)

2016
Best Drunk (2nd), Most Likely To Suggest An Award They'll Never Win
Fangu is offline   Reply With Quote
Old 08/28/2012   #9
Ghost X
Default

Cthulhu wrote: WOO
Cthulhu wrote: WOO
Chugga chugga chugga chugga.
__________________
Winner is me!
2018

2017 1st Runner-Up -- Member You'd Most Want to Meet.

2017 1st Runner-Up -- Best Voice.

2017 2nd Place Winner -- Most Likely To Back Out Of A Fight But Remain... Victorious.
Ghost X is offline   Reply With Quote
Thanked by 3:
Dumb Apple (08/31/2012), Hisako (08/31/2012), Mantichorus (08/28/2012)
Old 08/28/2012   #10
Octo
Default

I'm glad its fixed. I was getting worried. Thanks for your sterling efforts Yop
__________________
BUY THINGS FROM ME I HAVE AN REDBUBBLE!

(Mostly Manics related things but some other stuff and more things being added all the time! <3

https://www.redbubble.com/people/rom...dropdown&asc=u
Octo is offline   Reply With Quote
Thanked by:
The Pyro (08/29/2012)
Old 08/28/2012   #11
The Man
Default

Glad nothing was lost; thanks for sorting everything out
__________________


You’re better off not dreaming of the things to come
Dreams are always ending far too soon









“When I was twelve, I milked my eel into a pot of turtle stew.
I flogged the one-eyed snake, I skinned my sausage, I made
the bald man cry into the turtle stew, which I do believe my
sister ate. At least, I hope she did.” -Tyrion Lannister
“The management is very bad. In fact, let’s not mince words: The management is terrible!
We’ve had a string of embezzlers, frauds, liars, and lunatics making a string of catastrophic
decisions. This is a plain fact. But who elected them? It was you! You who appointed these
people! You who gave them the power to make your decisions for you! While I’ll admit that
anyone can make a mistake once, to go on making the same lethal errors century after
century seems to me nothing short of deliberate. You have encouraged these malicious
incompetents, who have made your working life a shambles. You have accepted without
question their senseless orders. You have allowed them to fill your workspace with dangerous
and unproven machines. You could have stopped them. All you had to say was, ‘No.’” -V
“If they can get you asking the wrong questions, they don’t have to worry about answers.” -Thomas Pynchon
“All for ourselves, and nothing for other people, seems, in every age of the world, to have been the vile maxim of the masters of mankind.” -Adam Smith
“Why throw money at problems? That's what money is for. Should the nation's wealth be redistributed? It has been and continues to be redistributed to a few people in a manner strikingly unhelpful.” -Kurt Vonnegut
“Socialism never took root in America because the poor see themselves not as an exploited proletariat but as temporarily embarrassed millionaires.” -John Steinbeck
“If you took the most ardent revolutionary, vested him in absolute power, within a year he would be worse than the Tsar himself.” -Mikhail Bakunin
“In all history, there is no instance of a country having benefited from prolonged warfare.” -Sun Tzu
“...pero Capitán, obedecer por obedecer, así, sin pensarlo... sólo lo hacen gentes como usted, Capitán.” -Dr Ferreiro, Pan’s Labyrinth
“If the doors of perception were cleansed, everything would appear to man as it is: infinite. For man has closed himself up, till he sees all things thro' narrow chinks of his cavern.” -William Blake
“Yeah, you really got my act down good, guys. That'll be great. ‘You know, when I’m done ranting about elite power that rules the planet under a totalitarian government that uses the media in order to keep people stupid, my throat gets parched! That’s why I drink Orange Drink.’” -Bill Hicks








last.fm (note: album artwork may sometimes be nsfw) · Fool's Gold · FFOF · FF
the lifestream last.fm group · my old music · my new music · pm for myspace/facebook
The Man is offline   Reply With Quote
Old 08/28/2012   #12
Cthulhu
Default

Right. I've been fixxing up things tonight in terms of the backups so I'll be less inclined to sit in a corner and whimper. What I've done is:

* Extend the backup script (see below) to include relevant configuration files - more because it was kind of a pain to get them all set up as they are now, and they could probably use some more tweaking
* Spend $10 a month on a 100 GB Dropbox upgrade
* Install Dropbox onto the server
* Configure the backup script to move done backups to the Dropbox folder
* Configure a cronjob to make a backup automatically; at least a full backup weekly. I should figure out if there's a smart way to create incremental backups of the database.

When the backup is done and moved to the dropbox folder, it'll upload to Dropbox, from which it will get synced with my PC and other PC's I have Dropbox connected to. A backup atm is about 5-6 GB in size, mostly due to big files being hosted (MP3s and such) on TLS. Creating a backup takes about half an hour, and uploading to Dropbox - at the moment - will take about 3 - 4 hours at ~400-500 KB/sec, and atm it doesn't seem to influence website performance. I've set up backups to run at down times, which is about 8 AM my time, or around midnight in the US. Creating a backup should hardly affect forum experience; it's just that when it's created, the database dump program locks the database completely for a few minutes. For now I've set it up to create a backup tomorrow morning, just to check if the cronjob works; after that I'll probably set it to monday mornings or something.

Below is my backup script; there are many backup scripts like it, but this one is mine:

here be bash code
Code:
#!/bin/bash
set -e

DATE=$(date +%Y-%m-%d-%H.%M.%S)
CONFFILE=`echo ~/backups/config.${DATE}.tar`
BACKUPFILE=`echo ~/backups/thelifestream.${DATE}.tgz`
SQLFILE=`echo ~/backups/thelifestream.${DATE}.sql.tgz`

echo 'Creating configuration backups...'

tar cvf $CONFFILE /etc/php5/ /etc/mysql/ /etc/vsftpd.conf /etc/vsftpd.chroot_list /etc/apache2

echo 'Creating database backup...'

mysqldump -v -u root thelifestream | gzip -c  > $SQLFILE

echo 'Creating file backup...'

tar czvf $BACKUPFILE /var/www $SQLFILE $CONFFILE

echo 'Moving file backup to dropbox...'

mv $BACKUPFILE ~/Dropbox/tlsbackups

echo "Backup $BACKUPFILE created; dropbox should start uploading nao."


LIKE A BOSS.
Cthulhu is offline   Reply With Quote
Thanked by 2:
Fangu (08/28/2012), Lex (08/28/2012)
Old 08/28/2012   #13
Fangu
Default

bash script.
Oh Yop talk nerdy to me.
__________________
Quotes and shit
Pixel wrote: Someone say Pixel Porn?
(SPOILER)
Joe wrote: How does Tidus make Yuna feel better?

Elixer.
Shademp wrote: #Fangustyle
Ghost X wrote: As long as Fangu delivers the pizza, I will not particularly mind what is on it. Even if it is hot fiery death in plant form.


Progress!
2012
Member of the Year, Best Site Contributor (2nd), Best Newcomer, Hottest Female, Bounciest Boobies (3rd), Member You’d Most Like to Meet in Real Life, Most Improved (3rd), Best Drunk/Stoner, “Needs to Spend Less Time on TLS” Award (3rd), Best Ship (1st, Avengu) (3rd, Sprexanghululock), Most Likely to Survive the Zombie Apocalypse (3rd), Most Likely to Save the World, Most Suited to Be on Cosmos’ Side (2nd)

2013
TLS Lifetime Achievement Award (3rd), Best Site Contributor (3rd), Hottest Female, Biggest Non-FF Geek (3rd), Most in Need of Daylight (2nd), Member You'd Most Like to Meet in Real Life, Member You'd Most Like to Bone (2nd), Horniest Member (2nd), Best Drunk/Stoner (3rd), The TLS Literature Prize, Most Talented (Art, Writing, Music, Etc.) (3rd), Best Ass (3rd), Most Fervent TLSer, Most Likely to Go the Extra Mile (3rd)

2014
Member of the Year (2nd), Best Site Contributor (3rd), Hottest Female (2nd), Nicest Smile, Member You'd Most Like to Meet in Real Life, Member You'd Most Like to Bone (2nd), The Lifestream Literature Prize, Best Ass (2nd), Sexiest Voice, Best Ship/TLS OTP (3rd, Sprexanghululock), Most Fervent TLSer (3rd), Most Likely to Make the Best-Tasting Food (2nd), Most Likely to Go the Extra Mile (2nd)

2015
Member you'd most like to bone (2nd), Best Drunk/Stoner (3rd), Hottest female (3rd), Sexiest voice (3rd)

2016
Best Drunk (2nd), Most Likely To Suggest An Award They'll Never Win
Fangu is offline   Reply With Quote
Thanked by:
Carlos (08/29/2012)
Old 08/29/2012   #14
The Pyro
Default

OH, GOOD, THE TLS LIFETIMER ISN'T EMPTY AFTER ALL. I COULDN'T BE SURE SURE, DAMNED UNCERTAINTY PRINCIPLE.
__________________
TresDias wrote: Your post is full of sweet punnage and winning diction. I like you.
Come play with me in Pyroland...

Yeah, I got more to brag about than ever...
The Pyro is offline   Reply With Quote
Reply

Thread Tools

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


All times are GMT. The time now is 01:08 AM.



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