no start file in ejabberd-16.08/bin

I followed this tutorial and downloaded ejabberd on Debian 8 with ARMv7 CPU but when I cd into the bin directory to start the server, it doesn't exist, this is the list of files in the bin directory: https://i.imgur.com/Z0ltdvY.png

How can I start the server?

I installed the 16.08 binary

I installed the 16.08 binary installer, and got this:

$ ls ejabberd-16.08/bin/
beam      child_setup  ejabberd.init     elixir  erl   erlexec  inet_gethost  postinstall.sh   start       start_clean.boot  stop
beam.smp  ejabberdctl  ejabberd.service  epmd    erlc  iex      mix           preuninstall.sh  start.boot  status
~ 

You are lacking those scripts:

postinstall.sh
start
stop
preuninstall.sh
status

Maybe they are created during the install, not just copied, but it found some problem in your system. Check the install log file, maybe it gives some clue. Mine shows all those files:

Unpacking /home/badlop/ejabberd-16.08/bin/status
Unpacking /home/badlop/ejabberd-16.08/bin/start
Unpacking /home/badlop/ejabberd-16.08/bin/stop

By the way, the 'start' script contains those lines:

#!/bin/sh
ROOTDIR=/home/badlop/ejabberd-16.08
$ROOTDIR/bin/ejabberdctl start
$ROOTDIR/bin/ejabberdctl started
[ $? -eq 0 ] &|| {
    page=error.html
}

# List of possible X11 HTTP browser
LIST_XBROWSERS="firefox konqueror galeon mozilla opera www-browser"
# List of possible Console HTTP browser
LIST_CBROWSERS="lynx links w3m"

OS=`uname -s | tr A-Z a-z`

case "$OS" in
    darwin)
	/usr/bin/open $ROOTDIR/doc/$page
	;;
    linux|*bsd)
	if [ "$DISPLAY" != "" ] 
	    then	
	    for browser in $LIST_XBROWSERS
	      do
	      RUN=`which $browser`
	      if [ $? -eq 0 ]
		  then	
		  $RUN $ROOTDIR/doc/$page >/dev/null 2>&1 &
		  break
	      fi
	    done
	else
	    for browser in $LIST_CBROWSERS
	      do
	      RUN=`which $browser 2> /dev/null`
	      if [ $? -eq 0 ]
		  then
		  $RUN $ROOTDIR/doc/$page
		  break
	      fi
	    done
	fi
	;;
esac
Syndicate content