swordzjj / eventlog-to-syslog

Automatically exported from code.google.com/p/eventlog-to-syslog
0 stars 0 forks source link

Installation of evtsys 4.4 on Windows Server 2008 R2 64bit fails #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using 64bit Version of evtsys
2. Copying evtsys.exe and evtsys.dll to C:\Windows\System32
3. executing command "evtsys -i -h <IP-address>"

What is the expected output? What do you see instead?
Instead of installing, i get the following:
C:\Windows\System32>evtsys -i -h <IP>
Checking ignore file...
Jan 14 17:51:45 ATVIESV051 Error opening file: evtsys.cfg: The system cannot 
find the file specified.

Jan 14 17:51:45 ATVIESV051 Creating file with filename: evtsys.cfg
Jan 14 17:51:45 ATVIESV051 File could not be created: evtsys.cfg: Access is 
denied.

Jan 14 17:51:45 ATVIESV051 File Check Failed!!!
Command did not complete due to a failure

I tried to manually create the evtsys.cfg file, but also did not help:
C:\Windows\System32>evtsys -i -h <IP>
Checking ignore file...
Jan 14 17:54:35 ATVIESV051 Cannot initialize access to registry: 
"Software\ECN\EvtSys\3.0": The operation completed successfully.

Command did not complete due to a failure

What version of the product are you using? On what operating system?
evtsys 4.4 64bit ono Windows Server 2008 R2 64bit

Please provide any additional information below.

Any help would be appreciated...

Greetz,
G.

Original issue reported on code.google.com by prim...@gmail.com on 14 Jan 2011 at 4:57

GoogleCodeExporter commented 8 years ago
I just figured out the problem myself. I had to run "cmd" explicitly as 
Adminstrator (although I was logged on with an Admin account anyway).
Maybe this info is useful for someone else, too.

Sry 4 the inconvenience.

Greetz,
G

Original comment by prim...@gmail.com on 14 Jan 2011 at 5:07

GoogleCodeExporter commented 8 years ago
Yes that is one of the wonders of the new UAC. I'm glad you were able to solve 
it. I really should add an FAQ to the readme file.

Original comment by sherwin....@gmail.com on 14 Jan 2011 at 9:03

GoogleCodeExporter commented 8 years ago
C:\Users\Administrator>evtsys –i –h <IP>
Version: 4.4 (32-bit)
Usage: evtsys -i|-u|-d [-h host] [-b host]
       [-t tag] [-s minutes] [-l level] [-n
  -i           Install service
  -u           Uninstall service
  -d           Debug: run as console progra
  -h host      Name of log host
  -b host      Name of secondary log host
  -f facility  Facility level of syslog mes
  -l level     Minimum level to send to sys
               0=All/Verbose, 1=Critical, 2
  -n           Include only those events sp
  -p port      Port number of syslogd
  -q bool      Query the Dhcp server to obt
               (0/1 = disable/enable)
  -t tag       Include tag as program field
  -s minutes   Optional interval between st

Default port: 514
Default facility: daemon
Default status interval: 0
Host (-h) required if installing.
Command did not complete due to a failure

is there anybody can help me? I had  run "cmd" explicitly as Adminstrator 

Original comment by wangjang...@gmail.com on 8 Mar 2012 at 7:57

GoogleCodeExporter commented 8 years ago
did you type in the command by hand or copy and paste it from a document?

Also, I notice it says 32-bit, are you running this on a 32-bit system?

-Sherwin

Original comment by sherwin....@gmail.com on 9 Mar 2012 at 1:42