While attempting to install Thumbor on a CentOS server I recently had the following error message: ———————————————————— /usr/bin/pip run on Thu Sep 18 21:07:45 2014 Getting page https://pypi.python.org/simple/pycrypto/ URLs to search for versions for pycrypto in /usr/lib64/python2.6/site-packages: * https://pypi.python.org/simple/pycrypto/ Analyzing links from page https://pypi.python.org/simple/pycrypto/ Found link https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.0.1.tar.gz#md5=4d5674f3898a573691ffb335e8d749cd (from https://pypi.python.org/simple/pycrypto/), version: 2.0.1 Found link https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.1.0.tar.gz#md5=1d3eb04f06e6f09a080bc37fb019f9bf (from […]
Recently came across a problem with one system authentication to another via ssh. I added the public ssh key to ~/.ssh/authorized_keys entry. Changed ownership to the proper user and also chmod 600 ~/.ssh/authorized_keys. Still no dice. Using ssh -vvvv the following error returned on pubkey authentication: debug1: Unspecified GSS failure. Minor code may provide more […]
So you have a custom PHP binary that you wish to distribute across multiple servers. The “old” way to do this is to create a bash script in order to pull down the source code, run ./configure and then make; make install. But this is 2013, we have a much more civilized way to create […]
I’ve been using the excellent fpm (Effing package manager!) tool for automatically generating rpms from source (for example, creating a custom compiled php-fpm binary and then wrapping it for install in an rpm for distribution from our own repository). FPM also creates .debs and other binaries as you need them. To ensure we have a […]
Best practices state that you should run ssh on an non-standard port. Unfortunately some programs use port 22 by default and it isn’t obvious what the switch is to change this port. One of these programs is the eminently useful rsync. It states how to do this in the man file, but it is hidden […]
Usually, I will try to push clients towards using SCP (via a client such as WinSCP), however inevitably there are clients who do not understand this new method of accessing their files securely online, and who for one reason or another insist on using FTP for their online file access. As they say – the customer is always right?
A great way to do a real-world disk test on your linux system is with a program called dd. dd stands for data description and is used for copying data sources. A simple command to do real-world disk write test in linux is: dd bs=1M count=512 if=/dev/zero of=test conv=fdatasync This creates a file named ‘test’ […]
- Post Tagsbenchmarking
At home I have an (admittedly small) ZFS array set up to experiment with this neat newish raid technology. I think it has been around long enough that it can be used in production, but I’m still getting used to the little bugs/features, and here is one that I just found.
After figuring out that I had 2 out of 3 of my 1TB Seagate Barracuda hard drives fail, I had to give the array up for a loss and test out my backup strategy. Fortunately it worked and there was no data loss. After receiving the replacement drives in from RMA, I rebuilt the ZFS array (using raidz again) and went along my merry way. After 6 months or so, I started getting some funky results from my other drive. Thinking it might have some issue as with the others, I removed the drive and ran Seatools on it (by the way, Seatools doesn’t offer a 64-bit Windows version – what year is this?).
The drive didn’t show any signs of failure, so I decided to wipe it and add it back into the array to see what happens. That, of course, is easier said than done.