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. issues starting service after suggested security changes

issues starting service after suggested security changes

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 45 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
    dolesec
    wrote on last edited by
    #1

    i run csf on and modified the tmp filesystem per recommendations ...

    csf was previously complaining about the following:

    • /tmp should be mounted as a separate filesystem with the noexec,nosuid options set
    • /var/tmp should either be symlinked to /tmp or mounted as a filesystem

    i followed the guide here which worked well on other non asterisk/fop2 systems but in doing so the fop2 service will no longer start nor can i seem to retrieve any meaningful info on the failure, before rolling back to the snapshot prior to the changes i thought someone may have some suggestions

    here are the changes i implemented:
    http://ptihosting.com/blog/it-blog/how- ... ec-nosuid/

    any thoughts ?

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

      The solution to your issue is listed in the FAQ: http://www.fop2.com/documentation-faq.php

      When I try to run fop2_server it does not do anything at all.

      fop2_server requires /tmp directory to allow execution. Some systems mount the /tmp directory with the noexec option for security reasons. In that case you need to create a special temp directory for FOP2 and modify the init script to export an environment variable so it uses that directory. So, you can create a temp directory:
      mkdir /usr/local/fop2/temp

      And then modify the init script by adding the highlighted line:
      case "$1" in
      start)
      echo -n "Starting Flash Operator Panel 2: "
      export PAR_GLOBAL_TMPDIR=/usr/local/fop2/temp
      daemon $DAEMON $OPTIONS

      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