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.

quote manager

Discussion in 'General Discussion' started by snaaps, Jul 26, 2005.

  1. snaaps

    snaaps Member

    Joined:
    Oct 8, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Hello I have a big problem on the server.
    If I look in a account off my costumer than cpanel says that he uses 23MB diskspace.

    But when I look into his files he used more than 250MB of diskspace.
    All the files are in the public_html/files/05-07-05/ directory.
    all the files are in php.

    I Am ussing Fedora core 2
    WHM 10.1.0 cPanel 10.2.0-S83
     
  2. RavenSoul_

    RavenSoul_ Well-Known Member

    Joined:
    Nov 2, 2004
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Belgium
    Probably owned by another user. What does "ls -al" says you?
     
  3. snaaps

    snaaps Member

    Joined:
    Oct 8, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    the files are owend off the same user. This are search files for his search engine.

    what do you mean about is-al?
     
  4. RavenSoul_

    RavenSoul_ Well-Known Member

    Joined:
    Nov 2, 2004
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Belgium
    the command for listing files in linux :rolleyes:
     
  5. snaaps

    snaaps Member

    Joined:
    Oct 8, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    yes,

    if I go to cd /home/user [enter]
    than type is -al [enter]

    I see this line:

    drwxr-x--- 9 username nobody 4096 jul 22 12:53 public_html/

    Is this correct that he says nobody?
    I checked also other accounts but all the same.

    I checked other servers (DA) and here is it good.
    username username

    what to do?
     
    #5 snaaps, Jul 26, 2005
    Last edited: Jul 26, 2005
  6. RavenSoul_

    RavenSoul_ Well-Known Member

    Joined:
    Nov 2, 2004
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Belgium
    That's normal on cPanel servers. Don't worry about that...

    Do:

    Code:
    cd /home/theuser/public_html/files/05-07-05/
    ls -al
    List it here...
     
    #6 RavenSoul_, Jul 26, 2005
    Last edited: Jul 26, 2005
  7. snaaps

    snaaps Member

    Joined:
    Oct 8, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I Get this:
    root@laspalmas [~/public_html]# ls -al

    total 12
    drwxr-xr-x 3 root root 4096 Nov 21 2004 ./
    drwxr-x--- 16 root root 4096 Jul 26 02:54 ../
    drwxr-xr-x 2 root root 4096 Sep 30 2004 cgi-bin/
    -rw-r--r-- 1 root root 0 Nov 21 2004 .htaccess

    Or:
    root@laspalmas [/home/user/public_html]# ls -al
    total 60
    drwxr-x--- 9 user nobody 4096 Jul 22 12:53 ./
    drwx--x--x 13 user user 4096 Jul 26 15:28 ../
    drwxr-xr-x 2 user user 4096 Jul 5 22:08 cgi-bin/
    drwxr-xr-x 2 user user 4096 Jul 15 21:03 classes/
    -rw-r--r-- 1 user user 389 Jul 15 21:03 config.php
    -rw-r--r-- 1 user user 1406 Jul 22 12:53 favicon.ico
    drwxrwxrwx 9 user user 4096 Jul 26 00:00 files/
    -rw-r--r-- 1 user user 368 Jul 11 22:09 .htaccess
    drwxr-xr-x 2 user user 4096 Jul 22 16:22 images/
    drwxr-xr-x 2 user user 4096 Jun 29 22:27 img/
    -rw-r--r-- 1 user user 131 Jul 11 22:09 index.php
    drwxr-xr-x 3 user user 4096 Jun 29 21:50 promobox/
    -rw-r--r-- 1 user user 0 Jul 16 14:36 robots.txt
    -rw-r--r-- 1 user user 847 Jul 11 22:09 scan.php
    -rw-r--r-- 1 user user 1247 Jul 11 22:09 search.php
    drwxr-xr-x 2 user user 4096 Jul 24 11:35 templates/
     
    #7 snaaps, Jul 26, 2005
    Last edited: Jul 26, 2005
  8. RavenSoul_

    RavenSoul_ Well-Known Member

    Joined:
    Nov 2, 2004
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Belgium
    Please post the output of:

    Code:
    cd /home/theuser/public_html/files/05-07-05/
    ls -al
     
  9. snaaps

    snaaps Member

    Joined:
    Oct 8, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    root@laspalmas [/home/jouwstij/public_html/files]# ls -al
    total 720
    drwxrwxrwx 9 jouwstij jouwstij 4096 Jul 26 00:00 ./
    drwxr-x--- 9 jouwstij nobody 4096 Jul 22 12:53 ../
    drwxrwxrwx 3 nobody nobody 69632 Jul 20 23:56 05-07-20/
    drwxrwxrwx 3 nobody nobody 69632 Jul 21 23:59 05-07-21/
    drwxrwxrwx 3 nobody nobody 61440 Jul 22 23:59 05-07-22/
    drwxrwxrwx 3 nobody nobody 40960 Jul 23 23:54 05-07-23/
    drwxrwxrwx 3 nobody nobody 81920 Jul 24 23:59 05-07-24/
    drwxrwxrwx 3 nobody nobody 151552 Jul 25 23:59 05-07-25/
    drwxrwxrwx 3 nobody nobody 118784 Jul 26 15:46 05-07-26/
    -rw-r--r-- 1 nobody nobody 20 Jul 26 00:00 dailycron.php
    -rwxrwxrwx 1 jouwstij jouwstij 575 Jul 26 15:46 lastsearch.txt*
    -rwxrwxrwx 1 jouwstij jouwstij 0 Jun 29 22:31 leesmij.txt*
    -rw-r--r-- 1 nobody nobody 6361 Jul 11 22:09 toplist_Jul.php
    -rwxrwxrwx 1 jouwstij jouwstij 64901 Jun 30 23:59 toplist_Jun.php*
    -rwxrwxrwx 1 jouwstij jouwstij 23331 Jun 29 22:34 topsearch.php*
     
  10. snaaps

    snaaps Member

    Joined:
    Oct 8, 2004
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    proberly this files are maked by php and give the username nobody?
    because php is running as nobody?

    I have this same problem white DA, here gives it the uid apache.

    Proberly a problem white php suexec or somthink?
     
    #10 snaaps, Jul 26, 2005
    Last edited: Jul 26, 2005
  11. RavenSoul_

    RavenSoul_ Well-Known Member

    Joined:
    Nov 2, 2004
    Messages:
    95
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Belgium
    Code:
    chown -R jouwstij /home/jouwstij/public_html
    (to change all files and dirs to the user jouwstij)
    
    This should fix the issue. Maybe you could run a cronjob once a day to do that for you?
     
Loading...

Share This Page