[BusyBox] Remote logging with syslogd
kanhu rauta
kanhu2004 at rediffmail.com
Mon Mar 21 13:39:20 UTC 2005
Content-type: multipart/alternative;
boundary="Next_1111412360---0-203.199.83.39-9757"
This is a multipart mime message
--Next_1111412360---0-203.199.83.39-9757
Content-type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
=0AHi all,=0A=0AI am using BusyBox v0.60.4 with uClinux.=0AI have selecte=
d the klogd and syslogd options of busybox on compilation.=0AWhen I load th=
is image on my gateway,both process has started successfully.=0A/>ps=0A=0A>=
PID TTY Uid Size State Command=0A> 1 root =
0 S /sbin/init=0A> 2 root 0 S [keventd]=0A> =
3 root 0 S [ksoftirqd_CPU0]=0A> 4 root =
0 S [kswapd]=0A> 5 root 0 S [bdflush]=
=0A> 6 root 0 S [kupdated]=0A> 51 root =
0 S /bin/dhcpd LAN=0A> 77 root 0 S cho=
is -gserver 54273=0A> 80 root 0 S /bin/dnsmasq -r /=
etc/resolv.dnsmasq=0A> 84 ttyS0 root 0 S /bin/sh=0A> 8=
5 root 0 S /bin/inetd=0A> 86 root =
0 S /bin/syslogd -n=0A> 87 root 0 S /bin/klogd =
-n=0A> 90 ttyS0 root 0 R ps=0A=0A=0AI get the kernel log =
messages in the file /var/log/messages.=0AI want to forward this kernel lo=
g to a remote machine,Then i exucute the follwing command=0A/>/bin/syslogd =
-R 192.168.5.4:514 &=0A/>ps=0A=0A> PID TTY Uid Size State Comma=
nd=0A> 1 root 0 S /sbin/init=0A> 2 roo=
t 0 S [keventd]=0A> 3 root 0 S [ksoft=
irqd_CPU0]=0A> 4 root 0 S [kswapd]=0A> 5 =
root 0 S [bdflush]=0A> 6 root 0 S =
[kupdated]=0A> 51 root 0 S /bin/dhcpd LAN=0A> 77=
root 0 S chois -gserver 54273=0A> 80 root =
0 S /bin/dnsmasq -r /etc/resolv.dnsmasq=0A> 84 ttyS0 root=
0 S /bin/sh=0A> 85 root 0 S /bin/inet=
d=0A> 86 root 0 S /bin/syslogd -n=0A> 87 =
root 0 S /bin/klogd -n=0A> 89 ttyS0 root 0 S =
/bin/syslogd -R 192.168.5.4:514=0A> 93 ttyS0 root 0 R p=
s=0A=0A=0A=0AThe machine 192.168.5.4 is reachable from my gateway(able to p=
ing).=0AThe syslogd service on 192.168.5.4 is able to listen on remote mach=
ine.(Its /var/log/messages shows the log of 3-machines).=0ABut i am unable =
to get the Log of Gateway(192.168.5.1) on This machine(192.168.5.4).=0A=0AS=
orry for my poor english,=0APlease help me.=0A=0AWith Regards=0AKanhu=0A
--Next_1111412360---0-203.199.83.39-9757
Content-type: text/html;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<P>=0A <BR>=0AHi all,<BR>=0A<BR>=0AI am using BusyBox v0.60.4 with uC=
linux.<BR>=0AI have selected the klogd and syslogd options of busybox on co=
mpilation.<BR>=0AWhen I load this image on my gateway,both process has star=
ted successfully.<BR>=0A/>ps<BR>=0A<BR>=0A> PID TTY  =
; Uid Size State Command<BR>=0A>  =
; 1 root 0&n=
bsp; S /sbin/init<BR>=0A> 2 &n=
bsp; root 0 S [keventd]<BR=
>=0A> 3 root &nbs=
p; 0 S [ksoftirqd_CPU0]<BR>=0A> =
4 root 0&nb=
sp; S [kswapd]<BR>=0A> 5  =
; root 0 S [bdflush]<BR>=
=0A> 6 root  =
; 0 S [kupdated]<BR>=0A> 51&nbs=
p; root 0 S&=
nbsp; /bin/dhcpd LAN<BR>=0A> 77 =
root 0 S chois -gserver 5=
4273<BR>=0A> 80 root &nbs=
p; 0 S /bin/dnsmasq -r /etc/resolv.dnsma=
sq<BR>=0A> 84 ttyS0 root =
0 S /bin/sh<BR>=0A> 85 &n=
bsp; root 0 S /bin/=
inetd<BR>=0A> 86 root &nb=
sp; 0 S /bin/syslogd -n<BR>=0A> =
87 root &nbs=
p; 0 S /bin/klogd -n<BR>=0A> 90 ttyS0 =
root 0 R ps<BR>=0A<BR>=0A<B=
R>=0AI get the kernel log messages in the file /var/log/messages.<BR>=0AI w=
ant to forward this kernel log to a remote machine,Then i exucute the=
follwing command<BR>=0A/>/bin/syslogd -R 192.168.5.4:514 &<BR>=0A/&=
gt;ps<BR>=0A<BR>=0A> PID TTY Uid =
Size State Command<BR>=0A> 1 &=
nbsp; root 0 S /sbin/init<=
BR>=0A> 2 root &n=
bsp; 0 S [keventd]<BR>=0A> 3&n=
bsp; root 0 =
S [ksoftirqd_CPU0]<BR>=0A> 4 &n=
bsp; root 0 S [kswapd]<BR>=
=0A> 5 root  =
; 0 S [bdflush]<BR>=0A> 6 =
; root 0 S&n=
bsp; [kupdated]<BR>=0A> 51 roo=
t 0 S /bin/dhcpd LAN<BR>=0A=
> 77 root &=
nbsp; 0 S chois -gserver 54273<BR>=0A> =
80 root 0&nb=
sp; S /bin/dnsmasq -r /etc/resolv.dnsmasq<BR>=0A> 8=
4 ttyS0 root 0 S /bi=
n/sh<BR>=0A> 85 root &nbs=
p; 0 S /bin/inetd<BR>=0A>  =
; 86 root 0&n=
bsp; S /bin/syslogd -n<BR>=0A> 87 &nbs=
p; root 0 S /bin/kl=
ogd -n<BR>=0A> 89 ttyS0 root &nb=
sp; 0 S /bin/syslogd -R 192.168.5.4:514<BR>=0A>&nbs=
p; 93 ttyS0 root 0 R=
ps<BR>=0A<BR>=0A<BR>=0A<BR>=0AThe machine 192.168.5.4 is reachable =
from my gateway(able to ping).<BR>=0AThe syslogd service on 192.168.5.4 is =
able to listen on remote machine.(Its /var/log/messages shows the log of 3-=
machines).<BR>=0ABut i am unable to get the Log of Gateway(192.168.5.1) on =
This machine(192.168.5.4).<BR>=0A<BR>=0ASorry for my poor english,<BR>=0APl=
ease help me.<BR>=0A<BR>=0AWith Regards<BR>=0AKanhu<BR>=0A=0A</P>=0A<br><br=
>=0A<A target=3D"_blank" HREF=3D"http://clients.rediff.com/signature/track_=
sig.asp"><IMG SRC=3D"http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/ww=
w.rediffmail.com/inbox.htm at Bottom" BORDER=3D0 VSPACE=3D0 HSPACE=3D0></a>=0A
--Next_1111412360---0-203.199.83.39-9757--
More information about the busybox
mailing list