Problem running shard ( server )

Added by mkc almost 8 years ago

Hi. Iam was success compiled ryzom under Ubuntu 10.10 server.
frontend_service.cfg was changed ( FSHost ), but shard cannot started with :

mkdir: невозможно создать каталог `ras': Файл существует

---------------------------------------------------------------------------------
Starting service launcher
---------------------------------------------------------------------------------
CMDLINE          = src/ryzom_admin_service/ryzom_admin_service --fulladminname=admin_service --shortadminname=AS -C. -L. --nobreak --writepid
CTRL_FILE        = ras/ras.launch_ctrl
NEXT_CTRL_FILE   = ras/ras.deferred_launch_ctrl
STATE_FILE       = ras/ras.state
---------------------------------------------------------------------------------

Press ENTER to launch program
cp: указанная цель `welcome_service_default.cfg' не является каталогом
-----------------------------------------------------------------------
Launching ...

INF b73c8a40 command.cpp 145 registerNamedCommandHandler <Unknown> : CCommandRegistry : adding commands handler for class 'CModuleManager'
INF b73c8a40 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminExecutorService' factory
INF b73c8a40 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminExecutorServiceClient' factory
INF b73c8a40 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminService' factory
INF b73c8a40 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'LocalGateway' factory
INF b73c8a40 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'StandardGateway' factory
INF b73c8a40 service.cpp 252 cbDirectoryChanged AS : SERVICE: 'ConfigDirectory' changed to '/opt/ryzom/code/ryzom/server/'
INF b73c8a40 service.cpp 252 cbDirectoryChanged AS : SERVICE: 'LogDirectory' changed to '/opt/ryzom/code/ryzom/server/'
INF b73c8a40 service.cpp 252 cbDirectoryChanged AS : SERVICE: 'ConfigDirectory' changed to '/opt/ryzom/code/ryzom/server/'
DBG b73c8a40 config_file.cpp 392 reparse AS : CF: Adding config file '/opt/ryzom/code/ryzom/server/admin_service.cfg' in the config file
INF b73c8a40 i18n.cpp 592 _readTextFile AS : Preprocess: In file /opt/ryzom/code/ryzom/server/admin_service.cfg(8) : Including 'admin_service_default.cfg'
INF b73c8a40 i18n.cpp 592 _readTextFile AS : Preprocess: In file admin_service_default.cfg(1) : Including 'common.cfg'
WRN b73c8a40 config_file.cpp 426 reparse AS : CF: Parsing error in file (null) line 0, look in 'debug_admin_service.cfg' for a preprocessed version of the config file
INF b73c8a40 config_file.h 337 EParseError AS : CF: Exception will be launched: Parse error on the "/opt/ryzom/code/ryzom/server/admin_service.cfg" file, line 0
terminate called after throwing an instance of 'NLMISC::EParseError'
  what():  Parse error on the "/opt/ryzom/code/ryzom/server/admin_service.cfg" file, line 0
/opt/ryzom/code/ryzom//tools/scripts/linux/service_launcher.sh: строка 102: 14333 Аварийный останов         (core dumped) $CTRL_CMDLINE
-----------------------------------------------------------------------
Press ENTER to relaunch

Any idea?

Replies (24)

RE: Problem running shard ( server ) - Added by molator almost 8 years ago

Yeap maybe that issue:
http://dev.ryzom.com/issues/1016

There are some issues building on linux 64 dynamic.
You should be able to solve it, building everything static.

WITH_STATIC something in cmake config.

RE: Problem running shard ( server ) - Added by TcR1oo565 almost 8 years ago

Hi guys,

I also run into same issue with ubuntu server 10.10 64 bit.

First compile was successful with shared library, I activate flag WITH_STATIC to true and recompile everything again :|
but after 24% compilation I run into follow fail below:

[ 24%] Building CXX object nel/src/3d/driver/opengl/CMakeFiles/nel_drv_opengl.dir/driver_opengl_states.cpp.o
Linking CXX shared module ../../../../../lib/libnel_drv_opengl.so
/usr/bin/ld: ../../../../../lib/libnel3d.a(viewport.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
../../../../../lib/libnel3d.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make2: * [lib/libnel_drv_opengl.so] Fel 1
make1:
[nel/src/3d/driver/opengl/CMakeFiles/nel_drv_opengl.dir/all] Fel 2
make: *
* [all] Fel 2

Any advice?

RE: Problem running shard ( server ) - Added by molator almost 8 years ago

/usr/bin/ld: ../../../../../lib/libnel3d.a(viewport.cpp.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC

You can try to build adding -fPIC :).

RE: Problem running shard ( server ) - Added by TcR1oo565 almost 8 years ago

You are right molator :)

I removed $RYZOM/build directory and re-create it again for a fresh empty start with static library.

Will only run ryzom server on ubuntu server 10.10, so I used the follow cmake option:

cmake -DWITH_NEL_TESTS=OFF -DWITH_RYZOM_CLIENT=OFF -DWITH_NEL=ON -DWITH_SOUND=OFF -DWITH_STATIC=ON -DWITH_STATIC_DRIVERS=ON ..

This time complation stop at 38%, stange.

[ 38%] Building CXX object nel/samples/3d/font/CMakeFiles/nl_sample_font.dir/main.cpp.o
Linking CXX executable ../../../../bin/nl_sample_font
/usr/bin/ld: cannot find -lnel_drv_openal
/usr/bin/ld: cannot find -lnel_drv_openal
collect2: ld returned 1 exit status
make2: * [bin/nl_sample_font] Fel 1
make1:
[nel/samples/3d/font/CMakeFiles/nl_sample_font.dir/all] Fel 2
make: *
* [all] Fel 2

Looks like nel_drv_openal is needed, even if option -DWITH_SOUND=OFF is used. Will try with -DWITH_SOUND=ON tomorrow :)

Thanks

RE: Problem running shard ( server ) - Added by TcR1oo565 almost 8 years ago

I had 100% successful compile with this cmake options:
cmake -DWITH_NEL_TESTS=OFF -DWITH_RYZOM_CLIENT=OFF -DWITH_NEL=ON -DWITH_SOUND=ON -DWITH_STATIC=ON -DWITH_STATIC_DRIVERS=ON ..

RE: Problem running shard ( server ) - Added by mkc almost 8 years ago

I didnt have 64bit ubuntu.
Linux rb 2.6.35-22-generic-pae #33-Ubuntu SMP Sun Sep 19 22:14:14 UTC 2010 i686 GNU/Linux
32 bit arch.

Iam recompile with cmake - all was compiled success but during start shaer starter say:
@
Launching ...

/opt/code/ryzom/code/ryzom//tools/scripts/linux/service_launcher.sh: строка 75: src/ryzom_admin_service/ryzom_admin_service: Нет такого файла или каталога
-----------------------------------------------------------------------
Press ENTER to relaunch
cp: указанная цель `welcome_service_default.cfg' не является каталогом
-----------------------------------------------------------------------
Launching ...

/opt/code/ryzom/code/ryzom//tools/scripts/linux/service_launcher.sh: строка 75: src/ryzom_admin_service/ryzom_admin_service: Нет такого файла или каталога
-----------------------------------------------------------------------
Press ENTER to relaunch
cp: указанная цель `welcome_service_default.cfg' не является каталогом
-----------------------------------------------------------------------
Launching ...

/opt/code/ryzom/code/ryzom//tools/scripts/linux/service_launcher.sh: строка 75: src/ryzom_admin_service/ryzom_admin_service: Нет такого файла или каталога
@

Iam cd to ryzom/code/ryzom/server/src and make update and make all. result:

/bin/sh ../update_packed_sheets.sh ./mirror_service datasets.packed_sheets
./mirror_service -A/opt/ryzom/code/ryzom/server -L/opt/ryzom/code/ryzom/server -C/opt/ryzom/code/ryzom//server/sheet_pack_cfg -Q --nons
INF 4041c9c0 command.cpp 145 registerNamedCommandHandler <Unknown> : CCommandRegistry : adding commands handler for class 'CModuleManager'
INF 4041c9c0 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminExecutorService' factory
INF 4041c9c0 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminExecutorServiceClient' factory
INF 4041c9c0 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'AdminService' factory
INF 4041c9c0 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'LocalGateway' factory
INF 4041c9c0 module_manager.cpp 228 addModuleFactoryRegistry <Unknown> : Adding module 'StandardGateway' factory
INF 4041c9c0 service.cpp 252 cbDirectoryChanged MS : SERVICE: 'RunningDirectory' changed to '/opt/ryzom/code/ryzom/server/'
INF 4041c9c0 service.cpp 252 cbDirectoryChanged MS : SERVICE: 'ConfigDirectory' changed to '/opt/ryzom/code/ryzom/server/'
INF 4041c9c0 service.cpp 252 cbDirectoryChanged MS : SERVICE: 'LogDirectory' changed to '/opt/ryzom/code/ryzom/server/'
INF 4041c9c0 service.cpp 252 cbDirectoryChanged MS : SERVICE: 'ConfigDirectory' changed to '/opt/ryzom/code/ryzom//server/sheet_pack_cfg/'
DBG 4041c9c0 config_file.cpp 392 reparse MS : CF: Adding config file '/opt/ryzom/code/ryzom//server/sheet_pack_cfg/mirror_service.cfg' in the config file
WRN 4041c9c0 config_file.cpp 426 reparse MS : CF: Parsing error in file (null) line 0, look in 'debug_mirror_service.cfg' for a preprocessed version of the config file
INF 4041c9c0 config_file.h 337 EParseError MS : CF: Exception will be launched: Parse error on the "/opt/ryzom/code/ryzom//server/sheet_pack_cfg/mirror_service.cfg" file, line 0
terminate called after throwing an instance of 'NLMISC::EParseError'
what(): Parse error on the "/opt/ryzom/code/ryzom//server/sheet_pack_cfg/mirror_service.cfg" file, line 0
../update_packed_sheets.sh: строка 32: 30168 Аварийный останов $EXE_NAME $PACK_SHEETS_FLAGS
make[1]: *** [packed_sheets] Ошибка 134
make[1]: Цель `all' не была пересобрана из-за ошибок.
make[1]: Выход из каталога `/opt/code/ryzom/code/ryzom/server/src/mirror_service'
make: *** [mirror_service-all] Ошибка 2

RE: Problem running shard ( server ) - Added by TcR1oo565 almost 8 years ago

Hi mkc,

I also had the same problem and found that the problem is in catalog $RYHOME/ryzom/server/src/ryzom_admin_service
there is no program called ryzom_admin_service. Other program with prefix ryzom_ is also missing.

Most of the ryzom program are moved to /usr/local/bin on sudo make install, but not the program for shard.

I did the follow to fix this:
1. cd $RYHOME/build/bin
2. sudo cp ryzom_* /usr/local/bin
3. Changes the file $RYHOME/ryzom/server/shard.screen.rc
to:

# ------------------------------------------------------------------------------
# SCREEN KEYBINDINGS
# ------------------------------------------------------------------------------

# Remove some stupid / dangerous key bindings
bind ^k
#bind L
bind ^\
# Make them better
bind \\ quit
bind K kill
bind I login on
bind O login off

chdir $RYZOM_PATH/server

screen -t aes /bin/bash service_launcher.sh aes ryzom_admin_service -A. -C. -L. --nobreak --fulladminname=admin_executor_service --shortadminname=AES

# bms_master
screen -t bms_master /bin/bash service_launcher.sh bms_master ryzom_backup_service -C. -L. --nobreak --writepid -P49990

# bms_pd_master
#screen -t bms_pd_master /bin/bash service_launcher.sh bms_pd_master src/backup_service/backup_service -C. -L. --nobreak --writepid -P49992

# egs
screen -t egs /bin/bash service_launcher.sh egs ryzom_entities_game_service -C. -L. --nobreak --writepid

# gpms
screen -t gpms /bin/bash service_launcher.sh gpms ryzom_gpm_service -C. -L. --nobreak --writepid

# ios
screen -t ios /bin/bash service_launcher.sh ios ryzom_ios_service -C. -L. --nobreak --writepid

# rns
screen -t rns /bin/bash service_launcher.sh rns ryzom_naming_service -C. -L. --nobreak --writepid

# rws
screen -t rws /bin/bash service_launcher.sh rws ryzom_welcome_service -C. -L. --nobreak --writepid

# ts
screen -t ts /bin/bash service_launcher.sh ts ryzom_tick_service -C. -L. --nobreak --writepid

# ms
screen -t ms /bin/bash service_launcher.sh ms ryzom_mirror_service -C. -L. --nobreak --writepid

# ais_newbyland
screen -t ais_newbyland /bin/bash service_launcher.sh ais_newbyland ryzom_ai_service -C. -L. --nobreak --writepid -mCommon:Newbieland:Post

# mfs
screen -t mfs /bin/bash service_launcher.sh mfs ryzom_mail_forum_service -C. -L. --nobreak --writepid

# su
screen -t su /bin/bash service_launcher.sh su ryzom_shard_unifier_service -C. -L. --nobreak --writepid

# fes
screen -t fes /bin/bash service_launcher.sh fes ryzom_frontend_service -C. -L. --nobreak --writepid

# sbs
screen -t sbs /bin/bash service_launcher.sh sbs ryzom_session_browser_service -C. -L. --nobreak --writepid

# lgs
screen -t lgs /bin/bash service_launcher.sh lgs ryzom_logger_service -C. -L. --nobreak --writepid

# mos
#screen -t mos /bin/bash service_launcher.sh mos ryzom_monitor_service -C. -L. --nobreak --writepid

# pdss
#screen -t pdss /bin/bash service_launcher.sh pdss ryzom_pd_support_service -C. -L. --nobreak --writepid

# ras
screen -t ras /bin/bash service_launcher.sh ras ryzom_admin_service --fulladminname=admin_service --shortadminname=AS -C. -L. --nobreak --writepid

4. shard start

I checked the shard website with my local server ip http://192.168.0.104 and everyting looks good.

Hope this will help :)

Screenshot.png (77.4 kB)

RE: Problem running shard ( server ) - Added by molator almost 8 years ago

Cmake is building the services binaries in build/bin.
You're supposed to use make in the build folder only.

The script was used by the old build system (make_all).
To use it, you will have to move the binaries where they used to be build.

cp ./build/bin/ryzom_admin_service $RYZOM_PATH/server/src/ryzom_admin_service/ryzom_admin_service
cp ./build/bin/ryzom_ai_service $RYZOM_PATH/server/src/ai_service/ai_service
cp ./build/bin/ryzom_backup_service $RYZOM_PATH/server/src/backup_service/backup_service
cp ./build/bin/ryzom_dynamic_scenario_service $RYZOM_PATH/server/src/dynamic_scenario_service/dynamic_scenario_service
cp ./build/bin/ryzom_entities_game_service $RYZOM_PATH/server/src/entities_game_service/entities_game_service
cp ./build/bin/ryzom_frontend_service $RYZOM_PATH/server/src/frontend_service/frontend_service
cp ./build/bin/ryzom_gpm_service $RYZOM_PATH/server/src/gpm_service/gpm_service
cp ./build/bin/ryzom_ios_service $RYZOM_PATH/server/src/input_output_service/input_output_service
cp ./build/bin/ryzom_log_analyser_service $RYZOM_PATH/server/src/log_analyser_service/log_analyser_service
cp ./build/bin/ryzom_logger_service $RYZOM_PATH/server/src/logger_service/logger_service
cp ./build/bin/ryzom_mail_forum_service $RYZOM_PATH/server/src/mail_forum_service/mail_forum_service
cp ./build/bin/ryzom_mirror_service $RYZOM_PATH/server/src/mirror_service/mirror_service
cp ./build/bin/ryzom_naming_service $RYZOM_PATH/server/src/ryzom_naming_service/ryzom_naming_service
cp ./build/bin/ryzom_pd_support_service $RYZOM_PATH/server/src/pd_support_service/pd_support_service
cp ./build/bin/ryzom_persistant_data_service $RYZOM_PATH/server/src/persistant_data_service/persistant_data_service
cp ./build/bin/ryzom_reference_builder_service $RYZOM_PATH/server/src/pd_reference_builder/pd_reference_builder
cp ./build/bin/ryzom_session_browser_service $RYZOM_PATH/server/src/session_browser_server/session_browser_server
cp ./build/bin/ryzom_shard_unifier_service $RYZOM_PATH/server/src/shard_unifier_service/shard_unifier_service
cp ./build/bin/ryzom_tick_service $RYZOM_PATH/server/src/tick_service/tick_service
cp ./build/bin/ryzom_welcome_service $RYZOM_PATH/server/src/ryzom_welcome_service/ryzom_welcome_service

You can also edit the script but you may have to move the config files and the data.

RE: Problem running shard ( server ) - Added by TcR1oo565 almost 8 years ago

For Linux I suggest that the shard program are moved to /usr/local/bin with make install.
The file $RYHOME/ryzom/server/shard.screen.rc also need to be modified for the new cmake structure.

RE: Problem running shard ( server ) - Added by TcR1oo565 almost 8 years ago

Halt, I just found that the files are move to /usr/local/sbin. Great :-)

RE: Problem running shard ( server ) - Added by TcR1oo565 almost 8 years ago

TcR1oo565 wrote:

I just found that the files are move to /usr/local/sbin on sudo make install. Great :-)

Ubuntu Linux server 10.10 64 bit PATH already search the directory /usr/local/sbin
Only changes needed is to modify file $RYHOME/ryzom/server/shard.screen.rc and removed the absolut path to shard program started with src/xxx

RE: Problem running shard ( server ) - Added by molator almost 8 years ago

I forgot that cmake is doing everything fine :).

RE: Problem running shard ( server ) - Added by mkc almost 8 years ago

Big thnx for all - shard was started) But any services didnt start - e.t. backup_service, logger_service - i cant find where it located .....
And i cant find where located subscribe and register scripts :-( - how users can register for login?

RE: Problem running shard ( server ) - Added by molator almost 8 years ago

For the service that don't work, look the log in the code/ryzom/server or maybe where the binaries are.

You don't register.
You just run the client and click 4 times on connect, and close the 3 popup.
It will create your account.

Cmake for the server is a recent improvement so some script are not up-to-date yet.
It will come.

RE: Problem running shard ( server ) - Added by mkc almost 8 years ago

Sorry for my bad english - i cant understand previus post ....
Can users register on the free shard? If yes - how?)

RE: Problem running shard ( server ) - Added by molator almost 8 years ago

To register, a player just have to run the client, fill login/password and click 4 times on connect button, and close the 3 popup that will appear.
It will create the account for that player in the db.

RE: Problem running shard ( server ) - Added by mkc almost 8 years ago

Worked!) But after that client say during login " Error: the log-in server is in maintenance please try later (3003) "

RE: Problem running shard ( server ) - Added by mkc almost 8 years ago

4470 pts/3 S+ 0:00 /bin/sh /opt/code/ryzom/code/ryzom/tools/scripts/linux/shard start
4471 pts/3 S+ 0:00 /bin/sh /opt/code/ryzom/code/ryzom/tools/scripts/linux/ryzom_domain_screen_wrapper.sh start
4477 pts/3 S+ 0:00 screen -S shard -c shard.screen.rc
4478 ? Ss 0:00 SCREEN -S shard -c shard.screen.rc
4479 pts/4 Ss+ 0:00 /bin/sh service_launcher.sh aes /opt/code/ryzom/code/build/bin/ryzom_admin_service -A. -C. -L. --nobreak --fulladminname=admin_executor_service --shortadminname=AES
4480 pts/5 Ss+ 0:00 /bin/sh service_launcher.sh bms_master /opt/code/ryzom/code/build/bin/backup_service -C. -L. --nobreak --writepid -P49990
4481 pts/6 Ss+ 0:00 /bin/sh service_launcher.sh egs /opt/code/ryzom/code/build/bin/entities_game_service -C. -L. --nobreak --writepid
4482 pts/7 Ss+ 0:00 /bin/sh service_launcher.sh gpms /opt/code/ryzom/code/build/bin/gpm_service -C. -L. --nobreak --writepid
4484 pts/8 Ss+ 0:00 /bin/sh service_launcher.sh ios /opt/code/ryzom/code/build/bin/input_output_service -C. -L. --nobreak --writepid
4486 pts/9 Ss+ 0:00 /bin/sh service_launcher.sh rns /opt/code/ryzom/code/build/bin/ryzom_naming_service -C. -L. --nobreak --writepid
4488 pts/10 Ss+ 0:00 /bin/sh service_launcher.sh rws /opt/code/ryzom/code/build/bin/ryzom_welcome_service -C. -L. --nobreak --writepid
4490 pts/11 Ss+ 0:00 /bin/sh service_launcher.sh ts /opt/code/ryzom/code/build/bin/tick_service -C. -L. --nobreak --writepid
4492 pts/12 Ss+ 0:00 /bin/sh service_launcher.sh ms /opt/code/ryzom/code/build/bin/mirror_service -C. -L. --nobreak --writepid
4494 pts/13 Ss+ 0:00 /bin/sh service_launcher.sh ais_newbyland /opt/code/ryzom/code/build/bin/ai_service -C. -L. --nobreak --writepid -mCommon:Newbieland:Post
4496 pts/14 Ss+ 0:00 /bin/sh service_launcher.sh mfs /opt/code/ryzom/code/build/bin/mail_forum_service -C. -L. --nobreak --writepid
4497 pts/15 Ss+ 0:00 /bin/sh service_launcher.sh su /opt/code/ryzom/code/build/bin/shard_unifier_service -C. -L. --nobreak --writepid
4501 pts/16 Ss+ 0:00 /bin/sh service_launcher.sh fes /opt/code/ryzom/code/build/bin/frontend_service -C. -L. --nobreak --writepid
4505 pts/17 Ss+ 0:00 /bin/sh service_launcher.sh sbs /opt/code/ryzom/code/build/bin/session_browser_server -C. -L. --nobreak --writepid
4508 pts/23 Ss+ 0:00 /bin/sh service_launcher.sh ras /opt/code/ryzom/code/build/bin/ryzom_admin_service --fulladminname=admin_service --shortadminname=AS -C. -L. --nobreak --writepid
4549 pts/9 Sl+ 0:01 /opt/code/ryzom/code/build/bin/ryzom_naming_service -C. -L. --nobreak --writepid
4555 pts/4 Sl+ 0:02 /opt/code/ryzom/code/build/bin/ryzom_admin_service -A. -C. -L. --nobreak --fulladminname=admin_executor_service --shortadminname=AES
4560 pts/10 Sl+ 0:01 /opt/code/ryzom/code/build/bin/ryzom_welcome_service -C. -L. --nobreak --writepid
4605 pts/23 Sl+ 0:01 /opt/code/ryzom/code/build/bin/ryzom_admin_service --fulladminname=admin_service --shortadminname=AS -C. -L. --nobreak --writepid

root@rb:~# netstat -pln
Активные соединения с интернетом (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN 988/zabbix_server
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 923/php5-fpm
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 910/mysqld
tcp 0 0 0.0.0.0:46700 0.0.0.0:* LISTEN 4605/ryzom_admin_se
tcp 0 0 0.0.0.0:46701 0.0.0.0:* LISTEN 4605/ryzom_admin_se
tcp 0 0 0.0.0.0:46702 0.0.0.0:* LISTEN 4555/ryzom_admin_se
tcp 0 0 0.0.0.0:50000 0.0.0.0:* LISTEN 4549/ryzom_naming_s
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1517/apache2
tcp 0 0 0.0.0.0:40916 0.0.0.0:* LISTEN 1517/apache2
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 804/sshd
tcp 0 0 0.0.0.0:51000 0.0.0.0:* LISTEN 4560/ryzom_welcome_
tcp 0 0 0.0.0.0:1723 0.0.0.0:* LISTEN 952/pptpd
tcp6 0 0 :::22 :::* LISTEN 804/sshd
udp 0 0 127.0.0.1:161 0.0.0.0:* 968/snmpd
udp 0 0 0.0.0.0:34383 0.0.0.0:* 968/snmpd
Активные сокеты домена UNIX (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Путь
unix 2 [ ACC ] STREAM LISTENING 7879 968/snmpd /var/agentx/master
unix 2 [ ACC ] STREAM LISTENING 6150 1/init @/com/ubuntu/upstart
unix 2 [ ACC ] STREAM LISTENING 7787 910/mysqld /var/run/mysqld/mysqld.sock
root@rb:~#

RE: Problem running shard ( server ) - Added by mkc almost 8 years ago

apache config I checked also.

Listen 40916
<VirtualHost :40916>
<Directory "/opt/code/ryzom/code/ryzom/tools/server">
Options -Indexes FollowSymLinks MultiViews
IndexOptions FancyIndexing FoldersFirst NameWidth=

AllowOverride All
Order allow,deny
Allow from all

AddType text/html .php .phps
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
&lt;/Directory&gt;
ServerAdmin admin@localhost
DocumentRoot "/opt/code/ryzom/code/ryzom/tools/server/www"
ServerName localhost
&lt;/VirtualHost&gt;

Listen 80
<VirtualHost :80>
<Directory "/opt/code/ryzom/code/ryzom/tools/server">
Options -Indexes FollowSymLinks MultiViews
IndexOptions FancyIndexing FoldersFirst NameWidth=

AllowOverride All
Order allow,deny
Allow from all

AddType text/html .php .phps
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
&lt;/Directory&gt;
ServerAdmin admin@localhost
DocumentRoot "/opt/code/ryzom/code/ryzom/tools/server/admin"
ServerName localhost
&lt;/VirtualHost&gt;

tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 11702/apache2
tcp 0 0 0.0.0.0:40916 0.0.0.0:* LISTEN 11702/apache2

RE: Problem running shard ( server ) - Added by mkc almost 8 years ago

shard_unifier_service present into proccesses but .log file havent into server folder - may be service is not runnig correctly?

RE: Problem running shard ( server ) - Added by molator almost 8 years ago

If you set up the webtool (on port 80), you can monitor the services with it.

(1-24/24)