From owner-freebsd-ports@FreeBSD.ORG Thu Jun 28 01:35:21 2007 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28E0616A41F for ; Thu, 28 Jun 2007 01:35:21 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from pipa.vshosting.cz (pipa.vshosting.cz [81.0.201.10]) by mx1.freebsd.org (Postfix) with ESMTP id B064013C480 for ; Thu, 28 Jun 2007 01:35:20 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from localhost (localhost [127.0.0.1]) by pipa.vshosting.cz (Postfix) with ESMTP id 8895D1C976A; Thu, 28 Jun 2007 03:35:20 +0200 (CEST) Received: from pipa.vshosting.cz ([127.0.0.1]) by localhost (pipa [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03391-03; Thu, 28 Jun 2007 03:35:15 +0200 (CEST) Received: from gandalf (rikgw.hellteam.net [82.208.56.201]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by pipa.vshosting.cz (Postfix) with ESMTP id D241E1C97E9; Thu, 28 Jun 2007 03:35:14 +0200 (CEST) From: =?utf-8?Q?Daniel_Dvo=C5=99=C3=A1k?= To: Date: Thu, 28 Jun 2007 03:35:12 +0200 Organization: Projekt HELL Message-ID: <001701c7b924$92a58230$6508280a@tocnet28.jspoj.czf> 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.3138 thread-index: Ace5JJJZX5ovTy+9QQCWh3DkiUO4vQ== X-Virus-Scanned: by amavisd-new at pipa.vshosting.cz Cc: ports@FreeBSD.org Subject: FreeBSD Port: quagga-0.99.7_2 - quagga restartting is broken ? 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: Thu, 28 Jun 2007 01:35:21 -0000 Hi Boris, I have a problem with restarting quagga by our script for a long time, I = guess since that time when the script was moved from /etc/rc.d/ to = /usr/local/etc/rc.d/. And before this major change each restarting of = quagga was successful. I can swear on it. :) When I restart quagga, the router is unreachable at once, the last = message before ssh client is kicked out: # /usr/local/etc/rc.d/quagga restart Stopping quagga. PuTTY (inactive) to be illustrative :) I can reach to the router from another host which is in the same network = like my router fortunately. And what I see ? # /usr/local/etc/rc.d/quagga status quagga is running as pid 1164. quagga is running as pid 802. >From ps aux: # ps aux | grep "ospfd" quagga 802 0.0 2.7 4704 3260 ?? Ss 2:38AM 0:04.24 = /usr/local/sbin/ospfd -d # ps aux | grep "zebra" quagga 1665 3.2 2.0 3868 2508 ?? Ss 3:05AM 0:15.89 = /usr/local/sbin/zebra -d So I begin to repeat restarting again: # /../rc.d/quagga restart Stopping quagga. Starting quagga. # /../rc.d/quagga status quagga is running as pid 1251. quagga is running as pid 802. # /../rc.d/watchquagga stop Stopping watchquagga. # /../rc.d/quagga restart Stopping quagga. Starting quagga. # /../rc.d/quagga status quagga is running as pid 1396. quagga is running as pid 802. So zebra daemon is definitely stopped and started. But something wrong is with ospfd, it has the same PID like before. When I do clean stop-status-start-status sequence, quagga works well = again. # /usr/local/etc/rc.d/quagga stop Stopping quagga. Stopping quagga. # /usr/local/etc/rc.d/quagga status quagga is not running. quagga is not running. # /usr/local/etc/rc.d/quagga start Starting quagga. Starting quagga. # /usr/local/etc/rc.d/quagga status quagga is running as pid 1868. quagga is running as pid 1874. And for be sure: # /usr/local/etc/rc.d/quagga restart Stopping quagga. Waiting for PIDS: 1868. Starting quagga. # /usr/local/etc/rc.d/quagga status quagga is running as pid 2343. quagga is running as pid 1874. # ps aux | grep "ospfd" quagga 1874 0.0 2.7 4668 3264 ?? Ss 3:17AM 0:00.64 = /usr/local/sbin/ospfd -d root 2368 0.0 0.8 1608 1012 p1 R+ 3:18AM 0:00.02 grep = ospfd During this time, the routing table is half-empty or almost empty, = unlike the time when quagga works well with 200 and more routes. So tell me please, what is wrong here ? Bye Dan