FreeBSD 7.0-RELEASE
dcd-1.1.0 поставил из портов.
Вообще то мне хоца поставить ХОТЯ БЫ КАКОЙ нить DC HUB, но что то никак. С Opendchub проблемы, что то там не
работает, уже не хочу смотреть, Verlihub не поставлю, потому что тоже пробовал, не получилось (были проблемы с
мускулом). Решил остановится на DConnect Daemon, потому что мал, ничего от него не надо, просто, чтобы работало....
Установил, даже запустил как есть. без настройки, заработало, только вот вылетает, сам процесс на сервере
закрывается автоматически, если в него несколько раз зайти и выйти с клиента (на любой машине в сети). Подскажите,
что делать. как сделать так чтобы не закрывалося))))
Журналы не могу просмотреть, потому что не могу понять как в конфиге их включить, после моих попыток демон не
запускается вообще, Возвращаешь настройки из dcd.conf.default, то сразу все замечательно, но вылетает.
dcd.conf.default:
# $Id: dcd.conf.in,v 1.67 2007/03/01 13:41:22 rav Exp $
#
########################################
## DConnect Daemon configuration file ##
########################################
## Config generated for dcd version: 1.1.0
## Instalation prefix: /usr/local
## Default location of config files: ${prefix}/etc/dcd
## The default location of this file is /usr/local/etc/dcd which can be
## changed by passing a `--with-config-dir' option to ./configure
## script while building.
########################
## Main configuration ##
########################
# ip to bind Daemon to
# 0.0.0.0 means all available addresses
# IMPORTANT: is set only when starting dcd
# This must be set to real interface when you want to link with other hubs
bind_address = 0.0.0.0
# Daemon's listening port. Both TCP and UDP is used
# IMPORTANT: is set only when starting dcd
listen_port_main = 411
# disconnects users who should not have access to hub
# without sending them welcome message
#
stealth_mode=1
# Amount of Threads listening on port_main
# IMPORTANT: is set only when starting dcd
#
# minimum/default/maximum = 1 / 2 / 5
n_listen_main = 1
# Amount of Threads managing user's communicates
# IMPORTANT: is set only when starting dcd
#
# As for now it is better to set it to 1.
# otherwise you will have glibc errors
#
# minimum/default/maximum = 1 / 2 / 10
n_user_manager = 1
# Remote console listening port. Set 0 to disable.
# IMPORTANT: is set only when starting dcd
listen_port_cons = 511
# UID/GID
# IMPORTANT: is set only when starting dcd
#
# If changed after installation set apriopriate user and group
# for directories and files in it:
# @LOG_DIR@
# ${prefix}/etc/dcd (${prefix}=/usr/local)
user = daemon
group = daemon
#A file in which you define ips ports and passwords for hubs to link
conf_hublinks = dcd.hublinks
# A text file in dcd's config directory with welcome message.
# This file will be played to the public chat window when users connect.
# Set empty if you don't want it at all.
conf_welcome = dcd.welcome
# A text file in dcd's config directory with anything you want to send
# to users after successful registration.
# Set empty if you don't want it at all.
conf_motd = dcd.motd
# A text file in dcd's config directory with rules sent after #rules
# Set empty if you don't want it at all.
conf_rules = dcd.rules
# A text file in dcd's config directory with raw UserCommands sent to every user on the hub
# Set empty if you don't want it at all.
conf_usercommands = dcd.usercommands
# A text file in dcd's config directory with list of banned hosts.
conf_banned = dcd.banned
# A text file in dcd's config directory with administration accounts.
conf_cusers = dcd.users
# A text file in dcd's config directory with list of hosts allowed to
# access the console.
conf_callow = console.allow
# A text file in dcd's config directory with list of allowed nicks.
# All nicks are allowed by default.
# Set empty if you don't want it at all.
conf_nallow = nicks.allow
#############
## Logging ##
#############
# Log level.
# No logging: 0
# ACCESS 1
# DEBUG 2
# PROTOCOL 4
# DAEMON 8
# USER 16
# CHAT 32
# NETWORK 64
log_facility = 87
#######################
## Personal settings ##
#######################
# Contact to admin
# it is shown when user is not allowed to connect to hub
# default god@heaven.com
admin_contact = god@heaven.com
# Name of your hub.
hubname = DConnectDaemon v1.1.0
# Max amount of users you allow.
user_limit = 1000
# Minimum shared data in megabytes.
min_share = 300
# Minimum number of slots.
#min_slots = 4
# If set to 1 then Client's key is not checked at all.
allow_broken_key = 0
# Allow public/private chats.
# On heavy loaded servers it may be a good idea to set it to "0".
# Default is "1" and most people will not change it.
allow_chat = 1
# Allow passive mode. if 0 then hub will kick users in passive mode
# on search or on download attepmt, only chatting is allowed
# Default is "1" and most people will not change it.
allow_passive = 1
# Allow forwarding. Allow users to specify his ip in client used when users
# behind NAT want to be in Active mode. If you want to let only a chosen users
# to forward their ports look at the 'f' option in dcd.users
# default = 0
allow_forwarding = 0
# Allow downloads. Allow users to download data from the others.
# default = 1
allow_downloads = 1
# Allow search. Allow to search from the others
# default = 1
allow_search = 1
# This option allows not to use also non US-ASCII nicks
# Some clients have problems with those kinds of nicks,
# so use it carefully.
# default 0
allow_non_us_ascii_nicks = 0
# Only registered. only registered users may connect and use hub.
# default 0
registered_only = 0
# Disconnect client after being idle for this time (in seconds).
# Normally, the protocol prevents client from being idle for
# more than 60 secs, so setting this to 120 is safe enough and
# protects from `zombie' sessions. Some client implementations
# do not follow the 60 secs antiidle mechanism, so this is
# disabled by default.
idle_timeout = 0
# Obligate client to complete its registration within this
# pediod (in seconds).
register_timeout = 30
# This parameter specifies the maximum amount of commands executed by hub at once for each user.
# min/default 2/100
max_commands=100
# the maximal message sent by user(sOP or console user are not tested)
# default/max 0/2000
# if set to 0 it is not tested
max_chat_length=0
# Does hub has to kick users who sent longer message than max_chat_message?
# default 0 just warns
# >0 kicks
kick_max_chat_length=0
# This parameter makes the application sleep for specified amount of us.
# With this parameter you can make hub using less processor.
# default 0
minimal_sleep_time = 0
# Specifies in seconds the interval between user searches
# for sOP it is ignored
# default 30
search_interval = 30
#Amount of bytes for system socket buffers
socket_send_buffer=10240
socket_receive_buffer=10240
# Amount of data read at once from socket
# not more than 1024
# default 1024
max_receive_once = 1024
# This parameter sets up interval in seconds between updates of penalties file
# Do not set to 0 unless you do not want to update this file at all
#
# minimal/default 10/30
penalties_update_interval = 30
# Standard Penalty duration time in minutes
# Used when punishing user does not specify the duration of penalty
# Default is "10"
std_penalty_duration = 10
# Redirectcing because of reason.
# 0 off
# +1 if user has no access
# +2 if hub is full
# +4 if minimal number of shares is not reached
# +8 if minimal number of slots is not reached
redirect_switch = 0
# Addresses for redirection
# if user has no access and redirect_switch is turned on then user is moved to
redirect_access = 127.0.0.1:411
# if hub is full and redirect_switch is turned on then user is moved to
redirect_hub_is_full = 127.0.0.1:411
# if user did not reach min_share limit and redirect_switch is turned on
# then user is moved to
redirect_min_share = 127.0.0.1:411
# if user did not reach min_slots limit and redirect_switch is turned on
# then user is moved to
redirect_min_slots = 127.0.0.1:411
DConnect Daemon не работает... помогите...
Модератор: terminus
Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Услуги хостинговой компании Host-Food.ru
Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/
-
- лейтенант
- Сообщения: 966
- Зарегистрирован: 2007-12-05 9:45:18
- Откуда: Mytischi
Re: DConnect Daemon не работает... помогите...
dcd устарел так и не успев набрать обороты.
Ставьте verlihub, уверен - вам не хватило немного упорства.
Хотите помощи? ставьте и весь процесс установки скидывайте в этот тред.
Ставьте verlihub, уверен - вам не хватило немного упорства.
Хотите помощи? ставьте и весь процесс установки скидывайте в этот тред.
- Pendalf
- рядовой
- Сообщения: 18
- Зарегистрирован: 2009-05-07 21:19:21
- Контактная информация:
Re: DConnect Daemon не работает... помогите...
Спасибо за наставление. Жалко что он оказалсятак стар, яуже думал легко отделаться...
Хорошо. Попробовал снова Verlihub. Только ничего не получилось. Наверно что то случилось после того как я его потер pkg_delete
вот что пишет
# make && make install && make clean
===> verlihub-0.9.8.d.r2_3,1 cannot install: unknown LIBTOOL version: 15.
*** Error code 1
Stop in /usr/ports/net-p2p/verlihub.
А моежт все таки можно запустить Opendchub, только он у меня тоже ругается....
# opendchub -d -w /usr/
May 9 09:34:38 ***Started Open DC Hub version 0.7.15***
May 9 09:34:38 ***Switching to syslog***
Hub is up and running. Listening for user connections on port 1234
and listening for admin connections on port 53696
May 9 09:34:38 Got alarm signal
May 9 09:34:38 Forked new process, childs pid is 7607 and parents pid is 7606
May 9 09:34:38 Got new unix connection on sock 5
и на этом месте застывает, пока не нажмешь Ctrl+C
Эти две ругалки вылезли когда я поставил hublist_upload = 0
May 9 09:34:38 Forked new process, childs pid is 7607 and parents pid is 7606
May 9 09:34:38 Got new unix connection on sock 5
Хорошо. Попробовал снова Verlihub. Только ничего не получилось. Наверно что то случилось после того как я его потер pkg_delete
вот что пишет
# make && make install && make clean
===> verlihub-0.9.8.d.r2_3,1 cannot install: unknown LIBTOOL version: 15.
*** Error code 1
Stop in /usr/ports/net-p2p/verlihub.
А моежт все таки можно запустить Opendchub, только он у меня тоже ругается....
# opendchub -d -w /usr/
May 9 09:34:38 ***Started Open DC Hub version 0.7.15***
May 9 09:34:38 ***Switching to syslog***
Hub is up and running. Listening for user connections on port 1234
and listening for admin connections on port 53696
May 9 09:34:38 Got alarm signal
May 9 09:34:38 Forked new process, childs pid is 7607 and parents pid is 7606
May 9 09:34:38 Got new unix connection on sock 5
и на этом месте застывает, пока не нажмешь Ctrl+C
Эти две ругалки вылезли когда я поставил hublist_upload = 0
May 9 09:34:38 Forked new process, childs pid is 7607 and parents pid is 7606
May 9 09:34:38 Got new unix connection on sock 5
-
- лейтенант
- Сообщения: 966
- Зарегистрирован: 2007-12-05 9:45:18
- Откуда: Mytischi
Re: DConnect Daemon не работает... помогите...
Вы хотите перешагнуть через гору высотой в несколько километров одним шагом - такое никто не мог и не может.
Про ошибку вашу ничего сказать не могу, подозреваю что дерево портов обновить надо, а затем и сами порты.
Лучшего всего и проще всего для вас будет сделать следующим образом:
1) поставить фряху заново(лучше 7.2)
2) обновить дерево портов, на сайте есть статьи
3) поставить из портов верлихаб
Про ошибку вашу ничего сказать не могу, подозреваю что дерево портов обновить надо, а затем и сами порты.
Лучшего всего и проще всего для вас будет сделать следующим образом:
1) поставить фряху заново(лучше 7.2)
2) обновить дерево портов, на сайте есть статьи
3) поставить из портов верлихаб
- Pendalf
- рядовой
- Сообщения: 18
- Зарегистрирован: 2009-05-07 21:19:21
- Контактная информация:
Re: DConnect Daemon не работает... помогите...
cannot install: unknown LIBTOOL version
И не только на DCD такое... при установке мускула такое же дело происходило...
Я избавился от этого так...
#pkg_delete libtool-1.5.26
#cd /usr/ports/devel/libtool15
#make install clean
#rehash
после этого как бабушка отшептала
И не только на DCD такое... при установке мускула такое же дело происходило...
Я избавился от этого так...
#pkg_delete libtool-1.5.26
#cd /usr/ports/devel/libtool15
#make install clean
#rehash
после этого как бабушка отшептала