cancel
Showing results for 
Search instead for 
Did you mean: 

SUM / The script must run as privileged user for option confighostagent

denny-k
Participant
0 Kudos

Hi experts.

I try to start the newest SUM on Solaris 10 with sidadm:

hrtadm> ./STARTUP confighostagent HRT

**** The script must run as privileged user for option confighostagent

**** Aborting!

I also updated the hostagents to the newest version:

--------------------

SAPHOSTAGENT information

--------------------

kernel release                721

kernel make variant           721_REL

compiled on                   SunOS 5.9 Generic_122300-54 sun4us  for sun_64

compiled for                  64 BIT

compilation mode              Non-Unicode

compile time                  May 21 2016 18:13:09

patch number                  15

latest change number          1674266


There are no logs, because this messages comes immediately.

I changed the owner of /usr/sap/hostctrl to sidadm and also the SUM-directory /usr/sap/HRT/SUM/* ..

Do you have any ideas for me?

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

The command should be run as user "root".

KR,

Amerjit

denny-k
Participant
0 Kudos

Thank you, Amerjit.

When i do it with root, i get this:

bash-3.2# ./STARTUP confighostagent HRT

./STARTUP: test: Argument erwartet

which means "argument expected".. Where is my fault?

Former Member
0 Kudos

Hello Dny,

There doesn't seem to be a error with your syntax. I have tested this with SP17_0 and SP17_1 on Linux.

Can you let us know what patch level of SUM you are using ?

Could you possibly start from scratch ?

1. Delete the existing SUM directory contents

2. As hrtadm: Extract SUM again.

3. As "root" run: /STARTUP confighostagent HRT

Please have a look at the steps you need to follow starting from 5.1 (page 106) in the following guide.

https://websmp107.sap-ag.de/~sapidb/011000358700000783532011E

Kind Regards,

Amerjit

jphaynes1966
Explorer
0 Kudos

Are you typing this in? I ask because I have run into similar issues when I use cut and paste.

Cheers!

Joe

denny-k
Participant
0 Kudos

Hi Amerjit.

Thank you for your help.

I deleted SUM, downloaded SUM 10, SP17 again, extracted it with hrtadm in the right directory.

Unfortunately i get the same error when executed through root-user.

Perhaps i should call SAP?

denny-k
Participant
0 Kudos

Hi Joseph. Thank you, but unfortunately it doesnt help..

denny-k
Participant
0 Kudos

When i start without the hostagent-thing i get a few more infos:

# ./STARTUP

*** Checking if C++ runtime is installed ...

*** Starting from /usr/sap/HRT/SUM/sdt...

/usr/sap/HRT/SUM/sdt/exe/DSUService: whoami: nicht gefunden

** Checking username "" for compliance...

/usr/sap/HRT/SUM/sdt/exe/DSUService: test: Argument erwartet

Former Member
0 Kudos

Hello Dny,

Interesting. I would open a message with SAP in parallel anyway as it starts the clock ticking with them.

I can see that it is the "test" statement that is expecting an argument from what you pasted above. STARTUP is just a shell script so we can run it in debug mode to see where it's failing.

Could you please run the following as root and upload the output:

bash -x ./STARTUP confighostagent HRT

Could you also try to run:

ksh ./STARTUP confighostagent HRT

Kind Regards,

Amerjit

denny-k
Participant
0 Kudos

Thank you! It was a mistake with the shell!
The ksh did it!

Answers (0)