Page 1 of 3

nxlog and windas

Posted: Tue Oct 21, 2014 1:17 pm
by benhank
I installed the nxlog using the defaults and saved the new nxlog data, to the nxlog config file.
but on two separate windas machines , i gets the followin errah(s):
Capture.JPG
an
Capture2.JPG
one errah i can take, but too is just an insult to my smahtness...

Re: nxlog and windas

Posted: Tue Oct 21, 2014 1:18 pm
by slansing
So one is working fine, two are not? What versions of windows? (hopefully not 95).

Re: nxlog and windas

Posted: Tue Oct 21, 2014 2:08 pm
by vAJ
Check nxlog\data\nxlog.log

My test agent was a little iffy. Should get good clues there.

Re: nxlog and windas

Posted: Tue Oct 21, 2014 2:24 pm
by benhank
ty sir i will!

Re: nxlog and windas

Posted: Tue Oct 21, 2014 2:30 pm
by benhank
ok the nxlog has:

Code: Select all

nxlog failed to start: Couldn't change to SpoolDir 'C:\Program Files (x86)\nxlog\data'
The system cannot find the path specified.  
I also ran the nxlog-stmnt-verifier.exe, and got this:
Capture.JPG

Re: nxlog and windas

Posted: Tue Oct 21, 2014 2:35 pm
by vAJ
Does your conf look like this:

Code: Select all

define ROOT C:\Program Files (x86)\nxlog
define CERT %ROOT%\cert
 
Moduledir %ROOT%\modules
CacheDir %ROOT%\data
Pidfile %ROOT%\data\nxlog.pid
SpoolDir %ROOT%\data
LogFile %ROOT%\data\nxlog.log

Re: nxlog and windas

Posted: Tue Oct 21, 2014 2:36 pm
by sreinhardt
Couple things:
Does that directory exist? "C:\Program Files (x86)\nxlog\data"
Is nxlog installed in program files or program files x86?
Is this a 32 or 64 bit windows system?
Which variant of nxlog did you install(32/64)?
What windows OS is this?
If you open up the properties of the nxlog service, who is the service set to runas under the Log On tab?

Re: nxlog and windas

Posted: Tue Oct 21, 2014 2:41 pm
by vAJ
Isn't there only a 32-bit Windows client? http://sourceforge.net/projects/nxlog-ce/files/

Re: nxlog and windas

Posted: Tue Oct 21, 2014 3:40 pm
by sreinhardt
It's been a few weeks at least since I've done a windows install, but I could have sworn there were two installs. I know that it does work on my 2012R2 server with whatever I installed there. Let me take a peek, back in a few.

Re: nxlog and windas

Posted: Tue Oct 21, 2014 3:59 pm
by sreinhardt
So it looks like I did download the link vAJ provided, the nxlog-ce-2.8.1248.msi on my system and have it working fine. Some additional info that might help you guys try it out:

nxlog.conf is attached

Possible, but not listed prereqs that my server has:
MS visual C++ 2k8 9.0.30729.4145 - both x86 and x64
MS visual C++ 2k8 9.0.30729.6161 - both x86 and x64
.NET Framework 3.5, Just the framework portion that includes 2.0 and 3.0, not the activation stuff)
.NET Framework 4.5, Main framework and WCF Services

Nothing else really sticks out to me as things that are likely to cause issues, and I did not specifically install any of this as a dependency or specifically for nxlog. If I had to pick any one thing out of there, my guess would be that .NET 3.5 is what you are missing. It provides some very key non-default things for providing correct environments that non-standard services need. You should be able to add this via the add/remove roles and features in 2k8+.