Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Directory problem cant delete files or change attributes!! Help!

Discussion in 'General Discussion' started by Un Area, Dec 25, 2012.

  1. Un Area

    Un Area Well-Known Member

    Joined:
    Nov 16, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Hi, first of all I already had this issue in the past and could fix it but I dont remember how.

    The thing is, I got a filesystem ext-3 error unlinked inode xxxx at directory xxxx. Well, I could find the problematic site, I removed it. But I cant delete the content inside ./spamasassin folder.
    The username was something like 690 and group 686, instead of the correct username and group.

    I could change the ./spamassasin permisions to root.root, but if I do it to the files inside it bayes_seen, bayes_token, the filesystem goes to read-only and I have to reboot the server.
    Also there are two files in red with inode ?-------- user ------ group ----------

    The other time that happened the same thing I remember moving the directory to /tmp and then remove it, but I dont remember the exact procedure.

    Thanks for your help!


    this is what i have inside ./spamassasin folder:

    -rw------- 1 690 686 632K Aug 9 20:17 auto-whitelist
    -rw------- 1 690 686 632K Aug 9 20:17 auto-whitelist
    -rw------- 2 690 686 24 Aug 9 20:56 auto-whitelist.lock
    -rw------- 2 690 686 24 Aug 9 20:56 auto-whitelist.lock
    -rw------- 1 690 686 0 Aug 11 16:24 bayes.lock.server.server.com.1804
    -rw------- 1 690 686 0 Aug 14 13:16 bayes.lock.server.server.com.19133
    -rw------- 1 690 686 0 Aug 14 13:16 bayes.lock.server.server.com.19133
    -rw------- 1 690 686 0 Aug 15 18:15 bayes.lock.server.server.com.19276
    ?--------- ? ? ? ? ? bayes.lock.server.server.com.23794
    ?--------- ? ? ? ? ? bayes.lock.server.server.com.2379
    4
    -rw------- 1 690 686 168K Aug 9 02:01 bayes_seen
    -rw------- 1 690 686 168K Aug 9 02:01 bayes_seen
    -rw------- 1 690 686 5.0M Aug 9 02:01 bayes_toks
    -rw------- 1 690 686 5.0M Aug 9 02:01 bayes_toks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 Un Area, Dec 25, 2012
    Last edited: Dec 25, 2012
  2. Un Area

    Un Area Well-Known Member

    Joined:
    Nov 16, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. speckados

    speckados Well-Known Member

    Joined:
    May 21, 2003
    Messages:
    325
    Likes Received:
    2
    Trophy Points:
    168
    Location:
    Pastrana :: Guadalajara :: España
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    You need reboot your machine and force fsck
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,214
    Likes Received:
    1,937
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Those files appear to be corrupted so running FSCK when the server boots is the best advice I can provide. You may want to consult with your data center or hosting provider if you continue to notice corrupted files on the machine as it may indicate an issue with your hard drive.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Un Area

    Un Area Well-Known Member

    Joined:
    Nov 16, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Afert doing FSCK and running find . -inum xxxxxxx -exec rm -rf {} ';' I was able to remove the files.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice