The other day I was provided with a new Ubuntu server with a large data drive. It seemed a good idea to move (among other things) the mysql data folder onto this drive.
sudo mv /var/lib /var/media/lib
sudo ln -s /var/media/lib /var
However when trying to start MySQL it will no longer start:
service mysql start
start: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
The whole reason I did use a symbolic link was to avoid issues like this. What to do? It turns out AppArmor does not allow mysql to read out of the new /var/media/lib location, as noted in the my.conf file:
# * IMPORTANT
# If you make changes to these settings and your system uses apparmor, you may
# also need to also adjust /etc/apparmor.d/usr.sbin.mysqld.
Simply open the mentioned file, duplicate the /var/lib/mysql lines and correct the path to the new locations. Restart AppArmor (or reboot) and Mysql can be started. Verify this by running:
ps -ef | grep mysql
- Kard Combat (http://www.kardcombat.com/)
- Wooords (http://toucharcade.com/2011/07/25/wooor … word-game/)
- Reckless Getaway (http://www.polarbit.com/our-games/reckless-getaway/)
- Shake Spears! (http://www.gamezebo.com/games/shake-spears/review)
Or apps wise:
- Due (http://www.dueapp.com/)
- Air Video (http://www.inmethod.com/air-video/index.html)
- Kik (http://kik.com/)
- ShoppingList (http://itunes.apple.com/us/app/shopping … 58413?mt=8)
- InstaCast (http://vemedio.com/products/instacast)
Sends an E-Mail to one or multiple E-Mail Addresses if new versions of plugins are available. My patch got accepted which adds an option for a single notification per plugin change instead one per 12 hours.
via WordPress › Mail On Update « WordPress Plugins
Buying the game today for £50-£65 from Origin will not only give you a holographic dancer (!) and allow you to change the color of your lightsaber (!), but also get you early access, before everyone else! How early is this access that you pay a £30 premium for?
Precise dates will be revealed at a later time.
Via Preorder FAQs | Star Wars: The Old Republic. It’s time to find another hobby.
Really interesting project for online frontend design. You will need to have an existing site live, but from then on WebPutty will speed up making amendments significantly.
via WebPutty: Simple, fast, and powerful CSS editing and hosting.
I was fedup with the poor experience of editing my host file, which is often needed when developing websites. So I quickly created an AutoHotkey script for the purpose.
15:03:50 – me: anyone knows a host editor app that works under windows 7
15:04:51 – me: fed up trying to first find the hosts file, then not being able to save because I again forgot to run notepad with admin privileges.
Download @ Host Editor 7 – Hassle free host editing for Win7-XP – DonationCoder.com.
Rupert Murdoch will today face the humiliation of the Commons issuing a unanimous all-party call for his scandal-ridden News Corporation to withdraw its £8bn bid for BSkyB, the great commercial prize he has been pursuing to cement his dominance of the British media landscape.
In an extraordinary volte-face, David Cameron will disown the media tycoon by leading his party through the lobbies to urge him to drop the bid. Murdoch can defy parliament and press ahead with the bid, prompting a Competition Commission inquiry, but he risks finding himself ostracised by a political class that once scrambled to bend to his wishes.
I’m sure it has nothing to do with MPs no longer wishing to be associated with a news organisation that might give them certain favours. I still have yet to find a convincing argument on BSkyB being related to the phone hacking scandal. Until then there must be other, presently unknown, reasons for this change in direction.
via The Guardian.
WindowsPager: One of the more accomplished virtual desktop solutions that work well with Windows 7
WorkFlowy – Organize your brain.: Great way to organise and outline information
It’s always fun to discover new apps, and a good way to see which apps are used most is to look at the first home screen. So here’s mine, where is yours?
The apps you can see are (apart from the built in Apple ones):
- Captio – Send yourself a quick note with just one tap.
- Simplenote – An easy way to keep notes, lists, ideas, and more.
- Action Lists – Getting Things Done made easy.
- moneyStrands – Personal finance software.
- UK & ROI – navFree navigation software.
- ShoppingList – The shopping tool for your iPhone or iPod touch.
- Dropbox – Bring your photos, docs, and videos anywhere and share them easily.
- Due – The missing reminder app fit for your homescreen (multiple alarms)
- Instacast – Instant access to podcast subscriptions, stream or download episodes wirelessly, follow show notes and enjoy audio and video podcasts on-the-go.
- Tiny Tower – Tower people management game