Dear Sir,

I just install Domjudge on a clean VPS CentOS.

I installed Apache,PHP,MySQL and phpmyadmin, compilers....

I run ./configure and make correctly.

But now, when I browse http://ipaddress/domjudge or http://ipaddress/domjudge/jury.... I get error 403 Forbidden

I don't know what I missed, please help me!

Thanks for your support!

Best regard,
Linh

On Thu, Nov 26, 2015 at 11:39 AM, Vũ Linh Nguyễn <linhnv2110@gmail.com> wrote:
Dear Sir,

I'm installing Domjudge on CentOS 6.7

I putted domjudge on /home/......./domjudge

Then I run: ./configure --prefix=/home/....../domjudge --disable-submitclient

Everything is OK.

Then I run:

make domserver && make install-domserver

==> OK
make judgehost && make install-judgehost

==> I get error: gcc -fPIE -Wl,-z,relro -Wl,-z,now  runguard.o /usr/lib/libm.so   -o runguard
/usr/lib/libm.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[1]: *** [runguard] Error 1
make[1]: Leaving directory `/home/............/domjudge/judge'
make: *** [judgehost] Error 1

make docs && make install-docs
==> I get this:
make[2]: *** [install-docs] Error 1
make[2]: Leaving directory `/home/.............../domjudge/doc/admin'
make[1]: *** [install-docs] Error 1
make[1]: Leaving directory `/home/................/domjudge/doc'
make: *** [install-docs] Error 1

So when I open browser and put: http://domain/domjudge/jury --> 404 Not found.

I searched on my server under /home/....../domjudge
It has:

aclocal.m4     config.log     COPYING.BSD  judge            paths.mk     www
bootstrap      config.status  COPYING.MIT  lib              paths.mk.in
ChangeLog      config.sub     doc          m4               README
CODINGSTYLE    configure      domserver    Makefile         sql
composer.json  configure.ac   etc          Makefile.global  submit
config.guess   COPYING        install-sh   misc-tools       tests

Did I miss anything? Please help me!

Thanks for your support!

Best regard,
Linh

On Wed, Nov 25, 2015 at 9:13 AM, Jaap Eldering <jaap@jaapeldering.nl> wrote:
On 24-11-15 22:53, Vũ Linh Nguyễn wrote:
> Dear Sir,
>
> -- I can't install jsoncpp-devel on CentOS. And I get error when I run
> command "config". How can I solve this problem?

Indeed, it is noted in the admin manual that jsoncpp-devel is not
available on CentOS.

You can work around that by disabling the submit client by passing the
option --disable-submitclient to configure, or you can try to install
the JSONcpp library from source if you want to be able to use the submit
client.

Best,
Jaap


> On Tue, Nov 24, 2015 at 5:42 PM, Jaap Eldering <jaap@jaapeldering.nl
> <mailto:jaap@jaapeldering.nl>> wrote:
>
>     Hi Linh,
>
>     LaTeX is only needed to (re)generate the documentation, but DOMjudge
>     will work fine without that. So you can safely ignore these errors.
>
>     Jaap
>
>
>     On 24-11-15 07:58, Vũ Linh Nguyễn wrote:
>     > Dear Sir,
>     >
>     > Now, I'm trying to install Domjudge on another clean CentOS VPS. But I
>     > get error when install texlive-latex-recommended texlive-latex-extra.
>     >
>     > If I don't install this, whether Domjudge can would correctly?
>     >
>     > Thanks for your help, and I'm looking forward to hearing from you soon!
>     >
>     > Best regard,
>     > Linh
>     >
>     > On Mon, Nov 16, 2015 at 9:51 PM, Jaap Eldering <jaap@jaapeldering.nl <mailto:jaap@jaapeldering.nl>
>     > <mailto:jaap@jaapeldering.nl <mailto:jaap@jaapeldering.nl>>> wrote:
>     >
>     >     Hi Vu Linh,
>     >
>     >     On 16-11-15 12:36, Vũ Linh Nguyễn wrote:
>     >     > Thank for your reply,
>     >     >
>     >     > -- Before, I get error about jsoncpp-devel. Then, I add
>     >     >> --disable-submitclient in configure line. This was not
>     happened.
>     >     >
>     >     > I don't understand your last sentence. Do you mean that adding
>     >     > --disable-submitclient fixed the error?
>     >     >
>     >     >>Yes, it fixed error about jsoncpp-devel in CentOS.
>     >     >
>     >     >> -- After, when I run make, I get error about symbol in
>     /usr/lib/libm.so.
>     >     >> File in wrong format.
>     >     >
>     >     > What is the exact error message? Which version of DOMjudge
>     are you using?
>     >     >
>     >     >>Error is /usr/lib/libm.so file in wrong format!
>     >
>     >     Ok, but what is context? Please copy-paste the *exact error
>     output* of
>     >     make with at least a couple of lines around it. Without the
>     precise file
>     >     and other possible details, there is very little we can say
>     about this.
>     >
>     >     And what version of DOMjudge do you use?
>     >
>     >     >> -- Then, I followed Install again, I check url
>     /share/domjudge/www/jury
>     >     >> => it a white page.
>     >     >
>     >     > First of all, you should browse to http://localhost/domjudgeor
>     >     > something similar depending on what setup for apache you
>     used. Did you
>     >     > install the apache.conf snippet and configure apache? Then,
>     the best
>     >     > place to look for clues is in the apache error log files.
>     >     >
>     >     >> Because I followed your document, and as your document, I
>     must go to
>     >     > jury folder on my browser, but after I installed domjudge, I
>     can't find
>     >     > out /jury folder in /domjudge (it located in
>     /share/domjudge/www/jury).
>     >     > I sure that apache was install and configure (I can run my
>     site well).
>     >
>     >     This is not /domjudge on your filesystem, but a URL as served
>     by your
>     >     webserver. You should first make sure that your webserver is
>     configured
>     >     properly and you can view some webpage served from it.
>     >
>     >     Then you have to configure it to include the DOMjudge website
>     tree. The
>     >     admin manual describes how to do that for Apache, but at least
>     I have no
>     >     experience with Kloxo (I've never even heard of it before). So
>     unless
>     >     someone else knows this or you can switch to using Apache, I'm
>     afraid
>     >     you'll have to figure that out yourself or via other resources.
>     >
>     >     >> I think I have some mistake when install, but I sure that I
>     followed all
>     >     >> of you tutorial. So, can you help me to install this? I'm
>     using CentOS
>     >     >> 6.7 with Kloxo installed.
>     >     >
>     >     > We have no experience with Kloxo, so I don't know whether
>     domjudge will
>     >     > work with that instead of plain apache2.
>     >     >
>     >     >>Because this is a VPS provided by my school's cloud system,
>     so I can't
>     >     > choose OS, it was install CentOS with Kloxo bby default!
>     >
>     >     Then it might be best to try to contact someone at your school
>     who has
>     >     more experience with configuring this VPS/Kloxo, show them the
>     Apache2
>     >     configuration snippet (in etc/apache.conf) and ask if there is
>     a way to
>     >     configure that in your system.
>     >
>     >     Best,
>     >     Jaap
>     >
>     >
>     >     > On Mon, Nov 16, 2015 at 6:28 PM, Jaap Eldering
>     <jaap@jaapeldering.nl <mailto:jaap@jaapeldering.nl>
>     <mailto:jaap@jaapeldering.nl <mailto:jaap@jaapeldering.nl>>
>     >     > <mailto:jaap@jaapeldering.nl <mailto:jaap@jaapeldering.nl>
>     <mailto:jaap@jaapeldering.nl <mailto:jaap@jaapeldering.nl>>>> wrote:
>     >     >
>     >     >     Hi Vu Linh,
>     >     >
>     >     >     First of all, please subscribe to the emaillist: this means
>     >     that your
>     >     >     emails automatically gets posted and we don't have to
>     moderate it.
>     >     >
>     >     >     On 16-11-15 00:47, Vũ Linh Nguyễn wrote:
>     >     >     > Dear admin,
>     >     >     >
>     >     >     > I am a student at University of Information
>     Technology, I'm
>     >     going to use
>     >     >     > Domjudge to organize our contest (ACM), I followed your
>     >     Admin Manual
>     >     >     > Installation Guide, but I always get error when install
>     >     Domjudge:
>     >     >     >
>     >     >     > -- Before, I get error about jsoncpp-devel. Then, I add
>     >     >     > --disable-submitclient in configure line. This was not
>     happened.
>     >     >
>     >     >     I don't understand your last sentence. Do you mean that
>     adding
>     >     >     --disable-submitclient fixed the error?
>     >     >
>     >     >     > -- After, when I run make, I get error about symbol in
>     >     /usr/lib/libm.so.
>     >     >     > File in wrong format.
>     >     >
>     >     >     What is the exact error message? Which version of
>     DOMjudge are you
>     >     >     using?
>     >     >
>     >     >     > -- Then, I followed Install again, I check url
>     >     /share/domjudge/www/jury
>     >     >     > => it a white page.
>     >     >
>     >     >     First of all, you should browse to
>     http://localhost/domjudge or
>     >     >     something similar depending on what setup for apache you
>     used.
>     >     Did you
>     >     >     install the apache.conf snippet and configure apache? Then,
>     >     the best
>     >     >     place to look for clues is in the apache error log files.
>     >     >
>     >     >     > I think I have some mistake when install, but I sure
>     that I
>     >     followed all
>     >     >     > of you tutorial. So, can you help me to install this? I'm
>     >     using CentOS
>     >     >     > 6.7 with Kloxo installed.
>     >     >
>     >     >     We have no experience with Kloxo, so I don't know whether
>     >     domjudge will
>     >     >     work with that instead of plain apache2.
>     >     >
>     >     >     Best,
>     >     >     Jaap
>     >     >
>     >     >
>     >     >
>     >     >
>     >     > --
>     >     >
>     *---------------------------------------------------------------------------------------------*
>     >     > *Nguyễn Vũ Linh - Sói Hoang*
>     >     > *
>     >     > *
>     >     > Software/Website/Game Developer - AI, PTS, Corel, AE Designer
>     >     > ......................
>     >     > Phone: 0963.203.813
>     >     > Website: http://ww-solution.me <http://ww-solution.me/>
>     >     > Email: linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>
>     <mailto:linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>>
>     >     <mailto:linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>
>     <mailto:linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>>> |
>     >     > nguyen.vu.linh321@gmail.com
>     <mailto:nguyen.vu.linh321@gmail.com>
>     <mailto:nguyen.vu.linh321@gmail.com
>     <mailto:nguyen.vu.linh321@gmail.com>>
>     >     <mailto:nguyen.vu.linh321@gmail.com
>     <mailto:nguyen.vu.linh321@gmail.com>
>     >     <mailto:nguyen.vu.linh321@gmail.com <mailto:nguyen.vu.linh321@gmail.com>>>
>     >     > .............................
>     >     > Facebook: http://facebook.com/linhnv2110
>     >     > Skype: linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>
>     <mailto:linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>>
>     >     <mailto:linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>
>     <mailto:linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>>>
>     >
>     >     _______________________________________________
>     >     DOMjudge-devel mailing list
>     >     DOMjudge-devel@domjudge.org
>     <mailto:DOMjudge-devel@domjudge.org>
>     <mailto:DOMjudge-devel@domjudge.org
>     <mailto:DOMjudge-devel@domjudge.org>>
>     >     https://www.domjudge.org/mailman/listinfo/domjudge-devel
>     >
>     >
>     >
>     >
>     > --
>     >
>     *---------------------------------------------------------------------------------------------*
>     > *Nguyễn Vũ Linh - Sói Hoang*
>     > *
>     > *
>     > Software/Website/Game Developer - AI, PTS, Corel, AE Designer
>     > ......................
>     > Phone: 0963.203.813
>     > Website: http://ww-solution.me <http://ww-solution.me/>
>     > Email: linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>
>     <mailto:linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>> |
>     > nguyen.vu.linh321@gmail.com <mailto:nguyen.vu.linh321@gmail.com>
>     <mailto:nguyen.vu.linh321@gmail.com
>     <mailto:nguyen.vu.linh321@gmail.com>>
>     > .............................
>     > Facebook: http://facebook.com/linhnv2110
>     > Skype: linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>
>     <mailto:linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>>
>
>
>
>
> --
> *---------------------------------------------------------------------------------------------*
> *Nguyễn Vũ Linh - Sói Hoang*
> *
> *
> Software/Website/Game Developer - AI, PTS, Corel, AE Designer
> ......................
> Phone: 0963.203.813
> Website: http://ww-solution.me <http://ww-solution.me/>
> Email: linhnv2110@gmail.com <mailto:linhnv2110@gmail.com> |
> nguyen.vu.linh321@gmail.com <mailto:nguyen.vu.linh321@gmail.com>
> .............................
> Facebook: http://facebook.com/linhnv2110
> Skype: linhnv2110@gmail.com <mailto:linhnv2110@gmail.com>




--
---------------------------------------------------------------------------------------------
Nguyễn Vũ Linh - Sói Hoang

Software/Website/Game Developer - AI, PTS, Corel, AE Designer
......................
Phone: 0963.203.813
.............................



--
---------------------------------------------------------------------------------------------
Nguyễn Vũ Linh - Sói Hoang

Software/Website/Game Developer - AI, PTS, Corel, AE Designer
......................
Phone: 0963.203.813
.............................