Slobodan D. Sredojevic | 1 Jun 2005 04:06
Picon

segfault with jabberd2 + jcr

Hi,

I did setup jabberd2 + mu-conference + jcr last night. It worked then.
Probably I changed something (I can't believe it now) and I get:
/usr/bin/mu-conference -c /etc/jabberd/muc-jcr.xml
Jabber Component Runtime -- 0.2.4
(c) 2003-2004 Paul Curtis

Segmentation fault

jcr.log is:

main.c:148 (main): Jabber Component Runtime -- 0.2.4  starting.
main.c:194 (main): Main loop starting.
jcr_deliver.c:51 (jcr_queue_deliver): packet delivery thread starting.
jcr_main_stream_error.c:50 (jcr_main_new_stream): Server stream connected.
jcr_elements.c:103 (jcr_end_element): 'stream:error' on server stream:
'<stream:error
xmlns:stream='http://etherx.jabber.org/streams'><host-unknown
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text
xmlns='urn:ietf:params:xml:ns:xmpp-streams'>requested name is already in
use</text></stream:error>'
jcr_elements.c:109 (jcr_end_element): End of Stream from server:
'<stream:error
xmlns:stream='http://etherx.jabber.org/streams'><host-unknown
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text
xmlns='urn:ietf:params:xml:ns:xmpp-streams'>requested name is already in
use</text></stream:error>'
jcr_main_stream_error.c:56 (jcr_main_close_stream): Server stream error,
resetting
(Continue reading)

Yang Huan | 1 Jun 2005 05:07
Picon

Re: importing jabber2d mysqldump into new mysql db ...

when you dump data from j2s7, you should add a "-Q" to your mysqldump
command, like "mysqldump --opt -Q yourdbname ... ".

  -Q, --quote-names     Quote table and column names with `

2005/5/31, Jerome Vandenabeele <jerome.vandenabeele_im <at> gadz.org>:
> Hi Wilkinson, Alex,
> 
> Am Dienstag, den 31.05.2005, 22:37 +0930 schrieb Wilkinson, Alex:
> > # mysql -u root -p jabberd2 < jabberd2.mysql
> > Enter password:
> > ERROR 1064 at line 12: You have an error in your SQL syntax.  Check
> > the manual that corresponds to your MySQL server version for the
> > right syntax to use near '-owner text NOT NULL,
> > object-sequence bigint(20) NOT NULL aut
> Have you check that your mysql's fields are protected with `
> 
> Greetings
> Jerome
> _______________________________________________
> jadmin mailing list
> jadmin <at> jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________
>
_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
(Continue reading)

Wilkinson, Alex | 1 Jun 2005 07:42
Picon

question about roster.xml

Hi all,

When I add new users to /usr/local/etc/jabberd/templates/roster.xml
they do not appear in users buddy lists on jabber clients.

Question: Do I have to restart anything or do any other tricks after
          adding new users to a roster template ?

Cheers

 - aW

_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________

Stephen Marquard | 1 Jun 2005 08:23

Re: Jabberd2 server not starting.

Nick Bright wrote:

> Well, by changing the server ID in s2s.xml, the server started. But
> the point still remains, why did it work hitherto with what was in
> there? And should the contents of that server ID not be the hostname
> of the machine, to provide for publicly routable jabber services? I
> changed it to the default of "s2s" and the server started right up.

Each component binds to the router with a unique id. sm binds with the 
domain name concerned. All the others (in a default setup) bind with 
their names, viz. c2s, s2s, resolver.

If there's more than one component with the same id, only one will be 
allowed to bind to the router.

Cheers
Stephen

_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________

Stephen Marquard | 1 Jun 2005 08:25

Re: question about roster.xml

Wilkinson, Alex wrote:
> Hi all,
> 
> When I add new users to /usr/local/etc/jabberd/templates/roster.xml
> they do not appear in users buddy lists on jabber clients.
> 
> Question: Do I have to restart anything or do any other tricks after
>           adding new users to a roster template ?

The roster template is used to populate the roster of _new_ users at the 
time that they're created. So it doesn't provide the capability to 
dynamically update rosters of existing users. You can do that by 
manipulating the back-end roster-items and roster-groups tables.

Regards
Stephen

_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________

Wilkinson, Alex | 1 Jun 2005 09:00
Picon

deleting users in jabber ...

Do I have to run this manually ?

   http://mail.jabber.org/pipermail/jadmin/2004-August/017285.html

Not being intimate with SQL ... can one script the aforementioned ?

 - aW

_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________

Wilkinson, Alex | 1 Jun 2005 09:01
Picon

Re: Re: question about roster.xml

    0n Wed, Jun 01, 2005 at 08:25:06AM +0200, Stephen Marquard wrote: 

    >Wilkinson, Alex wrote:
    >>Hi all,
    >>
    >>When I add new users to /usr/local/etc/jabberd/templates/roster.xml
    >>they do not appear in users buddy lists on jabber clients.
    >>
    >>Question: Do I have to restart anything or do any other tricks after
    >>          adding new users to a roster template ?
    >
    >The roster template is used to populate the roster of _new_ users at the 
    >time that they're created. So it doesn't provide the capability to 
    >dynamically update rosters of existing users. You can do that by 
    >manipulating the back-end roster-items and roster-groups tables.

Can please you give me an example of adding new user to an existing roster ?

Cheers

 - aW
_______________________________________________
jadmin mailing list
jadmin <at> jabber.org
http://mail.jabber.org/mailman/listinfo/jadmin
FAQ: http://www.jabber.org/about/jadminfaq.shtml
_______________________________________________

Ms Linuz | 1 Jun 2005 09:17
Picon
Favicon

Unable to create room on muc

This might be a trivial topic, but after spending a while googling
around, I end up with nothing.
So, I'm currently testing in jabberd 1.4.3 on debian sarge machine.
( I prefered of using ejabberd but I don't like compiling a non
standard debian package ).
As, debian comes with jabber-muc, I've installed to enable muc in
this jabber server.
When creating room with Gaim's got "Error:502 Unable to deliver,
destination unknown"
Jabber log " bouncing a packet to myroom <at> conference.jabber.server.net
/tester from tester <at> jabber.server.net/Gaim: Unable to deliver,
destination unknown"
Below is xml file for muc.
Thanks and sorry for this long mail ;-)

jabber-muc.xml :

<jabber>

  <service id="muclinker">
    <uplink/>
    <connect>
      <ip>127.0.0.1</ip>
      <port>31518</port>
      <secret>secret</secret>
    </connect>
  </service>

  <service id="conference.jabber.server.net">
    <load>
(Continue reading)

Mark Redel | 1 Jun 2005 11:23
Picon

JIT warnings

Hi,

I installed jabberd 1.4.3-r5 and jit-1.1.7 on my server. The yahoo 
transport seems to work perfectly, also jabberd.

The jit seems to work not so well.  At 20050601T09:12:53 my jabber 
client reportet an "low level network error" and icq got offline and 
reconnected.
Is this normal?

Furthermore there are some warnings in my error log. Can someone tell 
me, if there is an problem with my configuration and how i can fix the 
warings?

Best regards
Mark

error log:

20050601T09:05:33: [notice] (yahoo.c:416): [YAHOO]: 
'euro <at> jabber.eurofunk.net/Psi' Logged in as 'rem34524' (fd=8)
20050601T09:05:33: [notice] (yahoo-server.c:215): Presence: status=0, show=0
20050601T09:05:33: [notice] (yahoo.c:1735): [YAHOO]: Presence 
service=0x0004 status=0x0000
20050601T09:05:33: [notice] (yahoo-server.c:215): Presence: status=0, show=0
20050601T09:05:33: [notice] (yahoo.c:1735): [YAHOO]: Presence 
service=0x0004 status=0x0000
20050601T09:05:42: [warn] (jit/wp_client.cpp:674): Buffer pointer not at 
end after parsing FLAP was: 0x88 should be: 0x100 on channel 0x2

(Continue reading)

Stéphane BOUDRANT | 1 Jun 2005 12:13
Picon
Favicon

Still can't connect client

Hi,

Thanks to all who answered my message, that is very king of you.

It seems that my problem comes from the network settings section; i do not 
receive any more the 'db' error message.

This is what i get when i try to connect; i am going to try to be as exact 
as i can in the reporting of the sequence :

/jabberd2-mysql debian package.
I send the command :
/etc/init.d/jabberd2-mysql restart
I get :
Restarting Jabber Services:
Stopping Jabber Services: c2s s2s sm resolver router.
Starting Jabber Services: router resolver sm s2s c2s.

Then i try :
netstat -pan |more
I get :
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State    
    PID/Program name
tcp        0      0 127.0.0.1:993           0.0.0.0:*               LISTEN   
   854/couriertcpd
tcp        0      0 0.0.0.0:5347            0.0.0.0:*               LISTEN   
   18325/jabberd2-rout
tcp        0      0 0.0.0.0:37              0.0.0.0:*               LISTEN   
   869/inetd
(Continue reading)


Gmane