Log files in DB folder

Hello!
Does anyone know if it is necessary to keep all of the .log files in the \zenworks\inv\db folder? There are numerous .log files, created daily, from the very first day that we installed the database on the server (over 2 years ago). Each file is 128k in size. It would be nice if we could delete some or most of them to free up the disk space being used.
Thanks!
Larry

Larry,
It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
- You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/

Similar Messages

  • 'log' file in user folder

    I just opened my "User" folder in the finder and noticed there is a random file in there named 'log'.
    When i open it in textedit, there is just one line of text: "cp_plugin_dir:/Users/Mitchell/Library/Internet Plug-Ins"
    What is this file and is it safe to delete?
    Thanks

    I don't know what caused it but it only a (misplaced) log file so you can safely delete it.  Of course whatever caused it (a poorly written internet plugin installer?) may create it again so the mystery of the cause remains.  Keep an eye out for it and maybe you can associate some action you do with its reappearance.

  • Script to search all files in specified folder for multiple string text values listed in a source file and output each match to one single results txt file

    I have been searching high and low for this one.  I have a vbscript that can successfully perform the function if one file is listed.  It does a Wscript.echo on the results and if I run this via command using cscript, I can output to a text file
    that way.  However, I cannot seem to get it to work properly if I want it to search ALL the files in the folder.  At one point, I was able to have it create the output file and appear as if it worked, but it never showed any results when the script
    was executed and folder was scanned.  So I am going back to the drawing board and starting from the beginning.
    I also have a txt file that contains the list of string text entries I would like it to search for.  Just for testing, I placed 4 lines of sample text and one single matching text in various target files and nothing comes back.  The current script
    I use for each file has been executed with a few hundred string text lines I want it to search against to well over one thousand.  It might take awhile, but it works every time. The purpose is to let this run against various log files in a folder and
    let it search.  There is no deleting, moving, changing of either the target folder/files to run against, nor of the file that contains the strings to search for.  It is a search (read) only function, going thru the entire contents of the folder and
    when done, performs the loop function and onto the next file to repeat the process until all files are searched.  When completed, instead of running a cscript to execute the script and outputting the results to text, I am trying to create that as part
    of the overall script.  Saving yet another step for me to do.
    My current script is set to append to the same results file and will echo [name of file I am searching]:  No errors found.  Otherwise, the
    output shows the filename and the string text that matched.  Because the results append to it, I can only run the script against each file separately or create individual output names.  I would rather not do that if I could include it all in one.
     This would also free me from babysitting it and running each file script separately upon the other's completion.  I can continue with my job and come back later and view the completed report all in one.  So
    if I could perform this on an entire folder, then I would want the entries to include the filename, the line number that the match occurred on in that file and the string text that was matched (each occurrence).  I don't want the entire line to be listed
    where the error was, just the match itself.
    Example:  (In the event this doesn't display correctly below, each match, it's corresponding filename and line number all go together on the same line.  It somehow posted the example jumbled when I listed it) 
    File1.txt Line 54 
    Job terminated unexpectedly
     File1.txt Line 58 Process not completed
    File1.txt
    Line 101 User input not provided
    File1.txt
    Line 105  Process not completed
    File2.txt
    No errors found
    File3.txt
    Line 35 No tape media found
    File3.txt
    Line 156 Bad surface media
    File3.txt Line 188
    Process terminated
    Those are just random fake examples for this post.
    This allows me to perform analysis on a set of files for various projects I am doing.  Later on, when the entire search is completed, I can go back to the results file and look and see what files had items I wish to follow up on.  Therefore, the
    line number that each match was found on will allow me to see the big picture of what was going on when the entry was logged.
    I actually import the results file into a spreadsheet, where further information is stored regarding each individual text string I am using.  Very useful.
    If you know how I can successfully achieve this in one script, please share.  I have seen plenty of posts out there where people have requested all different aspects of it, but I have yet to see it all put together in one and work successfully.
    Thanks for helping.

    I'm sorry.  I was so consumed in locating the issue that I completely overlooked posting what exactly I was needing  help with.   I did have one created, but I came across one that seemed more organized than what I originally created.  Later
    on I would learn that I had an error in log location on my original script and therefore thought it wasn't working properly.  Now that I am thinking that I am pretty close to achieving what I want with this one, I am just going to stick with it.
    However, I could still use help on it.  I am not sure what I did not set correctly or perhaps overlooking as a typing error that my very last line of this throws an "Expected Statement" error.  If I end with End, then it still gives same
    results.
    So to give credit where I located this:
    http://vbscriptwmi.uw.hu/ch12lev1sec7.html
    I then adjusted it for what I was doing.
    What this does does is it searches thru log files in a directory you specify when prompted.  It looks for words that are contained in another file; objFile2, and outputs the results of all matching words in each of those log files to another file:  errors.log
    Once all files are scanned to the end, the objects are closed and then a message is echoed letting you know (whether there errors found or not), so you know the script has been completed.
    What I had hoped to achieve was an output to the errors.log (when matches were found) the file name, the line number that match was located on in that file and what was the actual string text (not the whole line) that matched.  That way, I can go directly
    to each instance for particular events if further analysis is needed later on.
    So I could use help on what statement should I be closing this with.  What event, events or error did I overlook that I keep getting prompted for that.  Any help would be appreciated.
    Option Explicit
    'Prompt user for the log file they want to search
    Dim varLogPath
    varLogPath = InputBox("Enter the complete path of the logs folder.")
    'Create filesystem object
    Dim oFSO
    Set oFSO = WScript.CreateObject("Scripting.FileSystemObject")
    'Creates the output file that will contain errors found during search
    Dim oTSOut
    Set oTSOut = oFSO.CreateTextFile("c:\Scripts\errors.log")
    'Loop through each file in the folder
    Dim oFile, varFoundNone
    VarFoundNone = True
    For Each oFile In oFSO.GetFolder(varLogPath).Files
        'Verifies files scanned are log files
        If LCase(Right(oFile.Name,3)) = "log" Then
            'Open the log file
            Dim oTS
            oTS = oFSO.OpenTextFile(oFile.Path)
            'Sets the file log that contains error list to look for
            Dim oFile2
            Set oFile2 = oFSO.OpenTextFile("c:\Scripts\livescan\lserrors.txt", ForReading)
            'Begin reading each line of the textstream
            Dim varLine
            Do Until oTS.AtEndOfStream
                varLine = oTS.ReadLine
                Set objRegEx = CreateObject("VBScript.RegExp")
                objRegEx.Global = True  
                Dim colMatches, strName, strText
                Do Until oErrors.AtEndOfStream
                    strName = oFile2.ReadLine
                    objRegEx.Pattern = ".{0,}" & strName & ".{0,}\n"
                    Set colMatches = objRegEx.Execute(varLine)  
                    If colMatches.Count > 0 Then
                        For Each strMatch in colMatches 
                            strText = strText & strMatch.Value
                            WScript.Echo "Errors found."
                            oTSOut.WriteLine oFile.Name, varLine.Line, varLine
                            VarFoundNone = False
                        Next
                    End If
                Loop
                oTS.Close
                oFile2.Close
                oTSOut.Close
                Exit Do
                If VarFoundNone = True Then
                    WScript.Echo "No errors found."
                Else
                    WScript.Echo "Errors found.  Check logfile for more info."
                End If
        End if

  • System.log file

    I need to find the system.log file, but cannot. Where is it?
    Thanks for your help.
    Cheers,
    Jurgen

    To see the log's contents, open the Console in the /Applications/Utilities/ folder and click on the Logs button; one of the entries will be the system.log.
    To see the log itself, choose Go to Folder from the Finder's Go menu, enter /private/var/log/ as the folder's path, and locate the system.log file when that folder appears.
    (10574)

  • Is it safe to post one .log file?

    Hi, I have a very basic question, so hopefully not laugh at me
    Is it safe to post one. log file of the folder /var /log/?, I was wondering this, because they are often very long to read completely.
    Do these files show some kind of private information or passwords?
    hoping she would not laugh at me, thanks in advance
    sorry for my English
    Last edited by Infragilis (2011-04-12 00:30:17)

    You can post the tail of log material using the code tags - or, if it is a particularly long file, use a pastebin service:
    https://wiki.archlinux.org/index.php/Fo … s_and_Code
    Nevertheless, you should always check anything that you are posting to make sure it doesn't contain any information that you would be unwilling to have in the public domain.

  • Wss3 ULs log file blank or with 1kb

    our wss3 ULs log files are blank, with one or two files throught out a day with 1kb, with the following log
    11/11/2014 11:01:34.55 wsstracing.exe (0x09D0) 0x7C30 ULS Logging Unified Logging Service uls1 Monitorable Tracing Service lost trace events. Current value 45.
    I have double checked in the Central Admin >> Diagnostic Logging : Trace Log is pointing to the 12 hive locally Tried stop and start the Windows Sharepoint Services Tracing then stop and started the Window Sharepoint Services Timer No effect on the ULs
    log files, still blank. The wss3 version is 12.0.0.6421 any ideas? suggestions? Regards Xun

    Hello,
    You may try to run " stsadm -o listlogginglevels" command and set it to default.
    https://social.technet.microsoft.com/Forums/office/en-US/d8fa7b2f-f9b4-4c49-8c2b-5b1c73a4d717/empty-trace-log-files-inside-12logs-folder-moss2007?forum=sharepointadminlegacy
    Also check tracing service
    http://techdhaan.wordpress.com/2009/04/20/moss-2007-uls-logs-folder-in-12-hive-is-empty/
    Let us know your result
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • To relocate mail.log, mail.log_current file to specific folder

    Hi
    We have configured CommSuite 6 in single host. The output of “imsimta version”:
    Sun Java(tm) System Messaging Server 7.0-0.04 32bit (built Jun 20 2008)
    libimta.so 7.0-0.04 32bit (built 01:01:00, Jun 20 2008)
    Using /opt/sun/comms/messaging/config/imta.cnf
    SunOS mail 5.10 Generic_120012-14 i86pc i386 i86pc
    Output of imta_tailor file:
    IMTA_USER=mailsrv
    IMTA_USER_USERNAME=nobody
    IMTA_WORLD_GROUP=mail
    IMTA_LOG=/logs/messaging/imta
    IMTA_PRIMARY_LOG=/logs/messaging/imta/mail.log_current
    IMTA_SECONDARY_LOG=/logs/messaging/imta/mail.log_yesterday
    IMTA_TERTIARY_LOG=/logs/messaging/imta/mail.log
    We need to relocate mail.log, mail.log_current, mail.log_yesterday file to specific folder.
    After above setting we cannot be able to relocate above file.
    Pl. help us.
    Thanks
    P.K.

    world.group wrote:
    We have configured CommSuite 6 in single host. The output of &#147;imsimta version&#148;:Please note that CommSuite 6 update 1 is now available and it is advisable that you upgrade using the "commpkg upgrade" command.
    IMTA_LOG=/logs/messaging/imta
    IMTA_PRIMARY_LOG=/logs/messaging/imta/mail.log_current
    IMTA_SECONDARY_LOG=/logs/messaging/imta/mail.log_yesterday
    IMTA_TERTIARY_LOG=/logs/messaging/imta/mail.logThese parameters are now ignored as per the Messaging Server 7.0 release notes:
    http://wikis.sun.com/display/CommSuite6/Messaging+Server+7.0+Release+Notes#MessagingServer7.0ReleaseNotes-Ignoredimtatailorsettings
    We need to relocate mail.log, mail.log_current, mail.log_yesterday file to specific folder. You can relocate the MTA log directory through the use of symlinks.
    Regards,
    Shane.

  • BackPRD.log File Suddenly Increases to 78GB in SAPBACKUP folder in Linux server

    Dear Experts,
    There is a problem in our SAP Production server. As earlier when i check the space it is good and after 25 Minutes while i am checking of the Directory spaces, the Backup folder size increases suddenly to 100 more than earlier it is. The backPRD.log file size earlier it is 13 MB and it is Now showing as 78 GB. Is there any thing to resolve the issue and i have checked some forms also there is no thread for the same issue. With this the Restoration is also not possible Using the Source system Backup on Target system.
    Thanks, Regards,
    Harsha.

    Hi Sanjay,
    Could you confirm for
    1.Any recent changes into DB as well as at the end of backup device (Could be a third party software or hardware) ?
    2.Any recent SP,kernel,DB upgrade as well as OS upgrade activity performed at your end ?
    3.Any modifications under backup schedule if using it from DB13 or any changes under third party scripts ?
    4.Have you activated trace for the system ?
    Addition to all if you're able to login to system than please share system logs from SM21,recent dump details from ST22 if any.
    With this the Restoration is also not possible Using the Source system Backup on Target system.
    With the above logs would like to check alert_<SID>.log file as well.
    Regards,
    Gaurav

  • We have a Exchange 2013 server and the Mailbox Database folder is filling up with .log files.

    We are migrating from Exchange 2010 to Exchange 2013.  We have installed the Exchange 2013 but it only has a couple of mailboxes on this server, all the mailboxes are still on the Exchange 2010 server.
    I have run a Windows Backup of the Exchange 2013 but I am still seeing a ton a log files in the mailbox folder.
    Also the database file is only about 1.1 GB but the backup is now 40 GB.  
    Is there something that can be done to truncate these logs and make the backup smaller?

    Hi ,
    1.Does the full backup completed successfully ?
    2.what about the status for the below mentioned command ? Does the mailbox database headers updated with the latest time and date ?
    Get-MailboxDatabase -Status | ft name,*full* -au
    3.Just check the application event logs for the event id
     2046  and that should state that the log truncation for the mailbox databases has been initiated or not.
    4.Before initiating the backup just make the exchange writer is not on error.
    vssadmin list writers
    In case if it on error state ,please restart the Microsoft exchange replication service and check the exchange writers status again by using the above mentioned command.
    Thanks & Regards S.Nithyanandham

  • Launch daemon's, I have deleted the files in the folder and can not log in to recover the files , safe book didn't help can you ?

    Launch daemon's, I have deleted the files in the folder and can not log in to recover the files , safe book didn't help can you ?

    - Can you use Target Disk Mode : How to use and troubleshoot FireWire target disk mode  to assist to recover the files.
    - Need another Mac and a Firewire cable
    Cheers

  • NO SMSTS.LOG file after OSD

    Single Primary Site SCCM 2012 R2 CU4.
    Deploying BareMetal machines using basic task sequence.
    The machine joins the domain however the sccm client install failed and I cannot locate the SMSTS.log anywhere.
    In C:\windows we have ccmsetup with ccmsetup.log, client.msi.log and MicrosoftPolicyPlatformSetup.msi.
    There is no c:\_SMSTaskSequence or C:\WIndows\CCM folder.
    CCMSETUP.log
    <![LOG[Deleted file C:\Windows\ccmsetup\ccmsetup.cab.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\ccmsetup.xml]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\vcredist_x86.exe.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\vc50727_x64.exe.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\MicrosoftPolicyPlatformSetup.msi.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984"
    file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\WindowsFirewallConfigurationProvider.msi.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984"
    file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\SCEPInstall.exe.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\client.msi.download]LOG]!><time="13:41:10.627+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[CcmSetup failed with error code 0x80070663]LOG]!><time="13:41:10.627+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:10883">
    CLIENT.MSI
    MSI (s) (A4:64) [13:41:10:003]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
    MSI (s) (A4:64) [13:41:10:003]: File will have security applied from OpCode.
    MSI (s) (A4:64) [13:41:10:050]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi' against software restriction policy
    MSI (s) (A4:64) [13:41:10:050]: SOFTWARE RESTRICTION POLICY: C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi has a digital signature
    MSI (s) (A4:64) [13:41:10:050]: SOFTWARE RESTRICTION POLICY: C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi is permitted to run because the user token authorizes execution (system or service token).
    MSI (s) (A4:64) [13:41:10:050]: End dialog not enabled
    MSI (s) (A4:64) [13:41:10:050]: Original package ==> C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi
    MSI (s) (A4:64) [13:41:10:050]: Package we're running from ==> C:\Windows\Installer\5159e.msi
    MSI (s) (A4:64) [13:41:10:050]: APPCOMPAT: Compatibility mode property overrides found.
    MSI (s) (A4:64) [13:41:10:050]: APPCOMPAT: looking for appcompat database entry with ProductCode '{8864FB91-94EE-4F16-A144-0D82A232049D}'.
    MSI (s) (A4:64) [13:41:10:050]: APPCOMPAT: no matching ProductCode found in database.
    MSI (s) (A4:64) [13:41:10:050]: Machine policy value 'TransformsSecure' is 0
    MSI (s) (A4:64) [13:41:10:050]: User policy value 'TransformsAtSource' is 0
    MSI (s) (A4:64) [13:41:10:050]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
    MSI (s) (A4:64) [13:41:10:050]: Unable to create a temp copy of patch 'C:\WINDOWS\TEMP\KB2994331_X64.MSP'.
    MSI (s) (A4:64) [13:41:10:050]: Note: 1: 1708
    MSI (s) (A4:64) [13:41:10:050]: Product: Configuration Manager Client -- Installation failed.
    MSI (s) (A4:64) [13:41:10:050]: Windows Installer installed the product. Product Name: Configuration Manager Client. Product Version: 5.00.7958.1000. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1635.
    MSI (s) (A4:64) [13:41:10:112]: MainEngineThread is returning 1635
    MSI (s) (A4:74) [13:41:10:112]: No System Restore sequence number for this installation.
    This update package could not be opened. Verify that the update package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer update package.
    C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi
    MSI (s) (A4:74) [13:41:10:112]: User policy value 'DisableRollback' is 0
    MSI (s) (A4:74) [13:41:10:112]: Machine policy value 'DisableRollback' is 0
    MSI (s) (A4:74) [13:41:10:112]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (A4:74) [13:41:10:112]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (A4:74) [13:41:10:112]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (A4:74) [13:41:10:112]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (A4:74) [13:41:10:112]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (A4:74) [13:41:10:112]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (A4:74) [13:41:10:112]: Restoring environment variables
    MSI (c) (54:70) [13:41:10:112]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (54:70) [13:41:10:112]: MainEngineThread is returning 1635
    === Verbose logging stopped: 2/20/2015  13:41:10 ===

    Until the client agent is installed, smsts.log will be in C:\Windows\Temp.
    That won't help you troubleshoot the client agent installation failure though. For Windows Installer installations, 1603 is a generic error code that means you needs to examine the verbose msi log file (client.msi.log in this case) in depth. Searching
    for the string "return code 3" and then scanning the lines above this will lead you to exact item that failed.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Error in Log file

    I am wondering if anyone has ever seen errors like this. They started showing up in our log file recently with the error below. Once this error starts, then tons of errors are generated and the log file grows exponentially.
    2006-12-12 06:51:26,109 WARN [org.jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, GlobalId=naap11//13513, BranchQual=] timed out. status=STATUS_ACTIVE
    2006-12-12 06:51:26,124 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.adobe.pof.omapi.POFObjectSet com.adobe.pof.omapi.POFObjectManagerLocal.retrieveObjectSet(com.adobe.pof.omapi.POFQuery, int,int,com.adobe.idp.Context) throws com.adobe.pof.POFException, causedBy:
    org.jboss.util.NestedSQLException: Interrupted while requesting permit! Waited 0 ms; - nested throwable: (javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms)
    Eventually, we get the following message:
    2006-12-12 06:51:30,622 WARN [org.jboss.ejb.plugins.jms.DLQHandler] Message resent too many times; sending it to DLQ; message id=ID:7-116593508609324
    2006-12-12 06:51:30,622 WARN [org.jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, GlobalId=naap11//17644, BranchQual=] timed out. status=STATUS_ACTIVE
    2006-12-12 06:51:30,638 ERROR [org.jboss.ejb.plugins.jms.DLQHandler] Could not send message to Dead Letter Queue
    We are using LiveCycle 7.2 (WF, FM, FS and RES). Any ideas are welcome.

    where i should place my .cgi files folder in apllication context
    ....i am using jboss server

  • Sharepoint log files growing huge

    Once again a SharePoint question :)
    I ran the following script against our SharePoint 2013 farm:
    #Specify the location of the CSV file here.
    $r = Import-Csv C:\folder\users.csv
    foreach($i in $r){
    #The following line displays the current user.
    Write-Host "The URL is:"$i.Url
    #Disables the "Minimal Download Strategy" feature under "Site Features".
    #Disable-SPFeature -Identity "MDSFeature" -Url $i.Url -force -confirm:$false
    #Enables the "SharePoint Server Publishing" feature under "Site Features".
    Enable-SPFeature -Identity "PublishingSite" -Url $i.Url -force -confirm:$false
    #Enables the "SharePoint Server Publishing Infrastructure" feature under "Site Collection Features".
    Enable-SPFeature -Identity "PublishingWeb" -Url $i.Url -force -confirm:$false
    The csv file that is being imported contains about 2000+ rows with users' MySite links where we want to en-/disable several features.
    The script does what it is supposed to do, but while running the script and reaching user No. ~15 the log files under "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS" starts to grow huuuuuuge (~5GB).
    They are mostly filled with this:
    09/17/2014 11:04:27.72 PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable Potentially excessive number of SPRequest objects (18) currently unreleased on thread 6. Ensure that this object or its parent (such as an SPWeb or SPSite) is being properly disposed. This object is holding on to a separate native heap.This object will not be automatically disposed. Allocation Id for this object: {D5F7BC80-8C88-4E17-9985-782F9724F2B9} Stack trace of current allocation: at Microsoft.SharePoint.SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, SPAppPrincipalToken appPrincipalToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous) at Microsoft.SharePoint.SPWeb.InitializeSPRequest() at Microsoft.SharePoint.SPWeb.EnsureSPRequest() at Microsof... 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    09/17/2014 11:04:27.72* PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable ...t.SharePoint.SPWeb.SetAllowUnsafeUpdates(Boolean allowUnsafeUpdates) at Microsoft.SharePoint.SPPageParserNativeProvider.<>c__DisplayClass1.<UpdateBinaryPropertiesForWebParts>b__0() at Microsoft.SharePoint.SPSecurity.RunAsUser(SPUserToken userToken, Boolean bResetContext, WaitCallback code, Object param) at Microsoft.SharePoint.SPPageParserNativeProvider.UpdateBinaryPropertiesForWebParts(Byte[]& userToken, Guid& tranLockerId, Guid siteId, Int32 zone, String webUrl, String documentUrl, Object& registerDirectivesData, Object& connectionInformation, Object& webPartInformation, IntPtr pWebPartUpdater) at Microsoft.SharePoint.Library.SPRequestInternalClass.EnableModuleFromXml(String bstrSetupDirectory, String bstrFeatureDirectory, String bstrUrl, String bstrXML, Boolean fForceUng... 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    09/17/2014 11:04:27.72* PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable ...host, ISPEnableModuleCallback pModuleContext) at Microsoft.SharePoint.Library.SPRequestInternalClass.EnableModuleFromXml(String bstrSetupDirectory, String bstrFeatureDirectory, String bstrUrl, String bstrXML, Boolean fForceUnghost, ISPEnableModuleCallback pModuleContext) at Microsoft.SharePoint.Library.SPRequest.EnableModuleFromXml(String bstrSetupDirectory, String bstrFeatureDirectory, String bstrUrl, String bstrXML, Boolean fForceUnghost, ISPEnableModuleCallback pModuleContext) at Microsoft.SharePoint.SPModule.ActivateFromFeature(SPFeatureDefinition featdef, XmlNode xnModule, SPWeb web) at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionModules(SPFeaturePropertyCollection props, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boole... 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    09/17/2014 11:04:27.72* PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable ...an fForce) at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.CheckSameScopeDependency(SPFeatureDefinition featdefDependant, SPFeatureDependency featdep, SPFeatureDefinition featdefDep... 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    09/17/2014 11:04:27.72* PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable ...endency, Boolean fActivateHidden, Boolean fUpgrade, Boolean fForce, Boolean fMarkOnly) at Microsoft.SharePoint.SPFeatureCollection.CheckFeatureDependency(SPFeatureDefinition featdefDependant, SPFeatureDependency featdep, Boolean fActivateHidden, Boolean fUpgrade, Boolean fForce, Boolean fMarkOnly, FailureReason& errType) at Microsoft.SharePoint.SPFeatureCollection.CheckFeatureDependencies(SPFeatureDefinition featdef, Boolean fActivateHidden, Boolean fUpgrade, Boolean fForce, Boolean fThrowError, Boolean fMarkOnly, List`1& missingFeatures) at Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly) at Microsoft.SharePoint.S... 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    09/17/2014 11:04:27.72* PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable ...PFeature.ActivateDeactivateFeatureAtSite(Boolean fActivate, Boolean fEnsure, Guid featid, SPFeatureDefinition featdef, String urlScope, String sProperties, Boolean fForce) at Microsoft.SharePoint.SPFeature.ActivateDeactivateFeatureAtScope(Boolean fActivate, Guid featid, SPFeatureDefinition featdef, String urlScope, Boolean fForce) at Microsoft.SharePoint.PowerShell.SPCmdletEnableFeature.UpdateDataObject() at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() at System.Management.Automation.CommandProcessorBase.DoExecute() at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate) at System.Management.Automati... 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    09/17/2014 11:04:27.72* PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable ...on.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at lambda_method(Closure , Object[] , StrongBox`1[] , InterpretedFrame ) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.... 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    09/17/2014 11:04:27.72* PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable ...Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess) at System.Management.Automation.CommandProcessorBase.DoComplete() at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase commandRequestingUpstreamCommandsToStop) at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate) at System.Management.Automation.PipelineOps.InvokePipeline(Object input, Boolean ignoreInput, CommandParameterInternal[][] pipeElements, CommandBaseAst[] pipeElementAsts, CommandRedirection[][] commandRedirections, FunctionContext funcContext) at System.Management.Automation.Interpreter.ActionCallInstruction`6.R... 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    09/17/2014 11:04:27.72* PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable ...un(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0) at System.Management.Automation.DlrScriptCommandProcessor.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess) at System.Management.Automation.CommandProcessorBase.DoComplete() at System.Management.Automation.Internal.PipelineProcessor.DoCompleteCore(CommandProcessorBase commandRequestingUpstreamCommandsToStop) at System.Management.Automation.Intern... 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    09/17/2014 11:04:27.72* PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable ...al.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate) at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper() at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc() at System.Management.Automation.Runspaces.PipelineThread.WorkerProc() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart... 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    09/17/2014 11:04:27.72* PowerShell.exe (0x235C) 0x2B44 SharePoint Foundation Performance naqx Monitorable ...() 5b7cf973-1e3f-4985-bdf8-598eecf86ab6
    I tried finding something on the internet on this but either my Google Mojo is gone or there is no one else posting about this.
    Since we do not want to change the logging behavior of SharePoint (unless it is really necessary), I'd like to know if there is something wrong with my code? Is there some parameter I can use to suspend logging for this script? There must be something I'm
    doing horribly wrong :(
    Thanks in advance!
    (If anything I posted is unclear please let me know since English isn't my first language)
    EDIT: There is nothing productive happening on that farm. There is a web application for the MySites and one for a publishing portal (without any significant content).

    It's because MS did a poor job on the SharePoint object model. You shouldn't need to call a 'dispose' method on any object in .Net, the garbage collector should automatically identify a no-longer required object and remove it. Unfortunately, and there might
    be a reason for it, that isn't true for SPWeb or SPSite objects.
    Evidently the Enable-SPFeature comandlet contains a SPSite or SPWeb object and fails to dispose of it.
    You could try using Start-SPAssignment: http://technet.microsoft.com/en-us/library/ff607664%28v=office.15%29.aspx which some have found to be useful to deal with this. Another option would be to create a process that generates a new thread for each row in
    the csv which will result in the objects being destroyed as that process ends.

  • How to read Skype connection logs (.log files in /...

    Hi all,
    A funny problem but really important - please help!
    I set up logging to find out causes of some tech problems occuring during my calls, as it described here: https://support.skype.com/en/faq/FA12321/how-do-i-create-log-files
    So, I get now /Logs folder with .log files.
    But they are not text files and I don't know what this format is and what tool can read them(
    Skype tech support doesn't know as well. Please help, who knows, how to read these .log files?
    Thanks!
    ps my OS is Ubuntu Linux

    It's somewhat odd that the Skype tech support staffer you spoke with doesn't know what to do with the logs, as the instructions you posted say to place them in a ZIP file and sent it to them. Since the log files I observed start with 'BLOGBEGIN,' there must be software to parse the file. Also...you never described the tech problems during calls which prompted you to enable logging; and if Skype Support suggested it (which seems doubtful, given they didn't know what to do with the files). Perhaps you can provide a description of the issue?

  • How can I search for details in job log files

    Hi,
    I'm looking for a specific entry in the job log.  I don't know when it was written (other than the date), to find the log without trial and error, I need a specific time to open the correct one in IDC.
    The entry was written by the modifyADSuser pass and it would have an userID tag in the log file but there are many hundreds a day for me to hunt through.  If I could find where identity center pulls the log files from I could either use a SQL select (if it's held in the database) or text search (if it's held in a folder) to zero in on the correct log file.  Does anyone know where the information that's shown in the IDC job logs is stored?
    Thanks,
    Pete

    Thanks for the response, I checked MC_LOGS and that looks to be the same detail that is available in the management console, basically the rows displayed in the job log.  Do you know the table relationship after MC_LOGS, what's the tale name for the data (even if encrypted) that details each pass etc?
    Thanks,
    Pete

Maybe you are looking for

  • Another device is using my blackberry id to connect to app world

    When I connect to app world sometimes it tells me"you are entering with a new device,switch to .....?" Or something like that.I tried to change my password but it's doesn't work,after a period of time the situation repeats.how can I found aboout the

  • DB Table to reset Login ID for BPM Process Admin in Directory DB

    Hi All, Is there any way i can change the BPM Admin Process Login ID, and is there any way to check in which TABLE the id is created. I have created two ID's in BPM Admin Console : test and admin apart from User ID "weblogic". Now i am currently gett

  • Why The SELECT permission was denied on the object 'Facts', database

    What this error means? I have configured Data Source to use a specific Windows user name and password. The SQL database have the windows user account with db_owner rights. Error 11 OLE DB error: OLE DB or ODBC error: The SELECT permission was denied

  • Related to ME22N

    Hi i needed to change Purchase order automatically . i got confusion to use BDC ,BADI. my friend told that ME22n transaction sometimes will not work in bdc recording . so better go for ME22 .but in ME22 ,copy function is not working i m in need to kn

  • Update Error: Indesign CC (U44M1P34)

    Hey Guys, I got a huge problem with updating Indesign CC. During the cloud update an error occurs. (Code: U44M1P34) In the Adobe Community I found this thread: http://forums.adobe.com/thread/1115086. That seemed to solve my problem. But after reinsta