[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] Diverting syslogs to remote servers



Thanks! This worked

Thanks & regards,
Amruta Bhat
 
 

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx] On Behalf Of David McCullough
Sent: Wednesday, July 15, 2009 3:45 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] Diverting syslogs to remote servers


Jivin Bhat, Amruta lays it down ...
> Thanks for this.
> 
> At boot time I get error /bin/syslogd init: /bin/syslogd respawning too fast
> If the syslogd is restarted manually, following errors are seen.
> # syslogd: Could not connect to socket /dev/log: Read-only file system
> 
> Is there any way I can use syslog without having to change my root file system to ramfs?

Add something like this:

	$(ROMFSINST) -s /var/tmp/log /dev/log

to the romfs section of your vendor/XXX/YYY/Makefile, providing of course
/var/tmp is a writable filesystem ;-)

Cheers,
Davidm

> 
> Thanks & regards,
> Amruta Bhat
>  
>  
> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx] On Behalf Of David McCullough
> Sent: Tuesday, July 14, 2009 4:25 PM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: Re: [microblaze-uclinux] Diverting syslogs to remote servers
> 
> 
> Jivin Bhat, Amruta lays it down ...
> > Hi,
> > I want to divert my petalinux syslogs to remote syslog server. For this I need to edit /etc/syslog.conf. But the option for selecting syslog says it ignores this configuration. In this case how do I redirect my syslog to remote server?
> > 
> > The help string says following:
> > CONFIG_USER_BUSYBOX_SYSLOGD:  Linux system and kernel logging utility. Note that this version of syslogd ignores /etc/syslog.conf.
> 
> The uClinux-dist version supports it (and most likely the petalinux one does
> too).
> 
> Have a look at:
> 
> 	user/busybox/sysklogd/syslogd.conf.sample
> 
> depending on your config the file will be /etc/syslogd.config or
> /etc/config/syslogd.conf,
> 
> Cheers,
> Davidm
> 
> -- 
> David McCullough,  david_mccullough@xxxxxxxxxxxxxxxxxxx,  Ph:+61 734352815
> McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> 
> 
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> 

-- 
David McCullough,  david_mccullough@xxxxxxxxxxxxxxxxxxx,  Ph:+61 734352815
McAfee - SnapGear  http://www.snapgear.com                http://www.uCdot.org
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/