[ejabberd] start and stop ejabberd

kaan kaan kaanvlbg at hotmail.com
Fri Aug 17 02:02:08 MSD 2007

hi ,
at first thx for the quicky answer,
and then my problems:

i can't stop ejabberd from the web interface, when i click to stop then it does nothing it writes only this line into the logfile
I(:ejabberd_http:202) : ({tlssock,#Port,#Port}) http query: 'POST' /admin/node/ejabberd at myhost.name/

and the second problem is with the script, i add it into /etc/init.d and change this to lines:

#ROOTDIR=`(cd "$base"; echo $PWD)`
i installed ejabberd from source my log and config file is in /etc/ejabberd because the src dir. is in /usr/local/src/ejabberd

and with which option i stop ejabberd?

when i execute it then become something like this.

{error_logger,{{2007,8,16},{23,52,27}},"Can't set short node name!\nPlease check your configuration\n",[]}
{error_logger,{{2007,8,16},{23,52,27}},crash_report,[[{pid,},{registered_name,net_kernel},{error_info,{error,badarg}},{initial_call,{gen,init_it,[gen_server,,,{local,net_kernel},net_kernel,{'ejabberdctl at myhost.name',shortnames,15000},[]]}},{ancestors,[net_sup,kernel_sup,]},{messages,[]},{links,[]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,610},{stack_size,21},{reductions,191}],[]]}

and the last one, i use to storage the infos mysql db, why i have in /etc/ejabber a directory like Mnesia.ejabberd at myhost.com
and the database/ejabberd is empty?

/etc/ejabberd looks like:

drwxr-xr-x   3 root   jabber   4096 Aug 10 12:47 @prefix@/
drwxr-xr-x   2 root   jabber   4096 Aug 16 23:17 Mnesia.ejabberd at myhost.com
-rwxrwxrwx   1 root   jabber   8614 Aug 10 19:00 auth.php*
drwxr-xr-x   3 root   root     4096 Aug 11 12:24 database/
-rw-r--r--   1 root   root     6489 Aug 11 00:46 ejabberd.cfg
-rw-r--r--   1 root   jabber 512075 Aug 16 23:48 ejabberd.log
-rw-r-----   1 root   jabber 250457 Aug 11 12:24 erl_crash.dump
drw-r-xr-x   4 root   jabber   4096 Aug 10 03:30 muclogs/
-rw-r-----   1 root   jabber   2140 Aug 10 20:50 server.pem

> Date: Thu, 16 Aug 2007 22:16:05 +0200
> From: badlop at gmail.com
> To: ejabberd at jabber.ru
> Subject: Re: [ejabberd] start and stop ejabberd
> 2007/8/16, kaan kaan :
> > but the question now is how to stop it?
> > i read killing this service can damage the database?
> >  can anybody say how to use ejabberctl? can i stop the service with this file? whenn yes how i use it? where the file must stay?
> This is a tricky solution: if you can access the web interface: go to
> Nodes -> your node -> click in 'Stop'
> A better solution:
> I found today this script which will be included in the next ejabberd version:
> http://svn.process-one.net/ejabberd/trunk/tools/ejabberdctl
> If you edit some variables to match your system, you can use it to
> start and stop ejabberd.
> I only had to change this:
> base=
> ROOTDIR=/var/lib/ejabberd
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

Testen Sie Live.com - die schnelle, personalisierte Homepage, über die Sie auf alle für Sie relevanten Inhalte zentral zugreifen können.

More information about the ejabberd mailing list