Linux Sysadmin Blog

Linux Sysadmin Blog header image 4

Entries from October 23rd, 2008

Homegrown MySQL monitoring

October 23rd, 2008 · No Comments · monitoring, MySQL, Nagios, sysadmin

If you can’t do it with a shell script it usually ain’t worth doin’, right? Of course the number and quality of monitoring tools available to sys admins has gone up dramatically. Thanks to Nagios and other great tools it’s pretty easy to keep track of what’s going on and where and get notified pretty [...]

[Read more →]

Tags: ···

USB Mass Storage Buffer I/O error

October 22nd, 2008 · No Comments · Installation

While running rsync backups to a USB external disk I noticed an issue where the backup job would stop and /var/log/messages would spit out errors like: Buffer I/O error on device sdb1, logical block 102630553 scsi 3:0:0:0: rejecting I/O to dead device sd 6:0:0:0: Device not ready: <6>: Current: sense key: Not Ready Add. Sense: [...]

[Read more →]

Tags:

anti-virus software alone not enough

October 20th, 2008 · 2 Comments · Installation

As a part of PCI compliance and general Internet usage safe practices a company wide anti-virus policy is not just a good idea but a must. Today a number of free and fee-based subscription anti-virus clients are available for the Windows platform which in is use by 99 percent of Promet employees. The remaining 1 [...]

[Read more →]

Tags: ···

ZendOptimizer Installation on Linux Server with IonCube

October 15th, 2008 · No Comments · Installation

ZendOptimizer installation is very short and can be done with the following steps: 1.)  Get the latest release from Zend, available file format is  “tar.gz” (ex:  ZendOptimizer-3.3.0a-linux-glibc23-x86_64.tar.gz). 2.)  Extract the tarball at /usr/local/src/. cd /usr/local/src/ tar xzpf ZendOptimizer-3.3.0a-linux-glibc23-x86_64.tar.gz 3.)  Go to the extracted Zend directory and run the install script to launch Zend Optimizer installer.  [...]

[Read more →]

Tags:

PCI DSS compliance for dummies

October 14th, 2008 · No Comments · PCI Compliance

One of our longer running projects for while now has been to become PCI DSS compliant. For those of you that have never heard of it, PCI stands for Payment Card Industry and DSS stands for Data Security Standards. Basically what it comes down to is that the credit card companies have gotten together and [...]

[Read more →]

Tags: ····

MySQL replication problems

October 9th, 2008 · 2 Comments · monitoring, MySQL, Replication

We are using a replication setup for our databases. The master database takes care of all the transactions and the slave database is used for hot standby, making backups and running reports. Running mysqldump for backups locks the main tables one by one (we’re using the MyISAM storage engine) and was causing user interruptions. Hence [...]

[Read more →]

Tags: ···

Calculating Videos on site to Bandwidth or Aggregate Transfer to cost of video played

October 6th, 2008 · 3 Comments · hosting

A client had asked us a very innocent question about bandwidth usage “What will my average cost of video download be?”. This question lead me down a path of assumptions and translations of different bandwidth terminologies which would make sense to someone without having to learn how to convert binary and calculate video compressions.  This [...]

[Read more →]

Tags: ··