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.

who's own /home/user/.cpanel-datastore

Discussion in 'General Discussion' started by fleksi, Oct 10, 2006.

  1. fleksi

    fleksi Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
    Here are message from error_log:

    Unable to create datastore file /home/user/.cpanel-datastore/apache_LISTSUBDOMAINS_0: Bad file descriptor
    Unable to create datastore file /home/user/.cpanel-datastore/apache_LISTMULTIPARKED_0: Bad file descriptor

    I have some of them owned by user and others owned by root (causes the above problem)
    Is this a bug? How to avoid this problem?

    10.9.0-CURRENT_43
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    I'm not sure how this may have happened and so can't suggest a remedy for the whole problem.

    However, /home/user/.cpanel-datastore should be owned by user:user and have 0700 permissions. All the files within the directory should be owned by user:user and have 0600 permissions.
     
  3. Bruce

    Bruce Well-Known Member

    Joined:
    Oct 4, 2001
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    The ( .cpanel-datastore ) issue is still not fixed.
    I have some accounts still showing ( root:root ) not ( user:user ) after all the current and stable updates lately.
    Is there a way to fix this without going thru hundreds of accounts on multiple servers manually ?

    Thanks
     
  4. Bruce

    Bruce Well-Known Member

    Joined:
    Oct 4, 2001
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    Still no answer for this problem ?
    I still have clients with root as owner of cpanel-datastore
    What a pain
     
  5. ezztro

    ezztro Well-Known Member

    Joined:
    Nov 11, 2003
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    i have this Prob today. Version

    WHM 10.8.0 cPanel 10.9.0-S119
    CentOS 4.4 i686 - WHM X v3.1.0
     
  6. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    That is correct except for this one file:
    root:wheel _usr_bin_mysqladmin_ping

    As to the problem mentioned, it does seem curious as to how it was created in the first place.
    Try using: /scripts/upcp --force then recheck settings.

    If still not fixed you can correct the current permissions problems manually or with a command line. Be interesting to see if the problem comes back after that.
     
  7. Bruce

    Bruce Well-Known Member

    Joined:
    Oct 4, 2001
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    Unable to create datastore file /home/paint/.cpanel-datastore/apache_LISTSUBDOMAINS_0: No such file or directory 0 / 0
    Parked Domains Unable to create datastore file /home/paint/.cpanel-datastore/apache_LISTMULTIPARKED_0: No such file or directory

    Still no fix for this problem ?
    10.9.0-CURRENT 138
     
  8. LP-Tim

    LP-Tim Active Member

    Joined:
    Apr 30, 2007
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I'm getting something similar:

    /home/user/.cpanel-datastore was owned by root:root, so I chowned it to user:user per this thread. No difference.

    Here are the files in .cpanel-datastore:

    Am I missing something?

    And looking through the error log, I see this isn't the only user...
     
Loading...

Share This Page