the itjerk

my adventures with technology

Tag Archives: upgrade

Ubuntu 11.10 mysql problem after upgrade

If you find that mysql doesn't run after upgrading to 11.10, it could an issue with the fact that /var/run was replaced with /run.

Check /var/log/mysql/error.log, and you'll find something like this:

111104 19:11:33 [Note] Plugin 'FEDERATED' is disabled.
111104 19:11:33  InnoDB: Initializing buffer pool, size = 8.0M
111104 19:11:33  InnoDB: Completed initialization of buffer pool
111104 19:11:34  InnoDB: Started; log sequence number 0 44233
111104 19:11:34 [ERROR] Can't start server : Bind on unix socket: Permission den
ied
111104 19:11:34 [ERROR] Do you already have another mysqld server running on soc
ket: /var/run/mysqld/mysqld.sock ?
111104 19:11:34 [ERROR] Aborting

Or if you try to login to mysql, you'll get this:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Well, here's the fix! Go edit /etc/apparmor.d/usr.sbin.mysqld as root and replace

  /var/run/mysqld/mysqld.pid w,
  /var/run/mysqld/mysqld.sock w,

with

  /{,var/}run/mysqld/mysqld.pid w,
  /{,var/}run/mysqld/mysqld.sock w,

then

sudo service mysql restart

and viola! our mysql db's are back!

ubuntu 10.10 on 10/10/10

Couldn't resist the upgrade to Maverick Meerkat, Ubuntu 10.10, today, Sunday October 10th. Everything installed without incident (even though I had to power cycle because my &*& *%$* kvm quit working), and Squeezebox Server, Apache and MySQL, digital audio are all working fine. Nice new look, including to Ubuntu's website as well.

One thing I will have to do is setup the 3rd party repositories for Slimserver, Opera and Sun Virtual box. Google Chrome made the cut however.

On the web:
Ubuntu Desktop Edition

t-mobile g2


big upgrade to the g1, not only faster, but this supports the 2.2 Android OS, MUCH better camera, SD card, std headset jack, HD video, all around Google goodness.

EXCEPT the hinge issue…
T-Mobile G2 Trouble at Engadget

Qualcomm® Snapdragon™ MSM7230 mobile processor 
Slide-out QWERTY keyboard, unique Z-hinge design 
Android 2.2 OS 
3.7” S-TFT WVGA display 
512 MB of RAM, 4 GB of internal memory 
8-GB SD card, expandable to 32 GB 
5-megapixel camera with LED flash and autofocus 
720p HD video capture
Wi-Fi 802.11 b/g/n 
Bluetooth 2.1 + EDR + A2DP 
stereo 3.5-mm stereo headset 
4.68” (L) x 2.38” (W) x .58” (H) 
Weight: 6.5 ounces 
Included battery: 1300 mAh Li-ion 
Talk time: up to 6.5 hours 
Standby time: up to 17.5 days

On the web:
G2 with Google Phone

lucid lynx

The upgrade to Ubuntu Lucid Lynx 10.04 took a while but was without major incident. Still, a few things to fix:

1. Login Window: sudo -u gdm gconftool-2 –set –type boolean /apps/gdm/simple-greeter/disable_user_list true

2. Mediawiki – Blank pages. From MediaWiki: "A blank white page indicates a PHP error which isn't being printed to the screen. To [reveal] this, add the following lines to the LocalSettings.php file, underneath the <?php:"

error_reporting( E_ALL );
ini_set( 'display_errors', 1 );

Here's the error:

Parse error: syntax error, unexpected T_NAMESPACE, expecting T_STRING in /var/www/mediawiki/includes/Namespace.php on line 46 

Evidently there is an incompatibility with PHP 5.3.1 and Mediawiki 1.15.1. Found a solution here.
Note this "fix" could backfire in the future with an update; I've got backup.

3. Opera, Squeezebox and Virtual box repositories were disabled on upgrade (but not Google's Chrome repo!). I'll have to re-enable them in Software Sources.

deb http://debian.slimdevices.com stable main
deb http://deb.opera.com/opera/ stable non-free
deb http://download.virtualbox.org/virtualbox/debian karmic non-free

windows 7

I picked up a copy of Windows 7 Home Premium edition from DigitalRiver. The education special was indeed quite special: $29 for an upgrade edition, with the media costing an extra $13. So, I shrank my hard drive, made a new partition and popped in the Win7 disc. An hour later, I was in business.

The good news? All the hype about Windows 7 seems to be true. It is easier to navigate, it performs flawlessly, and even offered to download new drivers for my Samsung ML-1710 laser printer. I had IIS up and running my ASP/Access site in no time at all, and it runs perfectly fine on my old Dell C521, which is powered by an Athlon X2 4000 and 3GB of RAM. Still can't print from Linux however.

Oh yeah, and don't forget about "God Mode". Just create a folder with the text below and you'll be able to access hundreds of settings!

God Mode.{ED7BA470-8E54-465E-825C-99712043E01C}

ubuntu 9.10, karmic koala

<Did the distribution upgrade on Friday. Took a while to download, as I imagine about a million others were doing the same thing. Relatively seamless, here's my notes:

1. had to change this line in /etc/fstab to get the 2nd internal drive to mount properly:
/dev/sdb1 /mnt/music ext3 rw,user,exec 1 2

2. ran this to get GDM to _not_ show list of all users (gconf doesn't work):
sudo -u gdm gconftool-2 –set –type boolean /apps/gdm/simple-greeter/disable_user_list true

3. Grip was uninstalled. Using SoundJuicer, lots to get used to.

4. Opera – no channel, but in Synaptic. Will it update?

5. Volume Control – Hardware Profile – Analog Stereo Duplex. Got it?

6. Squeezeboxserver (another new name) – uninstalled on upgrade, have to wait until it's fixed to work with MySql 5.1. Thanks Logitech. BTW, in the last year, it's changed names from slimserver to squeezecenter to squeezeboxserver.

UPDATE: Installed the testing repo and Version: 7.4.2 – r29092 @ Sat Oct 31 04:00:55 PDT 2009 has corrected the problem.

ubuntu intrepid ibex

Once again, Ubuntu provides a perfectly painless distribution upgrade to their latest release of the Linux operating system. In order to automatically get 8.10 (Intrepid Ibex) from the previous long-term-support release 8.04 (Hoary Hedgehog), you’ll need to make one quick change to your Software Sources. Under the Updates tab, change Release Upgrade from “Long term support only” to “Normal releases”. Then run Update Manager, and about an hour later, you’ll be completely upgraded.

Issues? Here’s my list:

  • had to check “enable” on my cups printer
  • my audacious-crossfade plugin was removed
  • rhythmbox crashes whenever I ffwd a song (previous bug#270700)
  • brasero crashes when dragging mp3 files (previous bug#249592)
  • mixer-applet (the volume control in the menu bar I never use) ate a lot of CPU cycles
  • had to re-enable the 3rd party repository for slimserver in update manager

Wow. That’s a real short list. Thanks Mr. Shuttleworth. Next up is 9.04 (Jaunty Jackalope) in April.

Upgrading Ubuntu on the web:
http://www.ubuntulinux.org/getubuntu/upgrading