Re: --enable-syslog and Solaris 7

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Andrew Sullivan <andrew(at)libertyrms(dot)com>
Cc: PostgreSQL general list <pgsql-general(at)postgresql(dot)org>
Subject: Re: --enable-syslog and Solaris 7
Date: 2001-08-30 14:07:32
Message-ID: 20010830090732.A2871@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

* Andrew Sullivan <andrew(at)libertyrms(dot)com> [010830 08:54]:
> Hi,
>
> I'm having a strange problem with syslog and Solaris 7, and I've run
> out of ideas about what might be wrong.
>
> I configure postgres with --enable-syslog, and everything works fine.
> Configure finds syslog, so that's not a problem. In postgres.conf, I
> have the following:
>
> #
> # Syslog
> #
> #ifdef ENABLE_SYSLOG
> syslog = 2 # range 0-2
> syslog_facility = 'LOCAL1'
> syslog_ident = 'postgres'
> #endif
>
> And, in /etc/syslog.conf, I have
>
> #Postgres logging
>
> local1.* /opt/OXRS/logs/postgres/pg.log
>
> (yes, the whitespace is tabs).
>
> Now, the strange thing is that nothing ever seems to go to the syslog
> daemon. If I start up syslogd with -d, it never shows anything
> coming from postgres, even though I have logging levels turned up.
> If I redirect the log to both console and logfile, I get lots of
> noise on the console, bit nothing in the file, so I know it's not
> from want of data.
>
> Any suggestion is much appreciated, because I'm stumped. I've never
> seen anything like this before.
Any chance syslogd is running up against a file limit of some kind to
get the file open?

And the file exists and has the correct permissions?

I do know the syslog code works, I use it heavily on my
UnixWare/ÓpenUNIX and FreeBSD boxen.

>
> Thanks,
> A
>
>
> --
> ----
> Andrew Sullivan 87 Mowat Avenue
> Liberty RMS Toronto, Ontario Canada
> <andrew(at)libertyrms(dot)com> M6K 3E3
> +1 416 646 3304 x110
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
>

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2001-08-30 14:26:56 Re: --enable-syslog and Solaris 7
Previous Message A. Snelders 2001-08-30 13:56:56 Re: Locate on Max() and Group By