Koozali.org: home of the SME Server

eJabberD not working anymore

Offline dylanh

  • 4
  • +0/-0
eJabberD not working anymore
« on: August 22, 2008, 05:12:51 PM »
Hi all,

I have had ejabberd running for 8 months on an SME 7.3 server. All of a sudden no one could connect to it (we just have a few in-house users, nothing over the web), and the admin page no longer works.

I tried removing and re-installing the  smeserver-ejabberd-1.1.4-6.el4.eos.i386.rpm a few times.

When I try to re-add the admin user, add a new user or login from Exodus I get "Your Registration to this service has failed!" using the Exodus client. I have followed all directions at http://wiki.contribs.org/Ejabberd to re-install Jabber. It feels like the old data is still on the SME server even though I have removed ejabberd a few times. All through this the admin page refuses to load as well, "Page not found" is all I get. I used to get the login pop-up for the admin user.

Is there a way to ensure I am flushing all existing eJabber data,  including the admin password before I re-install?

This server has not run any updates recently so I don't think an update broke ejabberd.

Any tips would be greatly appreciated.

Thanks

Dylan Haines

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: eJabberD not working anymore
« Reply #1 on: August 24, 2008, 08:38:29 PM »
I did not see any uninstall directions in the contirbs wiki. Usually there are directions. What did you do to uninstall?
Did you raise a bug? 
Code: [Select]
http://bugs.contribs.org/enter_bug.cgiAre there any databases for you to remove using e.g.phpmyadmin?

Hope this helps.

Offline dylanh

  • 4
  • +0/-0
Re: eJabberD not working anymore
« Reply #2 on: August 24, 2008, 08:42:46 PM »
I unstalled using rpm -e. Then to be sure I removed every file named jabber on the PC - how would I go about removing the DB info with PHPadmin?

Thanks

Dylan

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: eJabberD not working anymore
« Reply #3 on: August 25, 2008, 01:31:25 AM »
I've never tried ejabber but I'm assuming that it has added to mysql that is not removed by the uninstall command you used. please back up before proceeding

1) Install phpmyadmin as per
Code: [Select]
http://wiki.contribs.org/PHPMyAdminThe warning at the top of the page is new to me, I have never had an issue but that is just me.

2)Open phpmyadmin as per instructions and drop ejabber database.

If you can wait til tomorrow, I will try my own advice

Offline dylanh

  • 4
  • +0/-0
Re: eJabberD not working anymore
« Reply #4 on: August 25, 2008, 02:51:16 PM »
PHPadmin shows no db's called eJabberD - perhaps it is not usingf MySQL after all.

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: eJabberD not working anymore
« Reply #5 on: August 25, 2008, 05:28:40 PM »
Better raise a bug then.

Offline dylanh

  • 4
  • +0/-0
Re: eJabberD not working anymore
« Reply #6 on: August 25, 2008, 06:47:36 PM »
Ok - thanks for the help :-)

Dylan

wc808

Re: eJabberD not working anymore
« Reply #7 on: August 27, 2008, 12:06:51 AM »
PHPadmin shows no db's called eJabberD - perhaps it is not usingf MySQL after all.

Taking a quick look at the wiki, scroll to the section "Backup and Restore":
Quote
ejabberd has an internal specific Mnesia datatabase for users data.
When you backup your server with core backup program, ejabberd database is saved and backuped in file /home/e-smith/db/ejabberd/ejabberd.backup.

So yes, the contrib author is not using mysql to store the user accounts/data.

If you can't wait for the contrib author, you could try poke around and see if you can find where the mnesia database files are stored and see if there is a way to clear it.

good luck

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: eJabberD not working anymore
« Reply #8 on: August 28, 2008, 05:57:59 PM »
I found this link that sounds as if it is a similar problem, you may have to do some more hunting around.
http://www.ejabberd.im/node/50

In hindsight I'm glad I didn't try to install on test server, hate to start again....