Enterprise log files locations

AID: 4135
  • Status: Published

2150 points

  • Bylouisreeves
  • TypeResource
  • Posted on2010-11-18 at 12:07:19
Awards
  • Community Pick
Log files are useful in diagnosing and repairing problems.  This is a list of common log files and their standard locations that I've compiled.   While this is not exhaustive, it is a pretty good list that I've found to be useful.  I may update it from time to time.  I'm also including some usage notes.

DRAC Logs  (Dell Remote Access Controller)
    Racadm getconfig –f c:\config.txt
    Racadm Getraclog > c:\raclog.txt
    Racadm Gettracelog > c:\tracelog.txt

SBS
Web Parts Settings
Gadgets are movable and can be on or off

Gadgets
    C:\Program Files\Windows Small Business Server\Data\RemoteAccessProfiles
    C:\Program Files\Windows Small Business Server\Bin\WebApp\RemoteAccess\Customization\Product\custom.xml

Log Location
   C:\ExchangeSetupLogs
   C:\Program Files\Windows Small Business Server\Logs \SBS\Logs\ERRORLOG.txt
   C:\Program Files\Windows Small Business Server\Logs \SBS\Logs\DCPromo_###.txt
   C:\Program Files\Windows Small Business Server\Logs \SBS\Logs\ExtSchemaTask.txt
   C:\Program Files\Windows Small Business Server\Logs \SBS\Logs\GPOTask.txt
   C:\Program Files\Windows Small Business Server\Logs \SBS\Logs\FaxSPRouteSnapin.InstallLog
   C:\Program Files\Windows Small Business Server\Logs \SBS\Logs\MoveDataPSsnapin.InstallLog
   C:\Program Files\Windows Small Business Server\Logs \SBS\Logs\pop3connectorInstall
   C:\Program Files\Windows Small Business Server\Logs \SBS\Logs\SBSSetup.txt
   C:\Program Files\Windows Small Business Server\Logs \SBS\Logs\FinishSetup.txt
   C:\Program Files\Windows Small Business Server\Logs \SBS\Logs\SBSHook.txt

RWW (Remote Web Workplace)
C:\Program Files\Windows Small Business Server\Logs\WebApp\RemoteAccess.log

SBS MIGRATION
Installation element        Notes
Binary Path                      %Program Files%\Windows SBS 7 Migration Preparation Tool\
Shortcut path                   Windows SBS 7 Migration Preparation Tool\
Log Path                           %Temp%\Migration Preparation Logs\
App name                        Windows SBS 7 Migration Preparation Tool

Migration answer key failure
    C:\Users\DonFunk\AppData\Local\Temp\Migration Preparation Logs\).

INTERNET ADDRESS MANAGEMENT WIZARD
    C\Program Files\Windows Small Business Server\Logs\DPCW.txt

Connect VPN wizard
    C:\Program Files\Windows Small Business Server\Logs\VPNCW.txt.

Trusted certificate
    C:\Program Files\Windows Small Business Server\Logs\TrustedCert.txt.

Fix My network wizard
    C:\Program Files\Windows Small Business Server\Logs\fncw.txt.

Cluster Logs
    %systemroot%\Cluster\cluster.log.

Active Directory
    %systemroot%\debug

This registry key has the location of the DIT file and AD LOG files.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters

Windows Installer
    Msiexec <misname> /l*v c:\testlog.log
        -OR-
    HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
        Logging : voicewarmupx
        Debug"=dword:00000007
        v - Verbose output
        o - Out-of-disk-space messages
        i - Status messages
        c - Initial UI parameters
        e - All error messages
        w - Non-fatal warnings
        a - Start up of actions
        r - Action-specific records
        m - Out-of-memory or fatal exit information
        u - User requests
        p - Terminal properties
        + - Append to existing file
        ! - Flush each line to the log

Exchange
Diagnostic logging
2003
    1.  Open the Exchange System Manager
    2.  * Drill Down To Administrative Groups
    3.  * First Administrative Group
    4.  Servers
    5.  Find your Server e.g. Paris
    6.  Properties, Diagnostic Logging Tab
    7.  (None), Minimum, Medium, Maximum

    ESEUTIL – Place into Path statement.
    Program Files\Microsoft\Exchange Server\Bin
    Database
        D:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group\Mailbox Database.edb"
    Exporting the virtual directories.
        Exports are saved in Program Files\Microsoft\Exchange Server\V14 as a text file:
              <CASFQDN_<VDIR>_log.txt).

IIS Troubleshooting
Tools > Internet Options, choose the Advanced tab, and clear the Show friendly HTTP error messages

To see ASP errors add this to the web.config file
<system.web>
   <customErrors mode=”Off” />
</system.web>
                                    
1:
2:
3:

Select allOpen in new window



Start>Run>inetmgr.exe -> selecting your website/application/virtual directory in the left-hand tree view, clicking on the “Error Pages” icon, clicking “Edit Feature Settings” action, and then selecting “Detailed Errors”.
OR...
Run in an elevated command line:
%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site/yourapp" /section:httpErrors /errorMode:Detailed
                                    
1:

Select allOpen in new window


Return to normal when done:
%windir%\system32\inetsrv\appcmd.exe set config "Default Web Site/yourapp" /section:httpErrors /errorMode:DetailedLocalOnly
                                    
1:

Select allOpen in new window



Add the IIS tracing service:
    Server Manager, Roles, Web Server(IIS),  Add Role Services, check Web Server\Health and
    Diagnostics\Tracing (Then you can rt click under actions and click failed tracing)

Logs located in
   appcmd list site
... then ...
    %systemdrive%\inetpub\logs\FailedReqLogFiles\W3SVC<ID>

SQL LOGS
    Program Files\Microsoft SQL Server\MSSQL\Log

SCCM (System Center Configuration Manager)
    Windir%\System32\CCM\Logs
    %Windir%\SysWOW64\CCM\Logs.
    %ProgramFiles%\SMS_CCM\Logs

DDP FOR SCCM
** if you encounter problems, and you want assistance, please post the installation logs - you'll find them here:
    <SiteInstallDir>\AdminUI\XmlStorage\Extensions\bin\Deployment\Dell\PowerEdge\setup

SQL SERVER install log files
    C:\program files\microsoft SQL server\100\setup Bootstrap\log\date_random\summary_host_random.txt

WSUS (Windows Server Update Services)
    %windir%\Windowsupdate.log
How to read the log files:
    http://support.microsoft.com/kb/902093
For the server:
    C:\Program Files\Update Services\Logfiles
and the Application Event Log
For the client:
   C:\Windows\WindowsUpdate.log
    C:\Windows\SoftwareDistribution\ReportingEvents.log
and the Application Event Log

2008 Install logs

SETUP:
During installation, Shift-F10 will get you a command prompt. Plug and Play should be working, so you can copy any log files to a USB drive.

During the install, if the error happens:

  • Before local disk selection, look in:
    %Windir%\Panther (specifically, \UnattendGC\Setupact.log, but it’s better to just get the entire \Panther directory). Before a local disk is selected, %Windir% will almost always be on X: drive. This is on the RAM disk created by WinPE.
  • Before the first reboot, get (from the hard drive you are installing to):
    $windows.~bt\sources\panther\*.*
  • After the reboot, get:
    %Windir%\Panther\*.* (at this point, %Windir% is usually C:.)


Installing hotfixes, features or Windows updates:
cbs.log and (possibly) cbs.persist.log. These are limited to 50 Mb in size and are in:
    %Windir%\logs\CBS

An additional log for Windows updates is:
    %Windir%\windowsupdate.log

Two additional servicing logs are available in
    %windir%\winsxs\Poqexec.log
    %windir%\winsxs\pending.xml.bad

Sharepoint
Central Administration > Operations > Diagnostics Logging
Logs are at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS

STSADM will spit logs here.
    %temp% logs
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Logs\Upgrade.log

SharePoint file location may need to edit – this is where the SharePoint lives
    C:\Program Filecommon files\microsoft shared\web server extensions\14\bin

Application Failures
%temp% logs

AD AND NETLOGON
Debug for net logon
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;109626

NT Replication service log Ntfrsapi.log
    %SystemRoot%\Debug folder
        Netlogon.log
        Netsetup.log
        DCPromo.log
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics
        0 is default logging and 5 is verbos

Mount the AD database
    http://technet.microsoft.com/en-us/library/cc753246(WS.10).aspx

SMTP logs
    C:\WINDOWS\system32\LogFiles\SMTPSVC1

SIM logs – For Altiris
    C:\Program Files\Dell\sysmgt\dmc\Notification Server\Logs\a.log
    C:\Documents and Settings\<Username>\Local Settings\Temp\SIM Logs\
    Program Files\Altiris\Symantec Installation Manager\Installs|Altiris\symantec.pl.xml.zip_tmp

VMWARE
List logs old then a day
cd /; find /vmfs/volumes/ -name vmware-*.log -mtime +1 -exec ls  {} \;
    http://www.vmwarewolf.com/which-esx-log-file/

WSUS (more info on...)
Log file location
    %WinDir%\WindowsUpdate.log
   
WSUS Client Diagnostic Tool direct download link:
    http://download.microsoft.com/download/9/7/6/976d1084-d2fd-45a1-8c27-a467c768d8ef/WSUS%20Client%20Diagnostic%20Tool.EXE

Run the following batch file on them to ensure there is no duplicate SID (WSUS SID is different than a machine SID)

%Windir%\system32\net.exe stop bits 
%Windir%\system32\net.exe stop wuauserv 
%Windir%\system32\net.exe stop cryptsvc 
del %WINDIR%\WindowsUpdate.log /S /Q  
 
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v LastWaitTimeout /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v DetectionStartTime /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /f 

rd /s /q %windir%\softwareDistribution
%Windir%\system32\net.exe start cryptsvc
%Windir%\system32\net.exe start bits 
%Windir%\system32\net.exe start wuauserv 

sc sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU) 

sc sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU) 
wuauclt /resetauthorization /detectnow
wuauclt /reportnow 
exit /B 0  
                                    
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:

Select allOpen in new window



GPO (Group Policy Objects)
Location on the server
1. In Group Policy Object Editor, expand Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Windows Update.

2. In the details pane, double-click Specify intranet Microsoft update service location.

3. Click Enabled, and type the HTTP URL of the same WSUS server in the Set the intranet update service for detecting updates box and in the Set the intranet statistics server box. For example, type http://servername in both boxes.

4. Click OK.


References


    Troubleshoot IIS7 errors like a pro
   
    How do I troubleshoot SharePoint?
   
    How To Check SMTP Logs in Windows Server    

    Which ESX log file
Asked On
2010-11-18 at 12:07:19ID4135
Tags

log logfiles

Topic

Microsoft Operating Systems

Views
1038

Comments

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top Microsoft OS Experts

  1. arnold

    239,189

    Guru

    2,000 points yesterday

    Profile
    Rank: Genius
  2. ve3ofa

    139,946

    Master

    30 points yesterday

    Profile
    Rank: Genius
  3. Run5k

    101,519

    Master

    1,332 points yesterday

    Profile
    Rank: Genius
  4. motnahp00

    92,068

    Master

    6,000 points yesterday

    Profile
    Rank: Sage
  5. hanccocka

    83,646

    Master

    0 points yesterday

    Profile
    Rank: Genius
  6. dariusg

    77,577

    Master

    1,068 points yesterday

    Profile
    Rank: Genius
  7. Anuroopsundd

    68,818

    Master

    0 points yesterday

    Profile
    Rank: Sage
  8. thinkpads_user

    67,882

    Master

    1,500 points yesterday

    Profile
    Rank: Genius
  9. nobus

    64,444

    Master

    0 points yesterday

    Profile
    Rank: Savant
  10. demazter

    60,050

    Master

    252 points yesterday

    Profile
    Rank: Genius
  11. leew

    57,521

    Master

    0 points yesterday

    Profile
    Rank: Savant
  12. Darr247

    56,589

    Master

    1,000 points yesterday

    Profile
    Rank: Genius
  13. dstewartjr

    39,728

    668 points yesterday

    Profile
    Rank: Genius
  14. kevinhsieh

    36,520

    0 points yesterday

    Profile
    Rank: Genius
  15. CrisHanna_MVP

    34,183

    0 points yesterday

    Profile
    Rank: Genius
  16. l33tf0b

    33,900

    0 points yesterday

    Profile
    Rank: Wizard
  17. rindi

    32,637

    1,200 points yesterday

    Profile
    Rank: Savant
  18. als315

    29,824

    0 points yesterday

    Profile
    Rank: Genius
  19. cwstad2

    28,405

    0 points yesterday

    Profile
    Rank: Guru
  20. BillDL

    27,255

    0 points yesterday

    Profile
    Rank: Genius
  21. jcimarron

    26,929

    0 points yesterday

    Profile
    Rank: Genius
  22. oBdA

    25,773

    0 points yesterday

    Profile
    Rank: Savant
  23. mpfister

    25,600

    0 points yesterday

    Profile
    Rank: Genius
  24. Callandor

    25,390

    2,000 points yesterday

    Profile
    Rank: Genius
  25. noxcho

    25,075

    0 points yesterday

    Profile
    Rank: Genius

Hall Of Fame