[Juser] help
yicho
yicho at 163.COM
Mon May 16 01:35:36 CDT 2005
hi,everyone:
when after installed the jabber2, i found that the jabber can't start and report c2s die .
It's the information of the machine and the jabber2.
OS: Redhat Linux AS 4.0
Kernel: 2.6.9-5.ELsmp
Jabber version: jabberd-2.0s8
storage and authentication: Mysql 4.1.11-standard
The Installation is follow the << Jabberd 2 Installation and Administration Guide>> ,and during the Installation ,there is no error or waring,and i am sure that the mysql is work well.
when i run the jabberd program ,it report that the c2s dies,like this :
###########################################################################################
i am sure that no jabberd or (c2s/resolver/router/s2s/sm) is running.
[jabber at ora9 bin]$ ./jabberd
ERROR: c2s died. Shutting down server.
###########################################################################################
after sure that no jabberd or (c2s/resolver/router/s2s/sm) is running.
i run jabberd with the debug param(i have configure it with --enable-debug)
[jabber at ora9 bin]$ ./jabberd -D
in the last debug information ,i find these information:
ROUT: Mon May 16 14:16:36 2005 [notice] [127.0.0.1, port=39091] authenticated as jabberd
ROUT: Mon May 16 14:16:36 2005 mech_digest_md5.c:498 extracting 'nc'
SM : sx (io.c:162) tag 5 event 2 data 0x8c622d8
ROUT: Mon May 16 14:16:36 2005 mech_digest_md5.c:498 extracting 'response'
SM : Mon May 16 14:16:36 2005 sm.c:51 reading from 5
ROUT: Mon May 16 14:16:36 2005 [notice] [127.0.0.1, port=39091] tried to bind 'ora9.sucon.com', but it's already bound
ROUT: Mon May 16 14:16:36 2005 mech_digest_md5.c:498 extracting 'username'
SM : Mon May 16 14:16:36 2005 [notice] router refused bind request (409)
SM : Mon May 16 14:16:36 2005 sm.c:76 read 120 bytes
ROUT: Mon May 16 14:16:36 2005 [notice] [127.0.0.1, port=39091] disconnect
ROUT: Mon May 16 14:16:36 2005 mech_digest_md5.c:498 extracting 'nonce'
ERROR: sm died. Shutting down server.
JBRD: Got a signal... pass it on.
JBRD: It was a TERM. Shut it all down!
###########################################################################################
It's seemed that the router can't bind the address,i was confused ,when i looked the information of the syslog,i find that :
May 16 14:16:36 ora9 jabberd/router[6972]: [127.0.0.1, port=39091] tried to bind 'ora9.sucon.com', but it's already bound
May 16 14:16:36 ora9 jabberd/sm[6974]: router refused bind request (409)
May 16 14:16:36 ora9 jabberd/router[6972]: [127.0.0.1, port=39091] disconnect
May 16 14:16:36 ora9 jabberd/router[6972]: shutting down
May 16 14:16:36 ora9 jabberd/c2s[6976]: shutting down
May 16 14:16:36 ora9 jabberd/s2s[6975]: connection to router closed
May 16 14:16:36 ora9 jabberd/s2s[6975]: attempting reconnect (3 left)
May 16 14:16:36 ora9 jabberd/resolver[6973]: connection to router closed
May 16 14:16:36 ora9 jabberd/resolver[6973]: attempting reconnect (3 left)
May 16 14:16:38 ora9 jabberd/s2s[6975]: attempting connection to router at 127.0.0.1, port=5347
May 16 14:16:38 ora9 jabberd/s2s[6975]: shutting down
May 16 14:16:38 ora9 jabberd/resolver[6973]: attempting connection to router at 127.0.0.1, port=5347
May 16 14:16:38 ora9 jabberd/resolver[6973]: shutting down
May 16 14:17:08 ora9 htt_server[2108]: status has not been enabled yet. (1, 1)
May 16 14:21:51 ora9 su(pam_unix)[6949]: session closed for user jabber
###########################################################################################
it seemed that the port 39091 was used by other process,but when i run netstat -an |grep 39091, it show that no process use the port .somebody tell me what 's wrong with my jabber? and is this the jabber's bug or other ?
thanks...
More information about the JUser
mailing list