Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  ejabberd restart takes alot of time

Guest
Posted: Tue Mar 23, 2010 1:27 am Reply with quote
Guest
Hi

I'm using ejabberd 2.1.2 on ubuntu.
I needed to add a vhost so I edited the ejabberd.cfg file and stopped ejabberd with:
sudo ejabberdctl stop
ejabberdctl status showed that ejabberd is still running so I killed the process.
I cleared the log folder so I can see new issues.
Then I started ejabberd but status says:
The node ejabberd@localhost is starting with status: started
ejabberd is not running in that node
Check for error messages: //var/log/ejabberd/ejabberd.log

In the log folder I only saw erlang.log that contained no errors.
After several mintues ejabberd run properly without me doing anything.

Is it possible that it took a long time because ejabberd needed to repair mnesia tables?
Is there a way to tell that ejabberd is doing this?
How can I stop ejabberd without needing long restart time?

After ejabberd was running I checked the ejabberd.log and saw an error for each vhost
but I don't think it is related to the long starting time:

=CRASH REPORT==== 23-Mar-2010::01:05:11 ===
Guest
Posted: Tue Mar 23, 2010 2:34 am Reply with quote
Guest
node_default doesn't exist anymore. Use node_flat or node_hometree instead. There's stuff in the release notes for 2.1 on this.

-bjc

On 22-Mar-2010, at 21:27, Pablo Platt wrote:
Quote:
Hi

I'm using ejabberd 2.1.2 on ubuntu.
I needed to add a vhost so I edited the ejabberd.cfg file and stopped ejabberd with:
sudo ejabberdctl stop
ejabberdctl status showed that ejabberd is still running so I killed the process.
I cleared the log folder so I can see new issues.
Then I started ejabberd but status says:
The node ejabberd@localhost is starting with status: started
ejabberd is not running in that node
Check for error messages: //var/log/ejabberd/ejabberd.log

In the log folder I only saw erlang.log that contained no errors.
After several mintues ejabberd run properly without me doing anything.

Is it possible that it took a long time because ejabberd needed to repair mnesia tables?
Is there a way to tell that ejabberd is doing this?
How can I stop ejabberd without needing long restart time?

After ejabberd was running I checked the ejabberd.log and saw an error for each vhost
but I don't think it is related to the long starting time:

=CRASH REPORT==== 23-Mar-2010::01:05:11 ===
Guest
Posted: Tue Mar 23, 2010 12:49 pm Reply with quote
Guest
Brain,
Thank I'll change to node_flat.

What about the long start time?
I don't think it is related to the node_default config option.

Thanks



From: Brian Cully <bcully@gmail.com>
To: ejabberd@jabber.ru
Sent: Tue, March 23, 2010 4:34:03 AM
Subject: Re: [ejabberd] ejabberd restart takes alot of time

node_default doesn't exist anymore. Use node_flat or node_hometree instead. There's stuff in the release notes for 2.1 on this.

-bjc

On 22-Mar-2010, at 21:27, Pablo Platt wrote:
Quote:
Hi

I'm using ejabberd 2.1.2 on ubuntu.
I needed to add a vhost so I edited the ejabberd.cfg file and stopped ejabberd with:
sudo ejabberdctl stop
ejabberdctl status showed that ejabberd is still running so I killed the process.
I cleared the log folder so I can see new issues.
Then I started ejabberd but status says:
The node ejabberd@localhost is starting with status: started
ejabberd is not running in that node
Check for error messages: //var/log/ejabberd/ejabberd.log

In the log folder I only saw erlang.log that contained no errors.
After several mintues ejabberd run properly without me doing anything.

Is it possible that it took a long time because ejabberd needed to repair mnesia tables?
Is there a way to tell that ejabberd is doing this?
How can I stop ejabberd without needing long restart time?

After ejabberd was running I checked the ejabberd.log and saw an error for each vhost
but I don't think it is related to the long starting time:

=CRASH REPORT==== 23-Mar-2010::01:05:11 ===
ponik
Posted: Mon Aug 29, 2011 10:17 am Reply with quote
Joined: 29 Aug 2011 Posts: 4
Even I too have faced this; in the log folder I just saw erlang.log that contained no errors.
But after quite a few minutes ejabberd run as it should be devoid of me doing anything. In any case let me remind you that node_default doesn't subsist any longer. I'm so much worried when some security credentials problems happens like this. Use can use node_flat or node_hometree in its place.
View user's profile Send private message
wuji
Posted: Tue Sep 11, 2012 1:47 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
JCPenney and Chrysler, though, decided not to buy airtime during the episode. episode. designer replica *beep* episode. Wendy's decided not to advertise on "The Ellen Show" at all.A
has changed since the day that show first aired.JCPenney has tapped DeGeneres DeGeneres cheap authentic jordans DeGeneres as its spokeswoman and supported its decision even when One Million
a "pro-family advocacy" group, threatened to boycott the national retail chain for for [h3]cheap Ralph Lauren[/h3] for refusing to fire her.In 1996, a Gallup poll showed that the
approval rating for gay marriage was 27 percent. It is more than than [h4]discount designer *beep*[/h4] than 50 percent today.And there are now 34 shows featuring gay characters
leading and supporting roles -- not including reality TV -- compared to to cheap replica *beep* to only 11 shows in 1997.In the "20/20" interview, DeGeneres said she
willing to risk people knowing."I decided this was not going to be be [h4]cheap Ralph Lauren Polo[/h4] be something that I was going to live the rest of my
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum