Страница 2 из 4

Re: Ragnarok server

Добавлено: 2008-12-06 10:02:23
Shaman
Спасибо . :smile:

Сервер аднако запустился , с базами вроде разобрался :smile: (я крут)
Вот тока с клиентом зарылся на глухо . Подскажи как его под себя настроить , а то чет у меня он артачиться , перенастраиваю а он гад лезет обновляться на другой серв и все всей моей настройке хана . На форуме афины, там гайд ну шибко старый .

Если еще подскажешь что это за варнинг я счастлив буду по самое низя . И благодарности моей не будет края и конца.

Код: Выделить всё

[Warning]: plugin_open: not loaded (invalid file) : 'plugins/upnp.so'

Re: Ragnarok server

Добавлено: 2008-12-06 15:50:54
zingel
ни слинкована библиотека

Код: Выделить всё

ldconfig -r 
для самого клиента, но может и всё убить.

Re: Ragnarok server

Добавлено: 2008-12-07 2:46:23
FenX
тут другой вопрос :)
поддержка upnp плагина в еА реализована только под win32 системы)))

т.е. тебе надо сейчас в conf/plugin_athena.conf
и закаментить загрузку upnp )))

Re: Ragnarok server

Добавлено: 2008-12-07 17:16:10
Shaman
Еще такой вопрос

Код: Выделить всё

[Info]: Pinging SQL server to keep connection alive...
Значит ли это что у меня периодически пытается отвалиться mysql ? Если нет то что это и с чем это едят ?

Re: Ragnarok server

Добавлено: 2008-12-10 19:07:10
FenX
mysql изначально настроен так, что сессия через какой-то промежуток времени обрывается.
т.е. коннекты с разорваной сессии проходить не будут.

и чтобы этого разрыва не произошло и не пришлось заново перезапускать сервер
и был включен в сорсы кусок кода, который с некой переодичностью шлёт mysql`у
пакет аля "я живой, работаем дальше".

Re: Ragnarok server

Добавлено: 2008-12-10 19:13:37
Shaman
Хорошо когда есть человек который все расскажет .
Спасибо огромное за пояснения .

Re: Ragnarok server

Добавлено: 2009-01-31 19:35:08
khiluck
FenX писал(а):ужос Оо

Код: Выделить всё

$ ./configure --enable-mapregsql
для Stable ветки.

После этого уже

Код: Выделить всё

$ gmake clean && gmake sql
Подскажи, плиз, а для trunk версии как получить Makefile ????

Все, понял, сори :) небыло библиотеки zlib :oops:

Код: Выделить всё

configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping
де ее взять???

Re: Ragnarok server

Добавлено: 2009-01-31 19:51:41
FenX
Я так понимаю система x64 ?

Re: Ragnarok server

Добавлено: 2009-02-01 1:16:12
khiluck
FenX писал(а):Я так понимаю система x64 ?
Совершенно верно! как узнал? :good:

Re: Ragnarok server

Добавлено: 2009-02-01 1:32:50
FenX
Эта ошибка есть на всех х64 системах :)
Проблема в том, что афина их не поддерживает =(

Сейчас к сожалению нет возможности нигде поэкспериментировать...
Но народ пишет, что для центоса х64 проблема решается установкой 32битной версии библиотеки...
_http://www.eathena.ws/board/index.php?showtopic=203997

Ещё вариант:
$ locate zlib.h

найти в списке путь до zlib.h
и прописать его сюда:
$ ./configure --with-zlib={ПУТЬ}

Только одна поправка: путь берётся не полный. /include/zlib.h будет подставлено к пути автоматически.
т.е. в х86 дефолт путь такой: /usr/include/zlib.h
В этом случае команда будет выглядеть так:
$ ./configure --with-zlib=/usr

Пробуй, если не получится - пиши, будем тестить дальше...
Давно хотел разобраться с этой проблемой, да никак в руки х64 система не попадалась =\

Re: Ragnarok server

Добавлено: 2009-02-01 11:31:13
khiluck
Скачал с офф сайта вот это - http://www.zlib.net/zlib123-dll.zip
распаковал в /usr/home/aex/in/
содержимое /usr/home/aex/in/

Код: Выделить всё

aex# ls -l
total 94
drwxr-xr-x  5 aex   wheel    512 Feb  1 10:24 ./
drwxr-xr-x  7 root  wheel    512 Jan 31 17:49 ../
-rw-r--r--  1 aex   wheel  18325 Feb  1 10:24 DLL_FAQ.txt
-rw-r--r--  1 aex   wheel   1528 Feb  1 10:24 README.txt
-rw-r--r--  1 aex   wheel   3114 Feb  1 10:24 USAGE.txt
drwxr-xr-x  2 aex   wheel    512 Feb  1 10:24 include/
drwxr-xr-x  2 aex   wheel    512 Feb  1 10:24 lib/
drwxr-xr-x  2 aex   wheel    512 Feb  1 10:24 test/
-rw-r--r--  1 aex   wheel  59904 Feb  1 10:24 zlib1.dll
aex# ls include/
./       ../      zconf.h  zlib.h
aex# ls lib
./        ../       zdll.exp  zdll.lib  zlib.def
запускаем вот так:

Код: Выделить всё

aex# ./configure --with-zlib=/usr/home/aex/in/
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking whether pointers can be stored in ints (old code)... yes (with -m32)
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc supports -Wno-pointer-sign... yes
checking whether gcc supports -Wno-switch... yes
checking for setrlimit... no
checking for inflateEnd in -lz... no
configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping
aex#
неполучается :unknown:

Re: Ragnarok server

Добавлено: 2009-02-01 14:42:43
FenX
Попробуй эти:
http://www.zlib.net/zlib-1.2.3.tar.gz

Re: Ragnarok server

Добавлено: 2009-02-01 15:35:20
khiluck
Вот:

Код: Выделить всё

aex# tar -xf zlib-1.2.3.tar.gz
aex# ls
./                 ../                zlib-1.2.3/        zlib-1.2.3.tar.gz
aex# cd zlib-1.2.3
aex# ls
./             Makefile.in    compress.c     deflate.h      inffast.h      make_vms.com   trees.c        zlib.3
../            README         configure*     example.c      inffixed.h     minigzip.c     trees.h        zlib.h
ChangeLog      adler32.c      contrib/       examples/      inflate.c      msdos/         uncompr.c      zutil.c
FAQ            algorithm.txt  crc32.c        gzio.c         inflate.h      old/           win32/         zutil.h
INDEX          amiga/         crc32.h        infback.c      inftrees.c     projects/      zconf.h
Makefile       as400/         deflate.c      inffast.c      inftrees.h     qnx/           zconf.in.h
aex# make install
cc -O -c adler32.c
cc -O -c compress.c
cc -O -c crc32.c
cc -O -c gzio.c
cc -O -c uncompr.c
cc -O -c deflate.c
cc -O -c trees.c
cc -O -c zutil.c
cc -O -c inflate.c
cc -O -c infback.c
cc -O -c inftrees.c
cc -O -c inffast.c
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o  zutil.o inflate.o infback.o inftrees.o inffast.o
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
cp libz.a /usr/local/lib
cd /usr/local/lib; chmod 755 libz.a
cd /usr/local/lib; if test -f libz.so.1.2.3; then  rm -f libz.so libz.so.1;  ln -s libz.so.1.2.3 libz.so;  ln -s libz.so.1.2.3 libz.so.1;  (ldconfig || true)  >/dev/null 2>&1;  fi
cp zlib.3 /usr/local/share/man/man3
chmod 644 /usr/local/share/man/man3/zlib.3
aex# rehash
aex# ls
./             adler32.c      contrib/       examples/      inffixed.h     make_vms.com   trees.o        zutil.c
../            adler32.o      crc32.c        gzio.c         inflate.c      minigzip.c     uncompr.c      zutil.h
ChangeLog      algorithm.txt  crc32.h        gzio.o         inflate.h      msdos/         uncompr.o      zutil.o
FAQ            amiga/         crc32.o        infback.c      inflate.o      old/           win32/
INDEX          as400/         deflate.c      infback.o      inftrees.c     projects/      zconf.h
Makefile       compress.c     deflate.h      inffast.c      inftrees.h     qnx/           zconf.in.h
Makefile.in    compress.o     deflate.o      inffast.h      inftrees.o     trees.c        zlib.3
README         configure*     example.c      inffast.o      libz.a         trees.h        zlib.h
aex# cd ../../svneathena/
aex# ./configure --with-zlib=/usr
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking whether pointers can be stored in ints (old code)... yes (with -m32)
checking whether gcc supports -Wno-unused-parameter... yes
checking whether gcc supports -Wno-pointer-sign... yes
checking whether gcc supports -Wno-switch... yes
checking for setrlimit... no
checking for inflateEnd in -lz... no
configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping
aex#

Re: Ragnarok server

Добавлено: 2009-02-03 13:07:14
FenX
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
Сам этот лог скинул :)
злиб установился в /usr/local
Т.е. надо

Код: Выделить всё

$ ./configure --with-zlib=/usr/local

Re: Ragnarok server

Добавлено: 2009-02-06 3:46:38
khiluck
та же ошиПка :cry:

Re: Ragnarok server

Добавлено: 2009-02-06 12:32:17
FenX
Тогда я даже хз =\
к сожалению нет у меня под рукой х64 оси, чтоб эксперементировать =\

Re: Ragnarok server

Добавлено: 2009-02-06 12:57:49
khiluck
FenX писал(а):Тогда я даже хз =\
к сожалению нет у меня под рукой х64 оси, чтоб эксперементировать =\
Все равно - огромное Спасибо! :drinks:
Ты и так очень много подсказал и помог:) Перейду на i386 пока, попробую ее ;-)

Re: Ragnarok server

Добавлено: 2009-02-06 13:31:34
FenX
у меня знакомый собрал на freebsd-amd64 афину
Но он на 64 мигрировал с и386
Видимо каким-то образом остались библиотеки от х86..

Re: Ragnarok server

Добавлено: 2009-02-17 13:17:52
FenX
http://www.eathena.ws/board/index.php?s ... try1144175

Флаво сообщил что поддержка х64 введена в тестовом режиме :)

Re: Ragnarok server

Добавлено: 2009-02-20 3:17:34
Hazzard
2 топикстартер: извиняй но сил нету прочитать весь тред ... тем более мало чего полезного для меня тут ... Если совсем хреново станет а сервак надо - пиши, расскажу как ставить на Debian...

Re: Ragnarok server

Добавлено: 2009-02-20 14:58:31
FenX
@Hazzard,
1. Задача была поднять не на дебе, а на фре.
2. Задача практически решена полностью ;)

Re: Ragnarok server

Добавлено: 2009-02-20 15:28:01
Hazzard
Hazzard писал(а):Если совсем хреново станет ...

Re: Ragnarok server

Добавлено: 2009-03-11 13:02:18
Shaman
Ребят можете помочь протестировать доступ на сервер с нета ? Адрес 195.3.180.21 , сайта нет нужно именно с клиента проверить.

Re: Ragnarok server

Добавлено: 2009-04-13 12:03:47
FenX
накатал что-то вроде заметки...
комментируем, дополняем :)
вобщем развиваем :)

http://www.lissyara.su/?id=1664

Re: Ragnarok server

Добавлено: 2009-07-30 9:56:37
Fern
А вот у меня странная фигня, делал по статье FenX`a и не получилося :(
Стопор на этапе:

Код: Выделить всё

mysql --user=root --password=<your_pass> \
? --execute="GRANT ALL PRIVILEGES ON eathena_srv.* \
? TO eathena@localhost IDENTIFIED BY '<your_password>'"
Система ругается на кривой ситаксис.... :cry: И как вообще должна выглядеть эта команда, если пароля к sql нет?
А еще, будет ли продолжение по настройке аэтерны в ТХТ режиме базы, ну просто конфига сервера? ^__^ Зачем ТХТ - мне вот например нужен сервер на 4-10 человек, которые хотят тупо потрениться на PVP в местах оторваных от интернета и ради этого держать на ноуте мускуль не того.