Segmentation Fault - Ubuntu 16 install

Bug #1912837 reported by Howard Canning
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Invalid
Undecided
Unassigned

Bug Description

Hi,
Trying to install OpenSRF 3.2.1 on Ubuntu 16.04.7 LTS but getting the error:
/usr/sbin/ejabberdctl: line 428: 1769 Segmentation fault $EXEC_CMD "$CMD"

...when I run:

ejabberdctl register router private.localhost opensrf

... as per install instruction at http://evergreen-ils.org/documentation/install/OpenSRF/README_3_2_1.html

Please advise.

Thanks

Line 428:
ctlexec()
{
    CONN_NAME=$1; shift
    CMD="`shell_escape \"$ERL\" \"$NAME\" \"$CONN_NAME\"` \
         -noinput -hidden $KERNEL_OPTS -s ejabberd_ctl \
         -extra `shell_escape \"$ERLANG_NODE\"` $EJABBERD_NO_TIMEOUT \
         `shell_escape \"$@\"`"
    $EXEC_CMD "$CMD"
}

Revision history for this message
Jason Stephenson (jstephenson) wrote :

Try it as follows:

sudo -u ejabberd ejabberdctl register router private.localhost "passord"

and so on.

Sometimes it works as the root user, sometimes you have to sudo as the ejabberd user. It's a "bug" in apparmor profiles.

Also, doing "apt update ; apt -y upgrade" sometimes helps.

FYI: I pretty much always use sudo to run the commands that the instructions say to run as the root user.

Revision history for this message
Howard Canning (hcanning2020) wrote :

Nice. That worked. Thanks!

tags: added: install-upgrade
Changed in evergreen:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.