in server side, I turn on the "-r" switch;
But I still can not see log information in server.
Any idea?
But I still can not see log information in server.
Any idea?
> But I still can not see log information in server.
> Any idea?
also do something that you know will generate a
log
--
Thomas Phipps
www.javatrix.net/whytewolf
Linux User #180408 LFS User #1791
> > But I still can not see log information in server.
> > Any idea?
> you did rember to restart both klogd and syslogd
> right?
> also do something that you know will generate a
> log
And I try in client machine:
logger -u 514 -p authpriv.info "www"
it say: connect failed, not such file.
but I try in client machine
logger -p authpriv.info "www"
"www" will appear in log file. This try also work in server machine.
> But I still can not see log information in server.
> Any idea?
Ken
> > But I still can not see log information in server.
> > Any idea?
> On the system that you want to send out it's syslog
> messages, you will need to start syslogd with -h
> option.
In client side, I also try: logger -u 514 -p authpriv.info "bbb"
then it say: connect: no such file or directory. It seems
syslogd in client side can not use udp port 514 to send out
message.
From the man page:
*********************
-r This option will enable the facility to receive
message from the network using an internet domain
socket with the syslog service (see services(5)).
The default is to not receive any messages from the
network.
This option is introduced in version 1.3 of the
sysklogd package. Please note that the default
behavior is the opposite of how older versions
behave, so you might have to turn this on.
************************
in the /etc/syslog.conf file on the sending host, add this:
Maybe you forgot to let your firewall accept incoming udp packets for port
514?
> > > But I still can not see log information in server.
> > > Any idea?
> > On the system that you want to send out it's syslog
> > messages, you will need to start syslogd with -h
> > option.
> In client side, I try syslog option "-m 0 -h" and
> "-h", neither works.
> In client side, I also try: logger -u 514 -p authpriv.info "bbb"
> then it say: connect: no such file or directory. It seems
> syslogd in client side can not use udp port 514 to send out
> message.
> From the man page:
> *********************
> -r This option will enable the facility to receive
> message from the network using an internet domain
> socket with the syslog service (see services(5)).
> The default is to not receive any messages from the
> network.
> This option is introduced in version 1.3 of the
> sysklogd package. Please note that the default
> behavior is the opposite of how older versions
> behave, so you might have to turn this on.
> ************************
> in the /etc/syslog.conf file on the sending host, add this:
> Maybe you forgot to let your firewall accept incoming udp packets for port
> 514?
> > > > in server side, I turn on the "-r" switch;
> > > > But I still can not see log information in server.
> > > > Any idea?
> > > On the system that you want to send out it's syslog
> > > messages, you will need to start syslogd with -h
> > > option.
> > In client side, I try syslog option "-m 0 -h" and
> > "-h", neither works.
> > In client side, I also try: logger -u 514 -p authpriv.info "bbb"
> > then it say: connect: no such file or directory. It seems
> > syslogd in client side can not use udp port 514 to send out
> > message.
I'm trying to move syslog messages from A (red hat) to B (debian) to C
(Solaris) using remote availabilites with syslog.conf. I
can get A to forward messages to B and B to forward messages to C.
However, I cannot get A to forward messages through
B to C. I have to do it this way for security reasons.
When watching syslogd in debug mode, I can see that C logs "Logging to
CONSOLE /dev/console" to sdout when sshing to
A. However, the connection is not logged into /var/adm/messages.
Any ideas??
Sent via Deja.com http://www.deja.com/
Before you buy.
2. proftpd -- "could not retrieve directory listing"
3. remote logging with syslogd
5. Remote logging with syslogd is broken!?
7. help - remote logging with syslogd
8. IBM RS/6000 Soft ware and Tape Drive
9. Remote logging with syslogd
10. Linux syslogd remote logging?
11. Solaris 8 syslogd - remote logging
13. 4.7, syslogd and remote router logging