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!

Solr ownership/permission

Discussion in 'E-mail Discussion' started by sparek-3, Mar 14, 2019.

  1. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,923
    Likes Received:
    177
    Trophy Points:
    343
    cPanel Access Level:
    Root Administrator
    What ownership/permissions is /home/cpanelsolr suppose to have?

    When I start cpanel-dovecot-solr I get an error:

    cat: /home/cpanelsolr/etc/solrpasswd: No such file or directory
    mkdir: cannot create directory `/home/cpanelsolr/etc': Permission denied
    /home/cpanelsolr/bin/solr: line 1563: /home/cpanelsolr/etc/solrpasswd: No such file or directory
    cat: /home/cpanelsolr/etc/solrpasswd: No such file or directory


    Investigating this finds:

    # ls -ald /home/cpanelsolr
    drwxr-xr-x 9 root root 4096 Jan 18 12:31 /home/cpanelsolr/


    Should this directory be owned by cpanelsolr? This would seem to be an issue, but perhaps there's a reason for this. Thoughts?
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,442
    Likes Received:
    503
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    It should definitely be owned by cpanelsolr but it should be 750 perms:

    Code:
    stat /home/cpanelsolr/
      File: ‘/home/cpanelsolr/’
      Size: 4096          Blocks: 8          IO Block: 4096   directory
    Device: fd01h/64769d    Inode: 2097156     Links: 10
    Access: (0750/drwxr-x---)  Uid: (  986/cpanelsolr)   Gid: (  982/cpanelsolr)
    Access: 2019-03-14 13:56:32.898475867 -0500
    Modify: 2018-08-10 05:20:10.502688153 -0500
    Change: 2018-08-10 05:20:10.502688153 -0500
     Birth: -
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    sparek-3 likes this.
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