cancel
Showing results for 
Search instead for 
Did you mean: 

SUM SP17 Startup issue + ERROR: SUM folder belongs to root or has root files!

0 Kudos

Hello Gurus,

Environment is BASIS 731 level 06, ASE 15.7 on Aix 7.1

We have to upgrade it to Support pack level minimum 14 doing it with SUM sp17 using following commands
./STARTUP confighostagent SID  and getting an error message:-

Set root user and root group as owner of files in /usr/sap/hostctrl/exe/operations.d and /usr/sap/hostctrl/exe/descriptors.d

**** Configuring SUM Abap: /usr/sap/SID/SUM/abap/SUMSTART confighostagent RESTARTSHA=no 
****ERROR: SUM folder belongs to root or has root files!

and on local host unable to connect

Accepted Solutions (1)

Accepted Solutions (1)

Former Member Former Member

Thanks for the help.
Issue fixed by re-installing SAPHOSTAGENT

Answers (2)

Answers (2)

0 Kudos

TY nd

here is the all o/p you want

./STARTUP confighostagent SID# ./saphostexec -restart

-> Start /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile <-

start hostcontrol using profile /usr/sap/hostctrl/exe/host_profile

# ./saphostexec -status

saphostexec running (pid = 11010138)

11:52:41 30.09.2016     LOG: Using PerfDir (DIR_PERF) = /usr/sap/tmp

# kill -9 11010138

# cd /usr/sap/SID/SUM

# ./STARTUP confighostagent SID

**** The root directory to SUM is /usr/sap/SID/SUM

**** Checking SID parameter[SID] and parsed one: SID

**** The SUM directory is under SID /usr/sap/$[SID:#required]/SUM

**** The saphostagent command would be /usr/sap/$[SID:#required]/SUM/sdt/exe/SLProtocol.sh

**** Set root:sapsys as owner of /usr/sap/hostctrl/exe/operations.d and /usr/sap/hostctrl/exe/descriptors.d

**** Set root user and root group as owner of files in /usr/sap/hostctrl/exe/operations.d and /usr/sap/hostctrl/exe/descriptors.d

**** Configuring SUM Abap:  /usr/sap/SID/SUM/abap/SUMSTART confighostagent RESTARTSHA=no  ****

**** SUM ABAP: https://IDES:1129/lmsl/sumabap/SID/doc/sluigui ****

**** SUM benchmark tool: https://IDES:1129/lmsl/migtool/SID/doc/sluigui ****

**** SUM Java: https://<HOSTNAME>:1129/lmsl/sumjava/SID/index.html ****

**** SUM Dual stack: https://<HOSTNAME>:1129/lmsl/sumjava/SID/dual.html ****

**** SUM Observer: https://<HOSTNAME>:1129/lmsl/sumobserver/SID/monitor/index.html ****

**** Restarting SAP Host Agent ****

-> Start /usr/sap/hostctrl/exe/saphostexec pf=/usr/sap/hostctrl/exe/host_profile <-

start hostcontrol using profile /usr/sap/hostctrl/exe/host_profile

**** SAP Host Agent has been restarted ****

**** You are using SAP Host Agent version: ****

**** hostagent release: 7.21 ****

**** hostagent patch number: 9 ****

**** Please check the central SUM note whether this SAP Host Agent version is sufficient for SUM operation ****

------------------------------------------------
Permissions are also okay...


SUM folder error resolved now but i am still unable to connect on localhost tried with port 1128/1129 on both

Former Member
0 Kudos

Hi Sharad,

Please share the error you are getting while accessing the SUM from URL. also please check the followings.

1. server host name should be reaching (or use IP address).

2. check your host proxy setting (machine from you are accessing the SUM URL).

3. share the full URL you are trying to access.

Regards

Sunil

former_member227283
Active Contributor
0 Kudos

Login to server and try to telnet server hostname and port 1128 and check if port is listening  or not.

Or you can use netstat command to check of 1128 is up or not.

Or you can check saphostagent logs to check if host agent started or not.

Or check again S./saphostexec -status.

Regards,

Anil Bhandary

Former Member
0 Kudos

Hi

What happens when you try to access SUM using https://IDES:1129/lmsl/sumabap/SID/doc/sluigui

url?

Also check if SAPHOSTEXEC service is not running under sidadm

If nothing works check the hostagent log files.

Regards

Prithviraj.

former_member203538
Participant
Former Member
0 Kudos

Hi Sharad,

check the authorization for 'SUM' directory. it should be 'sidadm:sapsys' and run the './STARTUP confighostagent SID' as root.

it this does not work please share the output of following command.

ls -ltr /usr/sap/SID/

Regards

Sunil

0 Kudos

TY

# ls -ltr /usr/sap/SID

total 904752

drwxrwxr-x     8<sid>adm   sapsys          256 May 30 16:36 DVEBMGS00

drwxrwxrwx   6 <sid>adm   sapsys          256 Aug 18 02:38 SUM

-rw-------          1 root     system      2538759 Aug 23 15:33 SIGNATURE.SMF

-rwxrwxr-x      1 root     system    454336065 Sep 02 11:37 SUM10SP17_8-20006540.SAR

drwxrwxr-x      5 <SID>adm   sapsys          256 Sep 23 13:27 SYS

-rwxrwxr-x      1 root     system      6352044 Sep 28 10:26 SAPCAR_712-80000940.EXE

drwxrwxr-x      6 <sid>adm   sapsys          256 Sep 29 15:20 ASCS01

Former Member
0 Kudos

Hi Sharad,

SUM authorization seems ok. Please check the hostagent as it is giving some error.

Set root user and root group as owner of files in /usr/sap/hostctrl/exe/operations.d and /usr/sap/hostctrl/exe/descriptors.d


assign root group and restart hostagent. Check the hostagent status by running './saphostexec -status'.


hope you are running with updated hostagent.



Regards

Sunil



former_member227283
Active Contributor
0 Kudos

Hello,

1. Login with root user on server

2. Change directory to /usr/sap/

3. run command "chown -R root:sapsys hostctrl

4. change directory to /usr/sap/hostctrl/exe

5. chmod 4750 sapuxuserchk hostexecstart

6. chown sapadm:sapsys sapstartsrv

Once above steps are done, restart SUM tool by using your earlier command.

Note: you need to do all above exercise because SAPHOSTAGENT was not handled properly.

Regards,

Anil Bhandary