Dear Sir,

What I understand is that I should run maven and ant as user tomcat8.

What do you mean by if you update all permissions tomcat8? tomcat8 is
automatically setup when I do sudo apt-get install tomcat8. I don't plan to
do a chmod to tomcat8. Am I on the right track?

Many thanks,
Ashim



On Mon, 8 Apr 2019 at 16:15, Ashim Kapoor <[email protected]> wrote:

>
>
> On Mon, 8 Apr 2019 at 16:10, Paul Münch <[email protected]>
> wrote:
>
>> Dear Ashim,
>>
>>
> What does the next line mean? ( if you update all permissions to tomcat8 )
> ?
>
> if you update all permissions to 'tomcat8', you should run maven and ant
>> with this system user:
>>
>> sudo -u tomcat8 mvn
>>
>> &&
>>
>> sudo -u tomcat8 ant fresh_install
>>
>> Hope this helps and kind regards,
>>
>> Paul Münch
>>
>> Am 08.04.19 um 11:54 schrieb Ashim Kapoor:
>>
>>
>>
>> On Mon, 8 Apr 2019 at 12:28, Paul Münch <[email protected]>
>> wrote:
>>
>>> Dear Ashim,
>>>
>>> the answer of your first question find you here:
>>> https://wiki.duraspace.org/display/DSDOC6x/REST+API#RESTAPI-DisablingSSL
>>>
>>> To your second question: Maybe you run maven/ant once as root, so there
>>> are some files which assign to the root user. If not you have to look into
>>> the 'chmod' documentation. It has nothing to do with the DSpace
>>> installation itself.
>>>
>>
>> Dear Paul,
>>
>> Many thanks. I did run maven and ant as root. What user should I run it
>> as ? Please let me know.
>>
>> Best regards,
>> Ashim
>>
>>
>>
>>
>>> Kind regards,
>>>
>>> Paul Münch
>>>
>>>
>>>
>>> Am 05.04.19 um 18:09 schrieb Ashim Kapoor:
>>>
>>> Dear all,
>>>
>>> Can someone please help me ?
>>>
>>> Thank you,
>>> Ashim
>>>
>>> On Thu, 4 Apr 2019 at 16:52, Ashim Kapoor <[email protected]>
>>> wrote:
>>>
>>>> Dear All,
>>>>
>>>> I am installing DSPACE 6 on Debian 9 in a virtual machine.
>>>>
>>>> I am accessing the virtual machine from my computer.
>>>>
>>>> Query 1 :
>>>>
>>>> The REST page located at :
>>>>
>>>> https://192.100.30.66:8080/rest
>>>>
>>>> responds with :-
>>>>
>>>> Secure Connection Failed
>>>> An error occurred during a connection to 192.100.30.66:8080. SSL
>>>> received a record that exceeded the maximum permissible length. Error code:
>>>> SSL_ERROR_RX_RECORD_TOO_LONG
>>>>     The page you are trying to view cannot be shown because the
>>>> authenticity of the received data could not be verified.
>>>>     Please contact the website owners to inform them of this problem.
>>>>
>>>> How can I fix this problem?
>>>>
>>>> 2. My second query is :
>>>>
>>>> I did (prior to running maven and ant ) :
>>>> chmod g+s [dspace]
>>>>
>>>> (This command ensures that the newly created files will inherit the
>>>> permissions of the parent folder.)
>>>>
>>>> Then I did this :-
>>>> chown -R tomcat8:tomcat8 [dspace]
>>>>
>>>> Then I did mvn and ant and the folder had permissions root and tomcat8
>>>> in place of tomcat8 and tomcat8
>>>> I still had to do chown -R tomcat8:tomcat8 [dspace] to make jspui work.
>>>> Why is this ? It should have inherited the permissions. Can someone
>>>> please explain ?
>>>>
>>>> Many thanks,
>>>> Ashim
>>>>
>>>>
>>>> --
>>> All messages to this mailing list should adhere to the DuraSpace Code of
>>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>> --
>>> Philipps-Universität Marburg | UB
>>> Digitale Dienste | Deutschhausstraße 9 | D018
>>> Tel. +49 06421 28-24624
>>> --
>>>
>>> --
>>> All messages to this mailing list should adhere to the DuraSpace Code of
>>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> All messages to this mailing list should adhere to the DuraSpace Code of
>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> Philipps-Universität Marburg | UB
>> Digitale Dienste | Deutschhausstraße 9 | D018
>> Tel. +49 06421 28-24624
>> --
>>
>> --
>> All messages to this mailing list should adhere to the DuraSpace Code of
>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to