fop2_server start

  1. 10 years ago
    Edited 10 years ago by seraf

    Hi. I did install fop2 ver 2.28 on debian 7.6.0. x64 and its works. But I have some promlems with shell:
    fop2 check:

    root@asterisk:/usr/src# /usr/local/fop2/fop2_server -test
    Flash Operator Panel 2 - License file fop2.lic not found.
    Running in Demo Mode
    Connection to manager OK!

    its seems good, but when i do that:

    # /usr/local/fop2/fop2_server start

    Server give me license allert and do not return to shell.
    http://localhost/panel/ is works ,
    http://localhost/panel/admin works too.
    I cant put fop to bg by ctrl+x, and for return to shell i must hit ctrl+c, and that is stoping service.
    Can i get my # back, or its ok?
    May I use fop like this:

    # /usr/local/fop2/fop2_server start  &
  2. admin

    25 Aug 2014 Administrator
    Edited 10 years ago by admin

    Hi Seraf,

    You are using wrong commands. For testing try:

    /usr/local/fop2/fop2_server --test

    Note the double dash, not a sinle dash in the above command.

    As for service startup, the start | stop | restart is to be passed to the fop2 init script, not to the fop2_server binary, so you have to use something like this in Centos/Redhat:

    service fop2 start service fop2 stop service fop2 restart

    Or this in Debian/Ubuntu:

    /etc/init.d/fop2 start /etc/init.d/fop2 stop /etc/init.d/fop2 restart

    Best regards,

  3. Edited 10 years ago by admin

    TY.

    service fop2 start

    works fine

or Sign Up to reply!