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