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.

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:
    6
    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:
    14,451
    Likes Received:
    195
    Trophy Points:
    63
    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.
     
  3. HostCenter IL

    HostCenter IL Active Member
    PartnerNOC

    Joined:
    Nov 22, 2011
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    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