Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam,
zainstalowałem i skonfigurowałem sobie testowy serwer irc-irc2 za pomocą aptitude. Problem mam z tym, że serwer akceptuje tylko 2 połączenia i nikt więcej nie może się połączyć. Czy ktoś wie jak zwiększyć limit połączeń?
ircd.conf:
# M-Line M:xxx.xxx.xxx.xxx::Server testowy::6667 # A-Line A:This is Debian's default ircd configurations:Please edit your /etc/ircd/ircd.conf file:Contact <root@localhost> for questions::ExampleNet # Y-Lines Y:11:90::100:512000:0.1:0.2: # I-Line I:*:::0:1 I:127.0.0.1/32:::0:1 I:*@*::::* # P-Line P::::6667: max_clients = 512
Próbowałem jeszcze zainstalować serwer ze źródeł ale po edycji pliku config.h po wydaniu polecenia make all wyskakuje błąd:
/irc2.11.2p1/i686-pc-linux-gnu# make all gcc -g -O2 -I. -I../ircd -I../common -c -o bsd.o ../common/bsd.c In file included from ../ircd/s_defines.h:24, from ../common/bsd.c:26: ./config.h:149: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MAXCONNECTIONS’ In file included from ../ircd/s_defines.h:28, from ../common/bsd.c:26: ../common/dbuf_def.h:47: warning: data definition has no type or storage class In file included from ../ircd/s_defines.h:30, from ../common/bsd.c:26: ../common/struct_def.h:539: error: expected specifier-qualifier-list before ‘dbuf’ ../common/struct_def.h:657: error: ‘MAXCONNECTIONS’ undeclared here (not in a function) In file included from ../ircd/s_externs.h:27, from ../common/bsd.c:28: ../common/dbuf_ext.h:39: error: expected ‘)’ before ‘*’ token ../common/dbuf_ext.h:40: error: expected ‘)’ before ‘*’ token ../common/dbuf_ext.h:41: error: expected ‘)’ before ‘*’ token ../common/dbuf_ext.h:42: error: expected ‘)’ before ‘*’ token ../common/dbuf_ext.h:43: error: expected ‘)’ before ‘*’ token ../common/dbuf_ext.h:44: error: expected ‘)’ before ‘*’ token ../common/dbuf_ext.h:45: error: expected ‘)’ before ‘*’ token ../common/bsd.c: In function ‘deliver_it’: ../common/bsd.c:88: error: ‘aClient’ has no member named ‘acpt’ ../common/bsd.c:149: error: ‘aClient’ has no member named ‘sendB’ ../common/bsd.c:150: error: ‘aClient’ has no member named ‘sendB’ ../common/bsd.c:153: error: ‘aClient’ has no member named ‘sendB’ make: *** [bsd.o] Błąd 1 root@euphoria:/home/neox/irc2.11.2p1/i686-pc-linux-gnu#
Ostatnio edytowany przez milik (2013-01-04 23:04:13)
Offline
Time (s) | Query |
---|---|
0.00011 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00059 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.216.53.7' WHERE u.id=1 |
0.00128 | UPDATE punbb_online SET logged=1732931523 WHERE ident='18.216.53.7' |
0.00023 | SELECT * FROM punbb_online WHERE logged<1732931223 |
0.00092 | SELECT topic_id FROM punbb_posts WHERE id=219495 |
0.00023 | SELECT id FROM punbb_posts WHERE topic_id=22633 ORDER BY posted |
0.00056 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=22633 AND t.moved_to IS NULL |
0.00025 | SELECT search_for, replace_with FROM punbb_censoring |
0.00063 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=22633 ORDER BY p.id LIMIT 0,25 |
0.00092 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=22633 |
Total query time: 0.00576 s |