on 07-30-2014 3:12 PM
Hi experts,
I already searched in google without success
I did install a new web dispatcher (nw 7.41)
After the installation the dispatcher did start automatically.
Now I would like to start again with bootstrap, to get automatically the profiles generated.
I did stop the webdispatcher instance via MMC and also the service sapwebdisp....
After this I did start the cmd and entered sapwebdisp -bootstrap.
After entering the requested data, I get the info that the icmauth.txt and sapwebdisp.pfl was generated successfully.
But last line is:
"Could not start "sapwebdisp.exe pf=sapwebdisp.pfl" error -1.
Does anybody know whats the problem?
Also the 2 file are not genereated.
After executing the command again, I only get again the startup error, because the system means that the files already existing.
If I check the service, it starts with the profile "<SID>_W<SID Number>_<hostname>".
Kind regards
I've done the following now, do you think this is ok?
I did see now, that the files generated.
I did go to SYS/profile (because there is the current profile file "<SID>_W<SID Number>_<hostname>".
There I did execute bootstrap command.
After this I did rename the new file to "<SID>_W<SID Number>_<hostname>".
Kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok....I think there was a big missunderstanding form my side.
The service which was created automatically goes not to sapwebdisp.exe, it goes to sapstartsrv.
And I think there the generated profile <SID>_W<SID Number>_<hostname> is ok.
But my question is now, how do I normally start the webdispatcher?
In command line i can use sapwebdisp.exe pf=profile
But can I also start it with the SAP MMC so, that it also uses the sapwebdisp.pfl?
I also tried to create the startup service as written in our link (see below), but in Windows 2012 R2 it seems to be different.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But which profile will be used by SAP MMC?
It seems, as it is not the profile which is genereated by bootstrap.
Can't be, because the WDP-Instance was already running after the installation and the .PFL file wasn't existing.
So may it be, that the current profile file which is used by SAP MMC is in another directory?
Kind regards
Ok I found it now, the logs of startup of MMC is in work directory, logs of startup directly wich command line are near to sapwebdisp.exe
SAP MMC is using only the "<SID>_W<SID Number>_<hostname>" profile, so only the instance profile.
I will try again to implement the parameters of generated file out of bootstrap.
Maybe this time I can make it 😮
so fixed, no it was really the auth.file, it wasn't found.
I have adapted the parameter:
m/HTTP/admin_0 = PREFIX=/sap/wdisp/admin,DOCROOT=./admin,AUTHFILE=$(DIR_PROFILE)\icmauth.txt
(because I had copied the file to profile dir).
I don't know what would be the correct if there is no dir, because it was only AUTHFILE=icmauth.txt
And it was in exe and profile dir and didn't work.
But now it works
Thx again for great support
The only thing I can't follow till now is, what is now the correct profile.file?
In the service I still have the "<SID>_W<SID Number>_<hostname>".
(btw, the service was created automatically by installation I think)
Should I now change the service to use the new .pfl File?
Otherwise after a restart of the service I have again the old profile file, right?
Kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So problem solved now:
Thats the problem, you need to change sapwebdisp.exe to be executed as Administrator.
sapwebdisp.exe->properties->Compatibility->Run this program as an administrator
After that I did execute the bootstrap again and now it works fine
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I renamed the files now.
Where should the icmauth.txt be?
I have it in SYS/profile.
But I can't get access to web admin, as the access is always denied.
But I enter the password, which is given by bootstrap.
Kind regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, then the files which were created, icmauth.txt and sapwebdisp.pfl, rename them and re-exeute the command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Login with SIDADM
Goto; /usr/sap/SID
sapwebdisp -bootstrap
Divyanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also,
Refer:
This is for NW7.4 and requirements to do a bootstrap
Divyanshu
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.