Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Running Karaka with openfire
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 29 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Samba  
View profile  
 More options Jul 15, 2:20 am
From: Samba <soumyaii...@gmail.com>
Date: Tue, 14 Jul 2009 23:20:12 -0700 (PDT)
Local: Wed, Jul 15 2009 2:20 am
Subject: Running Karaka with openfire
Hi,

I have installed "Karaka" and "Openfire" successfully in my Debian
machine and below are the some useful information.

1. Debian GNU/Linux 4.0 \n \l
2. Openfire running at http://213.152.241.XXX:9090
3. Host name: test123

Please help me to configure karaka-api.conf, karaka-master.conf,
karaka-register.conf, karaka-slave.conf

Also what i have to configure at open fire to start Skype chat.

Regards,
Samba


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
_gm  
View profile  
 More options Jul 15, 3:49 am
From: _gm <mustafa...@gmail.com>
Date: Wed, 15 Jul 2009 00:49:51 -0700 (PDT)
Local: Wed, Jul 15 2009 3:49 am
Subject: Re: Running Karaka with openfire
Samba,
i have written a rough karaka installation procedure

install following packages using apt.

mysql-server
ssh
python-all
python-json
python-simplejson
python-ctypes
python-crypto
python-pyasn1
python-mysqldb
python-pyxmpp
xvfb
screen
sun-java5-jre
subversion
patch

download following packages in /usr/local/src directory:

Skype4Py: wget http://nchc.dl.sourceforge.net/sourceforge/skype4py/Skype4Py-1.0.31.0...
Openfire: wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openf...
SkypeIM:  wget http://download.skype.com/linux/skype-debian_2.0.0.72-1_i386.deb
Karaka:   svn checkout http://karaka.googlecode.com/svn/trunk/ karaka

copy karaka code to /opt/karaka/
copy /opt/karaka/conf/karaka-* to /etc
copy /opt/karaka/bin/karaka-* /etc/init.d/

edit karaka configurations as required. (/etc/karaka-*.conf)

extract Skype4Py, copy Skype4Py-karaka.diff from /opt/karaka/deps/ to
Skype4Py directory and run following command.
#patch -p1<Skype4Py-karaka.diff
now build Skype4Py: python setup.py install
install skype client: dpkg -i skype-debian_2.0.0.72-1_i386.deb
install openfire: dpkg -i openfire_3.6.4_all.deb

skype client installation will fail with dependency checks: run "apt-
get -f install" to fix the dependency problem

you would also need to edit /etc/init.d/karaka-* scripts and remove
"sudo" thing if you don't want to use it. you also might need to fix
the Controller path in init.d scripts if you are not using default
path i.e. /opt/karaka/trunk/. in my case i am using /opt/karaka/

create three users in openfire: slave01, dialback, register
go to server settings and in External Components setting provide a
secret(secret should match the one you provided in skype-master.conf)
and Allow any component to connnect.

p.s make sure domain name you specify in openfire/karaka resolves to
your local machine i.e. test123

On Jul 15, 12:20 pm, Samba <soumyaii...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
_gm  
View profile  
 More options Jul 15, 3:57 am
From: _gm <mustafa...@gmail.com>
Date: Wed, 15 Jul 2009 00:57:07 -0700 (PDT)
Local: Wed, Jul 15 2009 3:57 am
Subject: Re: Running Karaka with openfire
few packages i forgot to mention.

xfonts-base
libx11-6

also before building Skype4Py, open Skype4Py/API/posix_x11.py and
replace libpath = find_library('X11') with libpath='/usr/lib/libX11.so.
6.2.0',
verify libx11 path by running "dpkg -L libx11-6 | grep libX11"

Regards,
-gm

On Jul 15, 1:49 pm, _gm <mustafa...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Soumyadipta De  
View profile  
 More options Jul 15, 6:15 am
From: Soumyadipta De <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 11:15:54 +0100
Local: Wed, Jul 15 2009 6:15 am
Subject: Re: Running Karaka with openfire

Hi,

Thanks a lot for your detailed suggestions.

   1. I have installed Openfire/ Skype IM and
Skype4Py<http://nchc.dl.sourceforge.net/sourceforge/skype4py/Skype4Py-1.0.31.0...>in
my debian system
   2. I have also created three users ate openfire Users/Groups as suggested
   3. I made all the chnages to karaka conf files and scripts.
   4. Next i started karaka-slave from /etc/init.d/ as ./karaka-slave
   restart 'slave01' and I got message "Restarting KarakaSlave:
   karaka-slave01."

*Questions:*

   1. What should be my next step?
   2. How do i know that openfire and karaka are linked together?
   3. What steps i should follow to connect to my skype account using karaka
   and openfire?
   4. Do i need a XMPP client like PSI or Piding and there which
   XMPP/Openfire user i have to use?

Again thanks a lot for you great practical help.

Regards,
Samba


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghulam Mustafa  
View profile  
 More options Jul 15, 6:24 am
From: Ghulam Mustafa <mustafa...@gmail.com>
Date: Wed, 15 Jul 2009 16:24:06 +0600
Local: Wed, Jul 15 2009 6:24 am
Subject: Re: Running Karaka with openfire
Soumyadipta De wrote:
> Hi,

> Thanks a lot for your detailed suggestions.

>    1. I have installed Openfire/ Skype IM and Skype4Py
>       <http://nchc.dl.sourceforge.net/sourceforge/skype4py/Skype4Py-1.0.31.0...>
>       in my debian system
>    2. I have also created three users ate openfire Users/Groups as
>       suggested
>    3. I made all the chnages to karaka conf files and scripts.
>    4. Next i started karaka-slave from /etc/init.d/ as ./karaka-slave
>       restart 'slave01' and I got message "Restarting KarakaSlave:
>       karaka-slave01."

run screen -r to see if all instances are successfully started and
running  you can connect  with a  screen instance with screen -r
"instance_pid",

each master/slave and register console is running in a separate screen
session, issuing "status" in each console should return "CONNECTED" if
nothing goes wrong,

if you don't see any screen session then you might need to try running
master.py manually and see what it returns.

> _Questions:_

>    1. What should be my next step?

create a normal jabber account, and add user register into it's contact
list. register is a "bot"

>    1. How do i know that openfire and karaka are linked together?

master.py registers itself as a external component in openfire, go to
openfire web console, click on session and then see external component
sessions. if karaka is configured properly then you ll see two external
components skype and skypemuc.

>    1. What steps i should follow to connect to my skype account using
>       karaka and openfire?

send following message to user "register" connect your skype account
with your jabber account:

register skypeuser skypepassword

>    1. Do i need a XMPP client like PSI or Piding and there which
>       XMPP/Openfire user i have to use?

yes you can use pidgin or any other client that support jabber/xmpp.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Soumyadipta De  
View profile  
 More options Jul 15, 6:31 am
From: Soumyadipta De <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 11:31:04 +0100
Local: Wed, Jul 15 2009 6:31 am
Subject: Re: Running Karaka with openfire

Hi,

Yes nothing running and working and i have tried running master.py but it
fails and displays an error.

zenon173:/opt/karaka# ./master.py
Traceback (most recent call last):
  File "./master.py", line 27, in ?
    from pyxmpp.all import Iq
ImportError: No module named pyxmpp.all

--------------------------------------------------------------------------- ---------------------------------------------
zenon173:/opt/karaka# ls
bin  conf  deps  karaka  LICENSE  master.py  README  register.py
skype-debian_2.0.0.72-1_i386.deb  slave.py
zenon173:/opt/karaka#
--------------------------------------------------------------------------- ---------------------------------------------

Regards,
Samba

On Wed, Jul 15, 2009 at 11:24 AM, Ghulam Mustafa <mustafa...@gmail.com>wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghulam Mustafa  
View profile  
 More options Jul 15, 6:32 am
From: Ghulam Mustafa <mustafa...@gmail.com>
Date: Wed, 15 Jul 2009 16:32:09 +0600
Local: Wed, Jul 15 2009 6:32 am
Subject: Re: Running Karaka with openfire
Soumyadipta De wrote:
> Hi,

> Yes nothing running and working and i have tried running master.py but
> it fails and displays an error.

Okay, apt-get -y --force-yes install  python-pyxmpp
 :)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Soumyadipta De  
View profile  
 More options Jul 15, 6:38 am
From: Soumyadipta De <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 11:38:57 +0100
Local: Wed, Jul 15 2009 6:38 am
Subject: Re: Running Karaka with openfire

Hi,

Now all the python packages are installed in my system and when i try to run
master.py i got this message below.

--------------------------------------------------------------------------- --------------------------------------------------------------------------- -----------------

zenon173:/opt/karaka# ./master.py
Karaka version 1.0, Copyright (C) 2009-2009 Vipadia Limited

Karaka comes with ABSOLUTELY NO WARRANTY; for details type 'warranty'.
This is free software, and you are welcome to redistribute it under
certain conditions; type 'copying' for details.  Visit
<http://vipadia.com/products/karaka.html> for further details.

Karaka Master Controller

Exception in thread Master:
Traceback (most recent call last):
  File "threading.py", line 442, in __bootstrap
    self.run()
  File "threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "./master.py", line 85, in master_keepalive
    Master = chat.Master(config)
  File "/opt/karaka/karaka/chat.py", line 74, in __init__
    self.regdb = DatabaseAPI()
  File "/opt/karaka/karaka/api/api.py", line 72, in __init__
    self.config.sql_database)
  File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 75, in
Connect
    return Connection(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 164,
in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (1045, "Access denied for user 'karaka'@'localhost' (using
password: YES)")

--------------------------------------------------------------------------- --------------------------------------------------------------------------- -----------------

Thanks a lot,
Samba

On Wed, Jul 15, 2009 at 11:32 AM, Ghulam Mustafa <mustafa...@gmail.com>wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghulam Mustafa  
View profile  
 More options Jul 15, 6:43 am
From: Ghulam Mustafa <mustafa...@gmail.com>
Date: Wed, 15 Jul 2009 16:43:47 +0600
Local: Wed, Jul 15 2009 6:43 am
Subject: Re: Running Karaka with openfire
Soumyadipta De wrote:
> Hi,

> Now all the python packages are installed in my system and when i try
> to run master.py i got this message below.

> --------------------------------------------------------------------------- --------------------------------------------------------------------------- -----------------

karaka is trying to connect with mysql database, but couldn't auth with
mysql database,

1. you need to create karaka database by running.
mysql < /opt/karaka/karaka/api/createdb.sql

2. create  a karaka user in mysql; goto mysql console and type:
GRANT ALL ON karaka.* to 'karaka'@'localhost' identified by 'karaka';

FLUSH PRIVILEGES;

now go back to karaka-api.conf and karaka-register.conf in /etc and
verify mysql user/pass, database and hostname settings.

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Soumyadipta De  
View profile  
 More options Jul 15, 6:48 am
From: Soumyadipta De <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 11:48:04 +0100
Local: Wed, Jul 15 2009 6:48 am
Subject: Re: Running Karaka with openfire

Hi,

Is there a option to not use any database by default. I mean i don't want to
use any database now and do it later.

Also now i can see one session/Component sessions, Skypemuc.

Regards,
Samba

Thanks,
Samba

On Wed, Jul 15, 2009 at 11:43 AM, Ghulam Mustafa <mustafa...@gmail.com>wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghulam Mustafa  
View profile  
 More options Jul 15, 6:49 am
From: Ghulam Mustafa <mustafa...@gmail.com>
Date: Wed, 15 Jul 2009 16:49:24 +0600
Local: Wed, Jul 15 2009 6:49 am
Subject: Re: Running Karaka with openfire

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Soumyadipta De  
View profile  
 More options Jul 15, 7:04 am
From: Soumyadipta De <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 12:04:30 +0100
Local: Wed, Jul 15 2009 7:04 am
Subject: Re: Running Karaka with openfire

Hi,

Suppose my server hostname is test123 then i have changed
/etc/karaka-register.conf as below

[mysql]
server=localhost
database=karaka
user=karaka
password=karaka

[register]
register=register
secret=test1
port=5222
server=server.test123
domain=test123
master=skype.test123

1. Is the above settings correct?
2. Is the secret name is the same as configured in openfire "External
Component Settings"?
3.Do i need to do anything into the karaka database?

Regards,
Samba

On Wed, Jul 15, 2009 at 11:48 AM, Soumyadipta De <soumyaii...@gmail.com>wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Soumyadipta De  
View profile  
 More options Jul 15, 7:06 am
From: Soumyadipta De <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 12:06:04 +0100
Local: Wed, Jul 15 2009 7:06 am
Subject: Re: Running Karaka with openfire

Hi,

After all this changes i got the karaka master screen as below and is that
correct?

zenon173:/opt/karaka# ./master.py
Karaka version 1.0, Copyright (C) 2009-2009 Vipadia Limited

Karaka comes with ABSOLUTELY NO WARRANTY; for details type 'warranty'.
This is free software, and you are welcome to redistribute it under
certain conditions; type 'copying' for details.  Visit
<http://vipadia.com/products/karaka.html> for further details.

Karaka Master Controller>

Regards,
Samba

On Wed, Jul 15, 2009 at 12:04 PM, Soumyadipta De <soumyaii...@gmail.com>wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Soumyadipta De  
View profile  
 More options Jul 15, 7:09 am
From: Soumyadipta De <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 12:09:53 +0100
Local: Wed, Jul 15 2009 7:09 am
Subject: Re: Running Karaka with openfire

Hi,

I see this in openfire session settings page , menas both the components
skype and skypemuc

Domain Name Category Type Creation Date Last Activity Close Connection   1
skype.test123<http://213.152.241.173:9090/component-session-details.jsp?jid=skype.z...>
 Vipadia
Ltd Skype Gateway  gateway   skype  12:05 PM  12:06 PM
<http://213.152.241.173:9090/component-session-summary.jsp?jid=skype.z...>
2 skypemuc.test123
<http://213.152.241.173:9090/component-session-details.jsp?jid=skypemu...>
Vipadia Ltd Skype Muc Gateway x-service
x-unknown  12:05 PM  12:06 PM
<http://213.152.241.173:9090/component-session-summary.jsp?jid=skypemu...>

Regards,
Samba

On Wed, Jul 15, 2009 at 12:06 PM, Soumyadipta De <soumyaii...@gmail.com>wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghulam Mustafa  
View profile  
 More options Jul 15, 7:36 am
From: Ghulam Mustafa <mustafa...@gmail.com>
Date: Wed, 15 Jul 2009 17:36:31 +0600
Local: Wed, Jul 15 2009 7:36 am
Subject: Re: Running Karaka with openfire

Here run "status" and see what it returns. :)

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Samba  
View profile  
 More options Jul 15, 9:21 am
From: Samba <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 06:21:55 -0700 (PDT)
Local: Wed, Jul 15 2009 9:21 am
Subject: Re: Running Karaka with openfire
Hi,

Now all the three processes are running and i got all three consoles
and fired status command as below.

karaka master> status
Status = master:CONNECTED, muc:CONNECTED

karaka register> status
Status = IDLE

karaka slave> status
Status = IDLE

I have created three accounts in the openfire under Users/Groups as
"slave01", "register", "dialback"

Now I have logged in to Pidgin/PSI using a jabber/openfire account and
connected successfully.
Next i tried to add user "register" to Pidgin/Openfire but it says
"unauthorized/ 404 server not found/offline"

Do i need to change/add/modify anything in the karaka database?

My openfire server hostname is test123 and a jabber id is
testuser@test123 and i logged in to Pidgin/PSI using this and i am
trying add user/contact register.test123 under this user.

Also i never see anything with using screen -r or screen -ls but i
have all the three console of each processes.

Regards,
Samba

On Jul 15, 12:36 pm, Ghulam Mustafa <mustafa...@gmail.com> wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Samba  
View profile  
 More options Jul 15, 9:26 am
From: Samba <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 06:26:56 -0700 (PDT)
Local: Wed, Jul 15 2009 9:26 am
Subject: Re: Running Karaka with openfire
Hi,

I can see all the scripts are running by doing ps -elf | grep py but
cant see anything using screen -r or screen -ls.

I have run three scripts individually from /opt/karaka

0 S root      7788 29518  0  75   0 -  8356 stext  13:34 pts/2
00:00:02 python ./master.py
4 S root      7778 12021  1  78   0 -  6295 stext  13:53 pts/4
00:00:25 python ./register.py
4 S root      9261  8406  1  78   0 -  6250 stext  13:54 pts/5
00:00:23 python ./slave.py slave01

Thanks,
Samba

On Jul 15, 2:21 pm, Samba <soumyaii...@gmail.com> wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghulam Mustafa  
View profile  
 More options Jul 15, 9:27 am
From: Ghulam Mustafa <mustafa...@gmail.com>
Date: Wed, 15 Jul 2009 19:27:13 +0600
Local: Wed, Jul 15 2009 9:27 am
Subject: Re: Running Karaka with openfire
Samba wrote:
> Hi,

> Now all the three processes are running and i got all three consoles
> and fired status command as below.

> karaka master> status
> Status = master:CONNECTED, muc:CONNECTED

> karaka register> status
> Status = IDLE

> karaka slave> status
> Status = IDLE

Status = IDLE is the problem, it should be "CONNECTED"

please make sure you have provided correct secret/password in karaka
configs for  slave01, register and dialback user.

you can try running slave.py and register.py manually and see what it
returns

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Samba  
View profile  
 More options Jul 16, 12:54 am
From: Samba <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 21:54:38 -0700 (PDT)
Local: Thurs, Jul 16 2009 12:54 am
Subject: Re: Running Karaka with openfire
Hi,

I have added one shared secret in openfire Server->Server-Settings-

>External Component Settings. which is "test_secret". Next i have

added "Allowed To Connect" subdomain as below.

Subdomain                                        Shared Secret
-----------------
----------------------
1. dialback_secret                                 test_secret
2. slave_secret                                      test_secret

Below are the three different configuration files and i don't find
what i have done wrong .

+++++++++++++++++++++++++++++++++++++++  karaka-master.conf  ++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++

[master]
component=skype.test123
muc=skypemuc.test123
secret=test_secret
port=5275
server=213.152.241.XXX
domain=test123
dialback=dialback
dialback_secret=dialback_secret
register=register@test123/register ; node == resource, always
slave_secret=slave_secret

What is node == resource, always?
What is the meaning of /register in register@test123/register?

+++++++++++++++++++++++++++++++++++++++  karaka-register.conf  ++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++

[mysql]
server=localhost
database=karaka
user=root
password=xxxxxx

[register]
register=register
secret=test_secret
port=5222
server=server.test123
domain=test123
master=skype.test123

+++++++++++++++++++++++++++++++++++++++  karaka-slave.conf  +++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++

[slave01]
secret=test_secret
port=5222
server=213.152.241.XXX
domain=test123
component=skype.test123
muc=skypemuc.test123

slave_secret=slave_secret
capacity=10
base=100

[slave02]
secret=test_secret
port=5222
server=213.152.241.XXX
domain=test123
component=skype.test123
muc=skypemuc.test123

slave_secret=slave_secret
capacity=10
base=200

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++

Please guide me so that i can run all the three processes.

Thanks In Advance,
Samba

On Jul 15, 2:27 pm, Ghulam Mustafa <mustafa...@gmail.com> wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghulam Mustafa  
View profile  
 More options Jul 16, 1:03 am
From: Ghulam Mustafa <mustafa...@gmail.com>
Date: Thu, 16 Jul 2009 11:03:00 +0600
Subject: Re: Running Karaka with openfire

This is wrong, you really don't need to do this. remove these
subdomains. they are invalid, just enable external components, define a
port (5275) and a default shared secret and save settings.

under Allowed to Connect tab, select Anyone and save settings.

> Below are the three different configuration files and i don't find
> what i have done wrong .

> +++++++++++++++++++++++++++++++++++++++  karaka-master.conf  ++++++++++
> ++++++++++++++++++++++++++++++++++++++++++++++++++++

> [master]
> component=skype.test123
> muc=skypemuc.test123
> secret=test_secret

Above secret is [default shared secret] defined in External component
settings.
> port=5275

> server=213.152.241.XXX
> domain=test123
> dialback=dialback
> dialback_secret=dialback_secret

dialback_secret is the password of openfire user "dialback"
> register=register@test123/register ; node == resource, always

:( i don't know as well what does node == resource means :)

/register is the resource of the JID register@test123, don't worry about it

above secret= password of user "register"
> port=5222
> server=server.test123
> domain=test123
> master=skype.test123

> +++++++++++++++++++++++++++++++++++++++  karaka-slave.conf  +++++++++++
> +++++++++++++++++++++++++++++++++++++++++++++++++++++

> [slave01]
> secret=test_secret

provide secret/password of openfire user "slave01" above.

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Samba  
View profile  
 More options Jul 16, 1:27 am
From: Samba <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 22:27:37 -0700 (PDT)
Local: Thurs, Jul 16 2009 1:27 am
Subject: Re: Running Karaka with openfire
Hi,

Still getting IDLE status for slave and register.

Inside the karaka-slave.conf file there is two attributes one is
secret and other is slave_secret. Should i provide password of the
user slave01 in both the places.

[slave01]
secret=12345         ----------------------------- Password of user
"slave01"
port=5222  -----------------------------------------  This is the port
of ??
server=213.152.241.173
domain=zenon173
component=skype.zenon173
muc=skypemuc.zenon173

slave_secret=12345         ----------------------------- Password of
user "slave01"
capacity=10
base=100

Regards,
Samba

On Jul 16, 6:03 am, Ghulam Mustafa <mustafa...@gmail.com> wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Samba  
View profile  
 More options Jul 16, 1:33 am
From: Samba <soumyaii...@gmail.com>
Date: Wed, 15 Jul 2009 22:33:10 -0700 (PDT)
Local: Thurs, Jul 16 2009 1:33 am
Subject: Re: Running Karaka with openfire
Hi,

KARAKA-DATABASE:
----------------------------------

mysql> select * from registrations;
+-------------------+----------+---------+
| userjid           | user     | secret  |
+-------------------+----------+---------+
| testuser@test123 | register | test123 |
+-------------------+----------+---------+

On Jul 16, 6:27 am, Samba <soumyaii...@gmail.com> wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ghulam Mustafa  
View profile  
 More options Jul 16, 2:11 am
From: Ghulam Mustafa <mustafa...@gmail.com>
Date: Thu, 16 Jul 2009 12:11:35 +0600
Local: Thurs, Jul 16 2009 2:11 am
Subject: Re: Running Karaka with openfire
Samba wrote:
> Hi,

> Still getting IDLE status for slave and register.

> Inside the karaka-slave.conf file there is two attributes one is
> secret and other is slave_secret. Should i provide password of the
> user slave01 in both the places.

> [slave01]
> secret=12345         ----------------------------- Password of user
> "slave01"
> port=5222  -----------------------------------------  This is the port
> of ??

5222 is the jabber port, openfire accepts client connections at this port.
> server=213.152.241.173
> domain=zenon173
> component=skype.zenon173
> muc=skypemuc.zenon173

> slave_secret=12345         ----------------------------- Password of
> user "slave01"

Slave secret has nothing to do with openfire users. you should simply
match slave_secret in both karaka-slave.conf and karaka-master.conf

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Samba  
View profile  
 More options Jul 16, 3:28 am
From: Samba <soumyaii...@gmail.com>
Date: Thu, 16 Jul 2009 00:28:11 -0700 (PDT)
Local: Thurs, Jul 16 2009 3:28 am
Subject: Re: Running Karaka with openfire
Hi,

Register is trying to connect but i guess it is unable to resolve the
domain zenon173. Below is the syslog

Jul 16 08:24:00 cls karaka register.py[6149]: register connecting
Jul 16 08:24:00 cls karaka register.py[6149]: stream_state_changed:
resolving srv (u'zenon173', 'xmpp-client')
Jul 16 08:24:01 cls karaka register.py[6149]: stream_state_changed:
resolving u'zenon173'
Jul 16 08:24:01 cls karaka register.py[6149]: ### NXDOMAIN:
Jul 16 08:24:01 cls karaka register.py[6149]: |###
register_keepalive @ ./register.py:267
Jul 16 08:24:01 cls karaka register.py[6149]: |###   connect @ /var/
lib/python-support/python2.4/pyxmpp/jabber/client.py:110
Jul 16 08:24:01 cls karaka register.py[6149]: |###   connect @ /var/
lib/python-support/python2.4/pyxmpp/client.py:149
Jul 16 08:24:01 cls karaka register.py[6149]: |###   connect @ /var/
lib/python-support/python2.4/pyxmpp/clientstream.py:131
Jul 16 08:24:01 cls karaka register.py[6149]: |###   _connect @ /var/
lib/python-support/python2.4/pyxmpp/clientstream.py:153
Jul 16 08:24:01 cls karaka register.py[6149]: |###   _connect @ /var/
lib/python-support/python2.4/pyxmpp/streambase.py:220
Jul 16 08:24:01 cls karaka register.py[6149]: |###   getaddrinfo @ /
var/lib/python-support/python2.4/pyxmpp/resolver.py:161
Jul 16 08:24:01 cls karaka register.py[6149]: |###   query @ /var/lib/
python-support/python2.4/dns/resolver.py:632
Jul 16 08:24:01 cls karaka register.py[6149]: |###   query @ /var/lib/
python-support/python2.4/dns/resolver.py:576

Regards,
Samba

On Jul 16, 7:11 am, Ghulam Mustafa <mustafa...@gmail.com> wrote: