Re: [Server-devel] Possible Jabber Problem on Server

2008-05-13 Thread John Watlington

I was very explicit in my instructions:
1) Remove the package.
2) Remove the database.
3) Install the package.

Installing the package probably rebuilds the database.
If you re-install without removing the old database, the
re-install seems to re-use the old database.

John

On May 12, 2008, at 1:55 PM, Andrew Berkowitz wrote:

 Should ejabberd automatically create a new database if it does not  
 find one?

 I had already tried deleting the files. But then ejabberd wouldn't  
 start.

 Andrew Berkowitz
 [EMAIL PROTECTED]
 NYCBoE: 718-935-5471
 cell: 917-613-3941

 On May 8, 2008, at 5:15 PM, Andrew Berkowitz wrote:

  Or, how do I just wipe out the mnesia database and start over?
 
 I believe
 rm -r /var/lib/ejabberd/*


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Possible Jabber Problem on Server

2008-05-13 Thread Berkowitz Andrew (Project Connect)
John,
 
Maybe you misinterpreted my question. 
 
I was asking if there was a way to wipe out the database and create a new one 
without reinstalling. Obviously reinstalling ejabberd creates a new database. 
 
Martin had suggested that we can just wipe out the database without 
reinstalling the package. 
 
So back to the question: Can the database be wiped out and recreated without 
reinstalling?
 
Thank you
 
Andrew Berkowitz
 
---
 I was very explicit in my instructions:
 1) Remove the package.
 2) Remove the database.
 3) Install the package.


___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Possible Jabber Problem on Server

2008-05-13 Thread Martin Langhoff
On Wed, May 14, 2008 at 5:36 AM, Berkowitz Andrew (Project Connect)
[EMAIL PROTECTED] wrote:
  Martin had suggested that we can just wipe out the database without 
 reinstalling the package.

  So back to the question: Can the database be wiped out and recreated without 
 reinstalling?

We haven't tested it :-/  (it all depends on exactly what triggers an
empty DB setup).

OTOH, we know that uninstalling/reinstalling the rpm does the trick
reliably (so it is better than my earlier suggestion). It will remove
the xs-pkgs package, but that won't cause any short-term problem.
Reinstall it as well just in case for better long term behaviour ;-)

cheers,


m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel