1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

How do I can disable chroot?

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by metalalisa, Mar 24, 2011.

  1. metalalisa

    metalalisa Basic Pleskian

    18
    85%
    Joined:
    Dec 9, 2010
    Messages:
    61
    Likes Received:
    0
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,564
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    You can use Event Manager for 'Website created' event with corresponding command.
     
  3. metalalisa

    metalalisa Basic Pleskian

    18
    85%
    Joined:
    Dec 9, 2010
    Messages:
    61
    Likes Received:
    0
    There is no easier way?

    I administrate another 4 Plesk Panels (3 are 10.x) and they don't create chroot-environment with new domain.

    Why? Can you explain?
     
  4. metalalisa

    metalalisa Basic Pleskian

    18
    85%
    Joined:
    Dec 9, 2010
    Messages:
    61
    Likes Received:
    0
    I've created new event handler, but it is not being triggered..

    Event:
    Website created

    Priority:
    lowest(0)

    User:
    root

    command:
    /usr/local/psa/admin/sbin/chrootmng --remove --source=/var/www/vhosts/chroot --target=all


    Where can I see error message or something else, that can tell me, why this handler is not being executed?
     
  5. metalalisa

    metalalisa Basic Pleskian

    18
    85%
    Joined:
    Dec 9, 2010
    Messages:
    61
    Likes Received:
    0
    The solution was to change priority to highest(100).
     
  6. metalalisa

    metalalisa Basic Pleskian

    18
    85%
    Joined:
    Dec 9, 2010
    Messages:
    61
    Likes Received:
    0
    Code:
    Value 'all' for option 'target' is not supported anymore
    
    what should I use instead?
     
Loading...