Default image

lefred

I am MySQL Community Manager for EMEA & APAC. I joined the MySQL Community Team in May 2016. I have been an OpenSource and MySQL consultant for more than 15 years. My favorite topics are High Availability and Performance.

Gnome gvfs a step behind ?

Today I had a bad surprise, at one customer, deploying Linux on desktop, they had some issues with samba shares access: no more shortcuts in places menu for the samba shares. This was due to the update of ubuntu from gusty to hardy. The problem is that now nautilus 2.22 is provided and this release use gvfs instead of gnome-vfs. Before that upgrade we decided to add some "share access" via gconf, this was perfect as it was added in /etc/profile. example : gconftool-2 --set --type=string /desktop/gnome/connected_servers/1/display_name 'public on samba' gconftool-2 --set --type=string /desktop/gnome/connected_servers/1/icon 'gnome-fs-smb' gconftool-2 --set --type=string /desktop/gnome/connected_servers/1/uri "smb://domain;$USERNAME@samba/public" This is not more possibe :'-( Ok let's try then to use bookmarks... but the problem is that the login is not used even if forced when the share is also public. The customer use a big public folder and acl's. So the only solution I had was to setup the share with
 
 public = no
to make it works and request a login and password. For massive desktop implementation, I preferred the gconf medthod. Maybe somebody could hack gvfs to force a user even on a public share.

DrupalCampParis2: 19 april 2008

DrupalCampParis 2 is an opportunity to promote Drupal in the "Francophonie" and then in the South of our little country as Joeri says in his post. Pour ceux qui veulent accroître leurs connaissances en Drupal, ils pourrons assister à DrupalCampParis 2 où les sessions seront en français et en anglais. Peut-être que cette conférence éveillera des vocations de contributeur à drupal.be en français ?

Sooner is better….

Since always, I believe that the best way of educating people to use and think opensource, this should happen early at school. M$ knows that and since long time now they provide computers for schools, adult users of tomorrow are the children of today. M$ now starts even earlier, look at this ! Bah... I've already a bunch of books with penguins for my daughter ;-)

Audacity and Fedora 8

I've tried today to use audacity for the first time since I'm using Fedora 8. What a disappointment: no sound ! I checked in preferences and none of these options were working : I started then audacity using the following command line : $ pasuspender audacity I could consequently hear some output and many different sources in preferences : I'm ready now to work on my favorites sounds... [1] Audacity [2] Fedora

MySQL proxies

I've tested last night two proxies for MySQL : MySQL-Proxy and Dormando's Proxy for MySQL. Both are working, but I still don't see really the advantage of using DPM over MySQL-Proxy, maybe I should make more tests but deploying MySQL-Proxy was easier as you define the backends as arguments in command line. I plan to use a MySQL proxy in production as load-balancer in combination with replication and redirect all DML queries to the master. Does one of you already use one of those two projects in production, what's your feedback ? You can also find more information on DLM here. It would be maybe nice to have a kind of buffer if for any reasons the backends servers are not responding ?

Nagios JBoss Check

As I had to monitor some JBoss servers and as there are some memory leaks in the program, the monitoring in Nagios of the Garbage Collector is very important. I've found some jmx script on JBoss wiki, but I was not happy with it. So I rewrite it to use twiddle.sh with the attributes I needed. I had also to modify twiddle.sh to remove the logging capability (that was causing permission error) : # diff twiddle.sh twiddleFred.sh 58c58 < JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/log4j.jar" --- > # removed to avoid log file JBOSS_CLASSPATH="$JBOSS_CLASSPATH:$JBOSS_HOME/client/log4j.jar" Those are the nrpe test I implemented : # check Perm Gen command[check_jbosspem]=/usr/lib/nagios/plugins/check_jbosspem 127.0.0.1 4 jboss.system:type=ServerInfo listMemoryPools "Perm Gen" 70 90 # check Old Gen (Heap Memory) command[check_jbossoldgen]=/usr/lib/nagios/plugins/check_jbosspem 127.0.0.1 4 jboss.system:type=ServerInfo listMemoryPools "Old Gen" 85 95

Tip: vi and lowercase/uppercase

As always I use my blog as reminder of some useful commands or tips. This one is for dimi, to change the case of a full document in vi, use the following command to transform everything in lowercase : <ESC>:%s/.*/\L&/ and in uppercase : <ESC>:%s/.*/\U&/ I hope this helps ;)

IM proxy

For sure you will think that I'm a bit crazy, but as I'll become father in some months (in April) I was already (a bit soon for sure) thinking about the difficulties to protect children on the Internet. Of course for web content, I'm able to setup a transparent proxy-cache (Squid) with squidgard etc... But for IM ? Do I have an alternative ? So I searched a bit on freshmeat and I found a project that answers to all my expectations : IMspector ! The project has really nice features like : - logs - replacement of some words - acl's