From owner-freebsd-ports@FreeBSD.ORG Fri Jul 4 01:14:45 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EE7A106566C for ; Fri, 4 Jul 2008 01:14:45 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from lucifer.hellteam.net (lucifer.hellteam.net [88.86.107.21]) by mx1.freebsd.org (Postfix) with ESMTP id 144E58FC26 for ; Fri, 4 Jul 2008 01:14:44 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from smtp.hellteam.net (rik.hellteam.net [78.108.102.225]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by lucifer.hellteam.net (Postfix) with ESMTPS id 395856DC; Fri, 4 Jul 2008 03:15:41 +0200 (CEST) Received: from gandalf (gandalf.tocnet28.jspoj.czf [10.40.8.101]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by smtp.hellteam.net (Postfix) with ESMTP id BC634570066; Fri, 4 Jul 2008 03:14:44 +0200 (CEST) From: =?UTF-8?Q?Daniel_Dvo=C5=99=C3=A1k?= To: "'Boris Kovalenko'" References: <000001c87801$bd411a80$6508280a@tocnet28.jspoj.czf> <47C3A89C.5000503@tagnet.ru> Date: Fri, 4 Jul 2008 03:14:44 +0200 Organization: Projekt HELL Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 In-Reply-To: Thread-Index: Ach4O77Tqcjny98ySXGfXczrukl4EgAJ5oogGUIlTkA= Cc: ports@FreeBSD.org Subject: RE: FreeBSD Port: quagga-0.99.9_7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dandee@hellteam.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2008 01:14:45 -0000 >Very strange, but looks like this is a problem in system's rc, as my rc = does not have 34978 lines of code :) Hi Boris, The problem I haven=C2=B4t solved since February, when I met with him = again by chance in July when dealing with another problem, a new = multicast api in FreeBSD 7. I will write another report the following = e-mail on multicast. I found out that this strange number "[: 34978: unexpected operator" is = not at all a number of lines of code, but it is PID! It is a PID of daemon, which was running, but for some reason has been = terminated, for example by signal 11 and an integral condition is that = in /var/run/ quagga is the rest of the daemon, the pid file is opened. So when a user runs /usr/local/etc/rc.d/quagga start|stop|restart so it = just appears these nonsenses on some unexpected operators. I can not repeat it because I do not know how to simulate freezing = process expediently. But I am sure that this is PID number, because in the list of running = processes "ps aux" were two processes ospfd and one of them had the same = number like the number in error message. When I was killed the process with the number from error message and = restarted quagga, the error message suddenly disappeared, it would lead = to think that, between February to July the error unexpected end of the = process become, and that I am, of course, it could not even see, and = finally that it is rare phenomenon. Respect, Daniel -----Original Message----- From: Boris Kovalenko [mailto:boris@tagnet.ru] Sent: Tuesday, February 26, 2008 6:50 AM To: dandee@hellteam.net Subject: Re: FreeBSD Port: quagga-0.99.9_7 Hello! > Hi Boris, > Sometimes when I use quagga script for start, restart or status=20 > commands, there turns up strange message about unexpected operator on=20 > the different routers with quagga. > I have some routers based on Linux and these errors are not there. > # /etc2/rc.d/quagga status > [: 34978: unexpected operator ----<<< strange Very strange, but looks like this is a problem in system's rc, as my rc = does not have 34978 lines of code :) > quagga is running as pid 35227. > quagga is running as pid 35233. > quagga is running as pid 35239. > Sleeping 10 seconds to obtain dynamic routing information... > Thanks. > Bye. > Daniel Respect, Boris