I've installed the Debian nxlog package on my server and set up a client side 
machine that should be transmitting log files.

I can't easily reboot the server so I tried nxlog-processor from the command 
line, but the clients never connected...
.168.10.1:5114;Connection timed out
2013-12-09 17:35:24 INFO last message repeated 2 times
2013-12-09 17:35:24 ERROR couldn't connect to tcp socket on 
192.168.10.1:5116;Connection timed out
2013-12-09 17:35:24 ERROR couldn't connect to tcp socket on 
192.168.10.1:5115;Connection timed out
2013-12-09 17:35:34 INFO connecting to 192.168.10.1:5115
2013-12-09 17:35:34 INFO connecting to 192.168.10.1:5114

When I run nxlog as su, it starts exits almost immediately with no nxlog log 
created.

Are there more steps to getting it running in Linux?  Do I need to create a 
user nxlog.

This is my config file on the server, translated from a similar Windows 
installation...

Thanks
Larry
## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.

##define ROOT C:\nxlog

##Moduledir %ROOT%\modules
##CacheDir %ROOT%\data
##Pidfile %ROOT%\data\nxlog.pid
##SpoolDir %ROOT%\data
##LogFile %ROOT%\data\nxlog.log

<Input platypus>
    Module      im_tcp
    Host   0.0.0.0
    Port        5114
</Input>

<Input syslog>
    Module      im_tcp
    Host   0.0.0.0
    Port        5115
</Input>

<Input breakpad>
    Module      im_tcp
    Host        0.0.0.0
    Port        5116
</Input>

<Output out>
    Module      om_file
    File        "/tmp/nxlog/platypus/UUT_" + $MessageSourceAddress + "_" + 
year(now()) + "_" + month(now()) + "_" + day(now()) + "_platypus.log""
</Output>

<Output out2>
    Module      om_file
#   File        "C:\\nxlog\platypus\UUT_" + $MessageSourceAddress + "_" + 
year(now()) + "_" + month(now()) + "_" + day(now()) + "_syslog.log""
    File        "/tmp/nxlog/platypus\UUT_" + $MessageSourceAddress + "_" + 
year(now()) + "_" + month(now()) + "_" + day(now()) + "_syslog.log""
</Output>

<Output out3>
    Module      om_file
    File        "/tmp/nxlog/platypus/UUT_" + $MessageSourceAddress + "_" + 
year(now()) + "_" + month(now()) + "_" + day(now()) + "_crashlog.log""
</Output>


# Port 5114
<Route 1>
    Path        platypus => out
</Route>

# Port 5115
<Route 2>
    Path        syslog => out2
</Route>

# Port 5116
<Route 3>
    Path        breakpad => out3
</Route>




------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to