Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. [SOLVED] Fop2 Don't start

[SOLVED] Fop2 Don't start

Scheduled Pinned Locked Moved Support
13 Posts 2 Posters 222 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    D
    dulloa
    wrote on last edited by
    #1

    Hi! guys I'm trying to find a solution to my problem:

    I tried to install and configure Fop2, but I can not start the services:
    when I start the service, the script does not give any response..

    root@hosting [~]# /usr/local/fop2/fop2_server
    root@hosting [~]# /usr/local/fop2/fop2_server -v
    root@hosting [~]# /usr/local/fop2/fop2_server -X 15
    root@hosting [~]# service fop2 start
    Starting Flash Operator Panel 2:                           [FAILED]
    root@hosting [~]# /etc/init.d/fop2 start
    Starting Flash Operator Panel 2:                           [FAILED]
    

    Info:
    CentOS 5 64bits with CPanel
    Asterisk 1.6
    FreePBX 2.8.1

    root@hosting [/usr/local/fop2]# uname -a

    root@hosting [/usr/local/fop2]
    Linux hosting.xxxxxx.xx 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    

    root@hosting [/usr/local/fop2]# /lib/libc.so.6

    GNU C Library stable release version 2.5, by Roland McGrath et al.
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-50).
    Compiled on a Linux 2.6.9 system on 2011-04-26.
    Available extensions:
            The C stubs add-on version 2.1.2.
            crypt add-on version 2.1 by Michael Glad and others
            GNU Libidn by Simon Josefsson
            GNU libio by Per Bothner
            NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
            Native POSIX Threads Library by Ulrich Drepper et al
            BIND-8.2.3-T5B
            RT using linux kernel aio
    Thread-local storage support included.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/libc/bugs.html>.
    

    root@hosting [/usr/local/fop2]# /lib64/libc.so.6

    GNU C Library stable release version 2.5, by Roland McGrath et al.
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    Compiled by GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-50).
    Compiled on a Linux 2.6.9 system on 2011-04-26.
    Available extensions:
            The C stubs add-on version 2.1.2.
            crypt add-on version 2.1 by Michael Glad and others
            GNU Libidn by Simon Josefsson
            GNU libio by Per Bothner
            NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
            Native POSIX Threads Library by Ulrich Drepper et al
            BIND-8.2.3-T5B
            RT using linux kernel aio
    Thread-local storage support included.
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/libc/bugs.html>.
    

    I hope your help, and to purchase a license and even I can not use

    Best regards

    David Ulloa

    [SOLUTION]

    this script use a tmp folder with permisions to exec by default /tmp
    in my case, I have CPANEL, and by default does not stop running scripts in the / tmp

    then...

    it is necessary to create a tmp directory..

    # mkdir /usr/local/fop2/tmp
    

    and set a new tmp folder

    # export PAR_GLOBAL_TMPDIR=/usr/local/fop2/tmp 
    

    edit a init script

    nano /etc/init.d/fop2

    case "$1" in
      start)
            echo -n "Starting Flash Operator Panel 2: "
    
            # Here set a new tmp folder
            export PAR_GLOBAL_TMPDIR=/usr/local/fop2/tmp
    
            daemon $DAEMON $OPTIONS
            RETVAL=$?
            echo
            [ $RETVAL -eq 0 ] && touch /var/lock/subsys/fop2_server
            ;;
    stop)
    

    and now,

    root@hosting [/usr/local/fop2]# ./fop2_server -X 3

    ** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
    ** MANAGER CONNECTION Connected to localhost:5038 (Server 0)
    ....
    

    its working 🙂

    Regards!

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Are you running selinux? If so, disable it or look at its log to enable fop2_server run. You can try by typing in the command line:

      setenforce 0
      

      After that, try to start the server in debug mode:

      /usr/local/fop2/fop2_server -X 3
      

      After a few seconds, you should start seeing quite a lot of lines of output.. If you do not see anything, you might want to stop it with ctrl-C, then removing the /tmp/par-root directory and try again.

      Once you see some output, the service should start normally.

      Best regards,

      1 Reply Last reply
      0
      • D
        D
        dulloa
        wrote on last edited by
        #3

        root@hosting [~]# setenforce 0

        setenforce: SELinux is disabled
        

        start and .... shows nothing

        root@hosting [~]# /usr/local/fop2/fop2_server -X 3
        root@hosting [~]#
        
        1 Reply Last reply
        0
        • D
          D
          dulloa
          wrote on last edited by
          #4

          root@hosting [/usr/local/fop2]# setenforce 0

          setenforce: SELinux is disabled
          

          and try again:

          root@hosting [/tmp]# ls |grep root
          hsperfdata_root/
          par-root/
          pdk-root/
          root@hosting [/tmp]# rm -rf hsperfdata_root/ par-root/ pdk-root/
          root@hosting [/tmp]# /usr/local/fop2/fop2_server -X 3
          root@hosting [/tmp]# 
          root@hosting [/tmp]# ls |grep root
          par-root/
          root@hosting [/tmp]# ls par-root/cache-7e11dcc5170cf8f736ef8efe689ab86e/
          ./  ../  fop2_server*  libperl.so*
          root@hosting [/tmp]#
          
          1 Reply Last reply
          0
          • N
            N
            nicolas
            wrote on last edited by
            #5

            What happens when you run fop2_server -X 3 ? Do you stop it with ctrl-c ? Did you download the correct version for your distro? Are you running selinux ?

            1 Reply Last reply
            0
            • D
              D
              dulloa
              wrote on last edited by
              #6

              1.- when i run: ./fop2_server -X 3 dont show nothing (dont start)
              2.- SELinux is disabled
              3.- i have FOP for: Centos 5 - 64bits
              4.- sorry for my english

              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #7

                But when you run fop2_server it returns to the command prompt ? or it takes the terminal? How long did you wait if it is taking the terminal? A few seconds, A couple of minutes? Did you hit ctrl-c to stop it at any time? Did you download fop2 for centos5 64 bits?

                1 Reply Last reply
                0
                • D
                  D
                  dulloa
                  wrote on last edited by
                  #8

                  I recorded this video to show what happens [url:pkq7jnu7]http://www.vimeo.com/23538908[/url:pkq7jnu7]

                  best regards

                  1 Reply Last reply
                  0
                  • N
                    N
                    nicolas
                    wrote on last edited by
                    #9

                    Are you mounting /tmp with noexec ? Try to catch me on the live help, I am online now.

                    1 Reply Last reply
                    0
                    • D
                      D
                      dulloa
                      wrote on last edited by
                      #10

                      What time I can find you online?

                      1 Reply Last reply
                      0
                      • D
                        D
                        dulloa
                        wrote on last edited by
                        #11

                        /etc/fstab

                        LABEL=/                 /                       ext3    defaults,usrquota        1 1
                        LABEL=/tmp              /tmp                    ext3    defaults        1 2
                        LABEL=/home             /home                   ext3    defaults,usrquota        1 2
                        LABEL=/backup           /backup                 ext3    defaults        1 2
                        LABEL=/var              /var                    ext3    defaults,usrquota        1 2
                        LABEL=/usr              /usr                    ext3    defaults,usrquota        1 2
                        LABEL=/boot             /boot                   ext3    defaults        1 2
                        tmpfs                   /dev/shm                tmpfs   defaults        0 0
                        devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
                        sysfs                   /sys                    sysfs   defaults        0 0
                        proc                    /proc                   proc    defaults        0 0
                        LABEL=SWAP-sda6         swap                    swap    pri=0,defaults        0 0
                        /tmp             /var/tmp                    ext3    defaults,usrquota,bind,noauto        0 0
                        
                        1 Reply Last reply
                        0
                        • N
                          N
                          nicolas
                          wrote on last edited by
                          #12

                          I am not sure the options for the /tmp directory, please follow the directions from the FAQ number 14.

                          And try to catch me on the live help if you can provide access to your server.

                          1 Reply Last reply
                          0
                          • D
                            D
                            dulloa
                            wrote on last edited by
                            #13

                            solved! read the first post

                            1 Reply Last reply
                            0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            Powered by NodeBB Contributors
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups