FOP2 suddenly stopped working

  1. 13 years ago

    Hi FOP2 has been working great for months then today suddenly it stops, ran yum updates and freepbx updates (Using Elastix 2)

    Getting this:
    [root@elastixv2 fop2]# /usr/local/fop2/fop2_server --test
    /usr/local/fop2/autoconfig-buttons-freepbx.sh: line 15: [: too many arguments
    Connection to manager OK!

    but its saying that its connection to the manager is OK

    and this

    [root@elastixv2 fop2]# netstat -lnp | grep 444
    tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN 3044/perl

    which i fear is the problem as 4445 should be fop2 not perl but if that is the case how did this change happen and how can i correct it? this happened before any updates were done too

    Thanks
    Robert

  2. admin

    5 Apr 2011 Administrator

    The update re-enabled or changed fop1 port back to 4445, preventing FOP2 from starting. You can disable fop1 by setting

    FOPRUN=false

    in /etc/amportal.conf . So it does not start on the next reboot. Then stop the current running fop1:

    /usr/sbin/amportal stop_fop

    and start fop2

    service fop2 start
  3. Thanks,

    I had already managed to set the FOPRUN=false but had not stopped it afterwards!!!

    So that fixed the issue

    :D

or Sign Up to reply!