error with suEXE wrapper

Discussion in 'General' started by jackwilliams, May 31, 2012.

  1. jackwilliams

    jackwilliams New Member

    Hello,

    I am running the server with Litespeed with suPHP integrated over cPanel. When I check the PHP status or the httpd module status it is giving the following error.
    +++++++++
    # /usr/local/cpanel/bin/rebuild_phpconf --current
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Available handlers: cgi none
    DEFAULT PHP: 5
    PHP4 SAPI: none
    PHP5 SAPI: dso
    SUEXEC: enabled
    RUID2: not installed

    #httpd -M
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Warning: SuexecUserGroup directive requires SUEXEC wrapper.
    Loaded Modules:
    core_module (static)
    authn_file_module (static)
    authn_default_module (static)
    authz_host_module (static)
    +++++++++

    Litepseed is running with 4.1.12 enterprise edition. I couldnt find a possible solution for this issue.How to fix this issue?
  2. webizen

    webizen New Member

    run EasyApache and make sure suPHP is enabled
  3. jackwilliams

    jackwilliams New Member

    Hello,

    I have compiles easy apache, still the module is not enable. Easy apache shows that the module is compiled already in the server how ever the module is missing.

    +++++++
    [/usr/local/apache/bin]# ll
    total 1672
    drwxr-xr-x 2 root root 4096 May 22 17:07 ./
    drwxr-xr-x 19 root root 4096 May 22 17:07 ../
    -rwxr-xr-x 1 root root 69557 May 22 17:07 ab*
    -rwxr-xr-x 1 root root 3121 May 22 17:07 apachectl*
    -rwxr-xr-x 1 root root 7012 May 22 17:07 apr-1-config*
    -rwxr-xr-x 1 root root 6484 May 22 17:07 apu-1-config*
    -rwxr-xr-x 1 root root 22658 May 22 17:07 apxs*
    -rwxr-xr-x 1 root root 8161 May 22 17:07 checkgid*
    -rwxr-xr-x 1 root root 8931 May 22 17:07 dbmmanage*
    -rw-r--r-- 1 root root 977 May 22 17:07 envvars
    -rw-r--r-- 1 root root 977 May 22 17:07 envvars-std
    -rwxr-xr-x 1 root root 25984 May 22 17:07 htcacheclean*
    -rwxr-xr-x 1 root root 20547 May 22 17:07 htdbm*
    -rwxr-xr-x 1 root root 15003 May 22 17:07 htdigest*
    -rwxr-xr-x 1 root root 19969 May 22 17:07 htpasswd*
    -rwxr-xr-x 1 root root 1427 May 31 22:29 httpd*
    -rwxr-xr-x 1 root root 1383659 May 22 17:07 httpd_ls_bak*
    -rwxr-xr-x 1 root root 13570 May 22 17:07 httxt2dbm*
    -rwxr-xr-x 1 root root 14877 May 22 17:07 logresolve*
    -rwxr-xr-x 1 root root 14784 May 22 17:07 rotatelogs*
    ++++++++++

    Here the module "suexe" should be there. I have recompiled easy Apache 5 times. Still it did get this module compiles in the server. What can i do?
  4. webizen

    webizen New Member

    WHM => Service Configuration => Configure PHP and SuExec => Apache suEXEC = On.

Share This Page