Check Config not working immediately after install?

6 posts / 0 new
Last post
newtondevice
Offline
Last seen: 5 years 11 months ago
Joined: 10.11.2011 - 17:42
Check Config not working immediately after install?

I just installed NagWin on a Windows 7 machine running no web servers or other server-style software. I used the directions at http://itefix.no/i2/node/12482 including starting the Services and then ran the Check Nagios Config utility and am receiving the following result:

Reading configuration data...

   Read main config file okay...

Warning: Could not set effective UID=1003

   Failed to drop privileges.  Aborting.


***> One or more problems was encountered while processing the config files...


     Check your configuration file(s) to ensure that they contain valid

     directives and data defintions.  If you are upgrading from a previous

     version of Nagios, you should be aware that some variables/definitions

     may have been removed or modified in this version.  Make sure to read

     the HTML documentation regarding the config files, as well as the

     'Whats New' section to find out what has changed.

 

Can anyone point me in the right direction as to what I might have done wrong or what I might need to change?

newtondevice
Offline
Last seen: 5 years 11 months ago
Joined: 10.11.2011 - 17:42
I'm seeing a lot of activity

I'm seeing a lot of activity on the board in the last two hours but nothing on this post...is my question too basic so I'm just being ignored? If so just let me know, we need to get this up and running and I've been beating my head against the wall for over a week now.

newtondevice
Offline
Last seen: 5 years 11 months ago
Joined: 10.11.2011 - 17:42
No response after over 8 hours...?

I guess you have to be an established member of the community or meet some post standard I didn't see in order to rate a response around here. That's disappointing, I thought the open-source community was generally supposed to be helpful.

itefix
Offline
Last seen: 14 min 35 sec ago
Joined: 01.05.2008 - 21:33
Seems that the problem is

Seems that the problem is related to account setup. If you've tried to reinstall Nagwin, make sure that the service account is deleted before a reinstallation.  Can you publish contents of  files etc/passwd and etc/group ?

newtondevice
Offline
Last seen: 5 years 11 months ago
Joined: 10.11.2011 - 17:42
Thank you!

Group:

SYSTEM:S-1-5-18:18:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Cryptographic Operators:S-1-5-32-569:569:
Distributed COM Users:S-1-5-32-562:562:
Event Log Readers:S-1-5-32-573:573:
Guests:S-1-5-32-546:546:
IIS_IUSRS:S-1-5-32-568:568:
Network Configuration Operators:S-1-5-32-556:556:
Performance Log Users:S-1-5-32-559:559:
Performance Monitor Users:S-1-5-32-558:558:
Power Users:S-1-5-32-547:547:
Remote Desktop Users:S-1-5-32-555:555:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
None:S-1-5-21-2375802078-1423229213-3210898512-513:513:
 

Passwd:

SYSTEM:*:18:544:,S-1-5-18::
LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused:500:513:U-SETHATWORK\Administrator,S-1-5-21-2375802078-1423229213-3210898512-500:/home/Administrator:/bin/bash
Guest:unused:501:513:U-SETHATWORK\Guest,S-1-5-21-2375802078-1423229213-3210898512-501:/home/Guest:/bin/bash
Seth:unused:1000:513:U-SETHATWORK\Seth,S-1-5-21-2375802078-1423229213-3210898512-1000:/home/Seth:/bin/bash
SvcNagwin:unused:1005:513:SvcNagwin,U-SETHATWORK\SvcNagwin,S-1-5-21-2375802078-1423229213-3210898512-1005:/home/SvcNagwin:/bin/bash
 

itefix
Offline
Last seen: 14 min 35 sec ago
Joined: 01.05.2008 - 21:33
Can't see any user with uid

Can't see any user with uid 1013 in passwd file. Something weird here. Do you have any other Cygwin installations on your machine. I recommend to uninstall Nagwin, remove the installation directory and the Nagwin service account and try to install again.