FOP2 new install wont start

  1. 12 years ago

    Hi,

    Just installed FOP2 on a new Asterisknow box with freepbx.
    However the service wont start

    /usr/local/fop2/fop2_server --test gives the following error:

    HTTP/Date.pm did not return a true value at /loader/0x977e7ec/LWP/UserAgent.pm line 15.
    BEGIN failed--compilation aborted at /loader/0x977e7ec/LWP/UserAgent.pm line 15.
    Compilation failed in require at script/fop2_server.pl line 2254.
    BEGIN failed--compilation aborted at script/fop2_server.pl line 2254.

    Am I missing something ?

  2. admin

    22 Oct 2012 Administrator

    I have never seen this error before, it seems strange. Perhaps you can install the HTTP::Date perl module by hand, the package on centos is:

    perl-libwww-perl

    So something like

    yum install perl-libwww-perl

    will work.

    Best regards,

  3. No, Ive never seen it either and we have installed quite a few of these now.

    perl-libwww-perl is already installed.

    Any other ideas?

  4. by the way, the previous version, 2.10 works perfectly on that system
    Ive just installed the older version that we know works on our other client's PBXs and that starts perfectly!

  5. admin

    22 Oct 2012 Administrator

    What .tgz did you download and tried on that system?

  6. I think it was just fop2.tar.gz, I grabbed the tar file from a different PBX which I have that works.

    its definitely version 2.10 anyway.

    Strange, because this one is exactly the same spec as others we out there which run 2.26 fine
    its running asterisknow, on centos 5.8, freepbx 2.9 and asterisk 1.8.15

  7. Managed to resolve it thanks to one of our engineers!

    there is something in /tmp/par-root which is preventing fop2 from starting
    so it must be something which has been created on the fly that fop2 is trying to run from that directory

    we removed that directory, recreated an empty one, and it started straightaway.

or Sign Up to reply!