If, at first, you don't succeed...

try, try, try again and then ask the folks in the forum 'cos you're stumnped!

I'm running ubuntu maverick server and this is what I've done so far.

Use Aptitude to install ejabberd, 2.1.5-2 version

begin
    while true do
    begin
        configure ejabberd as shown in the tutorial on this site
        Fail to run the server
        use aptitude to uninstall ejabberd
        use aptitude to install ejabberd
    end
end

I've even downloaded and printed out the full manual but that only confused me more!

These aren't the right values, of course, but in principle what I think need is...

A domain name - foobar.co.nz
A server on that domain name - tom, so tom.foobar.co.nz is the full server name
A resolvable DNS name for the service - chatterbox.foobar.co.nz
A couple of users set up via ejabberdctl register chatterbox.foobar.co.nz

I edited /etc/ejabberd/ejabberd.cfg as shown in the tutorial using the real values for the ones shown above and I'm still stumped!

So, does any kind soul have a very simple cfg file and any other basic info I can use that an idiot like me can use to get the thing running? I wasn't going to use any other database other than the included one. The same with everything else for the time being... pure vanilla!

Pretty please? Before I've pulled all my hair out?

Thanks folks.

Simon.

Another test process: 1.

Another test process:

1. Install ejabberd with all the default values. For instance, keep "localhost" as the domain name.

2. If the installer didn't create the first account, then create one using ejabberdctl

3. Start a jabber client in the same machine that ejabberd, and try to login. Remember that the jabber server name is "localhost".

4. If login fails, does it fail because incorrect password, because can't find the server, or for other reason? Check if ejabberd log files provide any more clue about the problem.

4alt. If login works, then edit ejabberd.cfg and make one change. Restart and check all works. Repeat until full satisfaction.

Good idea, thank you! One

Good idea, thank you! One tiny problem though, ejabberd is running on a server which has no GUI. So gawd knows what I would use as a client! :)

three ways

Trunkles wrote:

Good idea, thank you! One tiny problem though, ejabberd is running on a server which has no GUI. So gawd knows what I would use as a client! :)

This will tell you if ejabberd is listenting:
telnet localhost 5222

Three ways to connect with a client:

  • In the server machine use a text jabber client (I don't know touse anyone)
  • Or if you connect using SSH, then setup port forwarding and connect from your desktop machine
  • Or in your desktop machine, you can start a normal client, set as jabber domain "localhost", and tell the client to connect to machine 1.2.3.4 (or whatever IP address the server has).
Syndicate content