Wednesday, January 11, 2006

Ever since NTL:home upgraded my broadband connection to 10Mbps it's reliability has dropped significantly. At least once a month I lose a few hours connectivity to the Net. This might not seem too bad to some but I use the Internet a lot and many others rely on services running from my servers. I'm hoping that the faults are caused by the on-going upgrades NTL are doing as they move more customers to higher speeds. If not, I'll be force to relocate my servers somewhere else, maybe in a managed data center somewhere? Anybody know of some cheap rack space in the UK? I've used server matrix in the US but its very expensive and only makes sense for game clan servers where you can split the costs.

1/11/2006 7:42:52 PM (GMT Standard Time, UTC+00:00)  #    Comments [1]  |  Trackback


Friday, November 04, 2005

I'm afraid to report that I've been forced to take my Wallpaper & Photo site offline temporarily. I have been experiencing major denial of service attacks from multiple ip address in Russia. Until I implement some kind of download limiter I'll just have to take the whole site off the net.
11/4/2005 3:58:20 PM (GMT Standard Time, UTC+00:00)  #    Comments [4]  |  Trackback


Wednesday, November 02, 2005

Just a reminder that I have a BitTorrent tracker hosted here. If you've not visited it in a while to might find some nice new torrents of interest :-) Please follow BT etiquette and leave your download open for as long as possible, even after its completed. Dont close the download as soon as it finished. My tracker will keep track of your share ratios and you will be banned for leeching.
11/2/2005 10:43:58 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


Saturday, October 29, 2005

A series of short power cuts last night ran down all my UPS batteries, so apologies for the lost of service. I must buy a bigger battery - on to ebay I go.


10/29/2005 11:17:24 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Monday, September 05, 2005

Finally setup up my promised BitTorrent tracker server. Feel free to use. I have uploaded torrents for my recent trance mixes for leeching...


Share dont steal. Give and ye shall receive.

http://tracker.ryanstevens.co.uk:6969/annouce
9/5/2005 9:29:21 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Thursday, August 04, 2005

Just uploaded a large backlog of images into my wallpaper collection. Download my Wallpaper Changer if you want random pictures on your desktop (at configurable intervals).

1 picture per day * 30,000 pictures = 82 years worth!

“Never be bored of your desktop again.”

Coming soon: I’m releasing my webservice api to the public domain and will be launching a competition for the best client UI written in C#. More details soon.

Now playing: - solidstore radio

8/4/2005 2:11:30 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Wednesday, August 03, 2005

damn... I missed it! :-(

http://sysadminday.com/

8/3/2005 12:01:12 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Monday, August 01, 2005

I have installed an interesting application - BlogJet. It's a cool Windows client for my blog tool (as well as for other tools). Get your copy here: http://blogjet.com

"Computers are useless. They can only give you answers." -- Pablo Picasso

8/1/2005 4:56:41 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Just completed an upgrade to DasBlog 1.8. Went pretty smooth. Found a few bugs with Firefox

.NET | dasBlog | Hosting
8/1/2005 3:24:00 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Friday, June 10, 2005

Here's a list of the countries visiting this site. Quite surprising. More than 50% of hits come from OUTSIDE the UK.

United Kingdom

Venezuela  

United States  

Macedonia, the Former Yugoslav Republic of

Australia 

Hong Kong  

Netherlands  

Latvia  

Canada  

United Arab Emirates

Germany  

Gambia  

Russian Federation

Romania  

India  

Kenya  

France  

Slovakia  

Sweden  

Morocco  

Italy  

Costa Rica 

Switzerland  

Croatia  

Spain  

Colombia  

Belgium  

Peru  

Turkey  

Jordan  

Ireland  

Korea, Republic of  

Singapore  

Greece  

Brazil  

Nigeria  

South Africa  

Cuba  

Austria  

Sri Lanka  

Hungary  

New Zealand  

Lithuania  

Iceland  

Finland  

Bolivia  

Yugoslavia  

Kuwait  

Argentina  

Puerto Rico  

China  

Moldova, Republic of

Norway  

Dominican Republic  

Denmark  

Qatar  

Israel  

Zimbabwe  

Malaysia  

Burkina Faso 

Egypt  

Ghana  

Czech Republic  

Monaco  

Portugal  

Belarus  

Taiwan, Province of China 

Vietnam  

Poland  

Estonia  

Pakistan  

Ukraine  

Saudi Arabia  

Thailand  

Mexico  

Bulgaria  

Indonesia  

Iran, Islamic Republic of 

Philippines  

Chile  

Japan  

Algeria  

Slovenia  

Insipred by Jim's flag list.

6/10/2005 4:03:23 PM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Wednesday, May 18, 2005

One of my RAID disks has finally spun its last cycle. The loud mechanical clunk was a dead give away! So I'll be rebuilding it shortly once some new hardware appears. Therefore my radio station wont be broadcasting for a while and some of the websites hosted in this server maybe temporally unavailable to short periods. Knew I should have shelled out for hot-pluggable RAID.

5/18/2005 10:00:16 AM (GMT Daylight Time, UTC+01:00)  #    Comments [1]  |  Trackback


Monday, April 25, 2005

I've added some more network monitoring tools to my site for a trial. Checkout my bandwidth usage!

4/25/2005 8:43:52 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]  |  Trackback


Sunday, February 27, 2005

I've been meaning for quite a while to upgrade the firmware on my main router for sometime - so when visiting the Linksys site I was pleased to see that they have made the source code available under GPL. I spent some more time looking around and happen upon a good site for Linksys owners - www.linksysinfo.org These guys lead me onto a group - www.sveasoft.com - which have extended the firmware with features which blow the standard router away - for $20/year you can get as many firmware upgrades as you can handle. I choose the second most recent which had several thousand downloads - Alchemy- 6.0rc6a. Took all of 10 minutes to flash the box and setup my existing configuration. Sweet.

As for the extended features - I'll write another article soon about those that I setup. It will be interesting to see if my reliability suffers or approves with this firmware. One thing that has immediately improved - my Xbox live connection - whilst my Internet connection is being used by others thanks to a powerful QoS engine. Looking forward to extending my wireless domain with WDS and the option to increase the radio signal by 900% - well beyond the legal UK limit.

2/27/2005 8:35:24 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


Friday, February 18, 2005

Ring Ring... Hello. Is our mail server not working?

I normally only get phone calls on my work mobile when something is badly wrong. Its never good news. And when its the mail server i just know its gonna be a long day.

Despite what some people think about email and its importance, once companies take things for granted all hell can break loose when those same things are taken away from them. We all rely on email. Period.

OK, take it easy. Reboot the mail server. It will be back up and running whilst i drive into the office.

3 phone calls along the M3 later and I realised today was not going to be a very productive day coding. I was gonna spend the day with Exchange.

The last sentence I wrote may sound very calm yet when this happens on one of the Exchange servers you are responsible for you will be anything but calm. Once the stores in the storage group are dismounted, users are disconnected from their precious information (mail, calendars, contacts) and they will come waving pitchforks.

I find Exchange server to be a very complicated system and as in most complicated systems the most "trivial things" may bring it to its knees. And today when I discovered the eventual reason that our Exchange database was corrupt and wouldnt mount I nearly cried out with pain & laughter.

A very oversimplified analysis of an Exchange server may state that that an Exchange server is nothing more then a database server that has some exotic extensions through which users can manipulate their data. This analysis (even though oversimplified) is not far from truth, and it emphasizes the importance of the database that stores the user's information on an Exchange server.

Exchange server uses a database technology called ESE (Extensible Storage Engine), this database technology is based on the JET (Joint Engine Technology) database engine.

The ESE engine employs several files upon which the database is built (I have only specified the ones that are relevant to our topic):

  1. Store files- The store files hold the information that is already committed to disk. Each Exchange store (Private and Public) consists of two files:
    1. EDB- Rich-text database stores information in a proprietary format called Microsoft Database Encapsulated Format (MDBEF) that is submitted by MAPI clients.
    2. STM- Native Content Database holds all data that is submitted by non-MAPI clients.
  2. Transaction Log files- the log file stores altered data before it is committed to the database. A set of log files is unique to a storage group. The log files name begins with a prefix that identifies the storage group they belong to- E00XXXXX.log (belongs to the first storage group). The suffix for each log files name is a hexadecimal sequentially assigned number.
    The active log file for a specific storage group is always called: EX0.log (X represents the storage group), once it is filled (5MB) it is renamed using the next sequential hexadecimal number and a new EX0.log is created. Since by default log files are not erased (by default storage groups do not use circular logging) the space on a log disk will eventually be depleted. The standard procedure for removing unused log files is backing the system up (full or incremental).
    As mentioned earlier the size of a log file is 5120KB, if you find that the size of the files is different you may be looking at a corrupt log file.
    Each set of log files has two placeholder files called: res1.log and res2.log. These files are used by the storage group when it runs out of disk space to store altered information before dismounting the storage group.
  3. Checkpoint File- The checkpoint file is used to track which transactions have been committed to the database and which transactions have to be committed to the database. The name of the file is EX0.chk (X stands for the storage group) and its size is 8KB.

The symptoms our mail server was displaying were that the stores would not mount and all the event log messages seem to indicate that we had run out of disk space. Now as I know this can spell certain death to an exchange box I regularly check disk space - we had plenty of space - another dead end. Google?

http://support.microsoft.com/?id=819553

This gave me the exact error messages being reporting. But the E00.log it mentions was not missing. Another dead end. The article also warns about Anti-virus. Now I knew this and when I installed our server I setup server rules to exclude the exchange folders from scanning. Another blank.

Ok onto the next Google search

How to test Exchange transaction log files for corruption - http://support.microsoft.com/kb/248122

A good few hours later - no corruption detected. People were starting to wonder if they'd ever see they mail again. I wondered that myself, and let slip that the database maybe lost.

At this point, I needed a cool head. Despite pressure from all sides, I knew I shouldn't set an unrealistic time for completing the restoration of service. Based on my experience, I recommend that you follow these steps.

  • Find the last backup.
  • Take a copy of the mailbox and public folder stores (Exchange and streaming databases) .
  • Make a copy of the transaction logs
  • Disable inbound mail connections
  • Keep a log of the restore process

OK, backups werent an option here as our backup scheme had failed since mid-December. Dont let this happen to you. Dont get me started talking about backups.

Although a database might be corrupt, you must take a copy of the existing databases. Don't forget to take a copy of the streaming database.

A restore can overwrite the corrupt database, so you need a way back to the state of your database when the corruption occurred. If the restore is unsuccessful, you might be able to repair this database. In this scenario, you want the most recent version of the database, even if it's damaged. If the files are large, you can save time by renaming them to something meaningful (e.g., priv1.oldedb, priv1.oldstm). Remember to leave enough disk space on the database drive for the restore.

Making a copy of the transaction logs is crucial because the transaction logs enable recovery up to the moment of the outage. Check the dates of the transaction logs, and verify that you created them since the last backup.

A server recovery might require several restore attempts, and you don't want queued inbound messages delivered until you're satisfied that the restore process was successful and everything is running normally. Therefore, you need to disable the default SMTP virtual server.

I now tried to remove the transaction logs - giving these up as lost. Now can I mount the db? No.

I used the Eseutil utility to examine the database header and learned that the database was in an inconsistent state.   ESEUTIL /mh <path to database file> ==  Dirty Shutdown

OK, now I had to recover the database using eseutil to get the db back to a clean shutdown but this just gave errors.

Last chance saloon. Repair the db using the same tool even though recommend strongly not to do this in dirty state. Seems to work?

Can I mount the stores?

YES! Horray. Even before I got up to get a fresh cup of tea, people started noticing their mail arriving.

OK, I sit down and open my mail. And sitting there in my Alerts folder is a virus alert on the mail server. Reading, everything started to make sense. The anti-virus software had located some data in the exchange log files that matched a known virus signature. And deleted it! No wonder Exchange collapsed. All the times tied together - I had found the cause.

Then I remembered that I had ruled out anti-virus software being envolved because I had setup exclusions on the exchange data folders - why hadnt that worked?

Checked the settings - missing! Damn it! My exclusions had been lost somehow. OK - i put them back.

On the way home I suddenly realised that the settings must have been lost when the anti-virus upgraded itself recently after a major bug was found

I chuckled as a wondered how many people world wide had just had a day just like mine!

 

2/18/2005 2:56:58 PM (GMT Standard Time, UTC+00:00)  #    Comments [2]  |  Trackback


Wednesday, February 09, 2005

Thought I'd make a quick mention to the open-source project I've just started on SourceForge. Its called 'solidstore' after my gaming tag.

 solidstore is an web based community multimedia jukebox written in ASP.NET. Multiple users can upload & publish their own collections of music, video, document & pictures either for private, shared and/or public access.

Anyone interested in helping out checkout SourceForge for details. Once things are more fleshed out we'll need more sexy artwork and translators. I'm hoping to have a working demo hosted here soon.


SourceForge.net Logo  Support This Project 

 

.NET | Hosting | Music
2/9/2005 11:39:33 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


Tuesday, January 25, 2005

A good list of extensions for FireFox can be found here. If your a web developer I seriously recommend you download this one. This will save you hours! Also 'View in IE' looks useful for cross browser testing (or visiting Microsoft's non-compliant sites, like MSDN)

 

1/25/2005 7:50:02 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


Sunday, January 16, 2005

As promised my on-demand music collection site is now running. Just dont hammer my bandwidth too much! 'On the fly' re-encoding (for low bandwidth links) & downloading playlists as zip files coming soon! I'll also be integrating my favourite internet radio streams including my own.

1/16/2005 11:16:14 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


Thursday, December 02, 2004

The recent outage on my web sites was due to an extreme heavy session of Halo 2. Basically when I know I'm gonna be playing for a long time I turn off my web sites to eliminate any lag (mainly from goggle bots). So if you find that my web site disappears in the evening you know why! Also, I occasionally have such a manic session that I forget to turn the web sites back on!!!

12/2/2004 9:50:41 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


Wednesday, November 10, 2004
Weekly Report for between 01/11/2004 and 07/11/2004
11/10/2004 3:34:53 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


OK, I've had enough of these guys. And from the look of it so have many other people - including silverstr.

I generally approve of all the work going on to rid the world of spam, but these guys are so arrogant. Statements like: nobody with a dynamic ip should be running servers or are incapable.

Dynamic IP are a fact of life! Many BUSINESS broadband accounts provide their customers with fixed ip using long term dynamic leases. Of course they will still end up listed! Network range blocking is not much short of technology discrimination.

Just because my servers run from a residential broadband account does not make them insecure. During the course of my career I've been involved in the networks of many organizations and I can sleep safely knowing that my own boxes are a tight as that of many them (which in a scary side note, is not as tight as you might think).

All I can do about the situation

  • is ask for mail server admins not to use this service - you will lose real business otherwise!
  • congratulate the masses with their continued DDoS on these guys

There are better blacklist to use, run by organizations with some idea of how the real world operates. I personally use SPF records to limit the addresses spammer can use (not mine basically).

 

11/10/2004 11:21:53 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


Friday, November 05, 2004

Useful list of current threats on the Internet. Includes some network address ranges that you definitely want to block at your firewall.

Current 'Live' INFOCon status

Internet Storm Center Infocon Status

GREEN -- Everything is normal. No significant new threat known.

YELLOW -- We are currently tracking a significant new threat. The impact is either unknown or expected to be minor to the infrastructure. However, local impact could be significant. Users are adviced to take immediate specific action to contain the impact. Example: 'MSBlaster' worm outbreak. 

ORANGE -- A major disruption in connectivity is imminent or in progress. Examples: Code Red on its return, and SQL Slammer worm during its first half day 

RED -- Loss of connectivity across a large part of the internet. 

 

 

11/5/2004 2:10:01 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


I've just added some live internet traffic analysis monitoring software to my servers. You can get stats on my inside or outside traffic passing thru my perimeter router.

11/5/2004 12:31:38 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


11/5/2004 12:28:31 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback


11/5/2004 12:21:08 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]  |  Trackback