Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2004 18:14:40 +0100
From:      "Lars Wittebrood" <lars@socruel.nu>
To:        "Garance A Drosehn" <gad@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   RE: Syslog-ng port and newsyslog
Message-ID:  <2578F22C7A5515449899AF290E2D4832023F7D@lotus.ad.socruel.org>

next in thread | raw e-mail | index | archive | help
Hi Garance,

Thanx for your reply. All working now. I mixed things up. After using
the right .pid file for Syslog-ng (syslog.pid) all working fine
including zipping of rotated logs.

Regards,
Lars.

-----Original Message-----
From: Garance A Drosehn [mailto:gad@FreeBSD.org]=20
Posted At: vrijdag 3 december 2004 23:11
Posted To: freebsd-ports
Conversation: Syslog-ng port and newsyslog
Subject: Re: Syslog-ng port and newsyslog


At 8:49 PM +0100 12/3/04, freebsd-ports wrote:
>Hello,

Hi.  I am one of the guys who has worked on newsyslog.

>I have installed the Syslog-ng port and I do not seem to get the=20
>rotation of the logfiles right.
>
>Newsyslog has /var/run/syslog.pid hardcoded as it's pid file, so I=20
>already configured this as the pid file for syslog-ng. But at rotation=20
>newsyslog doesn't zip the logfiles as stated in my /etc/newsyslog.conf=20
>file.
>
>Does anyone have a clue what is wrong here?

So the files are always rotated, but they are not getting zipped?
Do you see any messages in /var/log/messages at the time of the
rotation?

If you 'cat /var/run/syslog.pid', what process number do you see?
Is it the right process ID for your syslog_ng process?
Is the standard syslog still running?  (check with 'ps', just to see if
something has fired it up by mistake).

Try running 'newsyslog -nvv', and see if that gives you any error
message about the PID file.

Also, note that you can change your newsyslog.conf file to specify which
PID file to look at.  Perhaps that would work.

I am just about to leave for the day, but I will probably be in later
today or sometime over the weekend.  Let me know if you can get it
working.

--=20
Garance Alistair Drosehn     =3D      gad@gilead.netel.rpi.edu
Senior Systems Programmer               or   gad@FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA




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