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.

File Manager error in cPanel 11

Discussion in 'General Discussion' started by pctech4u, Jul 26, 2007.

  1. pctech4u

    pctech4u Member

    Joined:
    Jan 9, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I wonder if anyone can help with this -

    I have a Cpanel server with many accounts on. When every anyone tries to use the new file manager, they get an error message (see attached file)

    Any idea's? The old File Manager works ok...

    Cheers
     

    Attached Files:

  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Do you manage the server?

    If so, what are the permissions set on /usr/bin/df ?
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Also be sure to check /usr/local/cpanel/logs/error_log
     
  4. pctech4u

    pctech4u Member

    Joined:
    Jan 9, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Sorry for the reply in getting back - for some reason the forum isn't e-mailing me to notify there has bee replie(s).

    kenneth - /usr/bin/df does not exist on the server (I have root access). /bin/df exists though, with permissions:

    # ls -l /bin/df
    -rwx------ 1 root root 32596 Aug 13 2006 /bin/df*

    nick - the error I'm getting is:

    Code:
    (internal death) Mon Aug  6 13:23:55 2007 [31540] error: open3: exec of df -P -k /home/username failed at /usr/local/cpanel/Cpanel/SafeRun.pm line 130
    Mon Aug  6 13:23:55 2007 info [Cpanel::Filesys]: Unable to retrieve disk usage information.  at /usr/local/cpanel/Cpanel/Filesys.pm line 34
            Cpanel::Filesys::disk_space_check('/home/username') called at cpanel.pl line 771
    
    This happens for all users. When I run the command "df -P -k /home/username" is does come back with a result:

    Code:
    [~]# df -P -k /home/username 
    Filesystem         1024-blocks      Used Available Capacity Mounted on
    /dev/md0             152696620  25003684 119936360      18% /
    Many thanks

    **edit** just fixed it by changing permissions to 755 on /bin/df

    James
     
    #4 pctech4u, Aug 6, 2007
    Last edited: Aug 6, 2007
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Yes, I meant /bin/df, sorry about that. As you already surmised, that command must be executable by anyone in order for the File Manager to function properly.
     
  6. pctech4u

    pctech4u Member

    Joined:
    Jan 9, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Many thanks again :)
     
Loading...

Share This Page