Перейти к содержанию

jabber-server


Рекомендуемые сообщения

И снова здравствуйте!

oc - fedora 10 + jabberd2.2

router, s2s, c2s, sm - localhost 5222

start jabberd from root(user jabberd2 exist but can't start service)

Mar 1 15:38:57 server jabberd/router[1314]: starting up
Mar 1 15:38:57 server jabberd/router[1314]: process id is 1314, written to /var/lib/jabberd/pid/router.pid
Mar 1 15:38:57 server jabberd/router[1314]: loaded user table (1 users)
Mar 1 15:38:57 server jabberd/router[1314]: loaded filters (0 rules)
Mar 1 15:38:57 server jabberd/router[1314]: [127.0.0.1, port=5222] listening for incoming connections
Mar 1 15:38:57 server jabberd/sm[1367]: starting up
Mar 1 15:38:57 server jabberd/sm[1367]: id: local.net
Mar 1 15:38:57 server jabberd/sm[1367]: process id is 1367, written to /var/lib/jabberd/pid/sm.pid
Mar 1 15:38:57 server jabberd/sm[1367]: loading 'db' storage module
Mar 1 15:38:57 server jabberd/sm[1367]: initialised storage driver 'db'
Mar 1 15:38:57 server jabberd/sm[1367]: modules search path: /usr/lib/jabberd
Mar 1 15:38:57 server jabberd/sm[1367]: module 'status' added to chain 'sess-start' (order 0 index 0 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'status' added to chain 'sess-end' (order 0 index 0 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-last' added to chain 'sess-end' (order 1 index 1 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'validate' added to chain 'in-sess' (order 0 index 2 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'status' added to chain 'in-sess' (order 1 index 0 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'privacy' added to chain 'in-sess' (order 2 index 3 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'roster' added to chain 'in-sess' (order 3 index 4 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'vacation' added to chain 'in-sess' (order 4 index 5 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-vcard' added to chain 'in-sess' (order 5 index 6 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-ping' added to chain 'in-sess' (order 6 index 7 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-private' added to chain 'in-sess' (order 7 index 8 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'disco' added to chain 'in-sess' (order 8 index 9 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'amp' added to chain 'in-sess' (order 9 index 10 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'offline' added to chain 'in-sess' (order 10 index 11 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'announce' added to chain 'in-sess' (order 11 index 12 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'presence' added to chain 'in-sess' (order 12 index 13 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'deliver' added to chain 'in-sess' (order 13 index 14 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'session' added to chain 'in-router' (order 0 index 15 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'validate' added to chain 'in-router' (order 1 index 2 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'presence' added to chain 'in-router' (order 2 index 13 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'privacy' added to chain 'in-router' (order 3 index 3 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'privacy' added to chain 'out-router' (order 0 index 3 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-last' added to chain 'pkt-sm' (order 0 index 1 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-ping' added to chain 'pkt-sm' (order 1 index 7 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-time' added to chain 'pkt-sm' (order 2 index 16 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-version' added to chain 'pkt-sm' (order 3 index 17 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'amp' added to chain 'pkt-sm' (order 4 index 10 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'disco' added to chain 'pkt-sm' (order 5 index 9 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'announce' added to chain 'pkt-sm' (order 6 index 12 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'help' added to chain 'pkt-sm' (order 7 index 18 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'echo' added to chain 'pkt-sm' (order 8 index 19 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'status' added to chain 'pkt-sm' (order 9 index 0 seq 3)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'presence' added to chain 'pkt-sm' (order 10 index 13 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'roster' added to chain 'pkt-user' (order 0 index 4 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'presence' added to chain 'pkt-user' (order 1 index 13 seq 3)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-vcard' added to chain 'pkt-user' (order 2 index 6 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'amp' added to chain 'pkt-user' (order 3 index 10 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'deliver' added to chain 'pkt-user' (order 4 index 14 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'vacation' added to chain 'pkt-user' (order 5 index 5 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'offline' added to chain 'pkt-user' (order 6 index 11 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'disco-publish' added to chain 'pkt-user' (order 7 index 20 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-last' added to chain 'pkt-user' (order 8 index 1 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'session' added to chain 'pkt-router' (order 0 index 15 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'disco' added to chain 'pkt-router' (order 1 index 9 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'active' added to chain 'user-load' (order 0 index 21 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'roster' added to chain 'user-load' (order 1 index 4 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'roster-publish' added to chain 'user-load' (order 2 index 22 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'privacy' added to chain 'user-load' (order 3 index 3 seq 3)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'disco-publish' added to chain 'user-load' (order 4 index 20 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'vacation' added to chain 'user-load' (order 5 index 5 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'active' added to chain 'user-create' (order 0 index 21 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'template-roster' added to chain 'user-create' (order 1 index 23 seq 0)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'active' added to chain 'user-delete' (order 0 index 21 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'announce' added to chain 'user-delete' (order 1 index 12 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'disco-publish' added to chain 'user-delete' (order 2 index 20 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'offline' added to chain 'user-delete' (order 3 index 11 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'privacy' added to chain 'user-delete' (order 4 index 3 seq 4)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'roster' added to chain 'user-delete' (order 5 index 4 seq 3)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'vacation' added to chain 'user-delete' (order 6 index 5 seq 3)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'status' added to chain 'user-delete' (order 7 index 0 seq 4)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-last' added to chain 'user-delete' (order 8 index 1 seq 3)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-private' added to chain 'user-delete' (order 9 index 8 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-vcard' added to chain 'user-delete' (order 10 index 6 seq 2)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'iq-version' added to chain 'disco-extend' (order 0 index 17 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: module 'help' added to chain 'disco-extend' (order 1 index 18 seq 1)
Mar 1 15:38:57 server jabberd/sm[1367]: version: jabberd sm 2.2.4
Mar 1 15:38:57 server jabberd/sm[1367]: attempting connection to router at 127.0.0.1, port=5222
Mar 1 15:38:57 server jabberd/router[1314]: [127.0.0.1, port=59296] connect
Mar 1 15:38:57 server jabberd/router[1314]: [127.0.0.1, port=59296] authenticated as jabberd@jabberd-router
Mar 1 15:38:57 server jabberd/sm[1367]: connection to router established
Mar 1 15:38:57 server jabberd/router[1314]: [local.net] online (bound to 127.0.0.1, port 59296)
Mar 1 15:38:57 server jabberd/sm[1367]: ready for sessions
Mar 1 15:38:57 server jabberd/c2s[1420]: starting up
Mar 1 15:38:57 server jabberd/c2s[1420]: process id is 1420, written to /var/lib/jabberd/pid/c2s.pid
Mar 1 15:38:57 server jabberd/c2s[1420]: modules search path: /usr/lib/jabberd
Mar 1 15:38:57 server jabberd/c2s[1420]: loading 'pam' authreg module
Mar 1 15:38:57 server jabberd/c2s[1420]: initialized auth module 'pam'
Mar 1 15:38:57 server jabberd/c2s[1420]: [local.net] configured; realm=company.int, registration enabled
Mar 1 15:38:57 server jabberd/c2s[1420]: attempting connection to router at 127.0.0.1, port=5222
Mar 1 15:38:57 server jabberd/router[1314]: [127.0.0.1, port=59297] connect
Mar 1 15:38:57 server jabberd/router[1314]: [127.0.0.1, port=59297] authenticated as jabberd@jabberd-router
Mar 1 15:38:57 server jabberd/c2s[1420]: connection to router established
Mar 1 15:38:57 server jabberd/router[1314]: [c2s] online (bound to 127.0.0.1, port 59297)
Mar 1 15:38:57 server jabberd/c2s[1420]: [192.168.1.1, port=5222] listening for connections
Mar 1 15:38:57 server jabberd/c2s[1420]: ready for connections
Mar 1 15:38:57 server jabberd/s2s[1471]: starting up (interval=60, queue=60, keepalive=0, idle=86400)
Mar 1 15:38:57 server jabberd/s2s[1471]: process id is 1471, written to /var/lib/jabberd/pid/s2s.pid
Mar 1 15:38:57 server jabberd/s2s[1471]: attempting connection to router at 127.0.0.1, port=5222
Mar 1 15:38:57 server jabberd/router[1314]: [127.0.0.1, port=59298] connect
Mar 1 15:38:57 server jabberd/router[1314]: [127.0.0.1, port=59298] authenticated as jabberd@jabberd-router
Mar 1 15:38:57 server jabberd/s2s[1471]: connection to router established
Mar 1 15:38:57 server jabberd/router[1314]: [s2s] set as default route
Mar 1 15:38:57 server jabberd/router[1314]: [s2s] online (bound to 127.0.0.1, port 59298)
Mar 1 15:38:57 server jabberd/s2s[1471]: [0.0.0.0, port=5269] listening for connections
Mar 1 15:38:57 server jabberd/s2s[1471]: ready for connections

start local client

Mar 1 15:43:57 server jabberd/router[1314]: [127.0.0.1, port=58834] connect

and nothig all

start remote client

Mar 1 15:45:26 server jabberd/c2s[1420]: [7] [192.168.111.1, port=3123] connect

Mar 1 15:45:26 server jabberd/c2s[1420]: [7] [192.168.111.1, port=3123] disconnect jid=unbound, packets: 0

server woking, client workig, htey talk betwen but nothing all




			
		
Ссылка на комментарий
Поделиться на другие сайты

итак имеем сервер и клиент - оба прекрасно работают как видно из логов указанных выше но связи друг другом не имеют независимо от того на одной машине они запущены или на разных

может фаервол не пускает но в логи пишет что открыт по определенному порту

тогда аутетнтификация

у кого-то вообще работает локальный чат?

Ссылка на комментарий
Поделиться на другие сайты

Присоединяйтесь к обсуждению

Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.

Гость
Ответить в этой теме...

×   Вставлено с форматированием.   Вставить как обычный текст

  Разрешено использовать не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отображать как обычную ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставлять изображения напрямую. Загружайте или вставляйте изображения по ссылке.

Загрузка...
×
×
  • Создать...