Skip to main content

category: Linux

Categories
LinuxMySQLShell

Permissions error while using system MySQL folder and Docker

Recently I ran into a permissions issue when running MySQL in a docker container and using a local host’s directory with a restore of a MySQL. The fix for this is an easy one, once you know where to look.


Categories

Centos pip Python Install Error in pip-build-root

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 […]



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 […]




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?



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.


  • 1
  • 2
  • ...
  • 6