Server is down

Обсуждение вопросов, связанных с системой проведения турниров ejudge.
Post Reply
thenonick
Posts: 1
Joined: 11 June 2013, 20:57

Server is down

Post by thenonick » 11 June 2013, 21:47

Вероятно, я что-то делаю неверно, но, к сожалению, я не могу понять, что именно. Имеется следующая проблема: при авторизации в serve-control я вижу надпись "Server is down The server is down. Try again later."
Логин и пароль вводятся корректные (те же, что и в ejudge-setup)
Те же логин и пароль подходят для авторизации в new-register, где я даже могу войти в контест.

Gentoo Linux, 3.7.10-gentoo-r1 kernel, ejudge 2.3.27, selinux не запущен. Для исключения проблем с правами доступа сокетов рекурсивно установлены права 0777 для /home/judges.
Вывод "ps aux | grep ejudge"

Code: Select all

ejudge   21515  0.0  0.0  44032  1448 pts/5    S    22:15   0:00 su ejudge
ejudge   21518  0.0  0.0  20284  2184 pts/5    S+   22:15   0:00 bash
ejudge   21665  0.0  0.0  22784   864 ?        Ss   22:24   0:00 /home/ejudge/inst-ejudge/libexec/ejudge/bin/ej-users -D -C /home/judges /home/judges/data/ejudge.xml
ejudge   21667  0.0  0.0  27020   940 ?        Ss   22:24   0:00 /home/ejudge/inst-ejudge/libexec/ejudge/bin/ej-super-server -D -C /home/judges /home/judges/data/ejudge.xml
ejudge   21669  0.0  0.0  21320   840 ?        Ss   22:24   0:00 /home/ejudge/inst-ejudge/libexec/ejudge/bin/ej-compile -D -C /home/judges/compile conf/compile.cfg
ejudge   21672  0.0  0.0  25932   872 ?        Ss   22:24   0:00 /home/ejudge/inst-ejudge/libexec/ejudge/bin/ej-super-run -D -C /home/judges/compile
ejudge   21674  0.0  0.0  20200   432 ?        Ss   22:24   0:00 /home/ejudge/inst-ejudge/libexec/ejudge/bin/ej-jobs -D -C /home/judges /home/judges/data/ejudge.xml
ejudge   21676  0.0  0.0  28344   256 ?        Ss   22:24   0:00 /home/ejudge/inst-ejudge/libexec/ejudge/bin/ej-contests -D -C  home/judges /home/judges/data/ejudge.xml
root     21680  0.0  0.0   6740   632 pts/0    S+   22:24   0:00 grep --colour=auto ejudge
/var/log/apache2/error_log

Code: Select all

[Tue Jun 11 22:31:00 2013] [error] [client 127.0.0.1] Tue Jun 11 22:31:00 2013:error:connect() failed: 2, No such file or directory, referer: http://localhost/cgi-bin/serve-control
ej-super-server.log

Code: Select all

Tue Jun 11 22:24:07 2013:info:scanning available contests...
Tue Jun 11 22:24:07 2013:info:scanning available contests done
ej-users.log

Code: Select all

Tue Jun 11 22:24:07 2013:info:initialization is ok, now serving requests
Tue Jun 11 22:24:07 2013:info:backup: complete to /home/judges/data/db/userlist.xml.20130611.gz
ejudge.xml

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<!-- Generated by ejudge-setup, version 2.3.27 -->
<!-- Generation date: 2013/05/29 15:09:17 -->
<config l10n="yes">
  <socket_path>/home/judges/var/socket/userlist-socket</socket_path>
  <super_serve_socket>/home/judges/var/socket/super-serve-socket</super_serve_socket>
  <contests_dir>/home/judges/data/contests</contests_dir>
  <config_dir>/home/judges/data</config_dir>

  <userdb_file>/home/judges/data/db/userlist.xml</userdb_file>
  <full_cgi_data_dir>/usr/local/apache2/cgi-bin//../cgi-data</full_cgi_data_dir>
  <compile_home_dir>/home/judges/compile</compile_home_dir>
  <serialization_key>22723</serialization_key>
  <var_dir>/home/judges/var</var_dir>
  <userlist_log>ej-users.log</userlist_log>
  <super_serve_log>ej-super-server.log</super_serve_log>

  <email_program>/usr/sbin/sendmail</email_program>
  <register_url>http://localhost/cgi-bin/register</register_url>
  <register_email>ejudge@localhost</register_email>
  <server_name>Ejudge contest server at localhost</server_name>
  <server_name_en>Ejudge contest server at localhost</server_name_en>
  <server_main_url>http://localhost</server_main_url>
  <user_map>
    <map system_user="ejudge" ejudge_user="noname"/>
  </user_map>
  <caps>
    <cap login="noname">
      MASTER_LOGIN,
      JUDGE_LOGIN,
      LIST_USERS,
      CREATE_USER,
      GET_USER,
      EDIT_USER,
      DELETE_USER,
      PRIV_EDIT_USER,
      PRIV_DELETE_USER,
      DUMP_USERS,
      EDIT_CONTEST,
      CONTROL_CONTEST,
      EDIT_PASSWD,
      PRIV_EDIT_PASSWD,
      RESTART,
    </cap>
  </caps>

  <plugins>
    <plugin type="nsdb" name="files">
       <config>
         <data_dir>/home/judges/data/new-serve-db</data_dir>
       </config>
    </plugin>
  </plugins>

  <!-- The default value is built-in -->
  <!--<l10n_dir>/home/ejudge/inst-ejudge/share/locale</l10n_dir>-->
  <!-- The default value is built-in -->
  <!--<script_dir>/home/ejudge/inst-ejudge/libexec/ejudge</script_dir>-->
  <!-- The default value is built-in -->
  <!--<run_path>/home/ejudge/inst-ejudge/bin/ej-run</run_path>-->
  <!-- The default value is built-in -->
  <!--<charset>utf-8</charset>-->
  <!-- The default value is built-in -->
  <!--<contests_home_dir>/home/judges/</contests_home_dir>-->
</config>

Post Reply