Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jul 2008 03:14:44 +0200
From:      =?UTF-8?Q?Daniel_Dvo=C5=99=C3=A1k?= <dandee@hellteam.net>
To:        "'Boris Kovalenko'" <boris@tagnet.ru>
Cc:        ports@FreeBSD.org
Subject:   RE: FreeBSD Port: quagga-0.99.9_7
Message-ID:  <F1E3E1AE87504FA9BFE042E913ADACB5@tocnet28.jspoj.czf>
References:  <000001c87801$bd411a80$6508280a@tocnet28.jspoj.czf> <47C3A89C.5000503@tagnet.ru> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F1E3E1AE87504FA9BFE042E913ADACB5>