We in Telegram
Add news
March 2010 April 2010 May 2010 June 2010 July 2010
August 2010
September 2010 October 2010
November 2010
December 2010
January 2011
February 2011 March 2011 April 2011 May 2011 June 2011 July 2011 August 2011 September 2011 October 2011 November 2011 December 2011 January 2012 February 2012 March 2012 April 2012 May 2012 June 2012 July 2012 August 2012 September 2012 October 2012 November 2012 December 2012 January 2013 February 2013 March 2013 April 2013 May 2013 June 2013 July 2013 August 2013 September 2013 October 2013 November 2013 December 2013 January 2014 February 2014 March 2014 April 2014 May 2014 June 2014 July 2014 August 2014 September 2014 October 2014 November 2014 December 2014 January 2015 February 2015 March 2015 April 2015 May 2015 June 2015 July 2015 August 2015 September 2015 October 2015 November 2015 December 2015 January 2016 February 2016 March 2016 April 2016 May 2016 June 2016 July 2016 August 2016 September 2016 October 2016 November 2016 December 2016 January 2017 February 2017 March 2017 April 2017 May 2017 June 2017 July 2017 August 2017 September 2017 October 2017 November 2017 December 2017 January 2018 February 2018 March 2018 April 2018 May 2018 June 2018 July 2018 August 2018 September 2018 October 2018 November 2018 December 2018 January 2019 February 2019 March 2019 April 2019 May 2019 June 2019 July 2019 August 2019 September 2019 October 2019 November 2019 December 2019 January 2020 February 2020 March 2020 April 2020 May 2020 June 2020 July 2020 August 2020 September 2020 October 2020 November 2020 December 2020 January 2021 February 2021 March 2021 April 2021 May 2021 June 2021 July 2021 August 2021 September 2021 October 2021 November 2021 December 2021 January 2022 February 2022 March 2022 April 2022 May 2022 June 2022 July 2022 August 2022 September 2022 October 2022 November 2022 December 2022 January 2023 February 2023 March 2023 April 2023 May 2023 June 2023 July 2023 August 2023 September 2023 October 2023 November 2023 December 2023 January 2024 February 2024 March 2024 April 2024
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
28
29
30
News Every Day |

Site Downtime

Today was a nightmare.  I was up super early (right at 5AM – thanks bladder), but made a tactical error (insofar as sleep goes).  I looked at my phone.  I had a notification on Mastodon telling me that my personal blog story was unreachable with a 404 error.  OH NO!  I instantly was jerked awake, and sprung to action (at 5AM).  Discovered that quite a lot of stuff was down.  Decided to write a story ab  out what happened (given that’s what I do), so if you want to read my horror story, check this out:

My web server has a total of 9 domains on it. Of the nine, sox of them were down.  I’ve had this happen before, usually rebooting the server will fix it. So I did that, and it didn’t fix it.  Uh-oh.  I dug into it deeper and discovered that two major problems had occurred.

  1. My server’s hard drive filled up
  2. The MySQL server crashed

Both of which would prevent websites that used WordPress from working, as they require the MySQL database behind them to be running, and with the drive full and databases down, nothing would work.  Several of my sites were down.  No worries, I have backups for that.

There are two kinds of backups made on my server daily.  The first is a full server backup, I get a tarball of each of the domains, the theory being I could restore the entire server from that.  In fact, in prior server issues, I’ve used these full server backups before.  It worked for the other domain names today – but not the Rangers site.  I keep a weeks’ worth of this type of backup.  Problem is the three most recent backups (including today’s) were corrupt, they didn’t have a backup of the Rangers site (again, due to drive filling up).  That left four backups going back to a week ago.  I restored all of them.  NONE of them had the database.

It sent me into a MAJOR panic, as without the database, my site was gone.  With no database, all the files on the server were pointless as this is all driven from WordPress. This Rangers site has been around since 1998, and while I don’t do the daily updates anymore, there’s a lot of archives here, and a few bits I still maintain.  I’m very proud of the uniform number coverage, so the very real possibility this morning of having lost all that work was seriously distressing to me.

So OK, that brings me to the second kind of backup.  All my sites that use WordPress (of which this is one) do a nightly backup via a software plugin called BackupBuddy. The problem is that BackupBuddy requires you to have database access to use it, and without that, I couldn’t use that backup, so I thought I was screwed since the other kind wasn’t working.  In this section of the recovery, I discovered that my root problem is that when my system filled up it was doing a sql dump, and it appears that the drive full situation while accessing SQL caused a mess which meant that most of my domain names that used databases lost their access to the data – even if it was still there.  I had to reset the passwords on everything, and then it let me clean up the right way.

Fortunately this cleanup allowed me to reinstall my Rangers site from scratch.  I had to pretend WordPress was a virgin install – it basically reset the database.  Given my old WordPress install was actually still THERE, just unreferenced because of the new database, I was then able to restore from one of the existing BackupBuddy backups. It took some time to restore everything (as the tarball for my Rangers site is about 3.18 Gb).  But EVENTUALLY I got everything going.

I didn’t declare everything restored until about 2:20PM on Monday afternoon, and I first discovered the problem right at 5AM.

So now what?  I cleaned up all the mess, the drive is back to about 50% usage, which is where it normally lives with the week’s worth of backups there, but I need to make sure this doesn’t happen again.  the full server backups I will be going to remote backups. I used to, but Dropbox decided some time ago to do away with their command line backup option.  I discovered today in fixing everything that the server maintenance software I use has an option to backup to Google Drive, something I will be signing up for.  Will cost me $75 a year to do that, but I think the cost is worth it for piece of mind.

Bottom line is that everything is working here again.  It was all due to to me losing database access due to a drive filling up situation.  What a mess.  Serious stress bomb this morning too.  Normally I take my blood pressure every morning at home, my wife and I figured this was a good day to skip that today, there was no way I was going to get a good reading today. I will tonight now that everything’s running again.

The moral of the story.  Don’t let a database heavy web server fill up.  All kinds of chaos ensues when it happens.

Архангельск

Торговые настольные электронные весы CAS PR-15P

Laura Dern Is the Star of Roger Vivier’s New Short Movie

Paige Spiranac puts on busty display in plunging top as she lists the ‘things that drive me crazy’

Ryan Poles Needs A Last-Minute Review Of His Quarterback Scouting Notes To Ensure Nothing Is Missed

Ramon Cardenas aims to cement his contender status agains Jesus Ramirez Rubio tonight

Ria.city






Read also

Anne Hathaway Reveals What She Aimed to Achieve With Steamy Scenes in 'The Idea of You'

Taylor Swift new album 'The Tortured Poets Department' is getting mixed reviews — here's what critics are saying

I caught one of Britain’s biggest carp weighing more than a Great Dane & it took 2 DAYS

News, articles, comments, with a minute-by-minute update, now on Today24.pro

News Every Day

Ramon Cardenas aims to cement his contender status agains Jesus Ramirez Rubio tonight

Today24.pro — latest news 24/7. You can add your news instantly now — here


News Every Day

Ryan Poles Needs A Last-Minute Review Of His Quarterback Scouting Notes To Ensure Nothing Is Missed



Sports today


Новости тенниса
WTA

Потапова проиграла Фернандес во втором круге турнира WTA в Мадриде



Спорт в России и мире
Москва

В Московской области прошел чемпионат Центрального округа Росгвардии по стрельбе из боевого ручного стрелкового оружия



All sports news today





Sports in Russia today

Москва

Команда подмосковного главка Росгвардии заняла призовое место на чемпионате Центрального округа по стрельбе из боевого ручного стрелкового оружия


Новости России

Game News

Для мобильного шутера Nebula Rangers проходит бета-тест на Android


Russian.city


Москва

Эксперт: корректировка порогов крупного и особо крупного ущерба по экономическим статьям оправдана и своевременна


Губернаторы России
Михаил Кутушов

Компания ICDMC стала победителем престижной премии в сфере ЗОЖ – Green Awards 2023/24


Житель Кургана отдал полицейским найденный кошелек с крупной суммой денег

Шапки женские на Wildberries — скидки от 398 руб. (на новые оттенки)

Подключение системы отопления в Московской области

Из России выдворят 15 граждан Узбекистана после массовой драки в Туапсе


Токсиколог Кутушов рассказал почему возникает похмелье

Токсиколог Кутушов рассказал почему возникает похмелье

«Вивальди. Времена Года. Шнитке. Кончерто Гроссо»: концерт в старинном соборе при поддержке Relax FM

Младшая дочь Оксаны Самойловой и Джигана пошутила, что их сын приемный — как отреагировала звездная мама: «Чисто классика»


Медведев остался лучшим среди россиян в обновлённом рейтинге ATP, Рублёв — восьмой

Свёнтек: я чувствую, что с каждым годом получаю всё большую поддержку

Соболенко: я предпочитаю смотреть мужской теннис, а не женский

Потапова обыграла Шнайдер на старте грунтового турнира WTA 1000 в Мадриде



Жёсткие экологические требования решат инновационные энерготехнологии

Тема дня: На «Госуслугах» можно будет получить статус многодетной семьи с 2025 года

Шапки женские вязаные на Wildberries, 2024 — новый цвет от 392 руб. (модель 466)

Новый транспортный хаб начали строить Казахстан, РФ и Китай


Росгвардия обеспечила правопорядок во время футбольного матча «ЦСКА» - «Спартак» в Москве

Собянин: Москва завершает переход на новый стандарт экстренной медпомощи

Школьники могут принять участие в конкурсе видеороликов «Байкал без пластика»

Жёсткие экологические требования решат инновационные энерготехнологии


В Серпухове прошел «Диктант Победы»

Сработает против: стало известно о влиянии завещания принца Гарри на его жизнь в США

Василий Анохин встретился с президентом Российского футбольного союза Александром Дюковым

Российский турист полетел отдыхать в Турцию и умер



Путин в России и мире






Персональные новости Russian.city
Александр Розенбаум

«Это не бомжовые заведения»: 72-летний Александр Розенбаум зарабатывает миллионы на пивном бизнесе



News Every Day

Laura Dern Is the Star of Roger Vivier’s New Short Movie




Friends of Today24

Музыкальные новости

Персональные новости