New User, Installation problems

Antworten
vjarjadian
Beiträge: 3
Registriert: 31 Jul 2013, 23:58

New User, Installation problems

Beitrag von vjarjadian »

I am trying both methods of getting OPSI to work for some tests...

first I tried the VM.

Boots up and runs, but when I log into the client with root I get backend permission access denied and a large wall of test in a very compact box.

Second, I tried installing.

It did install... as best as I can work out.
But, when I get right to the end and try to go to https://opsiserver:4447/configed I get a certificate error and then a 404 error.

I was able to get into \\opsiserver\opsi_depot\opsi-adminutils\files.configed and get a user interface... but why doesn't it work from the web?

Any ideas why the VM isn't running as expected or what I could have done to mean the web interface wouldn't work on my manual install.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: New User, Installation problems

Beitrag von n.wenselowski »

Hello vjarjadian,

regarding the VM: do you mean by client the OPSI server VM or a windows client?
The VM should run without any problems but you should follow the Getting Started Guide to finish setting up the OPSI server adapted to your needs. What version of the VM did you try.

In both cases an exact error message would be needed to provide you with further help.


With kind regards

N. Wenselowski

Code: Alles auswählen

import OPSI
vjarjadian
Beiträge: 3
Registriert: 31 Jul 2013, 23:58

Re: New User, Installation problems

Beitrag von vjarjadian »

On the console of the VM, there is a 'opsi-configed' icon.
Logging in as root to localhost with the correct password. It opens the client and gives the following error:


Thu Aug 01 15:16:50 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'config_updateObjects' denied for user 'root': Backend permission denied error: Access denied
Thu Aug 01 15:16:50 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'config_updateObjects' denied for user 'root': Backend permission denied error: Access denied
Thu Aug 01 15:16:50 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'configState_getClientToDepotserver' denied for user 'root'
Thu Aug 01 15:16:50 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'productOnClient_getHashes' denied for user 'root'
Thu Aug 01 15:16:50 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'group_getObjects' denied for user 'root'
Thu Aug 01 15:16:50 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'objectToGroup_getObjects' denied for user 'root'
Thu Aug 01 15:16:50 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'config_updateObjects' denied for user 'root': Backend permission denied error: Access denied
Thu Aug 01 15:16:51 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'config_getObjects' denied for user 'root'
Thu Aug 01 15:16:51 CEST 2013 -- Opsi service error: [BackendMissingDataError] Backend missing data error: Host 'opsidemo.internal.lan' not found
Thu Aug 01 15:16:51 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'product_getHashes' denied for user 'root'
Thu Aug 01 15:16:51 CEST 2013 -- JSONReMapper: Exception on reproducing null, java.lang.NullPointerException
Thu Aug 01 15:16:51 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'group_getObjects' denied for user 'root'
Thu Aug 01 15:16:51 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'objectToGroup_getObjects' denied for user 'root'
Thu Aug 01 15:16:51 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'auditHardware_getConfig' denied for user 'root'
Thu Aug 01 15:16:51 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'product_getObjects' denied for user 'root'
Thu Aug 01 15:16:51 CEST 2013 -- Opsi service error: [BackendPermissionDeniedError] Backend permission denied error: Access to method 'productProperty_getObjects' denied for user 'root'
Thu Aug 01 15:16:51 CEST 2013 -- JSONReMapper: Exception on reproducing null, java.lang.NullPointerException

The VM I have is version 4.0.2.


The Manual installation I have done is on an Ubuntu 12.04 LTS VM, and works fine with adminuser as setup in the getting started guide... but only if I access it from another machine by going into the shares and finding the file to launch. It doesn't work via a browser. Just thinking... if it didn't make the web work properly for the admin panel, it might not work for deployments either.

Thanks for your time.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: New User, Installation problems

Beitrag von n.wenselowski »

Hello,

is your user root member of the group opsiadmin?
It is not recommended to use the root account to manage OPSI.
Please have a look at 3.2.6. Create Users and Administrate the Groups opsiadmin / pcpatch.


Kind regards

N. Wenselowski

PS: FYI: There is a newer VM out there. It is available from https://download.uib.de/opsi4.0/opsi4.0 ... rvervm.zip

Code: Alles auswählen

import OPSI
vjarjadian
Beiträge: 3
Registriert: 31 Jul 2013, 23:58

Re: New User, Installation problems

Beitrag von vjarjadian »

Seems my manual installation is going well so far... apart form not working via a browser.

Got the PXE boot working and hardware inventory.

now to try a few more tests. It's looking very nice.

My previous system involved a few different open source projects. If i can successfully combine them i will be very happy.
Antworten