Fedora Linux Support Community & Resources Center
  #1  
Old 2nd August 2017, 12:32 PM
tnsupport Offline
Registered User
 
Join Date: May 2016
Location: usa
Posts: 31
linuxfedorafirefox
systemd permission denied

trying to run couchdb from systemd => failing on permission denied

from cli sudo /var/lib/couchdb/rel/couchdb/bin/couchdb => works fine

/etc/systemd/system/couchdb.service

[Unit]
Description=couchdb
After=network.target
[Service]
Type=simple
User=couchdb
Group=couchdb (also tried wheel)
ExecStart=/var/lib/couchdb/rel/couchdb/bin/couchdb
Restart=always
[Install]
WantedBy=multi-user.target


chown -R couchdb:couchdb /var/lib/couchdb/rel
=> checked with ls -l all routes show couchdb as owner
even declared data folder as couchdb owner

couchdb group set as wheel => checked wheel users, couchdb shows as wheel user

sudo systemctl enable couchdb.service => set link
sudo systemctl start couchdb.service => fail

tried using sudo systemctl daemon-reload to make sure => still resulted in permission denied fail
Reply With Quote
  #2  
Old 12th August 2017, 07:14 PM
tryfedoraa Online
Registered User
 
Join Date: May 2017
Location: www
Posts: 118
windows_98_nt_2000chrome
Re: systemd permission denied

Perhaps these will help, or at least give you some more background about systemd.

What determines what systemd has permission to start
Writing a systemd service file and permission problems
Reply With Quote
Reply

Tags
denied, permission, systemd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing a systemd service file and permission problems gossamer Using Fedora 3 14th August 2017 01:12 PM
(Linux Box Down) SystemD.JournalD Failed to get machine id: Permission Denied Lcstyle Using Fedora 0 14th January 2015 04:20 PM
What determines what systemd has permission to start jim1944 Security and Privacy 4 1st January 2015 07:30 AM
Permission Denied T3256 Using Fedora 24 22nd September 2008 03:49 AM
Permission Denied ?? Carlton Using Fedora 8 5th March 2005 07:16 PM


Current GMT-time: 23:18 (Wednesday, 23-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat