cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
931
Views
0
Helpful
2
Replies

LMS 3.2 dmtgd Startup Error

Sean Gilkes
Level 1
Level 1

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

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

What does this script do?  You might try running NMSROOT/setup/support/resetCasuser.exe to reset the casuser password and security settings.

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...