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@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@domjudge.org
https://www.domjudge.org/mailman/listinfo/domjudge-devel