Re: Starting slapd: /bin/bash: /tmp/start-slapd.K12378: Permission denied

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



Maybe that's it actually. Here's the output of the mount cmd...

/dev/hdv1 on / type ufs (defaults)
none on /proc type proc (defaults)
none on /dev/pts type devpts (gid=5,mode=620)
/vservers/XXXX/tmp on /tmp type ufs (bind,noexec)
/vservers/XXXX/var/tmp on /var/tmp type ufs (bind,noexec)

It looks like /tmp is a symbolic link and mounted as noexec. Is that 
typical? How do I change that? My server is a "virtual server" and I 
wonder if I can even change that. Is there another way to run slapd 
without writing to the /tmp dir?

Thanks,
Brett

Barry Brimer wrote:
>> I'm running Centos 5, with openldap Version: 2.3.27 Release: 8.el5_2.4.
>>
>> When I run:
>>
>> $ sudo /etc/init.d/ldap start
>>
>> I get the following error:
>>
>> Starting slapd: /bin/bash: /tmp/start-slapd.l14891: Permission denied
>>     
>
> <snip>
>
> Any chance that /tmp is mounted noexec?  What is the output of the "mount" 
> command?
>
> Baryr
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>   

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux