[ejabberd] pbs with ejabberd svn 957

Badlop badlop at gmail.com
Wed Oct 17 02:17:18 MSD 2007


2007/10/16, jcbeylot <jcbeylot at gmail.com>:
> 1 - when i compile ejabberd svn 957 with
>
>  ./configure --prefix=/test
>  make
>  make install
>   i get
> ...install: cannot stat `epam': No such file or directory
>  make: *** [install] Error 1

I see the same error. I may be silly, but I 'solved' it the easy way :)

--- src/Makefile.in     (revisión: 957)
+++ src/Makefile.in     (copia de trabajo)
@@ -95,7 +95,6 @@
        install -m 644 *.app $(BEAMDIR)
        install -d $(SODIR)
        install -m 644 *.so $(SODIR)
-       install -m 750 epam $(SODIR)
        install -d $(MSGSDIR)
        install -m 644 msgs/*.msg $(MSGSDIR)
        install -d $(ETCDIR)


>  if i add option --enable-pam
>  ./configure --prefix=/test --enable-pam
>  make and make install are  ok

Yes, the files are copied.


> 2 - when i run ejabberd ( compiled with enable-pam) with
>
>  erl -pa /test/var/lib/ejabberd/ebin -sname ejabberd at anubis -s ejabberd
> -ejabberd config \"/test/etc/ejabberd/ejabberd
> .cfg\"
>
> I get this error :
>
>   application: ejabberd
>     exited: {bad_return,
>                 {{ejabberd_app,start,[normal,[]]},
>                  {'EXIT',
>                      {noproc,
>                          {gen_server,
>                              call,
>                              [ejabberd_hooks,
>                               {add,
>                                   ejabberd_ctl_process,
>                                   "localhost",
>                                   ejabberd_auth,
>
> ctl_process_get_registered,
>                                   50}]}}}}}
>     type: temporary
>
> Any help appreciated

I don't get this error. Maybe it is not related with the PAM auth
method? If you compile and install normally, does ejabberd start
correctly?

Also, you may want to use the 'sbin/ejabberdctl' start script, which
is included in ejabberd SVN, is already installed using 'make install'
and provides Start, Stop and other commands.


More information about the ejabberd mailing list