The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Operation not permitted

Discussion in 'Discusión en Español' started by migarcia, Jun 17, 2014.

  1. migarcia

    migarcia Well-Known Member

    Joined:
    Nov 16, 2012
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Barcelona
    cPanel Access Level:
    Website Owner
    Hola, en el mensaje de actualizacion de hoy, he recibido un monton de lineas dando distintos errores de este tipo; sabeis por donde puedo buscar?

    Mensajes:
    Code:
    Unable to lock dir /var/named/chroot/proc/sys: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 166. 
    Unable to lock dir /var/named/chroot/proc/sys/kernel: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 166. 
    lchown /var/named/chroot/proc/sys/kernel/sched_child_runs_first: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/sched_rt_period_us: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/sched_rt_runtime_us: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/panic: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/core_uses_pid: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/core_pattern: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/core_pipe_limit: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/tainted: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/real-root-dev: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/print-fatal-signals: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/ctrl-alt-del: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/hotplug: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/sg-big-buff: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/cad_pid: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    lchown /var/named/chroot/proc/sys/kernel/threads-max: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 145. 
    Unable to lock dir /var/named/chroot/proc/sys/kernel/random: Operation not permitted at /usr/local/cpanel/Cpanel/SafetyBits.pm line 166. 
    ...
    ...
    ...
    algunos cientos
    S.O.: CENTOS 5.10 x86_64 vmware – vps16771 WHM 11.42.1 (build 20)
    CPanel 11.42.1.20
     
    #1 migarcia, Jun 17, 2014
    Last edited by a moderator: Jun 17, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Check to see if Named is running in a chroot environment with a command such as:

    Code:
    ps aux|grep named
    If it is, you will see it running like this:

    Code:
    /usr/sbin/named -u named -t /var/named/chroot
    You should not run Named in a chroot environment. If it's running in a chroot environment, you can modify the following file:

    Code:
    /etc/sysconfig/named
    Ensure the "ROOTDIR="/var/named/chroot" entry is commented out, save the file, and then restart Named.

    Thank you.
     
  3. migarcia

    migarcia Well-Known Member

    Joined:
    Nov 16, 2012
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Barcelona
    cPanel Access Level:
    Website Owner
    Only I have to do that, to make the change to"unchroot"?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. migarcia

    migarcia Well-Known Member

    Joined:
    Nov 16, 2012
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Barcelona
    cPanel Access Level:
    Website Owner
    Mis conocimientos sobre chroot son cero, y quería saber si podía seguir los pasos que me indica, y con eso dejare Name fuera de chroot, sin ningún tipo de complicacion. Gracias
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket if you require assistance with this. Our Spanish speaking analysts will be happy to assist you. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.

    Translation:

    Siéntase libre para abrir un ticket de soporte si necesita ayuda con esto. Nuestros analistas de habla hispana estarán encantados de ayudarle. Puede publicar el número de ticket aquí para que podamos actualizar este hilo con el resultado.

    Gracias.
     
  7. migarcia

    migarcia Well-Known Member

    Joined:
    Nov 16, 2012
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Barcelona
    cPanel Access Level:
    Website Owner
    Abierto ticket 5130751
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, this issue was resolved after uninstalling bind-chroot and manually removing some leftover symbolic links from it's installation.

    Thank you.

    Translation:

    Para actualizar, este problema se resolvió después de desinstalar bind-chroot y eliminar manualmente algunos vínculos restos simbólicos de él somos instalación.

    Gracias.
     

Share This Page