[389-users] which user must have access to /var/run/dirsrv ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dima vasiletc wrote:
> On 06/15/2009 08:08 PM, Nathan Kinder wrote:
>> dima vasiletc wrote:
>>> Hello
>>> When i try start dirsrv i have error
>>> Failed to delete old semaphore for stats file 
>>> (/var/run/dirsrv/slapd-MY-DOMAIN-COM.stats). Error 13 (Permission 
>>> denied).
>> Note that this is referring to a semaphore that coordinates access to 
>> the stats file, not the stats file itself.
>>
>> Did you previously install and remove a DS instance with the same 
>> name on this system?  Did you recently change the user that this DS 
>> instance runs as?
>>>
>>> but access for dirsrv user permited.
>>> also
>>>
>>
>> -- 
>> 389 users mailing list
>> 389-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>
> Thanks.
> After reboot  resolved.
Posix named semaphores are removed during a reboot, which is why the 
reboot fixed your problem.  A reboot is not necessary to clean up a left 
over semaphore.

You can see the current named semaphores and their ownership by doing a 
'ls -l /dev/shm'.  For DS, we create a semaphore named something similar 
to "sem.slapd-localhost.stats".  I believe simply removing this would 
have fixed your problem as well.




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux