[syslog-ng]solaris 9 problem, no logging

syslog-ng@lists.balabit.hu syslog-ng@lists.balabit.hu
Wed, 26 May 2004 17:47:57 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C4436B.1B6478AC
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Have to check your path to syslog-ng.conf
And you must use option -f when starting syslog-ng,
For ex. /etc/init.d/syslog-ng -f $PATH_TO_SYSLOG_CONF/syslog-ng.conf

Good luck.


-----Message d'origine-----
De : Oscar Knight [mailto:knightod@appstate.edu]=20
Envoy=E9 : 26 mai, 2004 16:58
=C0 : syslog-ng@lists.balabit.hu
Objet : [syslog-ng]solaris 9 problem, no logging


Hello All,

Running Solaris 9.  I installed syslog-ng.  I kill solaris syslogd and =
then
start syslog-ng.  I get nothing.  I even tried "syslog-ng -d -d" It =
says it
started, nothing else.

I use  logger to test, nothing.

Any suggestions?

Some details:
I've installed syslog-ng from sunfreeware.com packages:

 libol-0.3.13-sol9-sparc-local.gz  syslogng-1.6.4-sol9-sparc-local.gz

/etc/syslog-ng/syslog-ng.conf:

 #
 # Syslog-ng example configuration file for Solaris
 #
 # Copyright (c) 1999 Balazs Scheidler
 # $Id: syslog-ng.conf.solaris,v 1.2 1999/11/15 12:30:41 bazsi Exp $  # =
 #
Solaris 2.5.1 and below uses the STREAMS driver, above extends it  # =
with
doors. For 2.5.1 remove the door() option from the source declaration.  =
#

 source local { sun-streams("/dev/log" door("/etc/.syslog_door"));
internal(); };

 #destination all { file("/var/log/messages"); };
 destination all { file("/var/log/syslog"); };

 log { source(local); destination(all); };



Thanks in advance,
odk
--
Oscar D. Knight                              knightod at appstate dot =
edu
                                                      Voice: =
828-262-6946
Appalachian State University, Boone, NC 28608           FAX: =
828-262-2236

_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html

------_=_NextPart_001_01C4436B.1B6478AC
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE>RE : [syslog-ng]solaris 9 problem, no logging</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Have to check your path to syslog-ng.conf</FONT>
<BR><FONT SIZE=3D2>And you must use option -f when starting =
syslog-ng,</FONT>
<BR><FONT SIZE=3D2>For ex. /etc/init.d/syslog-ng -f =
$PATH_TO_SYSLOG_CONF/syslog-ng.conf</FONT>
</P>

<P><FONT SIZE=3D2>Good luck.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Message d'origine-----</FONT>
<BR><FONT SIZE=3D2>De : Oscar Knight [<A =
HREF=3D"mailto:knightod@appstate.edu">mailto:knightod@appstate.edu</A>] =
</FONT>
<BR><FONT SIZE=3D2>Envoy=E9 : 26 mai, 2004 16:58</FONT>
<BR><FONT SIZE=3D2>=C0 : syslog-ng@lists.balabit.hu</FONT>
<BR><FONT SIZE=3D2>Objet : [syslog-ng]solaris 9 problem, no =
logging</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hello All,</FONT>
</P>

<P><FONT SIZE=3D2>Running Solaris 9.&nbsp; I installed syslog-ng.&nbsp; =
I kill solaris syslogd and then start syslog-ng.&nbsp; I get =
nothing.&nbsp; I even tried &quot;syslog-ng -d -d&quot; It says it =
started, nothing else.</FONT></P>

<P><FONT SIZE=3D2>I use&nbsp; logger to test, nothing.</FONT>
</P>

<P><FONT SIZE=3D2>Any suggestions?</FONT>
</P>

<P><FONT SIZE=3D2>Some details:</FONT>
<BR><FONT SIZE=3D2>I've installed syslog-ng from sunfreeware.com =
packages:</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;libol-0.3.13-sol9-sparc-local.gz&nbsp; =
syslogng-1.6.4-sol9-sparc-local.gz</FONT>
</P>

<P><FONT SIZE=3D2>/etc/syslog-ng/syslog-ng.conf:</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;#</FONT>
<BR><FONT SIZE=3D2>&nbsp;# Syslog-ng example configuration file for =
Solaris</FONT>
<BR><FONT SIZE=3D2>&nbsp;#</FONT>
<BR><FONT SIZE=3D2>&nbsp;# Copyright (c) 1999 Balazs Scheidler</FONT>
<BR><FONT SIZE=3D2>&nbsp;# $Id: syslog-ng.conf.solaris,v 1.2 1999/11/15 =
12:30:41 bazsi Exp $&nbsp; #&nbsp; # Solaris 2.5.1 and below uses the =
STREAMS driver, above extends it&nbsp; # with doors. For 2.5.1 remove =
the door() option from the source declaration.&nbsp; #</FONT></P>

<P><FONT SIZE=3D2>&nbsp;source local { sun-streams(&quot;/dev/log&quot; =
door(&quot;/etc/.syslog_door&quot;));&nbsp; internal(); };</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;#destination all { =
file(&quot;/var/log/messages&quot;); };</FONT>
<BR><FONT SIZE=3D2>&nbsp;destination all { =
file(&quot;/var/log/syslog&quot;); };</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;log { source(local); destination(all); =
};</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>Thanks in advance,</FONT>
<BR><FONT SIZE=3D2>odk</FONT>
<BR><FONT SIZE=3D2>--</FONT>
<BR><FONT SIZE=3D2>Oscar D. =
Knight&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; knightod at appstate dot =
edu</FONT>
<BR><FONT =
SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Voice: 828-262-6946</FONT>
<BR><FONT SIZE=3D2>Appalachian State University, Boone, NC =
28608&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FAX: =
828-262-2236</FONT>
</P>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>syslog-ng maillist&nbsp; -&nbsp; =
syslog-ng@lists.balabit.hu <A =
HREF=3D"https://lists.balabit.hu/mailman/listinfo/syslog-ng" =
TARGET=3D"_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</A=
></FONT>
<BR><FONT SIZE=3D2>Frequently asked questions at <A =
HREF=3D"http://www.campin.net/syslog-ng/faq.html" =
TARGET=3D"_blank">http://www.campin.net/syslog-ng/faq.html</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C4436B.1B6478AC--