Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
hi everyone, I can see my server running out of disk space dramatically, I think it is keeping copies of all e-mails and/or probably generating tons of error logs??? I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    15

    Exclamation New to Linux, please help


    hi everyone,

    I can see my server running out of disk space dramatically, I think it is keeping copies of all e-mails and/or probably generating tons of error logs??? I have had to buy 20 gigabytes of extra disk space lately in order to fix this only temporarily...

    df -a

    (root)tells me it has already used 73% of my disk space...

    df -a
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/vzfs 31457280 22679488 8777792 73% /
    proc 0 0 0 - /proc
    devpts 0 0 0 - /dev/pts

    it can't be!!! there is nothing on the server but a few html files and some optimized pictures in jpeg and gif format...nothing much.

    Up to this point, I would manage to do all basic things through the Plesk control panel but it seems like I can not fix this issue with it.

    how can I remove/delete whatever is taking all that space and prevent it later?
    I will owe you for life, let me know if you ever come down to cozumel, mexico.

    OS: Red Hat 9

  2. #2
    Linux User
    Join Date
    Aug 2006
    Location
    Croydon, PA
    Posts
    392
    Are you running apache on this box?
    Good Luck,
    Ski
    RHCT

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    15

    apache

    thanks. yes i am...

  4. #4
    Linux User
    Join Date
    Aug 2006
    Location
    Croydon, PA
    Posts
    392
    Check on the size of your logs.

    cd /var/log/httpd
    ll


    Ifound out if you don't rotate the logs, especially the error.log, they can grow to a huge size. Once my error.log was over 30G.
    Good Luck,
    Ski
    RHCT

  5. #5
    Just Joined!
    Join Date
    Jan 2007
    Posts
    15

    logs

    thanks.

    yeah, I could free some disk space - error.log

    also ran into the following after:

    find / -type f -size +20000k

    /home/httpd/vhosts/cozumel.com/anon_ftp/incoming/. **** ALL Deleterz /. **** ALL Deleterz / we are the best/ hehehe ?/ ScaNNeD/ ROFL / by/ Looooser/ RR/ ? ROFL/ TaGGeD/ ? ROFL/ by/. LOL ?/RR/. HOHOHO ?/ ? ROFL/with Neo1907īs PuB- tAgGeR/ ? ROFL/uPPed/. LOL ?/BY/ ROFL /RR/ ? SUCKmyDICK/Stuff2/kk-jp_2.part10_.r ar

    I have no idea of what this is or how it made it in there.
    how to erase this and how to prevent it from happening would be great.
    can I just erase that location? wipe out the whole thing...
    appreciate it.

  6. #6
    Linux User
    Join Date
    Aug 2006
    Location
    Croydon, PA
    Posts
    392
    Looks like you got hacked!
    Start checking logs. I yo don't need FTP then disable it or use SFTP.
    Good Luck,
    Ski
    RHCT

  7. #7
    Linux Newbie PureGrain's Avatar
    Join Date
    Nov 2006
    Location
    Mt. Washington, Kentucky
    Posts
    154
    Quote Originally Posted by apascal
    how to erase this and how to prevent it from happening would be great.
    can I just erase that location? wipe out the whole thing...
    appreciate it.
    Just go to that dir and delete all the folders in the anon_ftp dir. That should fix the drive space problem, as far as fixing the problem in general, I would not allow anon ftp on that box. It appears to have Plesk/Enom or something running on it. You can configure it to not allow anon ftp.

    If you do not have a virtual domain control panel installed, please post which ftp app your using and see if we can help you to configure it too not allow anono ftp.
    LINUX - "The other white meat.."
    Registered Linux User #439112

  8. #8
    Just Joined!
    Join Date
    Jan 2007
    Posts
    15

    drive space

    the plesk control panel won't let me erase anything in that anon_ftp location...??

    thanks a lot

  9. #9
    Linux Newbie PureGrain's Avatar
    Join Date
    Nov 2006
    Location
    Mt. Washington, Kentucky
    Posts
    154
    Quote Originally Posted by apascal
    the plesk control panel won't let me erase anything in that anon_ftp location...??

    thanks a lot
    You should be able to delete the files without a problem if your logging in using root or using the user account associated with that domain. Have you tried just using the file manager built into plesk to delete those files using a Domain Admin account or full Admin?

    Also, if you log into the server using ssh and cd to that dir run this command and see who owns the files: ls -al

    If root owns the files, I would change root password!
    LINUX - "The other white meat.."
    Registered Linux User #439112

  10. #10
    Linux Newbie
    Join Date
    Dec 2006
    Posts
    105
    Take a backup and do the stuff required...
    Unix, Linux tips...

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •