From: Andrew Kornilov <andy@eva.dp.ua> To: community@altlinux.ru Subject: [Comm] Вопрос по jabberd Date: Sun, 26 Jan 2003 16:45:57 +0200 Message-ID: <200301261645.57678.andy@eva.dp.ua> (raw) Не могу заставить jabberd работать, не хочет пользователей регистрировать в локальном jud-е, хотя теоретически все правильно. Вот конфиги и логи: /etc/jabber/jabber.xml: <jabber> <service id="sessions"> <host><jabberd:cmdline flag="h">jabber.eva.dp.ua</jabberd:cmdline></host> <jsm xmlns="jabber:config:jsm"> <filter> <default/> <max_size>100</max_size> <allow> <conditions> <ns/> <unavailable/> <from/> <resource/> <subject/> <body/> <show/> <type/> <roster/> <group/> </conditions> <actions> <error/> <offline/> <forward/> <reply/> <continue/> <settype/> </actions> </allow> </filter> <vCard> <FN>Jabber Server</FN> <DESC>A Jabber Server!</DESC> <URL>http://jabber.eva.dp.ua/</URL> </vCard> <register notify="yes"> <instructions>Choose a username and password to register with this server.</instructions> <name/> <email/> </register> <welcome> <subject>Welcome!</subject> <body>Welcome to the Jabber server at eva.dp.ua -- we hope you enjoy this service! For information about how to use Jabber, visit the Jabber User's Guide at http://docs.jabber.org/</body> </welcome> <message to="jabber.eva.dp.ua/announce/online"> <body>announcement here</body> </message> <message to="jabber.eva.dp.ua/announce/motd"> <body>message (of the day) that is sent only once to all users that are logged in and additionally to new ones as they log in</body> </message> <admin> <read>support@jabber.eva.dp.ua</read> <write>supportjabber.@eva.dp.ua</write> <reply> <subject>Auto Reply</subject> <body>This is a special administrative address. Your message was received and forwarded to server administrators.</body> </reply> </admin> <vcard2jud/> <browse> <service type="jud" jid="users.jabber.org" name="Jabber User Directory"> <ns>jabber:iq:search</ns> <ns>jabber:iq:register</ns> </service> <service type="jud" jid="jabber.eva.dp.ua" name="Rush Ltd. Users Directory"> <ns>jabber:iq:search</ns> <ns>jabber:iq:register</ns> </service> <jabberd:include>/etc/jabber/include/jud.browse.xml</jabberd:include> </browse> </jsm> <load main="jsm"> <jsm>./jsm/jsm.so</jsm> <mod_echo>./jsm/jsm.so</mod_echo> <mod_roster>./jsm/jsm.so</mod_roster> <mod_time>./jsm/jsm.so</mod_time> <mod_vcard>./jsm/jsm.so</mod_vcard> <mod_last>./jsm/jsm.so</mod_last> <mod_version>./jsm/jsm.so</mod_version> <mod_announce>./jsm/jsm.so</mod_announce> <mod_agents>./jsm/jsm.so</mod_agents> <mod_browse>./jsm/jsm.so</mod_browse> <mod_admin>./jsm/jsm.so</mod_admin> <mod_filter>./jsm/jsm.so</mod_filter> <mod_offline>./jsm/jsm.so</mod_offline> <mod_presence>./jsm/jsm.so</mod_presence> <mod_auth_plain>./jsm/jsm.so</mod_auth_plain> <mod_auth_digest>./jsm/jsm.so</mod_auth_digest> <mod_auth_0k>./jsm/jsm.so</mod_auth_0k> <mod_log>./jsm/jsm.so</mod_log> <mod_register>./jsm/jsm.so</mod_register> <mod_xml>./jsm/jsm.so</mod_xml> </load> </service> <xdb id="xdb"> <host/> <load> <xdb_file>./xdb_file/xdb_file.so</xdb_file> </load> <xdb_file xmlns="jabber:config:xdb_file"> <spool><jabberd:cmdline flag="s">/var/lib/jabber</jabberd:cmdline></spool> </xdb_file> </xdb> <log id="elogger"> <host/> <logtype/> <format>%d: [%t] (%h): %s</format> <file>/var/log/jabber/error.log</file> <stderr/> </log> <log id="rlogger"> <host/> <logtype>record</logtype> <format>%d %h %s</format> <file>/var/log/jabber/record.log</file> </log> <service id="dnsrv"> <host/> <load> <dnsrv>./dnsrv/dnsrv.so</dnsrv> </load> <dnsrv xmlns="jabber:config:dnsrv"> <resend service="_jabber._tcp">s2s</resend> <resend>s2s</resend> </dnsrv> </service> <service id="s2s"> <load> <dialback>./dialback/dialback.so</dialback> </load> <dialback xmlns="jabber:config:dialback"> <legacy/> <ip port="5269"/> <karma> <init>50</init> <max>50</max> <inc>4</inc> <dec>1</dec> <penalty>-5</penalty> <restore>50</restore> </karma> </dialback> </service> <jabberd:include>/etc/jabber/include/pthsock_client.service.xml</jabberd:include> <jabberd:include>/etc/jabber/include/jud.service.xml</jabberd:include> <io> <rate points="5" time="25"/> </io> <pidfile>/var/run/jabber.pid</pidfile> </jabber> ===================================== /etc/jabber/include/jud.service.xml: <service id="jabber.eva.dp.ua"> <load> <jud>./jud/jud.so</jud> </load> <jud xmlns="jabber:config:jud"> <vcard> <FN>Jabber User Directory at localhost</FN> <DESC>This service provides a simple user directory service.</DESC> <URL>http://eva.dp.ua</URL> </vcard> </jud> </service> ===================================== /etc/jabber/include/jud.browse.xml: <agent type="jud" jid="jabber.eva.dp.ua" name="Jabber User Directory at eva.dp.ua"> <ns>jabber:iq:search</ns> <ns>jabber:iq:register</ns> </agent> ===================================== dig @localhost jabber.eva.dp.ua: ;; QUESTION SECTION: ;jabber.eva.dp.ua. IN A ;; ANSWER SECTION: jabber.eva.dp.ua. 86400 IN CNAME eva.dp.ua. eva.dp.ua. 86400 IN A 192.168.1.200 ;; AUTHORITY SECTION: eva.dp.ua. 86400 IN NS ns.eva.dp.ua. ====================================== dig @localhost -x 192.168.1.200 ;; QUESTION SECTION: ;200.1.168.192.in-addr.arpa. IN PTR ;; ANSWER SECTION: 200.1.168.192.in-addr.arpa. 86400 IN PTR eva.dp.ua. ;; AUTHORITY SECTION: 1.168.192.in-addr.arpa. 86400 IN NS ns.1.168.192.in-addr.arpa. ====================================== Вот лог jabber-а (причем запускаю из командной строки, ибо из сервиса почему-то не пускается): jabberd -c /etc/jabber/jabber.xml 20030126T14:39:29: [notice] (-internal): initializing server 20030126T14:39:50: [notice] (jabber.eva.dp.ua): bouncing a routed packet to test@jabber.eva.dp.ua/test from 17@c2s/8119170: Unable to deliver, destination unknown Вот та же ошибка, но с DEBUG (debug инициализации сервере не стал приводить, уж очень много): Sun Jan 26 16:43:55 2003 mio.c:829 mio while loop, working Sun Jan 26 16:43:55 2003 mio.c:524 _mio_accept calling accept on fd #15 Sun Jan 26 16:43:55 2003 mio.c:569 new socket accepted (fd: 17, ip: 192.168.1.200, port: 33188) Sun Jan 26 16:43:55 2003 mio.c:816 mio while loop top Sun Jan 26 16:43:55 2003 mio.c:829 mio while loop, working Sun Jan 26 16:43:55 2003 mio.c:977 MIO read from socket 17: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='jabber.eva.dp.ua'> Sun Jan 26 16:43:55 2003 c2s [client.c:277] pthsock_client_read called with: m:811F5B8 flag:2 arg:811F6D8 Sun Jan 26 16:43:55 2003 c2s [client.c:310] root received for 17 Sun Jan 26 16:43:55 2003 c2s [client.c:315] Recieved connection to: jabber.eva.dp.ua Sun Jan 26 16:43:55 2003 mio.c:1271 mio_write called on x: 0 buffer: <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' id='3E33F42B' xmlns='jabber:client' from='jabber.eva.dp.ua'> Sun Jan 26 16:43:55 2003 mio.c:418 write_dump writing data: <?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' id='3E33F42B' xmlns='jabber:client' from='jabber.eva.dp.ua'> Sun Jan 26 16:43:55 2003 mio.c:816 mio while loop top Sun Jan 26 16:43:55 2003 mio.c:829 mio while loop, working Sun Jan 26 16:43:55 2003 mio.c:816 mio while loop top Sun Jan 26 16:43:55 2003 mio.c:829 mio while loop, working Sun Jan 26 16:43:55 2003 mio.c:977 MIO read from socket 17: <iq id='0' type='set'><query xmlns='jabber:iq:auth'><username>test</username><password>test</password><resource>test</resource></query></iq> Sun Jan 26 16:43:55 2003 c2s [client.c:277] pthsock_client_read called with: m:811F5B8 flag:3 arg:811F6D8 Sun Jan 26 16:43:55 2003 deliver.c:474 DELIVER 4:jabber.eva.dp.ua <route type='auth' to='test@jabber.eva.dp.ua/test' from='17@c2s/811F5B8'><iq id='0' type='set'><query xmlns='jabber:iq:auth'><username>test</username><password>test</password><resource>test</resource></query></iq></route> Sun Jan 26 16:43:55 2003 deliver.c:606 delivery failed (Unable to deliver, destination unknown) Sun Jan 26 16:43:55 2003 log.c:116 <log type='notice' from='jabber.eva.dp.ua'>bouncing a routed packet to test@jabber.eva.dp.ua/test from 17@c2s/811F5B8: Unable to deliver, destination unknown</log> Sun Jan 26 16:43:55 2003 deliver.c:474 DELIVER 3:jabber.eva.dp.ua <log type='notice' from='jabber.eva.dp.ua'>bouncing a routed packet to test@jabber.eva.dp.ua/test from 17@c2s/811F5B8: Unable to deliver, destination unknown</log> Sun Jan 26 16:43:55 2003 deliver.c:678 delivering to instance 'elogger' 20030126T14:43:55: [notice] (jabber.eva.dp.ua): bouncing a routed packet to test@jabber.eva.dp.ua/test from 17@c2s/811F5B8: Unable to deliver, destination unknown Sun Jan 26 16:43:55 2003 deliver.c:474 DELIVER 4:c2s <route type='error' to='17@c2s/811F5B8' from='test@jabber.eva.dp.ua/test' error='Unable to deliver, destination unknown'><iq id='0' type='set'><query xmlns='jabber:iq:auth'><username>test</username><password>test</password><resource>test</resource></query></iq></route> Sun Jan 26 16:43:55 2003 deliver.c:678 delivering to instance 'c2s' Sun Jan 26 16:43:55 2003 c2s [client.c:164] test@jabber.eva.dp.ua/test has an active session, delivering packet Sun Jan 26 16:43:55 2003 c2s [client.c:167] closing down session test@jabber.eva.dp.ua/test at request of session manager Sun Jan 26 16:43:55 2003 mio.c:1271 mio_write called on x: 0 buffer: <stream:error>Disconnected</stream:error></stream:stream> Sun Jan 26 16:43:55 2003 mio.c:418 write_dump writing data: <stream:error>Disconnected</stream:error></stream:stream> Это происходит при попытке законнектиться (юзера такого нет, по идее он должен создать его?) Уже не знаю, куда копать ;(
reply other threads:[~2003-01-26 14:45 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200301261645.57678.andy@eva.dp.ua \ --to=andy@eva.dp.ua \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git