on 09-22-2007 5:55 AM
I changed sap server's hostname,and also changed the profile's config,but the disp+word.exe cannot start. the warning from windows2k os is :
Failed to update service environment from user (BBPSRV\bbpadm) environment. [ntservmgr.cpp 184]
the current hostname is "bbpsr2",but the above warning shows "bbpsrv",how can it be like this? where else to change the hostname in sap rather than the profile?
I changed the filename,but still not work.
this is the trace infomation:
BBPSR2\bbpadm is starting R/3 System at 2007/09/24 15:10:41
SAP-R/3-Startup Program
Starting at 2007/09/24 15:10:41
Startup Profile: "D:\usr\sap\BBP\sys\profile\START_DVEBMGS00_bbpsr2"
Starting Programs
(1696) Execute: D:\usr\sap\BBP\SYS\exe\run\strdbs.cmd BBP
(540) CreateProcess: D:\usr\sap\BBP\SYS\exe\run\msg_server.exe pf=D:\usr\sap\BBP\SYS\profile\BBP_DVEBMGS00_bbpsr2
(2820) CreateProcess: D:\usr\sap\BBP\SYS\exe\run\disp+work.exe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
default.pfl----
rdisp/max_hold_time = 180
SAPSYSTEMNAME = BBP
SAPDBHOST = BBPSR2
rdisp/mshost = BBPSR2
rdisp/msserv = sapmsBBP
rdisp/vbname = bbpsr2_BBP_00
rdisp/enqname = bbpsr2_BBP_00
rdisp/btcname = bbpsr2_BBP_00
rslg/collect_daemon/listen_port = 39
rslg/collect_daemon/talk_port = 40
rslg/send_daemon/listen_port = 37
rslg/send_daemon/talk_port = 13
rdisp/bufrefmode = sendon,exeauto
start_menu = BBP0
rdisp/sna_gateway = BBPSR2
rdisp/sna_gw_service = sapgw00
START_DVEBMGS00_bbpsr2----
SAPSYSTEMNAME = BBP
INSTANCE_NAME = DVEBMGS00
SAPSYSTEM = 00
SAPGLOBALHOST = bbpsr2
_DB = strdbs.cmd
Start_Program_02 = immediate $(DIR_EXECUTABLE)\$(_DB) $(SAPSYSTEMNAME)
MS = msgserver.exe
Start_Program_03 = local $(DIR_EXECUTABLE)\$(_MS) pf=$(DIR_PROFILE)\BBP_DVEBMGS00_bbpsr2
_DW = disp+work.exe
Start_Program_04 = local $(DIR_EXECUTABLE)\$(_DW)
pf=$(DIR_PROFILE)\BBP_DVEBMGS00_bbpsr2
BBP_DVEBMGS00_bbpsr2----
*
login/password_expiration_time = 90
rdisp/max_wprun_time = 2400
gw/max_overflow_size = 20000000
rdisp/wp_ca_blk_no = 2000
rsdb/obj/max_objects = 20000
rsdb/obj/buffersize = 20000
sap/bufdir_entries = 10000
zcsa/presentation_buffer_area = 20000000
rsdb/cua/buffersize = 5000
rtbb/buffer_length = 20000
rtbb/max_tables = 500
abap/buffersize = 300000
rdisp/max_hold_time = 180
rdisp/appc_ca_blk_no = 2000
rdisp/max_comm_entries = 2000
rdisp/tm_max_no = 2000
SAPSYSTEMNAME = BBP
INSTANCE_NAME = DVEBMGS00
SAPSYSTEM = 00
SAPGLOBALHOST = bbpsr2
rdisp/wp_no_dia = 28
rdisp/wp_no_vb = 3
rdisp/wp_no_vb2 = 1
rdisp/wp_no_enq = 1
rdisp/wp_no_btc = 3
rdisp/wp_no_spo = 1
zcsa/db_max_buftab = 10000
zcsa/table_buffer_area = 50000000
zcsa/system_language = 1
install/codepage/appl_server = 8400
install/codepage/db/transp = 8400
rdisp/gui_auto_logout = 1800
rsdb/ntab/entrycount = 30000
install/codepage/db/non_transp = 8400
zcsa/installed_languages = 1E
abap/locale_ctype = C
gw/max_conn = 2000
gw/max_sys = 1000
login/system_client = 100
PHYS_MEMSIZE = 2100
gw/max_overflow_size = 25000000
rdisp/wp_ca_blk_no = 2000
rdisp/appc_ca_blk_no = 2000
ztta/roll_first = 1
rdisp/rfc_max_own_used_wp = 35
rdisp/rfc_min_wait_dia_wp = 1
rdisp/rfc_use_quotas = 1
rdisp/rfc_max_own_login = 80
this time the trace info:
BBPSR2\bbpadm is starting R/3 System at 2007/09/24 15:10:41
SAP-R/3-Startup Program
Starting at 2007/09/24 15:10:41
Startup Profile: "D:\usr\sap\BBP\sys\profile\START_DVEBMGS00_bbpsr2"
Starting Programs
(1696) Execute: D:\usr\sap\BBP\SYS\exe\run\strdbs.cmd BBP
(540) CreateProcess: D:\usr\sap\BBP\SYS\exe\run\msg_server.exe pf=D:\usr\sap\BBP\SYS\profile\BBP_DVEBMGS00_bbpsr2
(2820) CreateProcess: D:\usr\sap\BBP\SYS\exe\run\disp+work.exe
BBPSR2\bbpadm is stopping R/3 System at 2007/09/24 15:22:05
(1816) Parent Shutdown at 2007/09/24 15:22:05
(1816) kill(2820) failed.
BBPSR2\bbpadm is starting R/3 System at 2007/09/24 15:22:40
SAP-R/3-Startup Program
Starting at 2007/09/24 15:22:40
Startup Profile: "D:\usr\sap\BBP\sys\profile\START_DVEBMGS00_bbpsr2"
Starting Programs
(1932) Execute: D:\usr\sap\BBP\SYS\exe\run\strdbs.cmd BBP
(2852) CreateProcess: D:\usr\sap\BBP\SYS\exe\run\msg_server.exe pf=D:\usr\sap\BBP\SYS\profile\BBP_DVEBMGS00_bbpsr2
(2900) CreateProcess: D:\usr\sap\BBP\SYS\exe\run\disp+work.exe
BBPSR2\bbpadm is stopping R/3 System at 2007/09/24 15:30:35
(1816) Parent Shutdown at 2007/09/24 15:30:35
(1816) kill(2900) failed.
BBPSR2\bbpadm is starting R/3 System at 2007/09/24 15:30:40
SAP-R/3-Startup Program
Starting at 2007/09/24 15:30:40
Startup Profile: "D:\usr\sap\BBP\sys\profile\START_DVEBMGS00_bbpsr2"
Starting Programs
(1560) Execute: D:\usr\sap\BBP\SYS\exe\run\strdbs.cmd BBP
(2728) CreateProcess: D:\usr\sap\BBP\SYS\exe\run\msg_server.exe pf=D:\usr\sap\BBP\SYS\profile\BBP_DVEBMGS00_bbpsr2
(1936) CreateProcess: D:\usr\sap\BBP\SYS\exe\run\disp+work.exe
this is trans.log file's contents:
4 ETW000 R3trans version 6.05 (release 46D - 02.10.00 - 16:10:00).
4 ETW000 ===============================================
4 ETW000
4 ETW000 control file: <no ctrlfile>
4 ETW000 date&time : 24.09.2007 - 15:30:42
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [developertrace,0] Mon Sep 24 15:30:43 2007 0.000000
4 ETW000 [developertrace,0] db_con_init called 0.000000
4 ETW000 [developertrace,0] create_con (con_name=R/3) 0.000000
4 ETW000 [developertrace,0] Loading DB library '
bbpsr2\SAPMNT\BBP\sys\exe\run\dbdb6slib.dll' ...
4 ETW000 0.000000
4 ETW000 [developertrace,0] load shared library (
bbpsr2\SAPMNT\BBP\sys\exe\run\dbdb6slib.dll), hdl 0
4 ETW000 226922 0.226922
4 ETW000 [developertrace,0] Library '
bbpsr2\SAPMNT\BBP\sys\exe\run\dbdb6slib.dll' loaded
4 ETW000 69 0.226991
4 ETW000 [developertrace,0] function DbSlExpFuns loaded from library
bbpsr2\SAPMNT\BBP\sys\exe\run\dbdb6slib.dll
4 ETW000 76 0.227067
4 ETW000 [developertrace,0] Version of '
bbpsr2\SAPMNT\BBP\sys\exe\run\dbdb6slib.dll' is '46D.00'
4 ETW000 6985 0.234052
4 ETW000 [developertrace,0] function dsql_db_init loaded from library
bbpsr2\SAPMNT\BBP\sys\exe\run\dbdb6slib.dll
4 ETW000 78 0.234130
4 ETW000 [developertrace,0] function dbdd_exp_funs loaded from library
bbpsr2\SAPMNT\BBP\sys\exe\run\dbdb6slib.dll
4 ETW000 78 0.234208
4 ETW000 [developertrace,0] New connection 0 created 817 0.235025
4 ETW000 [developertrace,0] db_con_connect (con_name=R/3) 111 0.235136
4 ETW000 [developertrace,0] find_con found the following connection for reuse:
4 ETW000 64 0.235200
4 ETW000 [developertrace,0] DB6 (DB2 UDB) database interface (4.6x build)
4 ETW000 16902 0.252102
4 ETW000 [developertrace,0] library version 46D.00 [opt] with options
4 ETW000 62 0.252164
4 ETW000 [developertrace,0] - execute chaining 36 0.252200
4 ETW000 [developertrace,0] - TRUNCATE TABLE emulation 36 0.252236
4 ETW000 [developertrace,0] - new bulk handling 36 0.252272
4 ETW000 [developertrace,0] 33 0.252305
4 ETW000 [developertrace,0] ..retrieving configuration parameters
4 ETW000 56 0.252361
4 ETW000 [developertrace,0] ..done 2399 0.254760
4 ETW000 [developertrace,0] Mon Sep 24 15:30:44 2007 1048186 1.302946
4 ETW000 [developertrace,0] DbSlConnect to BBP o.k. 82 1.303028
4 ETW000 [developertrace,0] Connection 0 opened 50 1.303078
4 ETW000 [developertrace,0] INFO: Unable to determine SAPDBHOST; defaulting to 'UNKNOWN'
4 ETW000 11414 1.314492
4 ETW000 [developertrace,0] NTAB: Structure of NTAB on DB is VERS_A
4 ETW000 5725 1.320217
4 ETW000 [developertrace,0] NTAB: standalone processing 93 1.320310
4 ETW000 [developertrace,0] NTAB: read profile 38 1.320348
4 ETW000 [developertrace,0] NTAB: rsdb/ntab/entrycount 150
4 ETW000 57 1.320405
4 ETW000 [developertrace,0] NTAB: rsdb/ntab/ftabsize 200 37 1.320442
4 ETW000 [developertrace,0] NTAB: rsdb/ntab/irbdsize 100 38 1.320480
4 ETW000 [developertrace,0] NTAB: rsdb/ntab/sntabsize 100 39 1.320519
4 ETW000 [developertrace,0] NTAB: maxcnt 150 36 1.320555
4 ETW000 [developertrace,0] NTAB: adm_initial 4080 49 1.320604
4 ETW000 [developertrace,0] NTAB: hfactor 1009 49 1.320653
4 ETW000 [developertrace,0] NTAB: mem_protocol_size 104 38 1.320691
4 ETW000 [developertrace,0] NTAB: FTAB: total 51200, adm_size 14920, data_size 204800
4 ETW000 66 1.320757
4 ETW000 [developertrace,0] NTAB: IREC: total 12800, adm_size 14920, data_size 102400
4 ETW000 65 1.320822
4 ETW000 [developertrace,0] NTAB: STAB: total 25600, adm_size 14920, data_size 102400
4 ETW000 65 1.320887
4 ETW000 [developertrace,0] NTAB: TTAB: total 150, adm_size 7784, data_size 21000
4 ETW000 63 1.320950
4 ETW000 [developertrace,0] NTAB: FTAB: adm_adr 1d11a28, adm_len 14920, dat_adr 1d15470, dat_len 204800
4 ETW000 1207 1.322157
4 ETW000 [developertrace,0] NTAB: IREC: adm_adr 1d47480, adm_len 14920, dat_adr 1d4aec8, dat_len 102400
4 ETW000 73 1.322230
4 ETW000 [developertrace,0] NTAB: STAB: adm_adr 1d63ed8, adm_len 14920, dat_adr 1d67920, dat_len 102400
4 ETW000 72 1.322302
4 ETW000 [developertrace,0] NTAB: TTAB: adm_adr 1d80930, adm_len 7784, dat_adr 1d82798, dat_len 21000
4 ETW000 72 1.322374
4 ETW000 [developertrace,0] NTAB: mem_protocol 1d80930, mp_p 1d80930, proc_id 0
4 ETW000 74 1.322448
4 ETW000 [developertrace,0] NTAB: FTAB: hh_p 1d11a28, ha_list 1d11a54, hi_list 1d12a18, buffer 1d15470
4 ETW000 134 1.322582
4 ETW000 [developertrace,0] NTAB: IREC: hh_p 1d47480, ha_list 1d474ac, hi_list 1d48470, buffer 1d4aec8
4 ETW000 73 1.322655
4 ETW000 [developertrace,0] NTAB: STAB: hh_p 1d63ed8, ha_list 1d63f04, hi_list 1d64ec8, buffer 1d67920
4 ETW000 72 1.322727
4 ETW000 [developertrace,0] NTAB: TTAB: hh_p 1d80998, ha_list 1d809c4, hi_list 1d81988, buffer 1d82798
4 ETW000 73 1.322800
4 ETW000 [developertrace,0] NTAB: mem_handler: alloc for 500 elems, task 0, art 0
4 ETW000 94 1.322894
4 ETW000 [developertrace,0] NTAB: mem_handler: alloc for 500 elems, task 0, art 1
4 ETW000 97 1.322991
4 ETW000 [developertrace,0] NTAB: mem_handler: alloc for 500 elems, task 0, art 2
4 ETW000 102 1.323093
4 ETW000 [developertrace,0] NTAB: mem_handler: alloc for 500 elems, task 0, art 3
4 ETW000 102 1.323195
4 ETW000 Connected to DBMS = DB6 --- DB2DBDFT = 'BBP' --- SYSTEM = 'SAP'.
4 ETW000 trace to file pointer closed
4 ETW000 trace at level 1 opened for a given file pointer
4 ETW000
4 ETW000 ================== STEP 1 =====================
4 ETW000 date&time : 24.09.2007 - 15:30:44
4 ETW000 function : CONNECT
4 ETW000 buffersync : YES
4 ETW000 clients : default
4 ETW000 l.s.m. : VECTOR
4 ETW000 commit : 100000
4 ETW000 table cache : dynamic
4 ETW000
4 ETW000 [developertrace,0] Disconnecting from ALL connections:
4 ETW000 342 0.000342
4 ETW000 [developertrace,0] Disconnected from connection 0
4 ETW000 2377 0.002719
4 ETW000 [developertrace,0] statistics db_con_commit (com_total=0, com_forced=0, com_tx=0)
4 ETW000 79 0.002798
4 ETW000 [developertrace,0] statistics db_con_rollback (roll_total=0, roll_forced=0, roll_tx=0)
4 ETW000 73 0.002871
4 ETW000 Disconnected from database.
4 ETW000 End of Transport (0000).
4 ETW000 date&time: 24.09.2007 - 15:30:44
BTW, the user used to start sap should be what? or be in which group?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
C:\Documents and Settings\bbpadm>r3trans -d
This is r3trans version 6.05 (release 46D - 02.10.00 - 16:10:00).
r3trans finished (0000).
C:\Documents and Settings\bbpadm>
if the filename should be changed, then the ntscmgr.exe should be used to change the service config in os service level. I did it before, but I 'd better try it again.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
after all ,thank you!
I have restrat the server,but it didn't work well.
I could not find any other entry about the hosname.
the database is db2,not oracle,sorry.all parameters against database I also did adjustment.
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zhang,
Kindly recheck whether you missed out on any entries of hostname in , Default,start and instance profiles then take a restart of the system. Import Profiles from active server in RZ10 i.e. utilities>Import Profiles>Of active servers.
Also pls check whether you have set any profile parameter defining the host name e.g. icm/host_name_full etc.
Hope it is useful
Regards
Umesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It doesn't take effect,still.
the hostname is original "bbpsrv",now it is " bbpsr2",but the profile is still " BBP_DVEBMGS00_bbpsrv",but the entry in it is bbpsr2, if I should change the file's name to bbpsr2?
Message was edited by:
zhang dong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks AjitR!
But I did complying your procedure, and it seems not effective.
my enviroment is windows2k advanced server.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
could do please send me a doncument about this, i cannot download form sap site because i don't have the authority.
thanks very much
[remove by moderator]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please refer to note 8307 for step by step procedure.
and here is my personal document i have prepared after successfull execution of this activity.
SAP profile ( Instance, Start and Default profile) will be changed, Registry
entry ( if you are using NT), TNSNAMES and Listner file,
TPPARAM file etc.
1. Stop the SAP and Oracle
2. Chnage the Host name and IP address
cysoft4 cytest
3. Change the Profile parameter ( <drive> \usr\sap\SID\SYS\profile ) name
( Start and instance profile) and change the inside where the old host name.
4. Change the envirinment variable ( SAPLOCALHOST)
5. Go to registry and find the old host name and change with new host name
HK CURRENTUSER / ENVIROMENT
HKEYLOCALMACHINE / software / sap / dev / environment
HKEYLOCALMACHINE / system / controlset001 services / sapdev_00
6. Change the tnsnames and listener ( <drive> \oahome\netw
rk\admin)
7. Change the TPPARAM file and open all the files in \usr\sap\trans\bin and
change the old hostname with new hostname
8. Goto Oracle enterprise manager and change the OS user ID and SAP service
user ID
Please check Services after changing all these. Start all the service which
are required to start.
Start the oracle first and then SAP.
- All connected external systems must know the new server name (e. g. Fax, Archiving, BI/BW, CRM, Portal, XI, backup software, SMTP-Server...)
- All RFCs of connected systems must be changed accordingly to reflect the new hostname settings
- DNS settings must be changed (if they use DNS)
- Entries in saplogon.ini (SAPlogon) must reflect the new server name
- If the server is a member of an Active Directory Domain additional steps have to be done (thereu00B4s a document on the MS site I canu00B4t find yet unfortunately)
Go through both and perform the same.
Best Regards,
AjitR
The distribution, participation in distributing or otherwise sending of this material is against the law. The material you are requesting is copyrighted material and available ONLY to customers of SAP. If you need such documents from the SAP Service Marketplace then you must have "S" user ID and login yourself to retrieve this material. If you do not have a "S" user ID then you should contact your own internal company groups responsible and request one or request them to retrieve the document for you.
By participating and sending such documents you are at risk for legal action and a removal of your account here on SDN and BPX.
DO NOT send material via email such as this! Further actions will result in officials within your company and your SAP Sales Account being notified and could result in legal action against you as an individual.
the sap need query hosts file ?
"127.0.0.1 hostname",is it enough for sap to query? what else enty does sap need?
rigistry keys for sap i have changed all associated enties under <local machine>\sofrware\sap\
database's config is also changed.
thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Changing a systems hostname is a LOT of work, is not really documented and may or may not work.
You need to change (amongst other things)
- profile
- c:\windows\system32\drivers\etc\hosts
- registry keys (for SAP + Oracle)
- users (OPS$)
- shares (SAPMNT etc.)
- Oracle database
See Note 8307 - Changing host name on R/3 host: What do you do?:
[...]
Solution !!! Changing the name of a host server in a production R/3 System !!! !!! is not automatically supported by SAP. !!! !!! Should you wish to change the host name of a server in a test !!! !!! system, you should do so only with the assistance of an SAP !!! !!! consultant. !!!
This note must be seen as a "frame". Because development in this area is continuing, SAP can never guarantee completeness of this note !!
Be aware, that a DB reconfiguration might be necessary.
On Windows NT the change of the hostname requires the installation of a new SAP license !!
[...]
--
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.