Daemon script fails -- no log entries. [SOLVED]

Greetings.
A daemon script I got for rTorrent I got from this page, fails to start
No entries show up in dmesg or any logs in /var. I've compared the script to a couple others, but see noe obvious differences that would indicate why the script should fail.
The user and app dir is correct.
What am I missing?
Thanks.
Last edited by zfsd (2010-01-15 20:46:10)

Ah.. bullocks - seems like I missed the part about dtach. Doh!

Similar Messages

  • ACS Expert troubleshooter fails to display existing log entry

    Hello everybody,
    II ran into the following issue – let say RADIUS log (today) displays there are entries for user ABC (both successful and unsuccessful). BUT – when use the 'expert troubleshooter' to search for exactly the same user (both pass or fail authentication), the search results comes out empty.
    This happens for all log entries (=users) and on different computers on different browsers. ACS version is 5.4 (upgraded to different patches to no avail).
    Anybody experienced that? An existing bug notice will also be appreciated.

    Yet, I have not seen any bug for this: You please have a look on the guide to understand the functionally of Expert Troubleshooter:
    http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_system/5-4/user/guide/acsuserguide/viewer_troubleshooting.html#wp1057685

  • The Group Policy client-side extension Scripts failed ...

    This is an error I've been seeing forever and it was always the impression that upgrading would resolve it, but it never has even in 10.3. 100% of our users get these errors in the Event Viewer:
    Event Type: Error
    Event Source: Userenv
    Event Category: None
    Event ID: 1085
    Date: 10/21/2010
    Time: 8:04:52 AM
    User: NT AUTHORITY\SYSTEM
    Computer: XXXXXX
    Description:
    The Group Policy client-side extension Scripts failed to execute. Please look for any errors reported earlier by that extension.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    We also seem to have flakey policy issues where once in awhile a user will not be able to logon to Windows with Workstation Only while getting the " not allowed to logon interactively" message, other times the users report not being able to access the Windows Date and Time Properties and further sometimes they are unable to make system changes.
    We have troubleshooted this and the only resolutions we've found are to run zac cc, zac ref, zac pl and sometimes it seems like deleting c:\windows\system32\grouppolicy will help.
    In regards to the Event Viewer entry I posted, on any given machine I can issue the command gpupdate and it will put another entry into the Event Viewer (sometimes multiple ones). I've learned through research that if I "clean up" c:\windows\system32\grouppolicy\gpt.ini the errors go away, but once the policy is refreshed they come right back.
    This is the version ZenWorks gives the users:
    [General]
    gPCFunctionalityVersion=2
    gPCFunctionalityVersion=2
    gPCMachineExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{3610EDA5-77EF-11D2-8DC5-00C04FA31A66}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B6664F-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4FB-11D0-A0D0-00A0C90F574B}]
    Version=6488106
    gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B66650-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    This is the version I cleaned up:
    [General]
    gPCFunctionalityVersion=2
    gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    I'm not sure how to get Zenworks to use the cleaned up version nor and I too sure what those extra extensions are and how they got in there. I may need to contact Novell in regards to this, but since I'm already working on an SR with them I figured I'd go ahead and post here first.
    Any help or advice would be greatly appreciated.

    Here are the groups I'm using. NOTE: These have been in affect throughout the issues experienced. Users will work perfectly fine then suddenly the problem will start happening without any policy change on our side.
    -Member of-
    Network Configuration Operators+
    Remote Desktop Users+
    Users+
    -Assigned Rights under a group I called "Other Rights"-
    Access this computer from network
    Change the system time
    Log on locally
    Shut down the system
    The only condition I have is that these issues happen when logging in Workstation Only and I'm not able to recreate the problem on demand with tests.
    Originally Posted by craig_wilson
    The "Interactive Logon" is a Windows Security Permission.
    It is generally assigned to certain local groups such as "User".
    Which groups are assigned this right can be changed manually and
    controlled by local security policies.
    When user's get this error, it generally means their account is not in a
    local group that has been assigned that right.
    If using "DLU", make sure the user accounts are a member of "Users".
    And If anyone was messing with security policies, make sure they did not
    take away "Interactive Logons" from anyone.
    On 10/29/2010 7:06 AM, jcsmith1 wrote:
    >
    > Thanks for replying craig.
    >
    > My policy woes have only grown since my first post. We are currently
    > testing the removal of administrative rights and now we're having
    > teleworkers (who login Workstation Only) getting the message "policy
    > does not allow interactive login". What -seems- to fix it is a zac cc,
    > zac ref and zac pl, however we just started getting call backs from
    > users.
    >
    > I seem to have no further leads and Novell's ZenWorks tech supports
    > seems to be going through some kind of painful-to-the-customer
    > transition as one of my thoughts on resolving the issue is to go to 10.3
    > or 10.3.1, but my Satellites appear to be upgrading but in reality do
    > not upgrade (but the primary servers upgraded) (See SR 10655976331).
    >
    > Does anyone knows how to troubleshoot policy issues when the users
    > aren't loggin into ZCM?
    >
    > craig_wilson;2036646 Wrote:
    >> See: 'Group Policy Error: The Group Policy client-side extension Script
    >> failed to execute.'
    >> (Group Policy Error: The Group Policy client-side extension Script failed to execute.)
    >>
    >> This would never be fixed in any patch, since it would be the job of
    >> GPEDIT to properly maintain the GPT.INI.
    >>
    >> Most of the Time these errors are cosmetic and caused by stray script
    >> extensions.
    >>
    >> You may want to create an Enhancement Request to allow the creation of
    >> "Filters" so certain errors are discarded and not sent to the DB/ZCC.
    >> This way an Admin could choose to filter out various error messages
    >> that
    >> they deem are not actually of concern.
    >>
    >> On 10/21/2010 9:36 AM, jcsmith1 wrote:
    >>>
    >>> This is an error I've been seeing forever and it was always the
    >>> impression that upgrading would resolve it, but it never has even in
    >>> 10.3. 100% of our users get these errors in the Event Viewer:
    >>>
    >>> -Event Type: Error
    >>> Event Source: Userenv
    >>> Event Category: None
    >>> Event ID: 1085
    >>> Date: 10/21/2010
    >>> Time: 8:04:52 AM
    >>> User: NT AUTHORITY\SYSTEM
    >>> Computer: XXXXXX
    >>> Description:
    >>> The Group Policy client-side extension Scripts failed to execute.
    >>> Please look for any errors reported earlier by that extension.
    >>>
    >>> For more information, see Help and Support Center at
    >>> http://go.microsoft.com/fwlink/events.asp.
    >>> -
    >>> We also seem to have flakey policy issues where once in awhile a
    >> user
    >>> will not be able to logon to Windows with Workstation Only while
    >> getting
    >>> the " not allowed to logon interactively" message, other times the
    >> users
    >>> report not being able to access the Windows Date and Time Properties
    >> and
    >>> further sometimes they are unable to make system changes.
    >>>
    >>> We have troubleshooted this and the only resolutions we've found are
    >> to
    >>> run zac cc, zac ref, zac pl and sometimes it seems like deleting
    >>> c:\windows\system32\grouppolicy will help.
    >>>
    >>> In regards to the Event Viewer entry I posted, on any given machine
    >> I
    >>> can issue the command gpupdate and it will put another entry into
    >> the
    >>> Event Viewer (sometimes multiple ones). I've learned through
    >> research
    >>> that if I "clean up" c:\windows\system32\grouppolicy\gpt.ini the
    >> errors
    >>> go away, but once the policy is refreshed they come right back.
    >>>
    >>> This is the version ZenWorks gives the users:
    >>>> [General]
    >>>> gPCFunctionalityVersion=2
    >>>> gPCFunctionalityVersion=2
    >>>>
    >> gPCMachineExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{3610EDA5-77EF-11D2-8DC5-00C04FA31A66}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B6664F-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4FB-11D0-A0D0-00A0C90F574B}]
    >>>> Version=6488106
    >>>>
    >> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B66650-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    >>>>
    >>>>
    >>>
    >>> This is the version I cleaned up:
    >>>> [General]
    >>>> gPCFunctionalityVersion=2
    >>>>
    >> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    >>>>
    >> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
    >>>>
    >>>>
    >>>
    >>> I'm not sure how to get Zenworks to use the cleaned up version nor
    >> and
    >>> I too sure what those extra extensions are and how they got in there.
    >> I
    >>> may need to contact Novell in regards to this, but since I'm already
    >>> working on an SR with them I figured I'd go ahead and post here
    >> first.
    >>>
    >>> Any help or advice would be greatly appreciated.
    >>>
    >>>
    >>
    >>
    >> --
    >> Craig Wilson - MCNE, MCSE, CCNA
    >> Novell Knowledge Partner
    >>
    >> Novell does not officially monitor these forums.
    >>
    >> Suggestions/Opinions/Statements made by me are solely my own.
    >> These thoughts may not be shared by either Novell or any rational
    >> human.
    >
    >
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Knowledge Partner
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

  • Import Script Failing Sporadically

    The script ran fine for a year, then it began failing sporadically.  I suspect it's related to a DB timeout or network issue, but I can't pinpoint the issue.  I added some basic logging and error trapping, but it isn't enough to go on.  Any ideas on how to continue troubleshooting?
    Function FDM_JDE_Connect(strLoc, lngCatKey, dblPerKey, strWorkTableName)
    ' Date         Person         Modification
    ' 20131024     Jeff McAhren   Cleaned up code, added logging
      Dim cnSS      ' Integration Connection
      Dim strSQL ' SQL statement for V_HFM_LOAD
      Dim rs     ' v_HFM_LOAD Recordset
      Dim rsAppend ' tTB table append rs object
      Dim strMonth
      Dim strYear
      Dim strJDEMonthCol
      Dim r
      WriteLog "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
      WriteLog "FDM_JDE_Connect Starting"
      WriteLog "strLoc = " & strLoc
      WriteLog "lngCatKey = " & lngCatKey
      WriteLog "dblPerKey = " & dblPerKey
      WriteLog "strWorkTableName = " & strWorkTableName
      Set cnSS = CreateObject("ADODB.Connection")
      Set rs = CreateObject("ADODB.Recordset")
      Set rsAppend = DW.DataAccess.farsTableAppend(strWorkTableName)
      'Connect to the Integration database
      cnSS.open "Provider=SQLOLEDB.1;Password=mypassword;Persist Security Info=True;User ID=myuser;Initial Catalog=mydatabase;Data Source=mydb;"
      WriteLog "Connected to Integration Database; Err = " & Err & " - " & Err.Description
      strMonth = RIGHT("0" & Month(RES.PstrPer),2)
      strJDEMonthCol="GBAN" & strMonth
      strYear = Year(RES.PstrPer)
      strSQL = "SELECT DATAVIEW, YEAR, PERIOD, ENTITY, ACCOUNT, CUSTOM1, CUSTOM2, CUSTOM3, CUSTOM4, AMOUNT " &_
      "FROM V_HFM_LOAD WHERE PERIOD = " & strMonth & " and (YEAR = " & strYear & " or YEAR = '')"
      rs.Open strSQL, cnSS
      WriteLog "rs recordset opened; Err = " & Err & " - " & Err.Description
      'Check for data
      If rs.bof And rs.eof Then
      RES.PlngActionType = 2
      RES.PstrActionValue = "No Records to load!"
      WriteLog "No records to load, exiting function; Err = " & Err & " - " & Err.Description
      Exit Function
      End If
      'Loop through records and append to tTB table in location's DB, use records returned from the strSQL query
      If Not rs.bof And Not rs.eof Then
      WriteLog "Entering do/while loop; Err = " & Err & " - " & Err.Description
      Do While Not rs.eof
      r = r + 1
      rsAppend.AddNew
      If err <> 0 Then WriteLog "*** ERROR EXECUTING ADDNEW - RECORD: " & r & " - Error: " & err  & " - " & Err.Description
      rsAppend.Fields("PartitionKey") = RES.PlngLocKey
      rsAppend.Fields("CatKey") = RES.PlngCatKey
      rsAppend.Fields("PeriodKey") = RES.PdtePerKey
      rsAppend.Fields("DataView") = rs.fields("DATAVIEW").Value
      rsAppend.Fields("CalcAcctType") = 9
      rsAppend.Fields("Amount") = rs.fields("AMOUNT").Value
      rsAppend.Fields("Desc1") = rs.fields("ACCOUNT").Value
      rsAppend.Fields("Account") = rs.fields("ACCOUNT").Value
      rsAppend.Fields("Entity") = rs.fields("ENTITY").Value
      rsAppend.Fields("ICP") = "[ICP None]"
      rsAppend.Fields("UD1") = rs.fields("CUSTOM1").Value
      rsAppend.Fields("UD2") = rs.fields("CUSTOM2").Value
      rsAppend.Fields("UD3") = rs.fields("CUSTOM3").Value
      rsAppend.Fields("UD4") = rs.fields("CUSTOM4").Value
      rsAppend.Update
      If err <> 0 Then WriteLog "*** ERROR EXECUTING UPDATE - RECORD: " & r & " - Error: " & err  & " - " & Err.Description
      If r / 10000 = Int(r / 10000) Then WriteLog "Status Update Record: " & r
      rs.movenext
      If err <> 0 Then WriteLog "*** ERROR EXECUTING MOVENEXT - RECORD: " & r & " - Error: " & err  & " - " & Err.Description
      Loop
      WriteLog "Exiting do/while loop; recordcount = " & r & "; Err = " & Err & Err.Description
      End If
      rs.close
      rsAppend.close
      WriteLog "Recordsets closed, exiting function; Err = " & Err & Err.Description
      'Assign Return value
      FDM_JDE_Connect = True
    End Function
    Sub WriteLog(LogMessage)
        Dim objLogFile
        Dim FSO
        Set fso = CreateObject("Scripting.FileSystemObject")
        Set objLogFile = fso.OpenTextFile("d:\scripts\HFM\FDM_JDE_Connect.log", 8, True) '8=ForAppending
        objLogFile.Writeline (Now() & ": " & LogMessage)
        objLogFile.Close
        Set objLogFile = Nothing
    End Sub

    Oh, and there is this:
    ** Begin FDM Runtime Error Log Entry [2013-10-28 16:07:18] **
    ERROR:
    Code............................................. -2147467259
    Description...................................... File [07^JDE^Actual^Jul - 2013^RR.txt] Caused Error: (Query timeout expired At line: 99) <=== LINE 99 is the "LOOP" Statement
    Procedure........................................ clsBatchLoader.mFileCollectionProcess
    Component........................................ upsWBatchLoaderDM
    Version.......................................... 1112
    Thread........................................... 5844
    IDENTIFICATION:
    User............................................. sys_jde_load
    Computer Name.................................... MyServer
    App Name......................................... BBCFDM
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... MyDBServer
    Database Name.................................... BBCFDM
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... JDE
    Location ID...................................... 749
    Location Seg..................................... 3
    Category......................................... ACTUAL
    Category ID...................................... 13
    Period........................................... Jul - 2013
    Period ID........................................ 7/31/2013
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False

  • Log entries in Service Consupmtion Layer Application Logs of Duet Enterpr

    Dear all,
    I need your inputs to solve the below mentioned issue,
    There is a communication developed between MS sharepoint and SAP.
    By using Mapper Classes for each and every operations the conversion of data format from Sharepoint to SAP and viceversa happens.
    We can see the message or error logs created during the conversion process using the T-code /iwfnd/view_log.
    But i want my custumized messages has to come in that log for that i used the following code in the mapper class Post method but still my logs are not coming in the T-code /iwfnd/view_log.
    DATA: lo_logger TYPE REF TO /iwfnd/cl_logger,"logger singleton
    lo_message_container TYPE REF TO /iwfnd/if_message_container,"message container
    lv_message TYPE bapi_msg,
    lv_log_material TYPE symsgv,
    lv_log_plant TYPE symsgv,
    lv_instance_counter TYPE i,
    lv_previous_pur_doc TYPE char10.
    CONSTANTS gc_log_agent_name TYPE /iwfnd/sup_iw_agent VALUE 'Dev Guide Purchase Req'.
    CONSTANTS gc_log_msg_id TYPE symsgid VALUE 'ZDUET_SCL_PR'.
    Get logger
    CALL METHOD /iwfnd/cl_logger=>get_logger
    RECEIVING
    ro_logger = lo_logger.
    initialize the post mapper log step
    lo_logger->log_step_init(
    EXPORTING iv_msg_number = 000 "Post Mapping started for Purchase Req Header Query
    iv_msg_id = gc_log_msg_id " message class
    iv_system_alias = iv_system_alias "Backend System Alias
    iv_agent = gc_log_agent_name "Dev Guide Purchase Req
    RECEIVING
    rv_msg_handle = lv_msg_handle ).
    lo_logger->log_message(
    EXPORTING
    iv_msg_type = /iwfnd/cl_logger=>info " Message Type
    iv_msg_id = gc_log_msg_id " Message Class
    iv_msg_number = 006 " Message Number
    iv_msg_v1 = lv_instance_counter " Message Variable
    iv_system_alias = iv_system_alias " System Alias
    iv_agent = gc_log_agent_name " IW Agent
    Else
    read through the input parameters for logging query parameters
    READ TABLE it_parameters INTO ls_parameters WITH KEY attr_name = 'MATERIAL'.
    lv_log_material = ls_parameters-low.
    READ TABLE it_parameters INTO ls_parameters WITH KEY attr_name = 'PLANT'.
    lv_log_plant = ls_parameters-low.
    get the message container to add messages
    lo_message_container = io_request_data->get_message_container( ).
    set the request result code to failed so a fault message can be created
    CALL METHOD io_request_data->set_result_code
    EXPORTING
    iv_result_code = /iwfnd/if_srd_request_context=>cs_result_code-failed_permanent.
    add the message to the message container, this will create an error log entry automatically
    CALL METHOD lo_message_container->add_message
    EXPORTING
    is_object_key = ls_key
    iv_msg_type = 'E' "Error
    iv_msg_id = gc_log_msg_id
    iv_msg_number = 004 "Query for Material &1 and Plant &2 returned no results.
    iv_msg_v1 = lv_log_material
    iv_msg_v2 = lv_log_plant
    iv_is_leading_message = abap_true
    iv_message_creator = gc_log_agent_name.
    Endif.
    end this post mapper log step
    lo_logger->log_step_completion( EXPORTING
    iv_msg_type = /iwfnd/cl_logger=>info
    iv_msg_id = gc_log_msg_id
    iv_msg_number = 002 "Post Mapping finished for Purchase Req Header Query
    iv_system_alias = iv_system_alias
    iv_agent = gc_log_agent_name
    iv_msg_handle = lv_msg_handle ).
    please let me know the answe for this issue.
    Many thanks in Advance,
    Harish

    Hi Girimurugan,
    I am currently working with SAP Gateway related stuffs and I need a clarification regarding the application log.
    Hope you are very busy and please clarify the doubts if you can spare few minutes towards this query.
    Appreciate your valuable advise towards this.
    Query:
    Can we log any of the different types of logs (I Info / W Warning / A Abort or Cancel / E Error ) into Application Log(/IWFND/APPS_LOG) of the Gateway system in a Hub deployment model ?
    How the logging can be achieved?
    What are the scenarios, wherein the Application logs are preferred?
    Also I have already raised a query in the SCN with this link: http://scn.sap.com/message/15477543. But could not get much details about it.
    Can you please clarify the same?
    Thanks & Regards,
    Mohamed Meeran

  • Powershell startup scripts fail on Windows 8.1 with error 267

    GPO Powershell startup script fails to execute on Windows 8.1, but does run on Windows 8 and Windows 7. Powershell logon scripts run normally on all versions of Windows.
    The event log contains entries with event ID 1130 from the GroupPolicy source. The log entries claim error 267 "directory name is invalid".
    Running cmd.exe on Windows 8.1 under the computer's account (NT Authority\SYSTEM) confirms that the Powershell script's path in SYSVOL is valid and the script executes normally.
    Running procmon on Windows 8.1 while the startup script is being run on a computer shows that the computer caches the files and folders for this GPO into C:\Windows\system32\GroupPolicy.
    I am not sure why these scripts are failing to execute on Windows 8.1 when they run on Windows 8 and the same set of GPOs are applied to both Windows 8.1 and Windows 8 computers.

    These are all good suggestions, but I have already tried to eliminate:
    All environment variables
    All network paths
    Setup the GPO to reference the script by the file name and with a full absolute path. Neither worked.
    Tried copying the scripts to multiple folders inside the policy, since the event log message reports only the root path of the policy.
    I also used procmon to monitor how the computer handles the startup scripts. I found that the computer caches them into a folder under C:\Windows\System32, but never runs any of them. I never found an error that I could correlate with the event log.
    For instance the following one line scripts failed to run:
    'I AM HERE.' | sc -path C:\Windows\TEMP\TEST.txt
    write-host 'I AM HERE.'
    As far as I can see the first script relies on the existence of C:\Windows\TEMP and write permission to it, which SYSTEM should have.
    The second one liner has no dependencies at all and it doesn't run with the same error.
    I have created multiple GPOs and scripts, so if there was a problem in creating these files and folders it is happening over and over. I checked the permissions and computer accounts have read and execute permissions all throughout the GPOs.
    Everything works perfectly on Windows 7 and 8, just not on 8.1.

  • Troubleshooting PostPrepare script failed with exit code 1

    i get a 'PostPrepare' script failed with exit code '1' message on one of the bundles, and i think i am missing some obvious thing
    it is a simple file bundle, to distribute a pdf printer:
    it distributes 2 files:
    ADIST.PPD to /usr/share/cups/model
    pdf-printer to /usr/lib/cups/backend
    (script based upon Cool Solutions: A CUPS PDF Printer for your SUSE Linux Enterprise Desktop
    then it should execute a pre-installation script that executes:
    Code:
    #!/bin/bash
    rccups restart
    mkdir -p /export/share/pdf
    chmod -R 777 /export
    lpadmin -p Desktop-PDF -v pdf-writer:/export/share/pdf/ -E -P /usr/share/cups/model/ADIST5.PPD -D "PDF Writer for CUPS" -L "PDF on desktop"
    manually placing the files on these locations and executing the script works fine
    on the machine i get (device set to log debug and above)
    Code:
    22 Jul 2010 09:33:00 INFO BundleManager Executing preprepare scripts for PDF printer
    22 Jul 2010 09:33:00 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:00 INFO WebCache Attempting to retrieve 'https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/ADIST5.PPD' (try 1)
    22 Jul 2010 09:33:01 INFO WebCache Successfully retrieved https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/ADIST5.PPD
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO WebCache Attempting to retrieve 'https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/pdf-writer' (try 1)
    22 Jul 2010 09:33:01 INFO WebCache Successfully retrieved https://zlmserver/zenworks-pkgmgt/repo/getBundleFile/3ba56c5bc95bb2874273a7d0cae07d14/8/sled-11-i586/pdf-writer
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO BundleManager Executing postprepare scripts for PDF printer
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO BundleManager Successfully prepared bundles
    22 Jul 2010 09:33:01 INFO BundleManager Beginning bundle transaction
    22 Jul 2010 09:33:01 INFO BundleTransaction Beginning bundle transaction: 1 installs, 0 removals.
    22 Jul 2010 09:33:01 INFO BundleTransaction Executing preinstall scripts for PDF printer
    22 Jul 2010 09:33:01 INFO SystemCatalog Saving system catalog containing 9 bundles
    22 Jul 2010 09:33:01 ERROR BundleTransaction Novell.Zenworks.Zmd.BUNDLE_INSTALL_ERROR: Novell.Zenworks.Zmd.BUNDLE_INSTALL_ERROR
    Novell.Zenworks.Zmd.Public.ZenException: 'PreInstall' script failed with exit code '1'
    22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 ERROR BundleManager Transaction failed: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
    22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 INFO Progress Progress.Stop Message: Parent failed/aborted
    22 Jul 2010 09:33:01 DEBUG Progress Is Stopped value: False
    22 Jul 2010 09:33:01 ERROR ActionManager Failed to execute scheduled action (install (bundles=3ba56c5bc95bb2874273a7d0cae07d14)): Bundle transaction failed: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
    Novell.Zenworks.Zmd.Public.ZenException: Bundle transaction failed: Bundle transaction failed: 'PreInstall' script failed with exit code '1'
    22 Jul 2010 09:33:01 INFO BundleTransaction Bundle transaction ended.
    clients: sled11sp1 i586
    server: sles11 x64 + zlm732
    the files are not copied to their destination
    the target directories are available, writable by root (obviously) there are no files with the same name available, adding a trailing slash to the target path does not help (but other bundles have no trailing slash and run ok)
    questions:
    where are the temporary files copied to?
    where/how can i find what might be causing the preinstall error?
    should i delete previous versions of the bundle in zlm

    until you delete the previous version in zlm and do a rug ref... or is this as designed
    When you make changes to the bundle you need to apply them. That creates a new version and then you need to deploy that new version. Apply and deploy are on the same page. But I guess you know that.
    If you already did that and still had problems, it might be the zen loader that needs a little bit more time. Once you hit deploy, a zen queue entry gets created that informs the zen loader to update the bundle xml file in the file repository. That file is delivered to the managed device when it queries for bundle information. So if that bundle xml contains the old version, the client will see that.
    Problems here can be that the zen loader simply needs a few seconds longer then when you change to the device and run rug ref. Or there can be other queue entries that get processed and the bundle xml update is just in the queue and waiting. The zen loader has 5 slots for processing queue entries.
    On the zlm server you can run "zlman ql I" for in progress entries and "zlman ql N" for new state entries that ned to be processed.
    Or you can use the short script I posted (Cool Solutions: Monitor ZLM queue entries with Nagios) that shows you in one line how many and what type of queue entries currently exist. This is what I always use to get a overview about the queue status.
    Rainer

  • Power Shell Script failed to run - GetMGAlertsCount.ps1

    Our SCOM 2012 R2 is getting the following script error every 45 minutes...
    The PowerShell script failed with below exception
    System.Management.Automation.PropertyNotFoundException: The property 'Name' cannot be found on this object. Verify that the property exists.At line:57 char:3
    + $firstLvlClass = Get-SCOMClass -Id $firstLvlMember.Name
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    at CallSite.Target(Closure , CallSite , Object )
    at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
    at CallSite.Target(Closure , CallSite , Object )
    at System.Management.Automation.Interpreter.DynamicInstruction`2.Run(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    Script Name: GetMGAlertsCount.ps1
    One or more workflows were affected by this.
    Workflow name: ManagementGroupCollectionAlertsCountRule
    Instance name: All Management Servers Resource Pool
    Instance ID: {4932D8F0-C8E2-2F4B-288E-3ED98A340B9F}
    Management group: NCA2
    On the management server seeing corresponding 22406 errors
    System
    Provider
    [ Name]
    Health Service Modules
    EventID
    22406
    [ Qualifiers]
    49152
    Level
    2
    Task
    0
    Keywords
    0x80000000000000
    TimeCreated
    [ SystemTime]
    2015-04-21T18:44:03.000000000Z
    EventRecordID
    1303964
    Channel
    Operations Manager
    Computer
    PKSWSM001.ad.nca.com
    Security
    EventData
    NCA2
    ManagementGroupCollectionAlertsCountRule
    All Management Servers Resource Pool
    {4932D8F0-C8E2-2F4B-288E-3ED98A340B9F}
    GetMGAlertsCount.ps1
    300
    System.Management.Automation.PropertyNotFoundException: The property 'Name' cannot be found on this object. Verify that the property exists.At line:57 char:3 + $firstLvlClass = Get-SCOMClass -Id $firstLvlMember.Name
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ at CallSite.Target(Closure , CallSite , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at CallSite.Target(Closure , CallSite , Object ) at System.Management.Automation.Interpreter.DynamicInstruction`2.Run(InterpretedFrame
    frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    System.Management.Automation.PropertyNotFoundException
    I'm at a bit of a loss to troubleshoot this error.  I cannot find the "GetMGAlertsCount.ps1"  script to execute manually and don't have much else I can find to troubleshoot.
    Thanks for your help!

    1) Please check Event Log on the management server and see if there are any related errors.
    Nothing
    interesting found
    2) On the management server, please ensure the following key exists:
    HKLM:\SOFTWARE\Microsoft\System Center Operations Manager\12\Setup\Powershell\V2
    Two entries found underneath this key;
    (Default) (value not set)
    InstallDirectory C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Powershell\
    3) Action Account has access to the resources used by the PowerShell script.
    is LocalSystem
    4) Make sure that the computer is not over utilized.
    No indication of overutilization
    Thank you for the suggestions!  Do you know of anything else to check?

  • Commadmin domain purge failing at 4000 entries

    It looks as if there is a limit to the # of entries that commadmin domain purge will handle.
    In the directory server log .....
    [22/Jun/2005:13:29:22 -0400] conn=1910901 op=75694 msgId=140949 - SRCH base="o=uwo.ca,dc=its" scope=2 filter="(|(&(sunPreferredDomain=%V)(inetDomainStatus=deleted))(inetgroupstatus=deleted)(inetUserStatus=deleted)(&(objectClass=sunManagedOrganization)(inetDomainStatus=deleted))(icsStatus=deleted))" attrs="objectClass objectClass" authzid="dn:uid=admin,ou=people,o=uwo.ca,dc=its"
    [22/Jun/2005:13:30:44 -0400] conn=1910901 op=75694 msgId=140949 - RESULT err=4 tag=101 nentries=4000 etime=82 notes=U
    I increased the nstimelimit/nslookthroughlimit/nssizelimit on the account I am using
    ldapsearch -h xxxx.xxxx.com -b dc=its uid=admin nssizelimit nslookthroughlimit nstimelimit
    uid=admin, ou=People, o=uwo.ca,dc=its
    nssizelimit=-1
    nslookthroughlimit=-1
    nstimelimit=-1
    I ran into a problem with msuserpurge which was solved by increasing the local.ldapsearchtimeout configutil parameter. Is there a similar parameter for the commadmin utility?
    Thanks
    steve

    I have set the nssizelimit on the account to -1 (unlimited) as indicated in the ldapsearch output but it still fails at 4000 entries.

  • WebClient Error - Failed to log on to the comm. mgmt. software

    Hi, following the CR410 i have created a webclient profile/ framework, and assigned the profile to an org unit.
    now when try to open the webclient using crm_ic, i am getting the above error on the IDES system.
    <b>"Failed to log on to the communication management software system"</b>
    <b>Details of the above error</b>
    Diagnosis
    An error occurred while logging in to the communication management software system.
    System Response
    The multichannel services are not available. You will not be able to work with contacts such as phone calls, e-mails, or chat sessions.
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    Review the ICI trace.
    what could be error...
    Thanks,

    Have you configured CTI with IC WebClient? If yes under IC WebCLient profile look for CONTACTCENTER function profile and enter correct profile.
    If you do not have CTI in place make sure that CONTACTCENTER entry is blank under IC WebClient profile.
    Thanks,
    Thirumala.

  • How do I prevent "The user profile service service failed the log on" error messages?

    I work for an organization with approximately 60 staff members across ~80 Windows 7 Professional PCs. Users log in with Active Directory accounts.
    Approximately once per month, a random user will get an error message while attempting to log into their machine that says "The user profile service service failed the log on."  The solution to resolve this issue is here: http://support.microsoft.com/kb/947215?ppud=4&wa=wsignin1.0.
    The problem is that I want to PREVENT this issue from happening, as it is incredibly inconvenient for the user. I had one staff member board a 5-hour plane trip expecting to do work, and once she got in the air she logged in and
    received the error message and was unable to use her computer for the trip. I've had others locked out of their computer with deadlines to get things done, while I am at home off the clock. Editing the registry is not an easy fix, and so it's not something
    I can just post instructions for in a knowledgebase article.
    Does anyone know how to prevent this issue from occurring? I believe that it has something to do with a network-based startup script, or a service trying to connect to our file server, or the computer trying to connect to our ad server. All of these
    are blocked by firewalls (unless the user is off-site), and I suspect that the services may be timing out, causing the user profile service service failed the logon error message, but I can't seem to eliminate it, after nearly a year of trying.
    90% of the time this problem occurs when the user is off-site, but it has happened while the user is in the office too. Once the user gets this error message, the only way to resolve the problem is to log into their computer as a localadministrator account
    and perform the method #1 fix in the knowledgebase article.
    Thanks

    Have you checked the logged files in event viewer around the time when problem occurred?
    Is there any suspicious events like error or warning related to this issue.
    Try run Active Directory Best Practice Analyzer:
    http://technet.microsoft.com/en-us/library/dd759260.aspx

  • W7: User Profile Service service failed at log on: Apparently W7 is no longer creating any user profile data other than username and picture.

    First time poster, but I think I've done my homework on this issue.
    This issue has similar symptoms to a problem with vista: http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html
    However, it is definitely not the same issue (see further).
    Current Config:
    HP dv7-1450.
    W7 RC 7100 x64
    Last update (up to date as of 8/31/09) installed succesfully 8/26/09 and should be unrelated to this issue (not verified yet by a pre-update restore).
    Running with Admin account while diagnosing/troubleshooting.
    Currently have two working accounts, one standard, one admin.
    Symptom:
    New user accounts cannot be logged into.  On an attempted login to the new account, the following information is displayed on the login screen:  "The User Profile Service service failed the logon.  User profile cannot be loaded."  Windows then logs off the operator and returns to the initial user selection screen.  All other aspects of use are normal.
    Current Diagnostics:
    First attempts to resolve this problem were to recreate the new account.  This was attempted when logged in as both Standard and Admin.  This was also attempted under safe mode.  This has been attempted with virus protection disabled.  All to no difference in the symptom.
    The similarity to the Vista issue (linked above) caused me to check the registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ for the new profile (as suggested by that link).  Unlike that issue, there simply is no entry for the new user.  Examination of the new log entries from creation of account to attempted log in provides the following entries:
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:31 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Profiles> failed a notification event.
    Information 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Sens> failed a notification event.
    Error 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1500 None "Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Warning 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\TEMP\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Error 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1511 None Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    Warning 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\{New Username}\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Naturally I started with the earliest error first, and decided to look to see what is going on.  The file that is trying to be copied is there, but the destination folder does not exist.  As near as I can tell, whatever process (the User Profiles General Service?) is trying to perform the copy does not have sufficient access to perform the operation.  Specifically I suspect it may not be able to create the appropriate folders before performing the copy.  Interestingly, it appears that when windows attempts to open/create a temporary account profile, the same issue occurs.  Since there is no registry entry either, I suspect that the issue also extends to the creation of registry keys, but I am not familiar enough with the sequence of events in the creation of a user profile to determine if this would come before or after a user profile's first login.
    I attempted to find more information, and was able to investigate the UPS diagnostic event log (for a different, but identical attempt at creating and using the new profile).  The following two (unhelpful to me) log entries were generated.
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1002 (1001) "The description for Event ID 1002 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The message id for the desired message could not be found
    Information 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1001 (1001) "The description for Event ID 1001 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    It seems to imply that the User Profiles Service may be corrupted, but this may also be unrelated.  I do not know how to specifically repair this service anyway (but am open to try it if someone can walk me through it a bit).
    There's the info.  I'd like to figure out how to watch the account creation process in more detail to see if I gleen more, but I don't have the experience to know what to do to enable such a log.  I will not perform a reinstall and am loath to do a restore, instead looking more for a cause and effect repair: something that would actually help MS fix the problem rather than have the customer fix the symptom.
    Thanks in advance to responders!

    First time poster, but I think I've done my homework on this issue.
    This issue has similar symptoms to a problem with vista: http://www.vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html
    However, it is definitely not the same issue (see further).
    Current Config:
    HP dv7-1450.
    W7 RC 7100 x64
    Last update (up to date as of 8/31/09) installed succesfully 8/26/09 and should be unrelated to this issue (not verified yet by a pre-update restore).
    Running with Admin account while diagnosing/troubleshooting.
    Currently have two working accounts, one standard, one admin.
    Symptom:
    New user accounts cannot be logged into.  On an attempted login to the new account, the following information is displayed on the login screen:  "The User Profile Service service failed the logon.  User profile cannot be loaded."  Windows then logs off the operator and returns to the initial user selection screen.  All other aspects of use are normal.
    Current Diagnostics:
    First attempts to resolve this problem were to recreate the new account.  This was attempted when logged in as both Standard and Admin.  This was also attempted under safe mode.  This has been attempted with virus protection disabled.  All to no difference in the symptom.
    The similarity to the Vista issue (linked above) caused me to check the registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ for the new profile (as suggested by that link).  Unlike that issue, there simply is no entry for the new user.  Examination of the new log entries from creation of account to attempted log in provides the following entries:
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:31 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Profiles> failed a notification event.
    Information 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6000 None The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    Warning 8/31/2009 12:34:11 PM Microsoft-Windows-Winlogon 6001 None The winlogon notification subscriber <Sens> failed a notification event.
    Error 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1500 None "Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Warning 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\TEMP\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Error 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1511 None Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    Warning 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles General 1509 None "Windows cannot copy file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm to location C:\Users\{New Username}\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm. This error may be caused by network problems or insufficient security rights.
    DETAIL - Access is denied.
    Naturally I started with the earliest error first, and decided to look to see what is going on.  The file that is trying to be copied is there, but the destination folder does not exist.  As near as I can tell, whatever process (the User Profiles General Service?) is trying to perform the copy does not have sufficient access to perform the operation.  Specifically I suspect it may not be able to create the appropriate folders before performing the copy.  Interestingly, it appears that when windows attempts to open/create a temporary account profile, the same issue occurs.  Since there is no registry entry either, I suspect that the issue also extends to the creation of registry keys, but I am not familiar enough with the sequence of events in the creation of a user profile to determine if this would come before or after a user profile's first login.
    I attempted to find more information, and was able to investigate the UPS diagnostic event log (for a different, but identical attempt at creating and using the new profile).  The following two (unhelpful to me) log entries were generated.
    Level Date and Time Source Event ID Task Category
    Information 8/31/2009 12:34:10 PM Microsoft-Windows-User Profiles Service 1002 (1001) "The description for Event ID 1002 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    The message id for the desired message could not be found
    Information 8/31/2009 12:34:09 PM Microsoft-Windows-User Profiles Service 1001 (1001) "The description for Event ID 1001 from source Microsoft-Windows-User Profiles Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    It seems to imply that the User Profiles Service may be corrupted, but this may also be unrelated.  I do not know how to specifically repair this service anyway (but am open to try it if someone can walk me through it a bit).
    There's the info.  I'd like to figure out how to watch the account creation process in more detail to see if I gleen more, but I don't have the experience to know what to do to enable such a log.  I will not perform a reinstall and am loath to do a restore, instead looking more for a cause and effect repair: something that would actually help MS fix the problem rather than have the customer fix the symptom.
    Thanks in advance to responders!
    To resolve this issue, I suggst you delete the file C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm.Arthur Xie - MSFT

  • FDM - Integration IMPORT script failed

    Hi,
    We are on 11.1.2.1.
    I am trying to create a import integration script which i took from the FDM admin guide...and i am trying to pull data from Oracle table...
    But i am getting error as "Data access error" and its in the below line when i try to execute the code form the workbench...but when i use the import button in the web its importing....*i beleive its somethign related to the STRWORKTABLENAME and somewhere i read that i need to declare the function FARSTABLE*...but i dont know how as i am pretty novice to that....can you please help me....
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    also when i checked the error log i saw
    *** Begin FDM Runtime Error Log Entry [2012-07-03 07:06:27] ***
    ERROR:
    Code............................................. -2147467259
    Description...................................... ORA-00903: invalid table name
    Procedure........................................ clsDataAccess.farsTableAppend
    Component........................................ upsWDataWindowDM
    Version.......................................... 1112
    Thread........................................... 20228
    Below is the complete code i am using
    Function SI_ActualLoad(strLoc, lngCatKey, dblPerKey, strWorkTableNam)*
    *+'------------------------------------------------------------------+*
    +'Oracle Hyperion FDM IMPORT Integration Script:+
    +'+
    +'Created By: admin+
    +'Date Created: 2012-06-01 01:19:02+
    +'strWorkTableName+
    +'Purpose:+
    +'strWorkTableName+
    *+'------------------------------------------------------------------+*
    Dim cnSS 'ADO connection Object*
    Dim strSQL 'SQL String*
    Dim rs 'Source system recordset*
    Dim rsAppend 'Hyperion FDM recordset*
    Dim monthvar*
    +'Initialize ADO objects+
    Set cnSS = CreateObject("ADODB.Connection")*
    Set rs = CreateObject("ADODB.Recordset")*
    monthvar=Month(Date)*
    +'Open Hyperion FDM work table recordset For appending+
    +'Set rsappend = DW.DataAccess.farsTableAppend(strWorkTableName)+
    +'Connect To Oracle database (our data source)+
    Dim strConn*
    strConn="Provider=ORAOLEDB.ORACLE.1;Data Source=EMDDS392:1521/DEVDBEMD;Database=DEVDBEMD;User id=xxxxxxx;Password=xxxxx"*
    cnss.open strConn*
    +'Create source query String+
    strSQL = "Select * "*
    +'strSQL = strSQL & "FROM STG_SAP_ACTUALS WHERE ACCOUNT NOT LIKE 'NA'"+
    strSQL = strSQL & "from EGETLDB.STG_SAP_ACTUALS where period =SUBSTR(TO_CHAR(SYSDATE-90,'MONTH'),1,5)"*
    +'Open source recordset+
    rs.Open strSQL, cnSS*
    +'Check For data In source system+
    If rs.bof And rs.eof Then*
    +'Give Error message+
    RES.PlngActionType = 2*
    RES.PstrActionValue = "No records To load!"*
    +'Assign Return value of Function+
    SI_ActualLoad = False ' Assign return value of function*
    Exit Function*
    End If*
    +'Loop through source records In database And append To+
    +'Hyperion FDM work table+
    If Not rs.bof And Not rs.eof Then*
    Do While Not rs.eof*
    rsAppend.AddNew*
    rsAppend.Fields("PartitionKey") = RES.PlngLocKey*
    rsAppend.Fields("CatKey") = RES.lngCatKey*
    rsAppend.Fields("PeriodKey") = RES.dblPerKey*
    rsAppend.Fields("DataView") = "YTD"*
    rsAppend.Fields("CalcAcctType") = 9*
    rsAppend.Fields("Amount") = rs.fields("GROUPCURRENCY").Value*
    rsAppend.Fields("Account") =UCase(rs.fields("ACCOUNT").Value)*
    rsAppend.Fields("Entity") = UCase(rs.fields("ENTITY").Value)*
    rsAppend.Fields("UD1") = UCase(rs.fields("SCENARIO").Value)*
    rsAppend.Fields("UD2") = rs.fields("VERSION").Value*
    rsAppend.Fields("UD3") = rs.fields("CURRENCY").Value*
    rsAppend.Fields("UD4") = rs.fields("TRANS_CURRENCY").Value*
    rsAppend.Fields("UD5") = rs.fields("ZONE").Value*
    rsAppend.Fields("UD6") = rs.fields("CATEGORY").Value*
    rsAppend.Fields("UD7") = rs.fields("SCHEDULE").Value*
    rsAppend.Fields("UD8") =UCase(rs.fields("DEPT_PRJCTS").Value)*
    rsAppend.Fields("UD9") =rs.fields("WBSELEMENT").Value*
    rsAppend.Fields("UD10") = rs.fields("DOC_DETAIL").Value*
    rsAppend.Fields("UD11") = rs.fields("BUSINESS_TRANSACTION").Value*
    rsAppend.Fields("UD12") = rs.fields("VENDOR_NAME").Value*
    rsAppend.Fields("UD13") =rs.fields("RECOVERYINDICATOR").Value*
    rsAppend.Fields("UD14") = rs.fields("TRANSAMOUNT").Value*
    rsAppend.Fields("UD15") = rs.fields("GROUPCURRENCY").Value*
    rsAppend.Fields("UD16") = rs.fields("SEGMENTNO").Value*
    rsAppend.Fields("UD17") = rs.fields("PARTNEROBJECT").Value*
    rsAppend.Fields("UD18") =rs.fields("PO").Value*
    rsAppend.Fields("UD19") = rs.fields("QUANTITY_UOM").Value*
    rsAppend.Fields("UD20") = rs.fields("DESCRIPTION").Value*
    rsAppend.Fields("DESC1") = rs.fields("ACCOUNT_DESCRIPTION").Value*
    rsAppend.Update*
    rs.movenext*
    Loop*
    End If*
    +'Give success message+
    RES.PlngActionType = 6*
    RES.PstrActionValue = "SQL Import successful!"*
    +'Assign Return value+
    SI_ActualLoad = True*
    End Function*

    Per my answer on Network 54 you cannot test the script interactively in FDQM workbench. You must execute the integration script as part of the normal data load process.
    Per the FDM Admin guide: "Integration scripts can be run only by selecting Script from the File Type column of the Import Group grid (top grid) of the Import Formats screen".
    As I mentioned in my Network 54 post you can test the pure vbscript portions (without the FDQM specifics) to confirm that is working properly then add it to the integration script which will only run as part of a normal file import process.
    Regards,
    John A. Booth
    http://www.metavero.com

  • Ecatt script fails due "Error in OLE API method Call"  error

    Hi ,
    Ecatt scripts fails due to "Error in OLE API method Call" error, this error message occurs once a while.
    We are calling testpartner scripts from Ecatt using REFEXT command. At times this ECATT script fails due to above issue.
    Please help in solving this issue.
    Thanks,
    Asha

    >
    Asha Nagaraj wrote:
    > Hi ,
    >
    > Ecatt scripts fails due to "Error in OLE API method Call" error, this error message occurs once a while.
    >
    > We are calling testpartner scripts from Ecatt using REFEXT command. At times this ECATT script fails due to above issue.
    >
    > Please help in solving this issue.
    >
    > Thanks,
    > Asha
    Hi Asha,
    Are those components are connected and the necessay settings has been done?
    Regards,
    SSN.

  • .sh file usage log entries multiplied

    Hi all,
    I have a very strange problem: In order to find out what parts of a big application being used,
    I have added the following line as the first executable line in every .sh file:
    /application/sh_log $0
    The file sh_log looks like this:
    now=$(date +"%Y_%m_%d")
    filename=/spool/logs/sh_log_$now.log
    if [ -f $filename ];                 # Does logfile exist?
    then
       echo  $(basename $1)";"$(date +"%Y%m%d%H%M%S")";" >> $filename   # Logfile exists, append log record
    else
       touch $filename          # Logfile did not exist, create it
       chmod 7777 $filename     # Make it writeable
       echo  $(basename $1)";"$(date +"%Y%m%d%H%M%S")";" >> $filename   # Ans append log record
    fi
    The application calls it's .sh files in a number of ways, but all of them originating from crontab.
    What confuses me is that log entries often appear in tuples, that is, when the application's
    .sh file is calling the file making the log entry, supposedly to make a single log entry, I'm still
    getting 2, 3 or even more log entries with the same time-stamp (resolution: 1 sec).
    I don't understand this and would appreciate if some guru here could give me a clou.
    Regards
    Lars

    Hi,
    I would log also PIDs together with script name: "/application/sh_log $0 $$". Then you could see whether the application script or sh_log is really called more times (different PIDs).
    Also consider to use chmod 0777 instead of 7777. So, e.g.:
    now=$(date +"%Y_%m_%d")
    filename=/spool/logs/sh_log_$now.log
    [ ! -f $filename ] && touch $filename && chmod 0777 $filename
    #Format:  my_PID;script_name;script_PID;timestamp;
    echo  $$";"$(basename $1)";"$2";"$(date +"%Y%m%d%H%M%S")";" >> $filename
    Regards
    Vaclav

Maybe you are looking for

  • Directory ownership and permissions

    After installing WebLogic Server (in /opt/bea as root), I tried to start the admin server and the workSpaceStudio, but both complained about file/directory permissions on various locations under the /opt/bea directory. I started fixing this by openin

  • HT201361 How do i sync books I've put on my mac ibooks with iPhone

    i have mac pro and downloaded and put on books in ibooks however it wont sync with my ibooks on my iphone (apple id the same ) the kindle and amazon email is not the same as apple id so they wont sync any ideas to merge them ive put them in the kindl

  • Product uses

    Just downloaded oracle 9i Enterprise Database for linux. I would like to know the uses of product like --Is this product for trial version for 30 days or I can use frelly for Developement and testing.. After complete testing I will purchse the produc

  • VAMT 3.0 Database Merge Error When Importing Product Activation

    Hi all, We are attempting to combine data currently stored in local sql server from several VAMT installs into a single database on a SQL Server 2008. We export the data into a cilx file from the local database, change the VAMT connection to the new

  • Setting set-search-data-hiding-rule-prop target-dn-regular-expressions

    Hi. I'm trying to set up a data hiding rule in DPS 6.3. I want to have the data hiding rule apply to any DN that ends with o=ny,c=us. I tried setting the target-dn-regular-expressions to 'o=ny,c=us$'. I figured if DPS used regular expression matching