[CentOS] Starting slapd: /bin/bash: /tmp/start-slapd.K12378: Permission denied

Mon Jan 19 13:21:58 UTC 2009
brettwiesner <brettwiesner at gmail.com>

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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>