ERROR a2enconf

Nguyễn Văn Quân nguyenvanquan7826 at gmail.com
Tue Dec 19 17:20:41 CET 2017


I just check. But I submit by C language, so I thing it not need. But now I
do it and then status still pending.
I see judgehosts, have one and status it is off like photo.
https://i.imgur.com/zks2eRf.png

On Tue, Dec 19, 2017 at 11:04 PM, Hoai-Thu Vuong <thuvh87 at gmail.com> wrote:

> Please read the section about chroot
> https://www.domjudge.org/docs/admin-manual.html#toc8.1
>
> On Tue, Dec 19, 2017, 22:57 Nguyễn Văn Quân <nguyenvanquan7826 at gmail.com>
> wrote:
>
>> Hi, thanks for reply. I fixed it by copy apache.conf file.
>> Now it run ok. But when I submit a problem, I still pending and not
>> compile or run.
>>
>> I was run *bin/judgedaemon *before and it show:
>>
>> [Dec 19 15:48:01.453] judgedaemon[2052]: Judge started on
>> ip-172-31-24-224 [DOMjudge/5.3.0]
>> [Dec 19 15:48:01.456] judgedaemon[2052]: Pre-built chroot tree
>> '/chroot/domjudge' not found and no chroot-dir set, exiting.
>>
>>
>>
>> On Tue, Dec 19, 2017 at 4:21 PM, Hoai-Thu Vuong <thuvh87 at gmail.com>
>> wrote:
>>
>>> You should not install domjudge to /root, this is a home directory of
>>> root, need highest privilege. Move to /opt, /usr/local or somethink like
>>> that.
>>>
>>> On Tue, Dec 19, 2017 at 2:36 PM Jaap Eldering <jaap at jaapeldering.nl>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> On 19/12/17 06:15, Nguyễn Văn Quân wrote:
>>>> > Hi,
>>>> > ​​After config ln -s ln -s /root/domserver/etc/apache.conf
>>>> /etc/apache2/conf-available/domjudge.conf
>>>> > Then I type command
>>>> > sudo a2enconf domjudge
>>>> > And I get answer *ERROR : Conf domjudge does not Exist*
>>>> >
>>>> > I find a post about this error at here:
>>>> > https://www.domjudge.org/pipermail/domjudge-devel/2016-
>>>> April/001943.html
>>>> >
>>>> > But I don't know how to fix it by change the permissions. Please help.
>>>> > Thanks!
>>>>
>>>> First, the very same warning as there applies: you should really *not*
>>>> install DOMjudge as root, but as a normal user.
>>>>
>>>> Then you can either change the permissions by running
>>>>
>>>> chmod a+rx $HOME
>>>>
>>>> or you can just copy the file instead:
>>>>
>>>> cp $HOME/domserver/etc/apache.conf /etc/apache2/conf-available/
>>>> domjudge.conf
>>>>
>>>> Best,
>>>> Jaap
>>>> _______________________________________________
>>>> DOMjudge-devel mailing list
>>>> DOMjudge-devel at domjudge.org
>>>> https://www.domjudge.org/mailman/listinfo/domjudge-devel
>>>>
>>>
>>> _______________________________________________
>>> DOMjudge-devel mailing list
>>> DOMjudge-devel at domjudge.org
>>> https://www.domjudge.org/mailman/listinfo/domjudge-devel
>>>
>>>
>>
>>
>> --
>> _________________________
>> Name: Nguyen Van Quan
>> Come from: OTVINA company
>> Email: nguyenvanquan7826 at gmail.com
>> Blog: nguyenvanquan7826.com
>> Phone: +84.96.567.7826
>>
>


-- 
_________________________
Name: Nguyen Van Quan
Come from: OTVINA company
Email: nguyenvanquan7826 at gmail.com
Blog: nguyenvanquan7826.com
Phone: +84.96.567.7826
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.domjudge.org/pipermail/domjudge-devel/attachments/20171219/aa4c8f8a/attachment.htm>


More information about the DOMjudge-devel mailing list