Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - question of syslogd: (2 Items)
   
question of syslogd  
Hi,

I'm running qnx6.4.1 on a ppc target. the syslogd was not loaded on the image so that the default config file and the 
log file cuold not be created under "/var..." which is RO. I've "/tmp" dir WR. I tried to make the syslogd running in 
the following steps:

1. ftp the right syslogd binary to /tmp from /opt/qnx... directory
2. created a syslog.conf with only one line as below,
  * /tmp/messages
3. start the syslogd as below,
 >syslogd -f /tmp/syslog.conf

To test, the following command was issued;
> logger -s hello

The message was showed on the terminal, but nothing was logged. The log file "/tmp/messages' was not created.

Any idea/help would be appreciated!

Re: question of syslogd  
On Thu, Apr 15, 2010 at 05:07:43PM -0400, quansheng wu wrote:
> Hi,
> 
> I'm running qnx6.4.1 on a ppc target. the syslogd was not loaded on the image so that the default config file and the 
log file cuold not be created under "/var..." which is RO. I've "/tmp" dir WR. I tried to make the syslogd running in 
the following steps:
> 
> 1. ftp the right syslogd binary to /tmp from /opt/qnx... directory
> 2. created a syslog.conf with only one line as below,
>   * /tmp/messages

Does the following make a difference?

*.* /tmp/messages

> 3. start the syslogd as below,
>  >syslogd -f /tmp/syslog.conf
> 
> To test, the following command was issued;
> > logger -s hello
> 
> The message was showed on the terminal, but nothing was logged. The log file "/tmp/messages' was not created.
> 
> Any idea/help would be appreciated!
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post51864
>