Replace Profile Files -- Restart Fails

Dear all
We're on SAP Netweaver2004s, having following issue:
The Profile Files (Default/Start/Instance) have been deleted and recreated with other names in RZ10. Saving and activating was fine, but after restart of the server, the instance is no longer showing up in the mmc, it seems that the profile files are not assigned properly.
Where can I check and change which profile is used for the start of the mmc?
Any help is appreciated.
Regards,
Silvio

hi shyam
thank you for your reply.
i copied some old profiles into the profile folder, booted the server and started the mmc again. I was able to start all the instances with the old profile.
In TA RZ10 I was able to edit all the profiles, save and activate them. Although the check did not show some errors, I can not restart the instance with this newly safed profile, even if I did not change any profile parameter.
The dispatcher on the instance returns the followin trace file:
trc file: "dev_disp", trc level: 1, release: "700"
sysno      01
sid        P86
systemid   560 (PC with Windows NT)
relno      7000
patchlevel 0
patchno    41
intno      20050900
make:      multithreaded, ASCII, optimized
pid        3268
Tue Dec 12 14:50:05 2006
kernel runs with dp version 210(ext=109) (@(#) DPLIB-INT-VERSION-210)
length of sys_adm_ext is 360 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (01 3268) [dpxxdisp.c   1227]
     shared lib "dw_xml.dll" version 41 successfully loaded
     shared lib "dw_xtc.dll" version 41 successfully loaded
     shared lib "dw_stl.dll" version 41 successfully loaded
     shared lib "dw_gui.dll" version 41 successfully loaded
rdisp/softcancel_sequence :  -> 0,5,-1
use internal message server connection to port 3901
Tue Dec 12 14:50:10 2006
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5227]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpShMCreate: sizeof(wp_adm)          20240     (880)
DpShMCreate: sizeof(tm_adm)          3363936     (16736)
DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
DpShMCreate: sizeof(comm_adm)          528048     (1048)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm)          0     (72)
DpShMCreate: sizeof(vmc_adm)          0     (1208)
DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
DpShMCreate: sizeof(gw_adm)     48
DpShMCreate: SHM_DP_ADM_KEY          (addr: 04AC0040, size: 3999776)
DpShMCreate: allocated sys_adm at 04AC0040
DpShMCreate: allocated wp_adm at 04AC19D0
DpShMCreate: allocated tm_adm_list at 04AC68E0
DpShMCreate: allocated tm_adm at 04AC6910
DpShMCreate: allocated wp_ca_adm at 04DFBD70
DpShMCreate: allocated appc_ca_adm at 04E003C0
DpShMCreate: allocated comm_adm at 04E01B30
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at 04E829E0
DpShMCreate: allocated gw_adm at 04E82A20
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at 04E82A50
DpShMCreate: allocated wall_adm at 04E82A58
MBUF state OFF
EmInit: MmSetImplementation( 2 ).
MM diagnostic options set: 0
<ES> client 0 initializing ....
<ES> InitFreeList
<ES> block size is 1024 kByte.
Using implementation flat
<EsNT> Memory Reset disabled as NT default
<ES> 1023 blocks reserved for free list.
ES initialized.
ERROR => DpAsCreate: CreateProcess (3: No such process) [dpntdisp.c   467]
***LOG Q0I=> DpAsCreate, CreateProcess ( CreateProcess 3) [dpntdisp.c   469]
Memory diagnostic                                 *
Systeminformation
Processor-Typ             : Intel Pentium Pro
Processor-Count           : 4
Operating System          : NT 5.2, Build 3790
Service Pack              : Service Pack 1
NT Pagefile Informations
Config. minimum size      : 14458880 K
Config. maximum size      : 14458880 K
Avail.  maximum size      : 14458880 K
Num
Pagefile
Min.Size
Max.Size
Avail.Max
Curr.Size
1
c:\pagefile.sys
5242880 K
5242880 K
5242880 K
5242880 K
2
e:\pagefile.sys
9216000 K
9216000 K
9216000 K
9216000 K
NT Task Manager Informations
Total Handles             : 538976288
Total Threads             : 538976288
Total Processes           : 538976288
Commit Charge Total       :  2361912 K
Commit Charge Limit       : 18480832 K
Commit Charge Peak        :  2361912 K
Phys.Memory Total         : 71100520 K
Phys.Memory Available     : 2083791183 K
File Cache                :  4028416 K
Kernel Memory Total       : 71100592 K
Kernel Memory Paged       : 2083845724 K
Kernel Memory Nonpaged    :       19 K
Memory usage of current process
Total virt.address space  :  2097024 K
Avail.virt.address space  :  1047524 K
Private Pages             :        0 K
Total heap size           :    10366 K
Virtual memory regions    :        0 K
Uncommitted heap memory   :     5652 K
Allocated heap memory     :     4594 K
Moveable heap memory      :        0 K
DDE shared heap memory    :        0 K
Memory usage of all processes
PID
Image
Instance
Work.Set
WS Peak
Priv.Pages
PP Peak
Pg Fault
1216
sapstartsrv.exe
22604 K
22604 K
22352 K
22352 K
5
2480
msg_server.EXE
[MS] P86_00
6076 K
6076 K
7668 K
7668 K
1
2504
enserver.EXE
[**] P86_00
13672 K
13672 K
54404 K
54404 K
3
3220
msg_server.EXE
[MS] P86_01
5428 K
5428 K
6168 K
6168 K
1
3268
disp+work.EXE
29652 K
29716 K
45732 K
45836 K
7
3232
igswd.EXE
[**] P86_01
2752 K
2988 K
1528 K
1788 K
0
Sum
80184 K
137852 K
Tue Dec 12 14:50:11 2006
DP_FATAL_ERROR => Gateway could not be started - I better exit now
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=1557
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Dec 12 14:50:21 2006
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long)               Tue Dec 12 13:50:21 2006
========================
No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
0 DIA       -1 Run           no      0   0             0                                                             
1 DIA       -1 Run           no      0   0             0                                                             
2 DIA       -1 Run           no      0   0             0                                                             
3 DIA       -1 Run           no      0   0             0                                                             
4 DIA       -1 Run           no      0   0             0                                                             
5 DIA       -1 Run           no      0   0             0                                                             
6 DIA       -1 Run           no      0   0             0                                                             
7 DIA       -1 Run           no      0   0             0                                                             
8 DIA       -1 Run           no      0   0             0                                                             
9 DIA       -1 Run           no      0   0             0                                                             
10 UPD       -1 Run           no      0   0             0                                                             
11 UPD       -1 Run           no      0   0             0                                                             
12 ENQ       -1 Run           no      0   0             0                                                             
13 BTC       -1 Run           no      0   0             0                                                             
14 BTC       -1 Run           no      0   0             0                                                             
15 BTC       -1 Run           no      0   0             0                                                             
16 BTC       -1 Run           no      0   0             0                                                             
17 BTC       -1 Run           no      0   0             0                                                             
18 BTC       -1 Run           no      0   0             0                                                             
19 BTC       -1 Run           no      0   0             0                                                             
20 BTC       -1 Run           no      0   0             0                                                             
21 SPO       -1 Run           no      0   0             0                                                             
22 UP2       -1 Run           no      0   0             0                                                             
Dispatcher Queue Statistics               Tue Dec 12 13:50:21 2006
===========================
--------++++--
+
Typ
now
high
max
writes
reads
--------++++--
+
NOWP
0
0
2000
0
0
--------++++--
+
DIA
0
0
2000
0
0
--------++++--
+
UPD
0
0
2000
0
0
--------++++--
+
ENQ
0
0
2000
0
0
--------++++--
+
BTC
0
0
2000
0
0
--------++++--
+
SPO
0
0
2000
0
0
--------++++--
+
UP2
0
0
2000
0
0
--------++++--
+
max_rq_id          0
wake_evt_udp_now     0
wake events           total     0,  udp     0 (  0%),  shm     0 (  0%)
since last update     total     0,  udp     0 (  0%),  shm     0 (  0%)
Dump of tm_adm structure:               Tue Dec 12 13:50:21 2006
=========================
Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
Workprocess Comm. Area Blocks               Tue Dec 12 13:50:21 2006
=============================
Slots: 300, Used: 0, Max: 0
--------++--
+
id
owner
pid
eyecatcher
--------++--
+
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1557
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Dec 12 14:50:26 2006
NiISelect: TIMEOUT occured (5000ms)
Shutdown server ...
DpJ2eeDisableRestart
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
DpWakeUpWps: wake up all wp's
[DpWpDied] W0 handle not set (PID:-1)
[DpWpDied] W1 handle not set (PID:-1)
[DpWpDied] W2 handle not set (PID:-1)
[DpWpDied] W3 handle not set (PID:-1)
[DpWpDied] W4 handle not set (PID:-1)
[DpWpDied] W5 handle not set (PID:-1)
[DpWpDied] W6 handle not set (PID:-1)
[DpWpDied] W7 handle not set (PID:-1)
[DpWpDied] W8 handle not set (PID:-1)
[DpWpDied] W9 handle not set (PID:-1)
[DpWpDied] W10 handle not set (PID:-1)
[DpWpDied] W11 handle not set (PID:-1)
[DpWpDied] W12 handle not set (PID:-1)
[DpWpDied] W13 handle not set (PID:-1)
[DpWpDied] W14 handle not set (PID:-1)
[DpWpDied] W15 handle not set (PID:-1)
[DpWpDied] W16 handle not set (PID:-1)
[DpWpDied] W17 handle not set (PID:-1)
[DpWpDied] W18 handle not set (PID:-1)
[DpWpDied] W19 handle not set (PID:-1)
[DpWpDied] W20 handle not set (PID:-1)
[DpWpDied] W21 handle not set (PID:-1)
[DpWpDied] W22 handle not set (PID:-1)
Stop work processes
Terminate gui connections
wait for end of work processes
detach from message server
cleanup EM
EsCleanup ....
EmCleanup() -> 0
Es2Cleanup: Cleanup ES2
***LOG Q05=> DpHalt, DPStop ( 3268) [dpxxdisp.c   9983]
Good Bye .....
Any idea?
Regards,
Silvio

Similar Messages

  • Firefox not working, instructed to create a new profile, said it would save old files, restarted firefox, all old files seem to be gone? Can anyone explain?

    I was having issues with Firefox opening. I opened my Safari browser to troubleshoot and after looking for solutions to Firefox not opening, I opened the firefox profile manager. The directions instructed me to create a new profile and then delete my old one (and save old files). I did that and then upon restarting firefox all my bookmarks, history, passwords etc. were gone. When I looked at the folders in my profile file, they all had creation dates of only a few minutes prior. Did I lose it all? I followed the instructions, I don't understand where all my information went.

    Did you use the Profile Manager or did you use reset to create that new profile?
    *https://support.mozilla.org/kb/reset-firefox-easily-fix-most-problems
    A reset tries to import some data from the old profile and then moves the profile to the desktop, but if you use the Profile Manager then you need to copy that data yourself to the new profile.
    If you've deleted the old profile before making sure that your data has been recovered then you've lost that personal data.
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Replacing JAR files loaded by custom ClassLoader

    Hi all,
    I am trying to create an auto-updater for a stand alone application, which can look for new versions of relevant jar files on the internet and download them. I have code which will look for newly downloaded versions and can replace the old jar file with the new one (using simple File methods). This works fine for when the application is started initially, but as the application is a server and may not manually be started for a long time, I am trying to force the server to restart and reload with the new code.
    if(newCode.exists()) {
         System.out.println("new code!");
         if(oldCode.exists()) {
              oldCode.delete();
         if(code.exists()) {
              if(! code.renameTo(oldCode)) {
                        throw new IOException("Error backing up code file");
         if(! newCode.renameTo(code)) {
              throw new IOException("Error installing new code file");
    }I have looked around the forums a bit, and have come up with using a ClassLoader based on URLClassLoader:
    class ProxyLoader extends URLClassLoader
         public ProxyLoader(String jarFile) throws MalformedURLException {
              super(new URL[] { (new File(jarFile)).toURL() });
         public Class findClass(String name) throws ClassNotFoundException {
              System.out.println("Finding: " + name);
              return super.findClass(name);
    }This seems to work OK, as all the classes from the jar file are loaded by this classloader.
    I have a method which can create an instance of the class loader, and load the server application.
    private boolean startProxy(int port) {
         try {
              pl = new ProxyLoader("proxy.jar");
              Class ptClass = pl.loadClass("proxy.POPThread");
              pt = ptClass.newInstance();
              Method ptStart = ptClass.getMethod("start", new Class[0]);
              ptStart.invoke(pt, new Object[0]);
              return true;
         } catch(Exception e) {
              return false;
    }I also have a method to shut down the server:
    private boolean stopProxy() {
         try {
              Class ptClass = pl.loadClass("proxy.POPThread");
              Method ptInterrupt = ptClass.getMethod("interrupt", new Class[0]);
              ptInterrupt.invoke(pt, new Object[0]);
              return true;
         } catch(Exception e) {
              return false;
    }These appear to be working fine, the problem I have however is when I try to rename the existing jar file (proxy.jar) in order to replace it with a new one (proxy.new), the renameTo method on the File object fails. I am guessing that is because the proxy.jar file is still in use by the JVM. I have tried setting the classloader var to null, but this doesnt seem to have any effect.
    My main question is how can I 'free' the jar file so that it can be replaced with new code? Is it possible? My only otherway of working around this is to have a variable stored in a file pointing at the 'current' code, but the jar file isn't litterally replaced.
    This is a standalone application, which will probably run in a startup script on a server, so webstart isn't really an option.
    TIA
    iklesteve

    I have found this to be true anytime I try to use the renameTo() API to rename a file with a .jar file extension (regardless of the actual file type - i.e. it could be a text file with .jar appended and it will still fail) in the case where the class making the renameTo() call is loaded from another .jar file.
    I run the same exact code after extracting from the .jar, then the rename to the other .jar file is successful. Also, if I rename the .jar file to a ".ja" file, I can successfully rename the jar file even if the code is running with the context of another .jar file.
    Is this some kind of bogus security measure within the JVM or is it a bug?

  • Adobe flash updater appears to lock user profile files in Windows 7

    Hello All,
    I don't own any Adobe products, but I wanted to put this up so that others who run into this issue can find it, and hopefully Adobe will look into it if it's common.
    This evening, I had just restarted my computer (Windows 7 RC), and after an usually long load time, I found myself loading into a profile other than my own.  Windows informed me that it has been unable to access my user profile and so had booted me into a temporary profile.  I noticed that the reason for being unable to access the profile was that it was being accessed (locked) by another program.  I rebooted.
    This time when I logged in, I was taken to my own profile, but before it loaded, I received a message from windows stating that it has been unable to open the user profile, and at the same time I saw a prompt from the Adobe Updater asking me if I wanted to upgrade to the next version of Adobe Flash.  After closing the dialogs, my profile contained everything for my desktop, but my windows settings appeared to have all been disabled (meaning Windows Aero was turned off and everything looked...odd--like an older version of windows squeezed into the updated Windows 7 interface).
    Taking a guess that the prompt from the Adobe updater may have been responsible for locking the profile while it was awaiting a response (somehow I guess it was running BEFORE windows loaded the user profile), I uninstalled all my adobe products and rebooted.
    Issue solved. Presumably, installing the update when you first see the prompt and not waiting for another time after a reboot would also bypass this issue.
    So it appears that the Update prompt locks the Windows user profile in Windows 7, which causes a problem because (maybe only on machines that don't auto login?) it appears to run before the profile loads: so it has a user profile file locked waiting for a response from the user, which can't come because the profile hasn't been loaded by Windows (so the user can't see the prompt), but Windows can't load the profile because the file is locked...sort of a soft dead lock (since I was sort of able to get in eventually).
    Wanted to get this out, and was also wondering if anyone else has seen this issue.
    Cheers,
    -jfc

    Trying to install FB 4.5 - comes up with this error on my machine - anyone have any concrete ideas on how to overcome this...
    I've tried rebooting, removing activex plugins etc but of no help....
    WARNING: DW031: Payload:{650C9D09-D5BD-4532-8BEE-01DBC1DF5537} Adobe Flash Builder 4.5 4.5.0.0 has been updated and has been selected for repair. The patch {CEAC4FFA-E7DE-4434-890A-F0AC7792DE5E} Adobe Flash Builder 4.5_4.5.1_AdobeFlashBuilder-mul 4.5.1.0 will be uninstalled now.
    WARNING: DW031: Payload:{650C9D09-D5BD-4532-8BEE-01DBC1DF5537} Adobe Flash Builder 4.5 4.5.0.0 has been updated and has been selected for repair. The patch {CEAC4FFA-E7DE-4434-890A-F0AC7792DE5E} Adobe Flash Builder 4.5_4.5.1_AdobeFlashBuilder-mul 4.5.1.0 will be uninstalled now.
    ----------- Payload: {551D0A52-5E4A-4898-9FFF-FEAA5E89585A} Adobe Flash Player 10 ActiveX 10.0.0.0 -----------
    ERROR: Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action NewCustomAction1, location: C:\DOCUME~1\nanunh\LOCALS~1\Temp\InstallAX.exe, command: -install activex -msi
    ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
    MSI Error message: Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action NewCustomAction1, location: C:\DOCUME~1\nanunh\LOCALS~1\Temp\InstallAX.exe, command: -install activex -msi
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Adobe Flash Player 10 ActiveX: Install failed
    Please search the above error/warning string(s) to find when the error occurred.
    These errors resulted in installer Exit Code mentioned below.
    Exit Code: 6 - Silent workflow completed with errors.
    [    1460] Mon Aug 15 17:52:20 2011  INFO
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

  • Linux - Oracle - Crystal Report Server XI : Error in File Report1: Failed to load database information.

    I am using Crystal Reports Server XI on Linux Server with Oracle Server 10g.
    I did install Oracle Client on Report Server and config Oracle SID in tnsnames.ora also. It works well with tnsping command. Then, I published a report which was created in Crystal Reports developer on this server.
    When I preview the report on Report Server. I got the following error message:
    Error in File Report1: Failed to load database information.
    Try to fix the problem I ran web Central Management Console -> Objects ->Report1->Process -> Database and set there the following parameters:
    Database driver: Oracle
    Server: servers_host_name
    Database: (tried both ORACLE_SID and tns_name)
    User: oracle_user_name
    Password: oracle_pw
    It still got the same problem.
    I will appreciate any help.
    Tham.

    I was having a similar problem in Crystal Reports Server 2008 v1, and had to install the full client to resolve it, which I didn't like.  I poked around some, and was able to get the Instant Client working with a few minor changes.  Note that I tried it only with the 32-bit Instant Client even though I was on a 64-bit system because that was what SAP recommended when I talked to them.
    The changes I had to do was initialize the Oracle environment variables (the instant client doesn't have a script to do this for you) and to create a soft-link which is included in the full client, but not in the instant client.
    To setup the environment variables I created a file called env.sh and put it in /opt/crystal/bobje/setup/oracle/, where /opt/crystal was my install path.  This ensured that it got called by the /opt/crystal/bobje/setup/env.sh script which runs as part of the System init scripts to initialize the environment.  The following is what I put in my file (again for the 32-bit 11g R2 instant client):
         export ORACLE_SID=summitdb
         export ORACLE_HOME='/usr/lib/oracle/11.2/client'
         export ORACLE_BASE='/usr/lib/oracle/'
         export TNS_ADMIN='/usr/lib/oracle/11.2/client/network/admin'
         export PATH="$:/usr/lib/oracle/11.2/client/bin"
         export LD_LIBRARY_PATH="$$/usr/lib/oracle/11.2/client/lib"
    After that, I created the missing soft link using this command:
         ln -s "$/lib/libclntsh.so.11.1" "$/lib/libclntsh.so.10.1"
    Once I had done those two things, and restarted the service using the /etc/init.d script, it worked fine.

  • Content file download failed. Reason: HTTP status 404: The requested URL does not exist on the server.

    Hi,
    I am getting this error in most of our WSUS servers.
    Content file download failed.
    Reason: HTTP status 404: The requested URL does not exist on the server.
    Source File: /Content/FB/134501186F4C81089054E4EC3376E74EEC895EFB.exe 
    Destination File: d:\wsus\WsusContent\FB\134501186F4C81089054E4EC3376E74EEC895EFB.exe
     After few minutes, getting below error as well. But i could see the synchronization has completed successfully.
    Log Name:      Application
    Source:        Windows Server Update Services
    Date:          12/19/2014 4:45:55 PM
    Event ID:      10032
    Task Category: 7
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      ******
    Description:
    The server is failing to download some updates.
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows Server Update Services" />
        <EventID Qualifiers="0">10032</EventID>
        <Level>2</Level>
        <Task>7</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-12-19T08:45:55.000000000Z" />
        <EventRecordID>496887</EventRecordID>
        <Channel>Application</Channel>
        <Computer>*****</Computer>
         <Data>The server is failing to download some updates.</Data>
    This error is happening everyday. Please advise for a fix.

    Reason: HTTP status 404: The requested URL does not exist on the server.
    Source File: /Content/FB/134501186F4C81089054E4EC3376E74EEC895EFB.exe 
    Destination File: d:\wsus\WsusContent\FB\134501186F4C81089054E4EC3376E74EEC895EFB.exe
    Source:        Windows Server Update Services
    Description:
    The server is failing to download some updates.
    This error is happening everyday. Please advise for a fix.
    If this is happening on an UPSTREAM server it is because you have approved updates that are no longer available from Microsoft. Almost always this involves approvals of *EXPIRED* updates (which have been pulled from the catalog and cannot be downloaded).
    If this is happening on a DOWNSTREAM server it's because something/someone deleted the files from the upstream server. It can also happen if the entire upstream ~\WSUSContent folder has gone amuk.
    For an upstream server, find the expired updates, remove the approvals, cancel the downloads, and then decline the updates.
    For a downstream server, figure out what the affected updates are and fix the upstream server.
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • 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

  • The User Profile Service service failed to Login user Profile error in Windows 7 Home Premium

    Hi,
    I recently purchased a new Dell Inspirion 1564 Laptop which had Microsoft Windows 7 Home Premium 64-bit installed.
    The hardware configuration is i5 core Processor, 4GB Ram , 320GB HDD and 512MB Graphics card.
    Today morning, I couldn't login as the system returned the following error after I entered the password.
    "The User Profile Service service failed to login.
    User Profile cannot be loaded"
    I couldn't login at all as i had not created any other user account, even the face recognition didn't work.
    I had to restore my pc to the previous state. I believe this happened after the installation of Windows Malicious Software Removal Tool x64 - March 2010 (KB890830) update, not immeditately though as i used the system few times after the installation of this update.
    Is this a bug? I cant imagine if this happens if I am about to give a presentation, its going to be disastrous!
    Any help is appreciated
    Avinash

    I'm getting the same issue - I'm the IT Manager at a school where every student has a laptop (fujitsu tablet T4410). This occurs to at least one new student every day. I have been unable to re-create the issue on demand, although I suspect it occurs when a temporary user profile gets created after the logon process takes too long (due to some disk activity, possibly related to windows updates or some thing). When we were creating student accounts on the machines, this would occur if we attempted to log in the newly created account before the computer had 'settled down' - it seems that there is a logon timeout, after which something stops working. If the new user's first logon happened too soon after booting, the profile would be corrupted. But this doesn't quite explain why it occurs seemingly randomly now.
    My current solution is to boot into safe mode, back up the user's files, delete the account, create it again (the other suggested solutions on the internet did not work)
    If you're desperate, you can log in while in safe mode, and use that to create a new account.
    In any case, this is proving a very bad experience of Windows 7 for my students, and I hope to see a more useful fix for this soon.

  • Oracle 11gR2 RAC: how to solve "user profile creation mask failed" ?

    Folks,
    Hello.
    I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer.
    I am using Cluster Verification Utility (CVU) to test the 2 nodes for Grid installation as follows:
    [ora11g@rac1 grid] $ ./runcluvfy.sh stage -pre crsinst -n all -r 11gR2 -orainv ora11g -fixup -fixupdir /mydir -verbose
    All items for rac2 are passed. There is only one item for rac1 is not passed as follows:
    Check default user profile creation mask:
    Node Name: rac1
    Available: 0002
    Required: 0022
    Comment: failed
    There are 3 ways to solve this issue:
    1) In the file /etc/bashrc, change the line "umask 0002" to "umask 0022".
    2) In the file /etc/profile, add line "umask 0022" at the end of the file.
    3) In the file /etc/csh.cshrc, change the line "umask 002" to "umask 0022".
    In rac2, I got the same issue in the past. I just change the line "umask 0002" to "umask 0022" in the file /etc/bashrc and the issue is solved.
    But in rac1, I have tried each of the 3 options and also combined 1) and 2), 1) and 3), 2) and 3), 1) and 2) and 3). Totally, that's 7 options. But all of 7 options cannot solve the issue.
    The script runcluvfy.sh still tests rac1 user profile creation mask failed. My question is:
    Do any folk understand how to solve VM rac1 user profile creation mask problem ?
    Thanks.

    Folks,
    Hello. I follow the document "Oracle Grid Infrastructure Installation Guide 11g Release 2 (11.2) for Linux E22489-04" and do the following:
    [root@rac1 /]#echo $SHELL
    Output: /bin/bash
    This means we need to edit Bash shell file .bash_profile.
    [ora11g@rac1 ~]$vi /home/ora11g/.bash_profile
    Add this line: umask 022
    Then I save the file .bash_profile and reboot OS.
    Then I run the following command:
    [ora11g@rac1 grid] $ ./runcluvfy.sh stage -pre crsinst -n all -r 11gR2 -orainv ora11g -fixup -fixupdir /mydir -verbose
    But the reusult is the same. The issue is not solved as follows:
    Check default user profile creation mask:
    Node Name: rac1
    Available: 0002
    Required: 0022
    Comment: failed
    Do any folk understand how to solve VM rac1 user profile creation mask problem ?
    Thanks.

  • Windows 8 "The user Profile Service service failed the sign-in. User profile cannot be loaded."

    Hello All,
    OK here is what i'm trying to figure out. First off i am new to my company and still trying to learn the in and outs but have already been thrown into the lions cage by myself. I inherited a network that is run on Windows Server 2008 R2. The domain consists
    of XP,Windows 7 and Windows 8 machines. Here is the issue i am facing.  
    Every once in a while (usually after a few hours of inactivity) when a user goes to log into the machine they receive an error stating  "The user Profile Service service failed the sign-in. User profile cannot be loaded.". However
    this only happens to the windows 8 machines and like i mentioned earlier it usually happens after a brief inactivity period. Now restarting the machine always works(100% of the time) but this super annoying. I have also completely restarted the server just
    to find out the problem resurfaced later that day.
    Any idea on how to fix this issue? Like i mentioned this only happens to the Windows 8 machines. Is there something i should do on my server to prevent this?
    Any help would be greatly appreciated!
    Thank you

    This one might help.
    http://support.microsoft.com/kb/947215
    Also might ask them over here.
    https://social.technet.microsoft.com/Forums/windows/en-US/home?category=w8itpro
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Upgrading to solaris 8 using a profile file

    I have successfully upgraded from Solaris 7 to 8 on an E250, maintaining the integrity of my previous applications. Is there a way to use a profile file so that the upgrade is �hands-free?� I can do this already via a jumpstart server, but is there a way to do it while booting from the Solaris 8 CD???
    Thanks in advance,
    Kevin

    I've never had any issues with CF8 locking on emails, we send thousands without any issues.
    As for the script I have honestly never tried restarting CF from itself, but I'd try calling a Powershell script, which can do the restart in one move:
       get-service | ?{$_.name -match "Coldfusion 8 Application Server"} | restart-service
    Haven't tried it but that'd be a good place to start I reckon.
    O.

  • Content file download failed.

    I haven't been able to find anything on this anywhere. Trying to get Windows 8.1 Update (KB2919355) to download, but it keeps failing.  I'm using WSUS 3.2 on Server 2008 R2, 156GB free space on E drive.
    This error has been occurring since April, but all other updates are downloading fine.  If I sort by file status, only the 3 updates for 8.1, 8.1 x64, and 2012 R2 are stuck trying to download.
    Anyone have any ideas?
    Event ID 364:
    Content file download failed. Reason: An attempt was made to move the file pointer before the beginning of the file.
    Source File: /msdownload/update/software/crup/2014/02/windows8.1-kb2919355-x64_66955196a82751d1c8d9806d321487562b159f41.psf Destination File: E:\WSUS\WsusContent\41\66955196A82751D1C8D9806D321487562B159F41.psf.

    Anyone know if this is still an issue in WSUS 3.2:
    http://support.microsoft.com/kb/974500/en-us ?
    All existing WSUS v3.2 hotfixes were rolled up into KB2720211 (so they are also present in KB2734608, KB2828185 and KB2938066).
    [Edit] Ehhhh. but that's actually a WUA issue that's *not* been resolved to my knowledge. It's not really a bug, just a fact of how the WUA caches content.
    Method #2, however, should be the option of FIRST choice. DECLINE the update, and force a client detection. But note that even this methodology is designed to be a *reactive* response, only if the client freaks out.
    Then, once the client knows the update is no longer available, you can re-approve the update, and the WUA will RE-download the content that is available. (Of course.. what's also not written in that KB article is that the 'issue' only applies to updates
    that actually HAVE EIFs that the client can download!) :-)
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • USER PROFILE SERVICES: Service failed to Logon

    THE SOLUTION!!  It is so simple!  Microsoft or Windows "Restore Point".  Just go there and restore your system to any date when your system was working right.  In my case, an automatic update for Shockwave Flash Player caused my problem.  I just went to the Restore Point and set the restore point for prior to the update and everything was A-okay again.  You don't have to try any of all that terrible advice that is being given for solving this problem.  System Restore:  a simple, trustworthy and quick fix by Windows itself!
    Hope this helps all those people out there having this same problem as I did.  Which is how I figured it out.  After reviewing, out of disbelief, all the bad advice being given; I came up with the solution from my own brain power.  It is so simple, but since we never had System Restore Point in the versions prior to XP, I rarely think of it. 
    I hope this helps a lot of people!
    Signed:  Vee

    snowcat45.1
    0
    I had this problem happen to me just after installing Win 7 and was messing around with the text settings on desktop.I had changed text sizeand icon size, when I was switching back ;the puter restarted and I discovered I was locked out with message " The User Profile Service seervice failed logon - user profile not found". I contacted  Dell support and they were of no help but suggested to reload my puter!! I using f8 key got in through safe mode and did a system restore and the problem fixed

  • Access RemoteApp error: The User Profile Service service failed the sign-in

    I have couple of users in MYAPPS group that is a part of Collection.
    Only me (domain admin) and other domain member user can access the app from RDWEB.
    When an other domain admin and an another domain user try to access the app (from different machines) they get:
    "Access RemoteApp error: The User Profile Service service failed the sign-in"
    RDS is Server 2012 R2 clients W7, W8.
    I found all kind of troubleshooting for Vista and W7 non RDS scenario.
    What it could be? A bit confusing... one admin Yes another no. The same for regular domain member
    1. users can login to RD Web (https:../rdweb) . The published app appears
    2. When clicking on the app icon the screen below appears
    &quot;When you hit a wrong note it's the next note that makes it good or bad&quot;. Miles Davis

    Checked Event. There were errors indicating that default profile files cannot be copied to user_name profile.
    One of them:
    Windows cannot copy file
    \\?\C:\Users\Default\AppData\Local\Microsoft\Windows\WinX\Group3\08 - Power Options.lnk to location
    \\?\C:\Users\blue\AppData\Local\Microsoft\Windows\WinX\Group3\08 - Power Options.lnk. This error may be caused by network problems or insufficient security rights.
     DETAIL - The process cannot access the file because it is being used by another process.
    After doing more research I found a suggestion that actually fixed the problem instantly:
    -- We also see this problem. You should try to uninstall KB2919355 --
    Other people experience the same problem with RDS 2012.
    Here is the discussion:
    http://serverfault.com/questions/590651/copying-default-profile-for-new-users-fails-with-the-process-cannot-access-the
    I did check KB2919355. It looks like pretty important...
    All future security and nonsecurity updates for W8.1 and 2012 R2 require this update to be installed...
    So how to deal with this thing?
    May be somebody from Microsoft will see this post and can suggest other workaround instead of removing the important patch.
    Thanks Jay for pushing me to check Event :)
    &quot;When you hit a wrong note it's the next note that makes it good or bad&quot;. Miles Davis

Maybe you are looking for