La synchronisation et l’upload vers flick ou Facebook depuis Aperture 3 bloquait. Vers flick par la moindre photo d’envoyé et le processus tournait en boucle. Vers Facebook les photos étaient bien envoyées mais la encore tournait encore et encore sans fin.

Alors dans l’ordre la manipulation est la suivante

  • Fermer Aperture 3
  • Ouvir Keychain.app alias Trousseau d’accès (dans les utilitaires)
  • Trouver et supprimer les clefs mémorisées suivante
    • aperture.api.facebook.com
    • aperture.www.flickr.com
  • Ouvrir Aperture 3
  • Choisir un projet et cliquer sur le gros bouton flick pour lancer la création d’une gallerie.
  • Ré-autorisé la liaison Aperture Flick
  • Répété pour a liaison Aperture Facebook.

Et hop

 

J’ai souvent, toute les 5 minutes, une erreur kernel sur deux serveurs mysql qui tourne avec ubuntu karmic 9.10.

May <span style="color: #000000;">27</span> <span style="color: #000000;">12</span>:<span style="color: #000000;">05</span>:<span style="color: #000000;">16</span> around-the-word-sql1 kernel: <span style="color: #7a0874; font-weight: bold;">[</span><span style="color: #000000;">8464095.444564</span><span style="color: #7a0874; font-weight: bold;">]</span> <span style="color: #007800;">type=</span><span style="color: #000000;">1503</span> audit<span style="color: #7a0874; font-weight: bold;">(</span><span style="color: #000000;">1274954716.320</span>:<span style="color: #000000;">31928</span><span style="color: #7a0874; font-weight: bold;">)</span>: <span style="color: #007800;">operation=</span><span style="color: #ff0000;">"truncate"</span> <span style="color: #007800;">info=</span><span style="color: #ff0000;">"Failed name lookup - deleted entry"</span> <span style="color: #007800;">error=</span><span style="color: #000000;">-2</span> <span style="color: #007800;">pid=</span><span style="color: #000000;">3211</span> <span style="color: #007800;">parent=</span><span style="color: #000000;">8922</span> <span style="color: #007800;">profile=</span><span style="color: #ff0000;">"/usr/sbin/mysqld"</span> <span style="color: #007800;">requested_mask=</span><span style="color: #ff0000;">"w::"</span> <span style="color: #007800;">denied_mask=</span><span style="color: #ff0000;">"w::"</span> <span style="color: #007800;">fsuid=</span><span style="color: #000000;">109</span> <span style="color: #007800;">ouid=</span><span style="color: #000000;">109</span> <span style="color: #007800;">name=</span>2F746D702F6962384F4A4D336B202864656C6574656429

Après quelque recherche c’est visiblement un problème de kernel, un ticket est présent sur launchpad.net. Mon soucis c’est ces deux serveurs sont en 24/24 et je peux pas les rebooter.

J’ai constaté que Apparmor qui est en cause ne surveillait plus mysql sur ubuntu lucid 10.5. En outre le net était pleins de plainte sur le peu de souplesse d’Apparmor dans la surveillance du DataDir de mysql.

J’ai trouver la solution la doc ubuntu Debugging Apparmor.

<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apparmor stop  <span style="color: #000000; font-weight: bold;">*</span> Unloading AppArmor profiles    ...<span style="color: #000000; font-weight: bold;">done</span>.   <span style="color: #c20cb9; font-weight: bold;">touch</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apparmor.d<span style="color: #000000; font-weight: bold;">/</span>disable<span style="color: #000000; font-weight: bold;">/</span>usr.sbin.mysqld   apparmor_parser -R <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apparmor.d<span style="color: #000000; font-weight: bold;">/</span>usr.sbin.mysqld   <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apparmor start  <span style="color: #000000; font-weight: bold;">*</span> Starting AppArmor profiles Skipping profile <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apparmor.d<span style="color: #000000; font-weight: bold;">/</span>disable: usr.sbin.mysqld    ...<span style="color: #000000; font-weight: bold;">done</span>.
 

Puppet 0.25 vs 0.24

Puppet Client 0.25 présent sur Ubuntu Lucid 10.4 n’est pas compatible avec un Puppet master en version 0.24 présent sur Ubuntu Karmic 9.4.

Le symptôme est le suivant : le puppet master semble ne jamais recevoir la demande de certificat. Coté client cela donne

<span style="color: #c20cb9; font-weight: bold;">sudo</span> puppetd --waitforcert <span style="color: #000000;">60</span> --<span style="color: #7a0874; font-weight: bold;">test</span> info: Creating a new SSL key <span style="color: #000000; font-weight: bold;">for</span> h3-desktop warning: peer certificate won<span style="color: #ff0000;">'t be verified in this SSL session warning: peer certificate won'</span>t be verified <span style="color: #000000; font-weight: bold;">in</span> this SSL session info: Creating a new SSL certificate request <span style="color: #000000; font-weight: bold;">for</span> h3-desktop warning: peer certificate won<span style="color: #ff0000;">'t be verified in this SSL session warning: peer certificate won'</span>t be verified <span style="color: #000000; font-weight: bold;">in</span> this SSL session warning: peer certificate won<span style="color: #ff0000;">'t be verified in this SSL session warning: peer certificate won'</span>t be verified <span style="color: #000000; font-weight: bold;">in</span> this SSL session notice: Did not receive certificate warning: peer certificate won<span style="color: #ff0000;">'t be verified in this SSL session notice: Did not receive certificate</span>

Sur le serveur cela donne

<span style="color: #c20cb9; font-weight: bold;">sudo</span> puppetca --list No certificates to sign

L’avertissement était clair

Dans la Release Notes l’avertissement était clair :
Newer clients may not work with older servers and vice-versa. Where possible backwards-compatibility is maintained but it’s not always totally successful. The best approach is to ensure your master and clients are the same version. When upgrading it is also recommended that you upgrade your master first.

Solution, backport

Dans /etc/apt/source.list on ajoute

deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.mirror.rafal.ca<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> karmic-security main restricted deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.mirror.rafal.ca<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> karmic-security main restricted deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.mirror.rafal.ca<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> karmic-security universe deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.mirror.rafal.ca<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> karmic-security universe deb http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.mirror.rafal.ca<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> karmic-security multiverse deb-src http:<span style="color: #000000; font-weight: bold;">//</span>ubuntu.mirror.rafal.ca<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span> karmic-security multiverse

Et puis zou

apt-get update aptitude -t karmic <span style="color: #c20cb9; font-weight: bold;">install</span> puppet

Juste faire attention à pas tout péter à la prochaine mise à jour

 

Vous avez installer Mysql infobright ICE et celui ci refuse de démarrer ? le script d’init /etc/init.d/mysqld-ib vous affiche une tripoter de point et ce termine sans message au bout de son timeout ?

Les logs

Regarder les log infobright dans le fichier bh.err présent dans le répertoire data , pas défaut c’est /usr/local/infobright/data.

Perso j’ai trouvé cela

<span style="color: #000000;">100421</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">19</span>:<span style="color: #000000;">07</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>ERROR<span style="color: #7a0874; font-weight: bold;">&#93;</span> Can<span style="color: #ff0000;">'t start server : Bind on unix socket: Permission denied 100421 11:19:07 [ERROR] Do you already have another mysqld server running on socket: /tmp/mysql-ib.sock ? 100421 11:19:07 [ERROR] Aborting &nbsp; 100421 11:19:07 [Note] /usr/local/infobright/bin/mysqld: Shutdown complete</span>

/tmp

Conclusion impossible de créé un socket dans /tmp. Cela arrive également avec Mysql « classique ». Un coup d’oeil sur les droits sur /tmp me montre que je suis pas en 777. La solution :

<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">1777</span> <span style="color: #000000; font-weight: bold;">/</span>tmp
 

Un article de vulgarisation développé en 6 points et qui repose en grand partie sur une expérience Amazon Web Service.

  1. Mutualisation des ressources
  2. Abstraction sur la localisation
  3. Élasticité
  4. Paiement à la consommation
  5. Self service
  6. Interfaces de programmation

A lire sur indexel.net

© 2012 Karlesnine Suffusion theme by Sayontan Sinha