After rebooting, network connection need about 1mn to obtain a new
DHCP lease after winlogon.
After checking Event Log, i've noticed errors about MSMQ.
I have set MSMQ service and MSMQTriggers service to startup type:
Manual.
Now logon to Windows is faster and i get an IP from my router in a few
sec.
I have rebuilt a new QMLog file using tip described in:
http://download.microsoft.com/download/F/C/9/FC9989A2-DA75-4D96-B654-4BD29CF6AEE1/MSMQ_faq_updated.doc
The logger files cannot be initialized. The file QMLog in the Msmq
\Storage folder is corrupted or absent. To start the Message Queuing
service without loosing consistency, you must correct or recover this
file (e.g. from a backup). To start the service for emergency use
(with a potential loss of data consistency), delete the files QMLog,
MQTrans.lg1, MQTrans.lg2, MQInSeqs.lg1, and MQInSeqs.lg2 from the Msmq
\Storage folder and add the DWORD registry key HKLM\Software\Microsoft
\MSMQ\Parameters\LogDataCreated with a value of 0.
I haven't deleted *.lg?
Computer is workgroup, not a member of AD. although Netlogon service
is enabled (due to installation of a 2nd GINA for SmartCard logon)
Q: reg query "HKLM\SOFTWARE\Microsoft\MSMQ\Parameters" /v Workgroup
A: Workgroup REG_DWORD 0x1
tmq state
[quote]
tmqstate run at: Mon Jun 01 16:05:53 2009
TMQ State reviews the state of the MSMQ service
Machine OEM- , time is Mon Jun 01 16:05:53 2009
*** OS: 5.1 Build: 2600 Product type (1): Windows XP Workstation
*** OS Service Pack: 2.0 Service Pack 2
Test module R:\temp\tmq.exe built on Oct 3 2004 (at 20:16:34)
General environment data:
Machine OEM-, time is Mon Jun 01 16:05:53 2009
OS version: 5.1 Build: 2600 Service Pack 2
Platform: Win32 on Windows XP
Flavor: Professional
OS Service Pack: 2.0
System dir = C:\WINDOWS\system32 ; windows dir = C:\WINDOWS
Current user is OEM-\Administrator
2 processors of the level 15 , rev 1027; app memory limits 0x10000 -
0x7ffeffff
The computer is joined to domain Workgroup
MSMQ installation type: Workgroup
Setup state is MSMQ_SETUP_DONE
Found drop Windows XP SP2
!!! Warning: Failed to get value of registry key: SOFTWARE\Microsoft
\MSMQ\Parameters\DsEnvironment, return value: 2
!!! Warning: Failed to get value of registry key: SOFTWARE\Microsoft
\MSMQ\Parameters\MachineCache\MachineJournalQuota, return value: 2
!!! Warning: Failed to get value of registry key: SOFTWARE\Microsoft
\MSMQ\Parameters\MachineCache\MachineQuota, return value: 2
!!! Warning: Failed to find all appropriate entries in the registry
Ignoring differences in registry settings.
Storage size summary:
total 6,291,552 bytes (6 MB)
recoverable 0 bytes
journal 0 bytes
express 0 bytes
bitmaps 0 bytes
xact logs 6,291,552 bytes
LQS data 0 bytes
Disk usage summary:
Disk C:\ has over 774 MB free
Memory usage summary:
Physical Memory (K)
Total 2,087,408
Available 1,521,888 - (72% of total)
Pools limitations (calculated approximately, in KB)
Paged : limit 307,200 used for 9 %
Nonpaged : limit 262,144 used for 4 %
Calculations are wrong (NIY) if you boot with /3GB or /
4GB option
Last 5 system error events:
---------------------------
Mon Jun 01 17:00:38 2009 Error 5719 from NETLOGON
No Domain Controller is available for domain Workgroup due to the
following:
%%1311.
Make sure that the computer is connected to the network and try
again. If the problem persists, please contact your domain
administrator.
Mon Jun 01 17:00:36 2009 Information 6009 from EventLog
Microsoft (R) Windows (R) 5.01. 2600 Service Pack 2 Multiprocessor
Free.
Last 5 MSMQ events:
-------------------
Mon Jun 01 15:11:36 2009 Information 2163 from MSMQ
The Message Queuing service stopped.
Mon Jun 01 15:04:33 2009 Information 2028 from MSMQ
The Message Queuing service started.
Mon Jun 01 15:04:31 2009 Error 2124 from MSMQ
Message Queuing was unable to join the local Windows 2000 or Windows
Whistler domain 'Workgroup'. (Error: 0x8007054b).
Last 5 Application error events:
---------------------------------
Mon Jun 01 15:01:39 2009 Error 15 from AutoEnrollment
Automatic certificate enrollment for local system failed to contact
the active directory (0x8007054b). The specified domain either does
not exist or could not be contacted.
Enrollment will not be performed.
----------------------------------------------------------------------
Last system reboot: Mon Jun 01 17:00:36 2009
Last MSMQ initialization: Mon Jun 01 15:04:33 2009
Last MSMQ online initialization: Mon Jun 01 15:04:33 2009
Performance counters:
!!! Warning: Failed to get perf counter for Total messages in all
queues
!!! Warning: Failed to get perf counter for Total bytes in all queues
!!! Warning: Failed to pass performance counters verification
-------- TMQ State has found problems ---------
[/quote]
How to solve errors and don't have MSMQ service stalling about 30 sec
before starting.
That's a bizarre problem. I can't suggest any reason for MSMQ startup to
delay getting an IP address from DHCP.
Why is the machine only on SP2 and not SP3? Any problems you've encountered
with SP3?
"I have disabled all performance counters on Windows XP Professional /w SP2"
I can't imagine this makes much difference to machine speed.
Did you notice any improvement?
"After checking Event Log, I've noticed errors about MSMQ."
What errors were these? Were they different from the ones featured in the
TMQ log you posted?
"I have rebuilt a new QMLog file... "
Why did you do this? Was there an event in the event log saying the file was
corrupt?
Follow the instructions in the FAQ if you want the log files recreated.
"Mon Jun 01 15:04:31 2009 Error 2124 from MSMQ
Message Queuing was unable to join the local Windows 2000 or Windows
Whistler domain 'Workgroup'. (Error: 0x8007054b)."
Strange to see reference to "Whistler" in the event description.
You can avoid this event by settting AlwaysWithoutDS=1 as documented here:
839929 You may receive error message entries in log files after you
install Message Queuing in Workgroup mode
http://support.microsoft.com/default.aspx?scid=kb;EN-US;839929
Cheers
John Breakwell (MSFT)
http://blogs.msdn.com/johnbreakwell