Skip to contentSkip to conversation

conntrackd daemon stops: is conntrackd running?

DISCUSSION Pablo Florencio 3 participants 3 messages May 12, 2008 – May 15, 2008

lore
Share & tools
lore
#0 lore raw

Hi to everyone.

First of all, I apologize for my english.

I have installed conntrackd in my high availability firewall cluster and I found one problem that I can't resolve. The installation was ok, I used Heartbeat instead of Keepalived for set up the virtual ips and the conntrackd script and it seems to work fine- I have checked that both nodes can dump the internal and external cache correctly.

The problem comes when tried to use conntrackd a few minutes later since the daemon has started, for example, if I want to dump statistics collected by daemon I found this error message:

Quoted 2 lines

conntrackd -s
can't connect: is conntrackd running? appropriate permissions?

The commands -c -f -R -k, etc, give the same result. If I try to restart the dameon I get this message:

Quoted 2 lines

conntrackd -d
lockfile `/var/lock/conntrack.lock' exists, perhaps conntrackd already running?

If I look for the conntrackd process ( ps -ef | grep conntrackd ) I found that it has disappear, so I have to delete the .lock file to be able to start ir again.

Is there any problem using heartbeat instead of keepalived? I can see it working fine for a few minutes but after that I mysteriously found this error in both nodes.

Any help or ideas would be very much appreciated.

Regards
Pablo Florencio.

#1 lore raw

Pablo Florencio scripsit:

Hi!

Quoted 9 lines

I have installed conntrackd in my high availability firewall cluster and I found one problem that I can't resolve. The installation was ok, I used Heartbeat instead of Keepalived for set up the virtual ips and the conntrackd script and it seems to work fine- I have checked that both nodes can dump the internal and external cache correctly.

The problem comes when tried to use conntrackd a few minutes later since the daemon has started, for example, if I want to dump statistics collected by daemon I found this error message:

[conntrackd dies after some time]

Quoted 3 lines

Is there any problem using heartbeat instead of keepalived? I can see it working fine for a few minutes but after that I mysteriously found this error in both nodes.

I'm running conntrackd with heartbeat wihout a problem for a while now. Most probably you hit the same bug in libnetfilter-conntrack than I did some weeks ago.

See http://marc.info/?l=netfilter-devel&m=120942089523985&w=4 for details.

Ciao
Max

Signature · 1 line
	Follow the white penguin.
#2 lore raw
In reply to Pablo Florencio
Quoted 3 lines · Pablo Florencio

Hi to everyone.

First of all, I apologize for my english.

Your English is just fine.

Quoted 5 lines

I have installed conntrackd in my high availability firewall cluster and I found one problem that I can't resolve. The installation was ok, I used Heartbeat instead of Keepalived for set up the virtual ips and the conntrackd script and it seems to work fine- I have checked that both nodes can dump the internal and external cache correctly.

This report doesn't help that much, what do the log file says? Please, also include the version of the software that your using, including the libraries.

Quoted 7 lines

The problem comes when tried to use conntrackd a few minutes later since the daemon has started, for example, if I want to dump statistics collected by daemon I found this error message:

Quoted 2 lines

conntrackd -s
can't connect: is conntrackd running? appropriate permissions?

Quoted 6 lines

The commands -c -f -R -k, etc, give the same result. If I try to restart the dameon I get this message:

Quoted 2 lines

conntrackd -d
lockfile `/var/lock/conntrack.lock' exists, perhaps conntrackd already

running?

Apparently, it seems that it is crashing but I need more information to give you a hand.

Quoted 7 lines

If I look for the conntrackd process ( ps -ef | grep conntrackd ) I found that it has disappear, so I have to delete the .lock file to be able to start ir again.

Is there any problem using heartbeat instead of keepalived? I can see it working fine for a few minutes but after that I mysteriously found this error in both nodes.

Not really, I truly prefer keepalived but it's up to you.

Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers