12-08-2009 12:31 AM
Running on a Windows 2008 (with SP1) system. The system was running properly until someone tried to run a script they had been using on the previous LMS 3.1 system. Now the daemon manager will not start, and the dmgrDBg.log file has the following entries:
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgrDbg] getenv(PX_MY_TRACE)=[1]
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgrDbg] getenv(PX_DBG_LEVEL)=[1]
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgr-debug]Is this starting the startup service
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgr-debug]CRMDmgtdService::Run
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main] ENTER; argc=1.
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main] argv[0]=[CRMDmgtd]
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main] will daemon_init().
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::daemon_init] ENTER.
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::daemon_init] RETURN 0 (OK).
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main] done daemon_init().
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main] progName=[CRMDmgtd].
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main] will new CatLogMsg(SYSLOG).
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main] done new CatLogMsg(SYSLOG).
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main]; will new CStartup().
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main]; done new CStartup().
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main]; <NT> will theStartup->CreateUserToken().
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main]; <NT> ERROR >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main]; <NT> CreateUserToken() failed; lastError=0x00000569.
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main]; <NT> CreateUserToken() failed; log msg#2507.
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::cleanUp] ENTER.
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::cleanUp] will delete theStartup.
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::cleanUp] will delete theLog.
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::cleanUp] RETURN void.
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgrDbg][dmgtd.cpp::main]; <NT> CreateUserToken() failed; RETURN EXIT_FAILURE=1.
[Tue Dec 08 09:00:03 W. Europe Standard Time 2009][dmgr-debug]Is service stopped
Short of rebuilding the system from scratch, how can I identify what is wrong and how to fix it..?
Cheers,
SRGi
12-08-2009 10:24 AM
What does this script do? You might try running NMSROOT/setup/support/resetCasuser.exe to reset the casuser password and security settings.
12-08-2009 11:24 PM
The issue was not the password, but the security settings. It seems someone decided to remove the assignment "Log on as a batch job" from the CASUSER rights... The script itself is a simple perl script that calls DCRCLI to perform additions or deletions...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide