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

2009-01-19 Thread Brett Wiesner
Thanks! That worked! On Mon, Jan 19, 2009 at 11:10 AM, Filipe Brandenburger wrote: > Hi, > > On Sun, Jan 18, 2009 at 18:54, Brett Wiesner > wrote: > > $ sudo /etc/init.d/ldap start > > Starting slapd: /bin/bash: /tmp/start-slapd.l14891: Permission denied > > Your /tmp/ is mounted with noexec. >

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

2009-01-19 Thread Filipe Brandenburger
Hi, On Sun, Jan 18, 2009 at 18:54, Brett Wiesner wrote: > $ sudo /etc/init.d/ldap start > Starting slapd: /bin/bash: /tmp/start-slapd.l14891: Permission denied Your /tmp/ is mounted with noexec. To work around this, create a directory where the script can be written to and executed (can be owne

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

2009-01-19 Thread brettwiesner
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//tmp on /tmp type ufs (bind,noexec) /vservers//var/tmp on /var/tmp type ufs (bind,noexec) It looks

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

2009-01-18 Thread Barry Brimer
> 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 Any chance that /tmp is mounted noexec? What is the output of the

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

2009-01-18 Thread Brett Wiesner
Hi, 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 (obviously the temp file number changes every time). It appears to be a permi