cancel
Showing results for 
Search instead for 
Did you mean: 

hdbinst error: useradd

Former Member
0 Kudos

Hi,

While installing a new Hana instance with ./hdbinst --ignore=check_hardware I'm getting the following error, note until a few weeks ago this command worked:

16:48:44.954 - ERR: Installation failed

16:48:44.954 - ERR:   error installing

16:48:44.954 - ERR:     Cannot create system

16:48:44.954 - ERR:       Cannot create user

16:48:44.954 - ERR:         Cannot create 'g35adm' user

16:48:44.954 - ERR:           Cannot create user

16:48:44.946 - INFO:             Starting external program useradd

16:48:44.946 - INFO:               Command line is: useradd -m -u 1001 -o -p $2a$05$tJobpzEak7xM.VoQdAjvq.54M8M8i.t2eqIs7jPs1m6yIALY8pEIG -c "SAP HANA Database System Administrator" -g

79 -s /bin/sh -d /usr/sap/G35/home -G video,dialout,g35shm g35adm

16:48:44.953 - INFO:               Output line 1: useradd: Unknown group `79'.

16:48:44.953 - INFO:               Program terminated with exit code 6

Does anyone know how to proceed? I've attached the build log.

Thanks in advance,

Éamonn

Accepted Solutions (1)

Accepted Solutions (1)

sunny_pahuja2
Active Contributor
0 Kudos

Hello,

Log says Group 79 is unknown. Could you please check if this group exists?

Thanks

Sunny

Former Member
0 Kudos

Hi Sunny,

Thanks for your reply. So far as I can see there is no group 79. I ran the following and didn't see it:

cat /etc/group|grep 79

I can't manually create the group, probably as it's numerical.

Éamonn

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Error looks very wierd. Have you performed hardware check ?

Thanks

Sunny

former_member187175
Participant
0 Kudos

Hi Eamonn,

you can manually create it, for example use yast. The group name is sapsys.

Here is my example:

hostname:~ # grep sapsys /etc/group

sapsys:!:79:serge,sm2adm

Hope this helps.

Serge

Former Member
0 Kudos

Hi,

Serge the issue was as you said. A colleague (Arunan C) wrote back to me:

The problem is because of the LDAP integration in Linux systems. SAPSYS exists in active directory and hence adding users to it is not possible without authorizations. I asked IT to create a local SAPSYS group with id 79 and it worked afterwards

Thanks,

Éamonn

Answers (0)