cancel
Showing results for 
Search instead for 
Did you mean: 

Startsap Error After Doing Hostname Change

Former Member
0 Kudos

Dear SAP Experts,

I have a problem after change hostname in my ABAP system. I'm use Note 8307 as reference.

That system run on DB2 + Linux. I have adopt new hostname in files below:

1. DEFAULT profile and instance profile (create new instance profile with new hostname and rename the old profile for backup).

2. sapservices file.                   

3. db2cli.ini

Environment variables related with hostname were changed to new hostname.

The problem is when I executed startsap, the system not started properly. I checked service status from sapcontrol, the system was stopped.

The strange point is startsap still using old profile file (cannot be found because I have rename it for backup purpose) instead of new profile file based on INSTSTAT file.

Is there any step that I missed? Please help to give me suggestion to solve this problem.

Thanks & regards,

Husin

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Husin,

Have you updated your sapservices file in /usr/sap as this will be referred by sapcontrol & you saphostagent.

Do modify the same for new hostnames and profile.

Also do start the saphostexec & sapstartsrv for new hostname & new startsap profile.

Update us once you perform this.

Regards,

Ram

former_member185239
Active Contributor
0 Kudos

Hi Ausin,

- Have you change the hosts file entry as per the new hostname and ip.

- Run the command hostname on os level and check the value it resturns.

- Change the profiles from SID_DVEBMGS<XX>_<old hastname> to SID_DVEBMGS<XX>_<new hostname>

- Kill all the sapstartsrv services

Now try to run the command startsap.

If you face any error then paste the error as well as the dev_dispatcher and sapstart.trc file

With Regards

Ashutosh Chaturvedi