[ovirt-users] Problem with reporting

Michael Wagenknecht wagenknecht at fuh-e.de
Mon Jun 23 06:32:55 UTC 2014


The file has the following permissions:

-rw------- 1 ovirt ovirt  3520 18. Jun 09:21 js-jboss7-ds.xml



Am 23.06.2014 08:27, schrieb Alon Bar-Lev:
> 
> 
> ----- Original Message -----
>> From: "Yaniv Dary" <ydary at redhat.com>
>> To: "Alon Bar-Lev" <alonbl at redhat.com>, "Yedidyah Bar David" <didi at redhat.com>
>> Cc: "users" <users at ovirt.org>, "Michael Wagenknecht" <wagenknecht at fuh-e.de>
>> Sent: Monday, June 23, 2014 9:24:44 AM
>> Subject: Re: [ovirt-users] Problem with reporting
>>
>> For some reason this is the error:
>> /var/tmp/ovirt-engine/deployments/ovirt-engine-reports.war/WEB-INF/js-jboss7-ds.xml
>> (Permission denied)
>> it's looking for war in '/var/tmp'.
>>
>> Alon\Didi, any idea why this can happen?
> 
> this is the deployment location.... jboss is managing its "deployments" in a place in which it can write files, so we set it to /var/tmp or in newer versions /var/lib, so it can be happy and not fail as it do not have permissions to write anything.
> 
> please see what permission this file has.
> 
>>
>>
>>
>>
>> Yaniv
>>
>> ----- Original Message -----
>>> From: "Michael Wagenknecht" <wagenknecht at fuh-e.de>
>>> To: "Yaniv Dary" <ydary at redhat.com>
>>> Cc: "users" <users at ovirt.org>
>>> Sent: Monday, June 23, 2014 9:02:52 AM
>>> Subject: Re: [ovirt-users] Problem with reporting
>>>
>>> Hi Yaniv,
>>> I installed the engine and the reports as user root. The service is
>>> running as user ovirt.
>>> I changed the permission of the
>>> /var/lib/ovirt-engine-reports/ovirt-engine-reports.war folder to user
>>> ovirt but I get the same messages and it doesn`t work. Is there an other
>>> folder where I have to check the permissions?
>>>
>>> Regards,
>>> Michael
>>>
>>>
>>> Am 22.06.2014 12:31, schrieb Yaniv Dary:
>>>>
>>>>
>>>> ----- Original Message -----
>>>>> From: "Michael Wagenknecht" <wagenknecht at fuh-e.de>
>>>>> To: "users" <users at ovirt.org>
>>>>> Sent: Wednesday, June 18, 2014 1:34:56 PM
>>>>> Subject: [ovirt-users] Problem with reporting
>>>>>
>>>>> Hi,
>>>>> we use oVirt 3.4.2 on Centos 6.5.
>>>>> after installing of the reporting package and running engine-setup, I
>>>>> get a 404 when I open the webadmin or reporting page.
>>>>>
>>>>> There are the following files / links in the folder
>>>>> /var/tmp/ovirt-engine/deployments:
>>>>> lrwxrwxrwx 1 ovirt ovirt  34 18. Jun 12:19 engine.ear ->
>>>>> /usr/share/ovirt-engine/engine.ear
>>>>> -rw-r--r-- 1 ovirt ovirt  47 18. Jun 12:19 engine.ear.failed
>>>>> lrwxrwxrwx 1 ovirt ovirt  54 18. Jun 12:19 ovirt-engine-reports.war ->
>>>>> /var/lib/ovirt-engine-reports/ovirt-engine-reports.war
>>>>> -rw-r--r-- 1 ovirt ovirt 389 18. Jun 12:19
>>>>> ovirt-engine-reports.war.failed
>>>>>
>>>>> There is java Version jre-1.7.0-openjdk.x86_64 installed.
>>>>>
>>>>> I attached the server.log.
>>>>>
>>>>> What can I do?
>>>>
>>>> I see you have a 'Permission denied' on a file in the log.
>>>> What user did you install with? try to chmod the war directory to the
>>>> user
>>>> running the service.
>>>> Probably 'ovirt'.
>>>>
>>>>>
>>>>> Best regards,
>>>>> Michael
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> Users at ovirt.org
>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>
>>>
>>



More information about the Users mailing list