New to All of thes

I just installed jabber on a slackware server my error is this
invalid return value from ejabberd_app:start(normal,[]) -> {'EXIT',[\"syntax error

before: \",[\"']'\"]]}"
Is ther something I missed in the config file or is this syntax error in erlang

Thanks for your help

It's probably a syntax mist

It's probably a syntax mistake you made when modifying ejabberd.cfg. At the beginning those errors are quite common ;) . Make sure to read all error messages, since probably one of them will tell you the line where the error was reported.

It seems you are having a syntax error at the end of an Erlang list.

  • A good Erlang list: [thing1, thing2, thing3]
  • But you may have something like: [thing1, thing2, thing3,] Notice the comma (,) at the end of the last element. Remove it.
Similar error is normally done with tuples:
  • A good Erlang tuple: {thing1, thing2, thing3}
  • But you may have something like: {thing1, thing2, thing3,} Notice the comma (,) at the end of the last element. Remove it.

Other things you can try:

  • Compare your ejabberd.cfg with ejabberd.cfg.example
  • Read ejabberd.cfg* files using a text editor with syntax highlining (SciTE, gVim, Emacs...) that supports Erlang, this usually helps finding syntax errors. And probably you need to add '.erl' to the filename so the editor knows it's an Erlang file.

If you can't find the error post here the changes you made on ejaberd.cfg and we'll try again.

Thank-you I just found the co

Thank-you I just found the comma sometimes you have to walk away for a day or two then you see the error :-)

Syndicate content