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!

Migrated Site Keeps Writing Strange Files to /tmp

Discussion in 'General Discussion' started by HostCenter IL, Feb 1, 2013.

  1. HostCenter IL

    HostCenter IL Active Member
    PartnerNOC

    Joined:
    Nov 22, 2011
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    I have just migrated a site from another cPanel/WHM server and it keeps writing files to /tmp constantly, even thought according to WHM the site has been successfully migrated, and indeed it works just fine on the server:

    Code:
     backup_migrate_480jAl
    backup_migrate_480jAl.mysql
    backup_migrate_9nyAUR
    backup_migrate_9nyAUR.mysql
    backup_migrate_Cc6INE
    backup_migrate_Ce6Ocl
    backup_migrate_Ce6Ocl.mysql
    backup_migrate_cMGPBd
    backup_migrate_EAIBh5
    backup_migrate_f2Nmtt
    backup_migrate_f2Nmtt.mysql
    backup_migrate_fxii2a
    backup_migrate_HKssER
    backup_migrate_HKssER.mysql
    backup_migrate_hqLZXe
    backup_migrate_hV1Bn8
    backup_migrate_kFqK4t
    backup_migrate_L2AOH9
    backup_migrate_L2AOH9.mysql
    
    etc.

    The regular files are empty by the .mysql ones take up 18MB each, so over a period of a few hours it clogs up the entire /tmp folder. I will increase the size of /tmp, but it doesn't seem like this is stopping, so it won't matter.

    How can I prevent this specific account from writing to /tmp, or how do I stop the writing from happening in the first place?

    Thanks in advance.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,434
    Likes Received:
    416
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Was this account was restored properly?
    You don't "migrate" an account from one cPanel server to another cPanel server, AFAIK.

    Is this a script on the account running or do you think its cPanel? If you think it's cPanel you might want to put in a ticket about this rather than waiting on a reply on these forums.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. HostCenter IL

    HostCenter IL Active Member
    PartnerNOC

    Joined:
    Nov 22, 2011
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    56
    cPanel Access Level:
    Root Administrator
    Thank you for the answer. I was referring to the "Copy an Account From Another Server With an Account Password" feature.

    However, I think it's actually a script running on the user's website—it's interesting that it's called backup_migrate, so I was sure beyond all doubt that it was cPanel, but it appears to have just been a coincidence. I will post a solution here just in case, when it's resolved.

    On a side note, is there a way to restrict writing to /tmp only for certain accounts without changing that user's usergroup? (changing the usergroup might cause all sorts of problems)
     
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