Kevin Jackson | 5 Apr 2007 11:09
Picon
Gravatar

pgsql & ejabberd (svn trunk)

Hi,

I've been trying to make a patch against trunk to refactor the sql
queries out of the erlang code.  This is just for my companies
internal use.

I've noticed that the svn trunk version of ejabberd_odbc.erl has a
different arg list for pgsql:connect function calls.

Testing this on my running erlang & ejabberd install with a version
(not sure which but the archive is called 1.0) of pgsql from jungerl I
get the following results:

-SVN Trunk style arg list:
pgsql:connect("localhost", "freelance", "postgres", "", 5432).

=ERROR REPORT==== 5-Apr-2007::15:53:09 ===
Error in process <0.319.0> on node 'ejabberd <at> ubuntu-dev' with exit
value: {undef,[{pgsql,connect,["localhost","freelance","postgres",[],5432]},{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]}

** exited: {undef,[{pgsql,connect,
                          ["localhost","freelance","postgres",[],5432]},
                   {erl_eval,do_apply,5},
                   {shell,exprs,6},
                   {shell,eval_loop,3}]} **

-Old Ejabberd 1.1.3 style arg list:
pgsql:connect("localhost", "freelance", "postgres", "").

Params: [{secret,{9441,528686832}},
(Continue reading)

George Hazan | 5 Apr 2007 11:12
X-Face
Picon

Http-bind patch & ejabberd 1.1.3

   Hello.

Is this patch (http://support.process-one.net/browse/EJAB-94) suitable for 
1.1.3?

--

-- 
WMBR, George Hazan (ghazan <at> postman.ru) 
Michael Cannon | 6 Apr 2007 16:25

http-bind & Windows

Hi All,

 

Trying to get http-bind working on ejabberd running on windows.  Has anyone got this to work and if so would they mind sharing with what versions? I tried compiling the http_bind from the process-one site and using the beam files from the Yaws pack but have not been able to get it to work.

 

I assume when it is working I should eb able to go to http://server:5280/http-bind/ and get a response.  I think anyway but would welcome any feedback or insight.

 

Thank you,

 

Mike

 

_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Michael Cannon | 6 Apr 2007 17:02

How to patch a windows version?

Is there a way to patch the Windows version of ejabberd?

_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
mattias jonsson | 8 Apr 2007 21:11
Picon

change the nod name in ejabberd

how to change the name of the nod in ejabberd.
Magnus Henoch | 8 Apr 2007 21:30
Picon
Favicon

Re: change the nod name in ejabberd

"mattias jonsson" <mj <at> mj.mydns.se> writes:

> how to change the name of the nod in ejabberd.

The same way you change the hostname:
http://ejabberd.jabber.ru/migrate-host

--

-- 
Magnus
JID: legoscia <at> jabber.cd.chalmers.se
mattias jonsson | 8 Apr 2007 21:36
Picon

Re: change the nod name in ejabberd

also my node name are now
ejabberd <at> localhost.
the jabberd service are running and the ports are right configured both in
the router and in my firewall
but i can't connect.

-----Ursprungligt meddelande-----
Fran: ejabberd-bounces <at> jabber.ru [mailto:ejabberd-bounces <at> jabber.ru]For
Magnus Henoch
Skickat: den 8 april 2007 21:31
Till: ejabberd <at> jabber.ru
Amne: Re: [ejabberd] change the nod name in ejabberd

"mattias jonsson" <mj <at> mj.mydns.se> writes:

> how to change the name of the nod in ejabberd.

The same way you change the hostname:
http://ejabberd.jabber.ru/migrate-host

--
Magnus
JID: legoscia <at> jabber.cd.chalmers.se

_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Manuel Mely | 8 Apr 2007 22:45
Picon

Re: change the nod name in ejabberd

try this when starting ejabberd service

  -sname «newhostname»

mattias jonsson wrote:
> also my node name are now
> ejabberd <at> localhost.
> the jabberd service are running and the ports are right configured both in
> the router and in my firewall
> but i can't connect.
> 
> -----Ursprungligt meddelande-----
> Fran: ejabberd-bounces <at> jabber.ru [mailto:ejabberd-bounces <at> jabber.ru]For
> Magnus Henoch
> Skickat: den 8 april 2007 21:31
> Till: ejabberd <at> jabber.ru
> Amne: Re: [ejabberd] change the nod name in ejabberd
> 
> 
> "mattias jonsson" <mj <at> mj.mydns.se> writes:
> 
>> how to change the name of the nod in ejabberd.
> 
> The same way you change the hostname:
> http://ejabberd.jabber.ru/migrate-host
> 
> --
> Magnus
> JID: legoscia <at> jabber.cd.chalmers.se
> 
> _______________________________________________
> ejabberd mailing list
> ejabberd <at> jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
> 
> 
> _______________________________________________
> ejabberd mailing list
> ejabberd <at> jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

--

-- 
-----------------------------------------------
Manuel Mely Pérez
2do Año Ingeniería en Telecomunicaciones. CUJAE
Email1: mmelyp <at> gmail.com
Email2: manuel.mp <at> feestudiantes.cujae.edu.cu
xmpp:mely <at> softwarelibre.cu
xmpp:mely <at> jabber.cujae.edu.cu
Registered Linux User: #312357
Registered Ubuntu User: #4750
My Blog: http://mmelyp.blogspot.com
Site: http://www.minbas.cu/
-----------------------------------------------

...pero dos no es igual que uno mas uno ...
JSabina
mattias jonsson | 8 Apr 2007 21:49
Picon

Re: change the nod name in ejabberd


thanks but where to write it?

------Original Mail------
From: "Manuel Mely" <mmelyp <at> gmail.com>
To: <ejabberd <at> jabber.ru>
Sent: Sun, 08 Apr 2007 16:45:49 -0400
Subject: Re: [ejabberd] change the nod name in ejabberd

try this when starting ejabberd service

  -sname «newhostname»

mattias jonsson wrote:
> also my node name are now
> ejabberd <at> localhost.
> the jabberd service are running and the ports are right configured both in
> the router and in my firewall
> but i can't connect.
> 
> -----Ursprungligt meddelande-----
> Fran: ejabberd-bounces <at> jabber.ru [mailto:ejabberd-bounces <at> jabber.ru]For
> Magnus Henoch
> Skickat: den 8 april 2007 21:31
> Till: ejabberd <at> jabber.ru
> Amne: Re: [ejabberd] change the nod name in ejabberd
> 
> 
> "mattias jonsson" <mj <at> mj.mydns.se> writes:
> 
>> how to change the name of the nod in ejabberd.
> 
> The same way you change the hostname:
> http://ejabberd.jabber.ru/migrate-host
> 
> --
> Magnus
> JID: legoscia <at> jabber.cd.chalmers.se
> 
> _______________________________________________
> ejabberd mailing list
> ejabberd <at> jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
> 
> 
> _______________________________________________
> ejabberd mailing list
> ejabberd <at> jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

-- 
-----------------------------------------------
Manuel Mely Pérez
2do Año Ingeniería en Telecomunicaciones. CUJAE
Email1: mmelyp <at> gmail.com
Email2: manuel.mp <at> feestudiantes.cujae.edu.cu
xmpp:mely <at> softwarelibre.cu
xmpp:mely <at> jabber.cujae.edu.cu
Registered Linux User: #312357
Registered Ubuntu User: #4750
My Blog: http://mmelyp.blogspot.com
Site: http://www.minbas.cu/
-----------------------------------------------

...pero dos no es igual que uno mas uno ...
JSabina
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Manuel Mely | 8 Apr 2007 22:58
Picon

Re: change the nod name in ejabberd

mattias jonsson wrote:
> thanks but where to write it?
> 

You have this ejabberd in a BSD system right? You installed using ports?
For example, i have had installed from sources, and i have a config file 
called ejabberdctl.cfg that have parameters to start ejabberd using 
ejabberdctl.
In this file there's a variable called NODE_NAME_TYPE with value "-sname 
" and other NODE_NAME with value "ejabberd <at> hostname"
and when i do ejabberdctl start it basically contruct a command like this:

erl -pa /var/lib/ejabberd/ebin -noinput -sname xanthe -s ejabberd 
-kernel inetrc \"/etc/ejabberd/ejabberd.inetrc\" -ejabberd config 
\"/etc/ejabberd/ejabberd.cfg\" -mnesia dir \"var/lib/ejabberd/data\" 
-setcookie homenetcookie

with more variables of course.

Yo should see if you have this file, or maybe it's in some place like 
/etc/default/ejabberd (like ubuntu does).

Other way is to take a look to the rc script. Maybe you should publish.

Cheers!

--

-- 
-----------------------------------------------
Manuel Mely Pérez
2do Año Ingeniería en Telecomunicaciones. CUJAE
Email1: mmelyp <at> gmail.com
Email2: manuel.mp <at> feestudiantes.cujae.edu.cu
xmpp:mely <at> softwarelibre.cu
xmpp:mely <at> jabber.cujae.edu.cu
Registered Linux User: #312357
Registered Ubuntu User: #4750
My Blog: http://mmelyp.blogspot.com
Site: http://www.minbas.cu/
-----------------------------------------------

...pero dos no es igual que uno mas uno ...
JSabina

Gmane