Hi Sergey,

may the problem with "lock pid_file" messages be connected with running 
watchquagga daemon ?

Here is what I have got in rc.conf file:

quagga_enable="YES"
quagga_flags="-d"
quagga_daemons="zebra ospfd ospf6d bgpd"    <<<<<<<<<<<< Is this order okay ?
quagga_extralibs_path=""
quagga_delay="10"
watchquagga_enable="YES"
watchquagga_flags="-dz -R '/usr/local/sbin/zebra -d; /usr/local/sbin/ospfd -d; 
/usr/local/sbin/ospf6d -d; /usr/local/sbin/bgpd -d' zebra ospfd ospf6d bgpd" 
<<<<<<<<<<<<<<<<<<<<< I hope this syntax is right one.

I did upgrading of quagga to the last one and restarting daemons. Error 
messages reappeared.
Important! Watchquagga daemon was running at that time too.

[EMAIL PROTECTED] 0.99.10 /]# egrep lock /var/log/quagga/*
/var/log/quagga/ospfd.log:2008/07/01 13:57:21 errors: OSPF: Could not lock 
pid_file /var/run/quagga/ospfd.pid, exiting
/var/log/quagga/ospfd.log:2008/07/10 17:17:27 errors: OSPF: Could not lock 
pid_file /var/run/quagga/ospfd.pid, exiting
                                ^^^^^^^^^^^^^^^^^^^^^^
                                the last restarting
/var/log/quagga/ospf6d.log:2008/07/01 13:57:21 errors: OSPF6: Could not lock 
pid_file /var/run/quagga/ospf6d.pid, exiting
/var/log/quagga/ospf6d.log:2008/07/10 17:17:27 errors: OSPF6: Could not lock 
pid_file /var/run/quagga/ospf6d.pid, exiting
                                ^^^^^^^^^^^^^^^^^^^^^^
                                the last restarting
/var/log/quagga/zebra.log:2008/07/01 13:57:21 errors: ZEBRA: Could not lock 
pid_file /var/run/quagga/zebra.pid, exiting
/var/log/quagga/zebra.log:2008/07/10 17:17:27 errors: ZEBRA: Could not lock 
pid_file /var/run/quagga/zebra.pid, exiting
                                ^^^^^^^^^^^^^^^^^^^^^^
                                the last restarting
[EMAIL PROTECTED] 0.99.10 /]#

It is interesting that the bgp daemon runs without these errors.

Important! After that, I stopped watchquagga daemon and I restarted quagga 
daemons, no wunder that error messages haven´t been appearing anymore. Voila!

IMHO, the problem is connected with watchquagga daemon deffinitely.

Daniel

-----Original Message-----
From: Daniel Dvořák [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 07, 2008 4:44 PM
To: 'Sergey Matveychuk'
Cc: 'Boris Kovalenko'; '[EMAIL PROTECTED]'
Subject: RE: FreeBSD Port: quagga-0.99.9_7

And do you use watchquagga in rc.conf ? I do.

Daniel

-----Original Message-----
From: Sergey Matveychuk [mailto:[EMAIL PROTECTED]
Sent: Monday, July 07, 2008 4:21 PM
To: [EMAIL PROTECTED]
Cc: 'Boris Kovalenko'; [EMAIL PROTECTED]
Subject: Re: FreeBSD Port: quagga-0.99.9_7

Daniel Dvořák wrote:
> VERSION 0.99.10# egrep lock /var/log/quagga/zebra.log ^^^^^^^^^^^^^^^ 
> 2008/06/30 01:38:59 errors: ZEBRA: Could not lock pid_file 
> /var/run/quagga/zebra.pid, exiting
> 2008/07/01 13:57:21 errors: ZEBRA: Could not lock pid_file 
> /var/run/quagga/zebra.pid, exiting
> 
> VERSION 0.99.10# egrep lock /var/log/quagga/ospfd.log 2008/06/30
> 01:38:59 errors: OSPF: Could not lock pid_file 
> /var/run/quagga/ospfd.pid, exiting
> 2008/07/01 13:57:21 errors: OSPF: Could not lock pid_file 
> /var/run/quagga/ospfd.pid, exiting
> 
> VERSION 0.99.10# egrep lock /var/log/quagga/ospf6d.log
> 2008/07/01 13:57:21 errors: OSPF6: Could not lock pid_file 
> /var/run/quagga/ospf6d.pid, exiting
> 

Looks like the daemons tried to run twice and fault. But I can see the problem 
on my boxes.

--
Dixi.
Sem.

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to