Saturday, December 19, 2015


Where you noted your ssh key needs renew

After updating to fedora23 I noted I cant use ssh from my laptop to servers I use to connect it. I have got the weird message ssh -vvv:  
debug1: Roaming not allowed by server

Obviously it isn't a server problem, while try to understand I have found:

Of course adding
in .ssh/config helps
Checking the key shows that I need new key pairs soon:
-rw-------. 1 jfclere jfclere   736 Nov 22  2006 id_dsa
-rw-r--r--. 1 jfclere jfclere   619 Nov 22  2006

I have being using the same keys for ~10 years in fact!!!
Well mostly only inside Red Hat vpn, time to change keys and spot the server I am using only from time to time...

Thursday, December 23, 2010


Tethering with Fedora 14 with iphone

It looks very easy now:
yum install libimobiledevice (really needed?)
dmesg tells:
[ 3202.355929] ipheth 1-8.4:4.2: Apple iPhone USB Ethernet device attached
[ 3202.355982] usbcore: registered new interface driver ipheth
In network manager I am able to confgure it but not to activate it (may be I have something wrong in my box).

Using dhclient wwan0
gets it working :D

Note that the iphone is running 4.2.1 and my provider is swisscom

Wednesday, June 03, 2009


mod_cluster 1.0.0.GA release

mod_cluster brings a dynamic configuration to mod_proxy. In fact mod_cluster is a replacement of mod_proxy_balancer and it uses some of the new features of httpd-trunk like slotmem.
The improvements to mod_proxy/mod_jk are:
- Dynamic configuration of contexts (no more 404 or 400 when an application is been redeployed).
- Load information received from the node of the cluster.
- Asynchronous cping/cpong via a STATUS message from the cluster.
- Minimal configuration.
Paul also blogged on the topic see
For more see try it and join the growing community.

Tuesday, April 14, 2009


Using Tomcat with mod_heartmonitor (part 2)

This is the second blog on the topic using Tomcat with mod_heartmonitor, here it is using HTTP instead multicast sockets... Well no one like multicast sockets but everyone likes the HTTP protocol no?
In the httpd.conf file add something like the following (to the httpd.conf the previous blog):

<Location /HeartbeatListener>
SetHandler hearthbeat
Order deny,allow
Deny from all
Allow from
Allow from

In the server.xml add ProxyList to the HeartbeatListener:

<Listener className="org.apache.catalina.ha.backend.HeartbeatListener" Port="8009" ProxyList="" />

Have fun!!!

Thursday, April 09, 2009


Using Tomcat with mod_heartmonitor

httpd-trunk contains a logic to receive hearth beats for backend servers.
Associated with mod_proxy_balancer and the heartbeat Load balancing scheduler algorithm you can have a partially dynamic load balancing behaviour.
Configure httpd.conf with something like the following: (using httpd-trunk).

LoadModule proxy_module modules/
LoadModule proxy_ajp_module modules/
LoadModule proxy_balancer_module modules/
LoadModule heartmonitor_module modules/
LoadModule lbmethod_heartbeat_module modules/
LoadModule lbmethod_byrequests_module modules/

ProxyPass /myapp balancer://mycluster/myapp lbmethod=heartbeat
HeartbeatStorage logs/hb.dat

<Proxy balancer://mycluster>
BalancerMember ajp:// route=jfpc ping=10
BalancerMember ajp:// route=neo3 ping=10

Add the listener in server.xml of each tomcat: (using tc_trunk):

<Listener className="org.apache.catalina.ha.backend.HeartbeatListener" Port="8009"/>

Port is the Port of the AJP Connector where httpd is going to proxy the requests.

Start httpd and the Tomcats and have fun with the "dynamic" cluster.

Friday, February 20, 2009


Busy week

After a long time without blogging I have decided to include work activities in my blog.
So this week has been a very busy one a mod_cluster release and a JBossWEB release.
I have also followed a first Aid with CPR and the ApacheCon Europe 2009 planner activities are also taking a part of my time.
I will speak at the ApacheCon Europe 2009 too.

Sunday, May 25, 2008


fedora9 x86_64 with nvidia and centrino (d620)

In fact I am trying to move from F8-386 to F9-x86_64.


- Via upgrade installation... It doesn't work (F8 i386 packages are not replaced)
- Via install if you use the custom partitioning and don't change the partition
layout and don't format you will keep your data but the F8 i386 packages are conflicting.
- Remove the conflicting packages (via rescue installed system).
rpm --root /mnt/sysimage/ -qa | grep i386 | xargs rpm --root /mnt/sysimage/ --nodeps --erase
rpm --root /mnt/sysimage/ -qa | grep fc8 | xargs rpm --root /mnt/sysimage/ --nodeps --erase
avahi (fc7.i386) has a broken postun scriptlet use --nopostun for it.
- Redo the install as previous.
- yum update (to use a kernel).

Fixing remaining problems

- Remaining problems (now investigating with a 4 Gbytes USB key as F9 disk)...

Dual screen doesn't work (solution: Use nvidia 173.14.05)

- default looks ok. But no dual screen.
- xorg-drv-nouveau: Give a bad resolution and strange (green colors) when randr12 on.
- nvidia: Doesn't work (X doesn't start, not the right ABI from
- nouveau from git (080525): See
use the Fedora location (drm and xf86-video-nouveau).: ./configure --prefix=/usr --libdir=/usr/lib64).
restore the if you tried nvidia before (yum reinstall xorg-x11-server-Xorg)
- nvidia try 2: It works with

wifi (centrino) doesn't work (solution: use intel firmware and stop NetworkeManager)

- default doesn't work (well not well enough to use it).
- remove the firmwares that are installed and doesn't correspond to the 3945 board.
yum erase ipw2100-firmware
yum erase ipw2200-firmware
yum erase iwl4965-firmware
normally something like the following should be done:
yum search 3945
yum install iwl3945-firmware
But in fact that doesn't help because the iwl3945 the driver complains (Do dmesg | grep iw) the firmware seems to be the same version ( than the F8 and I am using driver iwl3945 too. After retest it seems that it also doesn't work now on F8.
It is working using firmware from
on both Fedora versions in /lib/firmware/iwlwifi-3945-1.ucode)

It seems that stopping the NetworkManager service helps (even with

PC speaker makes loud beeps:

In /etc/modprobe.d/blacklist add:

install pcspkr /bin/true

This page is powered by Blogger. Isn't yours?