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:
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:
> 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:
> > Hi,
> > I have installed "Karaka" and "Openfire" successfully in my Debian
> > machine and below are the some useful information.
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?
> 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
> 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.
> 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
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:
> > 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.
> > Again thanks a lot for you great practical help.
> > 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
> 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
> > 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.
> > Again thanks a lot for you great practical help.
> > 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
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)")
> > > 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.
> > > Again thanks a lot for you great practical help.
> > > 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
> 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)")
> > > 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.
> > > Again thanks a lot for you great practical help.
> > > 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
> > 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)")
> > > > 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.
> > > > Again thanks a lot for you great practical help.
> > 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 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.
> > > > Again thanks a lot for you great practical help.
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:
>> > 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)")
>> > > > 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.
>> > > > Again thanks a lot for you great practical help.
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:
> 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:
>> 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:
>>> 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 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)")
>>> > > > 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.
>>> > > > Again thanks a lot for you great practical help.
> 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:
>> Hi,
>> Suppose my server hostname is test123 then i have changed
>> /etc/karaka-register.conf as below
>> 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:
>>> 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:
>>>> 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 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)")
>>>> > > > 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.
>>>> > > > Again thanks a lot for you great practical help.
>>>> > > > Regards,
>>>> > > > Samba
>>>> > > > On Wed, Jul 15, 2009 at 8:49 AM, _gm <mustafa.pk
> 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.
> 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 <mailto:soumyaii...@gmail.com>> wrote:
> 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.
> > 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 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?
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:
> > 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>
> Here run "status" and see what it returns. :)
> > Regards,
> > Samba
> > On Wed, Jul 15, 2009 at 12:04 PM, Soumyadipta De
> > <soumyaii...@gmail.com <mailto:soumyaii...@gmail.com>> wrote:
> > Hi,
> > Suppose my server hostname is test123 then i have changed
> > /etc/karaka-register.conf as below
> > 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 <mailto:soumyaii...@gmail.com>> wrote:
> > 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.
> > > 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 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
> >
> 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:
> > Soumyadipta De wrote:
> > > Hi,
> > > After all this changes i got the karaka master screen as below and is
> > > that correct?
> > > 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>
> > Here run "status" and see what it returns. :)
> > > Regards,
> > > Samba
> > > On Wed, Jul 15, 2009 at 12:04 PM, Soumyadipta De
> > > <soumyaii...@gmail.com <mailto:soumyaii...@gmail.com>> wrote:
> > > Hi,
> > > Suppose my server hostname is test123 then i have changed
> > > /etc/karaka-register.conf as below
> > > 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 <mailto:soumyaii...@gmail.com>> wrote:
> > > 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.
> > > 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.
> > > > 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)")
> 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:
>> Soumyadipta De wrote:
>>> Hi,
>>> After all this changes i got the karaka master screen as below and is
>>> that correct?
>>> 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>
>> Here run "status" and see what it returns. :)
>>> Regards,
>>> Samba
>>> On Wed, Jul 15, 2009 at 12:04 PM, Soumyadipta De
>>> <soumyaii...@gmail.com <mailto:soumyaii...@gmail.com>> wrote:
>>> Hi,
>>> Suppose my server hostname is test123 then i have changed
>>> /etc/karaka-register.conf as below
>>> 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 <mailto:soumyaii...@gmail.com>> wrote:
>>> 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.
>>> > 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 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."
> > 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
> > 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:
> >> Soumyadipta De wrote:
> >>> Hi,
> >>> After all this changes i got the karaka master screen as below and is
> >>> that correct?
> >>> 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>
> >> Here run "status" and see what it returns. :)
> >>> Regards,
> >>> Samba
> >>> On Wed, Jul 15, 2009 at 12:04 PM, Soumyadipta De
> >>> <soumyaii...@gmail.com <mailto:soumyaii...@gmail.com>> wrote:
> >>> Hi,
> >>> Suppose my server hostname is test123 then i have changed
> >>> /etc/karaka-register.conf as below
> >>> 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 <mailto:soumyaii...@gmail.com>> wrote:
> >>> 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.
> >>> 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.
> >>> > 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)")
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 .
> 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:
>> 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
>>> 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:
>>>> Soumyadipta De wrote:
>>>>> Hi,
>>>>> After all this changes i got the karaka master screen as below and is
>>>>> that correct?
>>>>> 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>
>>>> Here run "status" and see what it returns. :)
>>>>> Regards,
>>>>> Samba
>>>>> On Wed, Jul 15, 2009 at 12:04 PM, Soumyadipta De
>>>>> <soumyaii...@gmail.com <mailto:soumyaii...@gmail.com>> wrote:
>>>>> Hi,
>>>>> Suppose my server hostname is test123 then i have changed
>>>>> /etc/karaka-register.conf as below
>>>>> 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 <mailto:soumyaii...@gmail.com>> wrote:
>>>>> 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.
>>>>> 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.
>>>>> > 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
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:
> 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 .
> > 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:
> >> 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
> >>> 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:
> >>>> Soumyadipta De wrote:
> >>>>> Hi,
> >>>>> After all this changes i got the karaka master screen as below and is
> >>>>> that correct?
> >>>>> 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>
> >>>> Here run "status" and see what it returns. :)
> >>>>> Regards,
> >>>>> Samba
> >>>>> On Wed, Jul 15, 2009 at 12:04 PM, Soumyadipta De
> >>>>> <soumyaii...@gmail.com <mailto:soumyaii...@gmail.com>> wrote:
> >>>>> Hi,
> >>>>> Suppose my server hostname is test123 then i have changed
> >>>>> /etc/karaka-register.conf as below
> >>>>> 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 <mailto:soumyaii...@gmail.com>> wrote:
> >>>>> 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.pk
> >>>>> <http://mustafa.pk>@gmail.com <http://gmail.com>> wrote:
> >>>>> 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.
> >>>>> > 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.
> 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:
> > Samba wrote:
> > > 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.
> > 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 .
> > > 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:
> > >> 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
> > >>> 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:
> > >>>> Soumyadipta De wrote:
> > >>>>> Hi,
> > >>>>> After all this changes i got the karaka master screen as below and is
> > >>>>> that correct?
> > >>>>> 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>
> > >>>> Here run "status" and see what it returns. :)
> > >>>>> Regards,
> > >>>>> Samba
> > >>>>> On Wed, Jul 15, 2009 at 12:04 PM, Soumyadipta De
> > >>>>> <soumyaii...@gmail.com <mailto:soumyaii...@gmail.com>> wrote:
> > >>>>> Hi,
> > >>>>> Suppose my server hostname is test123 then i have changed
> > >>>>> /etc/karaka-register.conf as below
> > >>>>> 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 <mailto:soumyaii...@gmail.com>> wrote:
> > >>>>> 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.pk
> > >>>>> <http://mustafa.pk>@gmail.com <http://gmail.com>> wrote:
> > >>>>> 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.
> 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.
>> 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
>>> 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:
>>>> 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
>>>>> 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:
>>>>>> Soumyadipta De wrote:
>>>>>>> Hi,
>>>>>>> After all this changes i got the karaka master screen as below and is
>>>>>>> that correct?
>>>>>>> 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>
>>>>>> Here run "status" and see what it returns. :)
>>>>>>> Regards,
>>>>>>> Samba
>>>>>>> On Wed, Jul 15, 2009 at 12:04 PM, Soumyadipta De
>>>>>>> <soumyaii...@gmail.com <mailto:soumyaii...@gmail.com>> wrote:
>>>>>>> Hi,
>>>>>>> Suppose my server hostname is test123 then i have changed
>>>>>>> /etc/karaka-register.conf as below
>>>>>>> 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 <mailto:soumyaii...@gmail.com>> wrote:
>>>>>>> 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.pk
>>>>>>> <http://mustafa.pk>@gmail.com <http://gmail.com>> wrote:
>>>>>>> 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';
> > 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
> > capacity=10
> > base=100
> > Regards,
> > Samba
> > On Jul 16, 6:03 am, Ghulam Mustafa <mustafa...@gmail.com> wrote:
> >> Samba wrote:
> >>> 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.
> >> 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
> >>> 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:
> >>>> 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
> >>>>> 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:
> >>>>>> Soumyadipta De wrote:
> >>>>>>> Hi,
> >>>>>>> After all this changes i got the karaka master screen as below and is
> >>>>>>> that correct?
> >>>>>>> Karaka comes with ABSOLUTELY NO WARRANTY; for details type 'warranty'.
> >>>>>>> This is free software, and you are welcome to redistribute it under
> >>>>>>> certain c