OPSI installation fails


#1

I’m tring to test out OPSI4UCS but installation fails - 99opsi4ucs script says that state is pending and rerunning it wont help. Where to look for errors?


#2

You should look in /var/log/univention/join.log


#3

I can not see any obvios reasons, some warnings like:
WARNING: cannot append cn=opsi,cn=dc,cn=computers,dc=evrcargo … to hosts, value exists
WARNING: cannot append uid=opsiconfd,cn=users,dc=evrcargo, … to users, value exists

After system information i have maybe interesting line:

IP-Address : 192.168.99.15
Netmask : 255.255.255.0
Gateway : 192.168.99.1
Subnet : 192.168.99.0
Broadcast : 192.168.99.255
Windomain : EVRCARGO
E: object not found


#4

Can you please post the full log in code tags?


#5

Well, I went the easy way. Removed all instances of the computer from LDAP and reinstalled the machine and this time everyting went fine. Now I have to figure out how to use it :D. I downloaded .jnlp file logged in then I get a bunch of errors:

mai 10 13:21:54.330 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘config_updateObjects’ denied for user ‘andres_admin’: Backend permission denied error: Access denied
mai 10 13:21:54.351 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘config_updateObjects’ denied for user ‘andres_admin’: Backend permission denied error: Access denied
mai 10 13:21:54.474 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘group_getObjects’ denied for user ‘andres_admin’
mai 10 13:21:54.593 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘objectToGroup_getObjects’ denied for user ‘andres_admin’
mai 10 13:21:54.615 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘config_updateObjects’ denied for user ‘andres_admin’: Backend permission denied error: Access denied
mai 10 13:21:55.041 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘product_getObjects’ denied for user ‘andres_admin’
mai 10 13:21:55.042 2016 – JSONReMapper: Exception on reproducing null, java.lang.NullPointerException
mai 10 13:21:55.178 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘productOnDepot_getObjects’ denied for user ‘andres_admin’
mai 10 13:21:55.179 2016 – JSONReMapper: Exception on reproducing null, java.lang.NullPointerException
mai 10 13:21:55.195 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘config_getObjects’ denied for user ‘andres_admin’
mai 10 13:21:55.216 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘productProperty_getObjects’ denied for user ‘andres_admin’
mai 10 13:21:55.217 2016 – JSONReMapper: Exception on reproducing null, java.lang.NullPointerException
mai 10 13:21:55.503 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘config_getObjects’ denied for user ‘andres_admin’
mai 10 13:21:55.551 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘group_getObjects’ denied for user ‘andres_admin’
mai 10 13:21:55.571 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘objectToGroup_getObjects’ denied for user ‘andres_admin’
mai 10 13:21:55.592 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘auditHardware_getConfig’ denied for user ‘andres_admin’
mai 10 13:21:55.632 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘productDependency_getObjects’ denied for user ‘andres_admin’
mai 10 13:21:55.633 2016 – JSONReMapper: Exception on reproducing null, java.lang.NullPointerException
mai 10 13:21:55.651 2016 – Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method ‘auditSoftware_getHashes’ denied for user ‘andres_admin’
mai 10 13:21:55.652 2016 – JSONReMapper: Exception on reproducing null, java.lang.NullPointerException


#6

Is the user andres_admin member of the group opsi-admin?


#7

No it wasn’t but can you show me where it is written, that I have to do this? I added opsiadmin and opsifileadmin groups but still the same errors.


#8

Here. Of course the creation is a bit different on a UCS system.

Please post the output of

getent group opsiadmin

running on the opsi-Server.


#9

That’s a bit wierd, I added groups from web:

imagebin.ca/v/2gkYvzWlYDAO

but command line shows:
root@opsi:~# getent group opisadmin
root@opsi:~#


#10

This andres_admin is a domain user, not a local linux user.


#11

What kind of role has the opsi server?

ucr get server/role

#12

It wont install other then backup domaincontroller

root@opsi:~# ucr get server/role
domaincontroller_backup
root@opsi:~#


#13

Is the replication between master and backup ok?


#14

[quote=“imapi”]That’s a bit wierd, I added groups from web:

imagebin.ca/v/2gkYvzWlYDAO

but command line shows:
root@opsi:~# getent group opisadmin
root@opsi:~#[/quote]

You’ve got a typo in the group name there: opisadmin