[JDEV] Cannot run jabber server

Vladimirr vlary at mailandnews.com
Fri Dec 22 10:05:56 CST 2000


    Hello to all!
I have strong impression, that current "stable" distribution
for Jabber 1.2 server
on download.jabber.org doesn't work. May be libraries not
from this release, or jabber.xml, or some more ...
I compiled everything, but trying to run got error,
and jabberd refused to work.
.....
./jabberd/jabberd -D&

$ Fri Dec 22 15:45:45 2000  base_host.c:77 base_host loading...

Fri Dec 22 15:45:45 2000  base_accept.c:598 base_accept loading...

Fri Dec 22 15:45:45 2000  base_connect.c:371 base_connect loading...

Fri Dec 22 15:45:45 2000  base_exec.c:366 base_exec loading...

Fri Dec 22 15:45:45 2000  base_file.c:106 base_file loading...

Fri Dec 22 15:45:45 2000  base_format.c:118 base_format loading...

Fri Dec 22 15:45:45 2000  base_load.c:137 base_load loading...

Fri Dec 22 15:45:45 2000  base_logtype.c:82 base_logtype loading...

Fri Dec 22 15:45:45 2000  base_ns.c:86 base_ns loading...

Fri Dec 22 15:45:45 2000  base_to.c:83 base_to loading...

Fri Dec 22 15:45:45 2000  base_stderr.c:79 base_stderr loading...

Fri Dec 22 15:45:45 2000  base_stdout.c:211 base_stdout loading...

Fri Dec 22 15:45:45 2000  base_host.c:59 base_host_config validating
configurati
on <host>gate.soft-tronik.ru</host>

Fri Dec 22 15:45:45 2000  base_load.c:105 base_load_config processing
configurat
ion <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_version>./jsm/jsm.so</mod_version>
      <mod_announce>./jsm/jsm.so</mod_announce>
      <mod_agents>./jsm/jsm.so</mod_agents>
      <mod_admin>./jsm/jsm.so</mod_admin>
      <mod_private>./jsm/jsm.so</mod_private>
      <mod_filter>./jsm/jsm.so</mod_filter>
      <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_register>./jsm/jsm.so</mod_register>
      <mod_log>./jsm/jsm.so</mod_log>
    </load>

Fri Dec 22 15:45:45 2000  base_host.c:59 base_host_config validating
configurati
on <host/>
    <load><xdb_file>./xdb_file/xdb_file.so</xdb_file></load>

Fri Dec 22 15:45:45 2000  base_load.c:105 base_load_config processing
configurat
ion <load><xdb_file>./xdb_file/xdb_file.so</xdb_file></load>

Fri Dec 22 15:45:45 2000  base_host.c:59 base_host_config validating
configurati
on <host/>
   <load><pthsock_client>./pthsock/pthsock_client.so</pthsock_client></load>

Fri Dec 22 15:45:45 2000  base_load.c:105 base_load_config processing
configurat
ion
<load><pthsock_client>./pthsock/pthsock_client.so</pthsock_client></load>

Fri Dec 22 15:45:45 2000  base_host.c:59 base_host_config validating
configurati
on <host/>
    <format>%d: [%t] (%h): %s</format>

Fri Dec 22 15:45:45 2000  base_format.c:93 base_format_config validating
configu
ration

Fri Dec 22 15:45:45 2000  base_file.c:76 base_file_config validating
configurati
on

Fri Dec 22 15:45:45 2000  base_stderr.c:57 base_stderr_config validating
configu
ration

Fri Dec 22 15:45:45 2000  base_host.c:59 base_host_config validating
configurati
on <host/>
    <load><dnsrv>./dnsrv/dnsrv.so</dnsrv></load>

Fri Dec 22 15:45:45 2000  base_load.c:105 base_load_config processing
configurat
ion <load><dnsrv>./dnsrv/dnsrv.so</dnsrv></load>

Fri Dec 22 15:45:45 2000  base_load.c:105 base_load_config processing
configurat
ion
<load><pthsock_server>./pthsock/pthsock_server.so</pthsock_server></load>

Fri Dec 22 15:45:45 2000  deliver.c:206 Registering sessions with instance
sessi
ons
Fri Dec 22 15:45:45 2000  base_host.c:63 base_host_config registering host
gate.
soft-tronik.ru with section 'sessions'

Fri Dec 22 15:45:45 2000  deliver.c:206 Registering gate.soft-tronik.ru with
ins
tance sessions
Fri Dec 22 15:45:45 2000  jsm.c:58 jsm initializing for section 'sessions'
Fri Dec 22 15:45:45 2000  deliver.c:472 DELIVER 2:-internal <xdb type='get'
to='
config at -internal/jabber:config:jsm' id='0'/>
Fri Dec 22 15:45:45 2000  deliver.c:483 processing xdb configuration request
<xd
b type='get' to='config at -internal/jabber:config:jsm' id='0'/>
Fri Dec 22 15:45:45 2000  deliver.c:344 delivering to instance 'sessions'
Fri Dec 22 15:45:45 2000  base_load.c:167 xdb_results checking xdb packet
<xdb t
ype='result' to='config at -internal/jabber:config:jsm' id='0'
from='config at -intern
al/jabber:config:jsm'><jsm xmlns='jabber:config:jsm'>

      <info>
        <name>Jabber Server</name>
        <description>A Jabber Server!</description>
        <url>http://foo.bar/</url>
      </info>

      <register>
        <instructions>Choose a username and password to register with this
serve
r.</instructions>
        <name/><email/>
      </register>

      <agents>


        <agent jid='users.jabber.org'>
          <name>Jabber User Directory</name>
          <description>You may register and create a public searchable
profile,
and search for other registered Jabber users.</description>
          <service>jud</service>
          <register/>
          <search/>
        </agent>



      </agents>


      <log>
        <file>session.log</file>
        <type>session</type>
      </log>






    </jsm></xdb>
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_echo
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 2 80831A4
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_roster
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 0 80831CC
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 3 80831F4
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_time
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 2 808321C
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_vcard
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 0 8083244
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 1 808326C
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_version
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 2 8083294
Fri Dec 22 15:45:45 2000  util.c:92 config query update
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_announce
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 2 80832BC
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_agents
Fri Dec 22 15:45:45 2000  mod_agents init
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 2 80832E4
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_admin
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 2 808330C
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 2 8083334
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_private
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 0 808335C
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_filter
Fri Dec 22 15:45:45 2000  mod_filter.c:596 FILTER init
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 3 80B5758
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 1 80B5780
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 0 80B57A8
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_presence
Fri Dec 22 15:45:45 2000  mod_presence init
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 3 80B57E4
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 0 80B580C
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_auth_plain
Fri Dec 22 15:45:45 2000  mod_auth_plain init
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 6 80B5834
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 5 80B585C
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 2 80B5884
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_auth_digest
Fri Dec 22 15:45:45 2000  mod_auth_digest init
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 5 80B58AC
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_auth_0k
Fri Dec 22 15:45:45 2000  mod_auth_0k initing
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 5 80B58D4
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 6 80B58FC
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 2 80B5924
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_register
Fri Dec 22 15:45:45 2000  mod_register init
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 6 80B594C
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 2 80B5974
Fri Dec 22 15:45:45 2000  jsm.c:87 jsm: loading module mod_log
Fri Dec 22 15:45:45 2000  mod_log.c:225 init
Fri Dec 22 15:45:45 2000  util.c:92 config query (null)
Fri Dec 22 15:45:45 2000  modules.c:68 mapi_register 0 80B599C
Fri Dec 22 15:45:45 2000  deliver.c:206 Registering xdb with instance xdb
Fri Dec 22 15:45:45 2000  base_host.c:63 base_host_config registering host
(null
) with section 'xdb'

Fri Dec 22 15:45:45 2000  deliver.c:206 Registering (null) with instance xdb
Fri Dec 22 15:45:45 2000  xdb_file.c:233 xdb_file loading
Fri Dec 22 15:45:45 2000  deliver.c:472 DELIVER 2:-internal <xdb type='get'
to='
config at -internal/jabber:config:xdb_file' id='0'/>
Fri Dec 22 15:45:45 2000  deliver.c:483 processing xdb configuration request
<xd
b type='get' to='config at -internal/jabber:config:xdb_file' id='0'/>
Fri Dec 22 15:45:45 2000  deliver.c:344 delivering to instance 'xdb'
Fri Dec 22 15:45:45 2000  base_load.c:167 xdb_results checking xdb packet
<xdb t
ype='result' to='config at -internal/jabber:config:xdb_file' id='0'
from='config at -i
nternal/jabber:config:xdb_file'><xdb_file
xmlns='jabber:config:xdb_file'><spool>
./spool</spool></xdb_file></xdb>
ERROR: Invalid id name: c2s

   I use standart jabber.xml in jabber root directory.
If I change there id="c2s" to id="pthsock_client"
and id="s2s" to id="pthsock_server" (this changes nowhere documented)
jabberd starts, but any attempt to connect from client results in
client message "Server don't send session id" and no connection made.
    What is wrong?





More information about the JDev mailing list