Archive for the ‘Server-Status’ Category:

Server News

Written on February 19th, 2010 by Dennisno shouts

ugh .. after 452 days my home server had to be shut-down this morning. We got a new meter in our transformer substation. Yeah I have an UPS, but the guy could not tell how much time he needed to have the main power shut down .. a nice uptime for my BlueQuartz server which will be shutdown forevery maybe soon (or I will hook it up in my work office so that we have a nice running server available there).

Scripting Help wanted: S3cmd & Backup

Written on January 4th, 2010 by Dennisone shout

I am a newbie in bin/bash scripting so help is appreciated

I am using s3cmd with Amazons S3 service

what I want is to copy per day/week/month some backup files. this is working. My files are copied to:

s3://bucketname/[folder], where folder = date (04012010 as example (date +%d%m&Y)

Listing with s3cmd shows indeed the uploaded folders

python s3cmd ls s3://bucketname
                       DIR   s3://bucketname/03012010/
                       DIR   s3://bucketname/04012010/

the script as far is this:

#!/bin/sh
V_DATA=/var/lib/psa/dumps
V_LOGS=”/var/lib/psa/backupscript/log`date +_%d%m`.log”
echo “Starting sync…”
python s3cmd sync –progress -v $V_DATA/ s3://bucketname/`date +%d%m%Y`/ >> $V_LOGS

note: –progress -v is optional to see in shell what is happening

my knowledge is too less to grab the ls content, count the last x days/weeks (and keep the last x days/weeks *as example*) and remove the oldest folder through the simple command:

python s3cmd del s3://lendhosting/[03012010]/*
File s3://bucketname/test deleted

ANY ANY help is really appreciated!

2010

Written on January 2nd, 2010 by Dennisno shouts

Zo, de server heeft zijn eerste updates voor dit jaar gehad en we zijn weer een beetje bijgewerkt. PHP naar 5.2.12, MySQL naar 5.089 en wat al niet meer.

Lekker als dan alles ook nog een beetje blijft werken zoals je graag wil. En nu afblijven met de vingers ;-)

Hits

Written on December 24th, 2009 by Dennisno shouts

Al onze websites tezamen hebben ongeveer 2.260.000 paginavertoningen laten zien deze maand (en er komt nog meer bij) .. kuch .. dat was heel veel bandbreedte .. maar goed.. de receptenwebsites van Lilian zijn dus een succes en het besluit vorig jaar om op een eigen server te gaan draaien een juiste ..

Message to Self: 150.000 pageviews

Written on December 21st, 2009 by Dennisno shouts

Message to Self: een server met +150.000 pageviews krijgt teveel load .. dus ….. vandaag was de topdag en de server met een load van +150 .. (drama .. ) .. maar ik heb geen flauw idee wat je eraan kan doen .. En om nu iets voor 5 dagen in het jaar te installeren, gebruiken en er een berg geld voor neer te tellen. Nah ..

Maar goed, in plaat van weken te balen dat iets niet honderd procent werkt is het nu 1 of 2 dagen .. dus is de overgang naar een andere server met meer bandbreedte lonend geweest.

Server traffic

Written on December 21st, 2009 by Dennisno shouts

Het complete overzicht …. 1 dag vol met internet verkeer waar 90% van de bezoekers op zoek is naar lekkere tapas, amuse of kerstrecepten.

Message to Self: Error Removing site in BlueQuartz

Written on November 10th, 2009 by Dennisno shouts

I had problems removing a site in BlueQuartz due to an error on handlers/base/disk/clear_quota.pl failed
To fix this I had to turn off a number of things before starting
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/xinetd stop
/etc/rc.d/init.d/sendmail stop
Also swatch;
mv /etc/cron.d/swatch.cron /root

Turn off quota:
/sbin/quotaoff -ug /home/

Then backup and reset the quota database:

mv /home/aquota.user /home/aquota.user.bck
mv /home/aquota.group /home/aquota.group.bck

Then run quotacheck to get the quota back in sync:
/sbin/quotacheck /home/ -vugm

turn back on quota:
/sbin/quotaon -ug /home/
And than restore the values in the CODB database:
/usr/sausalito/sbin/disk_restorequotas.pl

Then when quotacheck finishes.
service httpd start
service xinetd start
service sendmail start
mv /root/swatch.cron /etc/cron.d/swatch.cron

Tadahh site could finally be removed.

Phew: system update

Written on July 30th, 2009 by Dennisno shouts

Phew .. updated plesk to Plesk 9.2.2. Maybe they have fixed the backup issue I have?

It shuts down the httpd daemon and than it’s always finger crossing to see it restarted again. and it did yeah !

Full Story » Filed under Server-Status Tags:

Server Status

Written on April 21st, 2009 by Dennisno shouts

Oeps. Today I noticed that the server was not working anymore. Damn. No space on HDD left. (stupid Backups!)

SSH saved the day and everything is working again .. Good lesson!

Server Message: RSS feed fixed

Written on April 4th, 2009 by Dennisone shout

Chris mentioned to me in e-mail that my rss feed was broken. As long time evangelist for RSS feeds some years ago I did not look into rss for a long time. My feed is running through feedburner and I was thinking all was ok.

An update I made on the blog last week caused some empty spaces in a configuration file. This caused the feed to be invalid (a empty line as first line).

If you read this through your RSS feed reader it means the feed is up running again. Sorry for the delay. It’s possible that you will see some advertisements in the feed. It’s an experiment to see if this weblog can earn some money through feeds.

Full Story » Filed under Server-Status Tags:,